Home
last modified time | relevance | path

Searched refs:scratch_buffer (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_cp_dma.c278 if (!sctx->scratch_buffer || in si_cp_dma_realign_engine()
279 sctx->scratch_buffer->b.b.width0 < scratch_size) { in si_cp_dma_realign_engine()
280 r600_resource_reference(&sctx->scratch_buffer, NULL); in si_cp_dma_realign_engine()
281 sctx->scratch_buffer = (struct r600_resource*) in si_cp_dma_realign_engine()
284 if (!sctx->scratch_buffer) in si_cp_dma_realign_engine()
289 si_cp_dma_prepare(sctx, &sctx->scratch_buffer->b.b, in si_cp_dma_realign_engine()
290 &sctx->scratch_buffer->b.b, size, size, user_flags, in si_cp_dma_realign_engine()
293 va = sctx->scratch_buffer->gpu_address; in si_cp_dma_realign_engine()
Dsi_state_shaders.c2075 uint64_t scratch_va = sctx->scratch_buffer->gpu_address; in si_update_scratch_buffer()
2087 if (shader->scratch_bo == sctx->scratch_buffer) in si_update_scratch_buffer()
2090 assert(sctx->scratch_buffer); in si_update_scratch_buffer()
2102 r600_resource_reference(&shader->scratch_bo, sctx->scratch_buffer); in si_update_scratch_buffer()
2109 return sctx->scratch_buffer ? sctx->scratch_buffer->b.b.width0 : 0; in si_get_current_scratch_buffer_size()
2143 r600_resource_reference(&sctx->scratch_buffer, NULL); in si_update_spi_tmpring_size()
2145 sctx->scratch_buffer = (struct r600_resource*) in si_update_spi_tmpring_size()
2148 if (!sctx->scratch_buffer) in si_update_spi_tmpring_size()
Dsi_state_draw.c424 if (sctx->scratch_buffer) { in si_emit_scratch_reloc()
426 sctx->scratch_buffer, RADEON_USAGE_READWRITE, in si_emit_scratch_reloc()
1163 if (sctx->emit_scratch_reloc && sctx->scratch_buffer) in si_draw_vbo()
1164 r600_context_add_resource_size(ctx, &sctx->scratch_buffer->b.b); in si_draw_vbo()
Dsi_pipe.h332 struct r600_resource *scratch_buffer; member
Dsi_pipe.c64 r600_resource_reference(&sctx->scratch_buffer, NULL); in si_destroy_context()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_dthread.h39 uint8_t *scratch_buffer; member
/external/libvpx/libvpx/vp9/
Dvp9_dx_iface.c80 vpx_free(frame_worker_data->scratch_buffer); in decoder_destroy()
361 frame_worker_data->scratch_buffer = NULL; in init_decoder()
467 vpx_free(frame_worker_data->scratch_buffer); in decode_one()
468 frame_worker_data->scratch_buffer = (uint8_t *)vpx_malloc(data_sz); in decode_one()
469 if (frame_worker_data->scratch_buffer == NULL) { in decode_one()
476 memcpy(frame_worker_data->scratch_buffer, *data, data_sz); in decode_one()
481 frame_worker_data->data = frame_worker_data->scratch_buffer; in decode_one()
/external/vixl/test/aarch64/
Dtest-trace-aarch64.cc2807 char scratch_buffer[kScratchSize + kScratchGuardSize]; in TraceTestHelper() local
2808 for (size_t i = 0; i < (sizeof(scratch_buffer) / sizeof(scratch_buffer[0])); in TraceTestHelper()
2810 scratch_buffer[i] = i & 0xff; in TraceTestHelper()
2813 simulator.WriteRegister(0, scratch_buffer); in TraceTestHelper()
2815 simulator.WriteRegister(1, scratch_buffer); in TraceTestHelper()