Home
last modified time | relevance | path

Searched refs:cs_buf (Results 1 – 25 of 56) sorted by relevance

123

/external/mesa3d/src/gallium/drivers/r300/
Dr300_transfer.c93 r300->rws->cs_is_buffer_referenced(r300->cs, tex->cs_buf, RADEON_USAGE_READWRITE); in r300_texture_get_transfer()
238 return r300->rws->buffer_map(r300transfer->linear_texture->cs_buf, in r300_texture_transfer_map()
242 map = r300->rws->buffer_map(tex->cs_buf, r300->cs, transfer->usage); in r300_texture_transfer_map()
262 rws->buffer_unmap(r300transfer->linear_texture->cs_buf); in r300_texture_transfer_unmap()
264 rws->buffer_unmap(tex->cs_buf); in r300_texture_transfer_unmap()
Dr300_cs.h111 assert((r)->cs_buf); \
112 cs_winsys->cs_write_reloc(cs_copy, (r)->cs_buf); \
Dr300_query.c66 q->cs_buf = r300->rws->buffer_get_cs_handle(q->buf); in r300_create_query()
155 map = r300->rws->buffer_map(q->cs_buf, r300->cs, in r300_get_query_result()
169 r300->rws->buffer_unmap(q->cs_buf); in r300_get_query_result()
Dr300_screen_buffer.c120 map = rws->buffer_map(rbuf->cs_buf, r300->cs, usage); in r300_buffer_transfer_map()
180 rbuf->cs_buf = in r300_buffer_create()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/
Dr300_transfer.c93 r300->rws->cs_is_buffer_referenced(r300->cs, tex->cs_buf, RADEON_USAGE_READWRITE); in r300_texture_get_transfer()
238 return r300->rws->buffer_map(r300transfer->linear_texture->cs_buf, in r300_texture_transfer_map()
242 map = r300->rws->buffer_map(tex->cs_buf, r300->cs, transfer->usage); in r300_texture_transfer_map()
262 rws->buffer_unmap(r300transfer->linear_texture->cs_buf); in r300_texture_transfer_unmap()
264 rws->buffer_unmap(tex->cs_buf); in r300_texture_transfer_unmap()
Dr300_cs.h111 assert((r)->cs_buf); \
112 cs_winsys->cs_write_reloc(cs_copy, (r)->cs_buf); \
Dr300_query.c66 q->cs_buf = r300->rws->buffer_get_cs_handle(q->buf); in r300_create_query()
155 map = r300->rws->buffer_map(q->cs_buf, r300->cs, in r300_get_query_result()
169 r300->rws->buffer_unmap(q->cs_buf); in r300_get_query_result()
Dr300_screen_buffer.c120 map = rws->buffer_map(rbuf->cs_buf, r300->cs, usage); in r300_buffer_transfer_map()
180 rbuf->cs_buf = in r300_buffer_create()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_buffer.c98 if (rctx->ws->cs_is_buffer_referenced(rctx->cs, rbuffer->cs_buf, RADEON_USAGE_READWRITE) || in r600_buffer_transfer_map()
142 if (rctx->ws->cs_is_buffer_referenced(rctx->cs, rbuffer->cs_buf, RADEON_USAGE_READWRITE) || in r600_buffer_transfer_map()
150 return rctx->ws->buffer_map(rtransfer->staging->cs_buf, rctx->cs, PIPE_TRANSFER_WRITE); in r600_buffer_transfer_map()
155 data = rctx->ws->buffer_map(rbuffer->cs_buf, rctx->cs, transfer->usage); in r600_buffer_transfer_map()
234 res->cs_buf = rscreen->ws->buffer_get_cs_handle(res->buf); in r600_init_resource()
Dr600_query.c55 results = ctx->ws->buffer_map(buf->cs_buf, ctx->cs, PIPE_TRANSFER_WRITE); in r600_new_query_buffer()
69 ctx->ws->buffer_unmap(buf->cs_buf); in r600_new_query_buffer()
78 results = ctx->ws->buffer_map(buf->cs_buf, ctx->cs, PIPE_TRANSFER_WRITE); in r600_new_query_buffer()
80 ctx->ws->buffer_unmap(buf->cs_buf); in r600_new_query_buffer()
355 …if (rctx->ws->cs_is_buffer_referenced(rctx->cs, rquery->buffer.buf->cs_buf, RADEON_USAGE_READWRITE… in r600_begin_query()
416 map = ctx->ws->buffer_map(qbuf->buf->cs_buf, ctx->cs, in r600_get_query_buffer_result()
494 ctx->ws->buffer_unmap(qbuf->buf->cs_buf); in r600_get_query_buffer_result()
Devergreen_compute.c152 p = ctx->ws->buffer_map(shader->shader_code_bo->cs_buf, ctx->cs, in evergreen_create_compute_state()
156 ctx->ws->buffer_unmap(shader->shader_code_bo->cs_buf); in evergreen_create_compute_state()
217 shader->kernel_param->cs_buf, ctx->cs, PIPE_TRANSFER_WRITE); in evergreen_compute_upload_input()
242 ctx->ws->buffer_unmap(shader->kernel_param->cs_buf); in evergreen_compute_upload_input()
819 if (!(map = ctx->ws->buffer_map(buffer->chunk->pool->bo->cs_buf, in r600_compute_global_transfer_map()
839 ctx->ws->buffer_unmap(buffer->chunk->pool->bo->cs_buf); in r600_compute_global_transfer_unmap()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/
Dr600_buffer.c98 if (rctx->ws->cs_is_buffer_referenced(rctx->cs, rbuffer->cs_buf, RADEON_USAGE_READWRITE) || in r600_buffer_transfer_map()
142 if (rctx->ws->cs_is_buffer_referenced(rctx->cs, rbuffer->cs_buf, RADEON_USAGE_READWRITE) || in r600_buffer_transfer_map()
150 return rctx->ws->buffer_map(rtransfer->staging->cs_buf, rctx->cs, PIPE_TRANSFER_WRITE); in r600_buffer_transfer_map()
155 data = rctx->ws->buffer_map(rbuffer->cs_buf, rctx->cs, transfer->usage); in r600_buffer_transfer_map()
234 res->cs_buf = rscreen->ws->buffer_get_cs_handle(res->buf); in r600_init_resource()
Dr600_query.c55 results = ctx->ws->buffer_map(buf->cs_buf, ctx->cs, PIPE_TRANSFER_WRITE); in r600_new_query_buffer()
69 ctx->ws->buffer_unmap(buf->cs_buf); in r600_new_query_buffer()
78 results = ctx->ws->buffer_map(buf->cs_buf, ctx->cs, PIPE_TRANSFER_WRITE); in r600_new_query_buffer()
80 ctx->ws->buffer_unmap(buf->cs_buf); in r600_new_query_buffer()
355 …if (rctx->ws->cs_is_buffer_referenced(rctx->cs, rquery->buffer.buf->cs_buf, RADEON_USAGE_READWRITE… in r600_begin_query()
416 map = ctx->ws->buffer_map(qbuf->buf->cs_buf, ctx->cs, in r600_get_query_buffer_result()
494 ctx->ws->buffer_unmap(qbuf->buf->cs_buf); in r600_get_query_buffer_result()
Devergreen_compute.c152 p = ctx->ws->buffer_map(shader->shader_code_bo->cs_buf, ctx->cs, in evergreen_create_compute_state()
156 ctx->ws->buffer_unmap(shader->shader_code_bo->cs_buf); in evergreen_create_compute_state()
217 shader->kernel_param->cs_buf, ctx->cs, PIPE_TRANSFER_WRITE); in evergreen_compute_upload_input()
242 ctx->ws->buffer_unmap(shader->kernel_param->cs_buf); in evergreen_compute_upload_input()
819 if (!(map = ctx->ws->buffer_map(buffer->chunk->pool->bo->cs_buf, in r600_compute_global_transfer_map()
839 ctx->ws->buffer_unmap(buffer->chunk->pool->bo->cs_buf); in r600_compute_global_transfer_unmap()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/
Dr600_hw_context.c76 results = ctx->ws->buffer_map(buffer->cs_buf, ctx->cs, PIPE_TRANSFER_WRITE); in si_get_backend_mask()
81 ctx->ws->buffer_unmap(buffer->cs_buf); in si_get_backend_mask()
94 results = ctx->ws->buffer_map(buffer->cs_buf, ctx->cs, PIPE_TRANSFER_READ); in si_get_backend_mask()
101 ctx->ws->buffer_unmap(buffer->cs_buf); in si_get_backend_mask()
284 map = ctx->ws->buffer_map(query->buffer->cs_buf, ctx->cs, in r600_query_result()
356 ctx->ws->buffer_unmap(query->buffer->cs_buf); in r600_query_result()
379 results = ctx->ws->buffer_map(query->buffer->cs_buf, ctx->cs, PIPE_TRANSFER_WRITE); in r600_query_begin()
391 ctx->ws->buffer_unmap(query->buffer->cs_buf); in r600_query_begin()
400 results = ctx->ws->buffer_map(query->buffer->cs_buf, ctx->cs, PIPE_TRANSFER_WRITE); in r600_query_begin()
403 ctx->ws->buffer_unmap(query->buffer->cs_buf); in r600_query_begin()
Dsi_state_streamout.c154 uint32_t *ptr = ctx->ws->buffer_map(t[i]->filled_size->cs_buf, ctx->cs, RADEON_USAGE_READ);
156 ctx->ws->buffer_unmap(t[i]->filled_size->cs_buf);
224 ptr = rctx->ws->buffer_map(t->filled_size->cs_buf, rctx->cs, PIPE_TRANSFER_WRITE); in si_create_so_target()
226 rctx->ws->buffer_unmap(t->filled_size->cs_buf); in si_create_so_target()
Dr600_texture.c410 buf = si_resource(rtransfer->staging_texture)->cs_buf; in si_texture_transfer_map()
415 buf = rtex->flushed_depth_texture->resource.cs_buf; in si_texture_transfer_map()
417 buf = si_resource(transfer->resource)->cs_buf; in si_texture_transfer_map()
439 buf = si_resource(rtransfer->staging_texture)->cs_buf; in si_texture_transfer_unmap()
444 buf = rtex->flushed_depth_texture->resource.cs_buf; in si_texture_transfer_unmap()
446 buf = si_resource(transfer->resource)->cs_buf; in si_texture_transfer_unmap()
514 resource->cs_buf = rscreen->ws->buffer_get_cs_handle(buf); in r600_texture_create_object()
Dr600_hw_context_priv.h42 return ctx->ws->cs_add_reloc(ctx->cs, rbo->cs_buf, usage, rbo->domains) * 4; in r600_context_bo_reloc()
Dr600_buffer.c79 data = rctx->ws->buffer_map(rbuffer->cs_buf, rctx->cs, transfer->usage); in r600_buffer_transfer_map()
154 res->cs_buf = rscreen->ws->buffer_get_cs_handle(res->buf); in si_init_resource()
Dradeonsi_resource.h39 struct radeon_winsys_cs_handle *cs_buf; member
/external/mesa3d/src/gallium/drivers/radeonsi/
Dr600_hw_context.c76 results = ctx->ws->buffer_map(buffer->cs_buf, ctx->cs, PIPE_TRANSFER_WRITE); in si_get_backend_mask()
81 ctx->ws->buffer_unmap(buffer->cs_buf); in si_get_backend_mask()
94 results = ctx->ws->buffer_map(buffer->cs_buf, ctx->cs, PIPE_TRANSFER_READ); in si_get_backend_mask()
101 ctx->ws->buffer_unmap(buffer->cs_buf); in si_get_backend_mask()
284 map = ctx->ws->buffer_map(query->buffer->cs_buf, ctx->cs, in r600_query_result()
356 ctx->ws->buffer_unmap(query->buffer->cs_buf); in r600_query_result()
379 results = ctx->ws->buffer_map(query->buffer->cs_buf, ctx->cs, PIPE_TRANSFER_WRITE); in r600_query_begin()
391 ctx->ws->buffer_unmap(query->buffer->cs_buf); in r600_query_begin()
400 results = ctx->ws->buffer_map(query->buffer->cs_buf, ctx->cs, PIPE_TRANSFER_WRITE); in r600_query_begin()
403 ctx->ws->buffer_unmap(query->buffer->cs_buf); in r600_query_begin()
Dsi_state_streamout.c154 uint32_t *ptr = ctx->ws->buffer_map(t[i]->filled_size->cs_buf, ctx->cs, RADEON_USAGE_READ);
156 ctx->ws->buffer_unmap(t[i]->filled_size->cs_buf);
224 ptr = rctx->ws->buffer_map(t->filled_size->cs_buf, rctx->cs, PIPE_TRANSFER_WRITE); in si_create_so_target()
226 rctx->ws->buffer_unmap(t->filled_size->cs_buf); in si_create_so_target()
Dr600_texture.c410 buf = si_resource(rtransfer->staging_texture)->cs_buf; in si_texture_transfer_map()
415 buf = rtex->flushed_depth_texture->resource.cs_buf; in si_texture_transfer_map()
417 buf = si_resource(transfer->resource)->cs_buf; in si_texture_transfer_map()
439 buf = si_resource(rtransfer->staging_texture)->cs_buf; in si_texture_transfer_unmap()
444 buf = rtex->flushed_depth_texture->resource.cs_buf; in si_texture_transfer_unmap()
446 buf = si_resource(transfer->resource)->cs_buf; in si_texture_transfer_unmap()
514 resource->cs_buf = rscreen->ws->buffer_get_cs_handle(buf); in r600_texture_create_object()
Dr600_hw_context_priv.h42 return ctx->ws->cs_add_reloc(ctx->cs, rbo->cs_buf, usage, rbo->domains) * 4; in r600_context_bo_reloc()
Dr600_buffer.c79 data = rctx->ws->buffer_map(rbuffer->cs_buf, rctx->cs, transfer->usage); in r600_buffer_transfer_map()
154 res->cs_buf = rscreen->ws->buffer_get_cs_handle(res->buf); in si_init_resource()

123