/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_transfer.c | 93 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()
|
D | r300_cs.h | 111 assert((r)->cs_buf); \ 112 cs_winsys->cs_write_reloc(cs_copy, (r)->cs_buf); \
|
D | r300_query.c | 66 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()
|
D | r300_screen_buffer.c | 120 map = rws->buffer_map(rbuf->cs_buf, r300->cs, usage); in r300_buffer_transfer_map() 180 rbuf->cs_buf = in r300_buffer_create()
|
D | r300_context.h | 306 struct radeon_winsys_cs_handle *cs_buf; member 314 struct radeon_winsys_cs_handle *cs_buf; member 401 struct radeon_winsys_cs_handle *cs_buf; member
|
D | r300_emit.c | 1192 r300->rws->cs_add_reloc(r300->cs, tex->cs_buf, in r300_emit_buffer_validate() 1200 r300->rws->cs_add_reloc(r300->cs, tex->cs_buf, in r300_emit_buffer_validate() 1213 r300->rws->cs_add_reloc(r300->cs, tex->cs_buf, RADEON_USAGE_READ, in r300_emit_buffer_validate() 1219 r300->rws->cs_add_reloc(r300->cs, r300->query_current->cs_buf, in r300_emit_buffer_validate() 1223 r300->rws->cs_add_reloc(r300->cs, r300_resource(r300->vbo)->cs_buf, in r300_emit_buffer_validate() 1238 r300->rws->cs_add_reloc(r300->cs, r300_resource(buf)->cs_buf, in r300_emit_buffer_validate() 1245 r300->rws->cs_add_reloc(r300->cs, r300_resource(index_buffer)->cs_buf, in r300_emit_buffer_validate()
|
D | r300_render.c | 376 r300_resource(vbuf->buffer)->cs_buf, in r300_draw_arrays_immediate() 404 r300->rws->buffer_unmap(r300_resource(r300->vertex_buffer[vbi].buffer)->cs_buf); in r300_draw_arrays_immediate() 619 uint16_t *ptr = r300->rws->buffer_map(r300_resource(orgIndexBuffer)->cs_buf, in r300_draw_elements() 633 r300->rws->buffer_unmap(r300_resource(orgIndexBuffer)->cs_buf); in r300_draw_elements()
|
D | r300_texture.c | 995 tex->cs_buf = rws->buffer_get_cs_handle(tex->buf); in r300_texture_create_object() 1099 surface->cs_buf = tex->cs_buf; in r300_create_surface_custom()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_buffer.c | 98 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()
|
D | r600_query.c | 55 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()
|
D | evergreen_compute.c | 152 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()
|
D | r600_texture.c | 435 resource->cs_buf = rscreen->ws->buffer_get_cs_handle(buf); in r600_texture_create_object() 441 char *ptr = rscreen->ws->buffer_map(resource->cs_buf, NULL, PIPE_TRANSFER_WRITE); in r600_texture_create_object() 443 rscreen->ws->buffer_unmap(resource->cs_buf); in r600_texture_create_object() 622 (rctx->ws->cs_is_buffer_referenced(rctx->cs, rtex->resource.cs_buf, RADEON_USAGE_READWRITE) || in r600_texture_get_transfer() 753 buf = ((struct r600_resource *)rtransfer->staging)->cs_buf; in r600_texture_transfer_map() 755 buf = ((struct r600_resource *)transfer->resource)->cs_buf; in r600_texture_transfer_map() 782 buf = ((struct r600_resource *)rtransfer->staging)->cs_buf; in r600_texture_transfer_unmap() 784 buf = ((struct r600_resource *)transfer->resource)->cs_buf; in r600_texture_transfer_unmap()
|
D | r600.h | 86 struct radeon_winsys_cs_handle *cs_buf; member
|
D | r600_hw_context.c | 78 results = ctx->ws->buffer_map(buffer->cs_buf, ctx->cs, PIPE_TRANSFER_WRITE); in r600_get_backend_mask() 81 ctx->ws->buffer_unmap(buffer->cs_buf); in r600_get_backend_mask() 93 results = ctx->ws->buffer_map(buffer->cs_buf, ctx->cs, PIPE_TRANSFER_READ); in r600_get_backend_mask() 100 ctx->ws->buffer_unmap(buffer->cs_buf); in r600_get_backend_mask()
|
D | r600_pipe.c | 55 rscreen->fences.data = rctx->ws->buffer_map(rscreen->fences.bo->cs_buf, in r600_create_fence() 695 rscreen->ws->buffer_unmap(rscreen->fences.bo->cs_buf); in r600_destroy_screen()
|
D | r600_pipe.h | 790 return ctx->ws->cs_add_reloc(ctx->cs, rbo->cs_buf, usage, rbo->domains) * 4; in r600_context_bo_reloc() 890 return rscreen->ws->buffer_get_virtual_address(rresource->cs_buf); in r600_resource_va()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | r600_hw_context.c | 76 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()
|
D | si_state_streamout.c | 154 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()
|
D | r600_texture.c | 410 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()
|
D | r600_buffer.c | 79 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()
|
D | r600_hw_context_priv.h | 42 return ctx->ws->cs_add_reloc(ctx->cs, rbo->cs_buf, usage, rbo->domains) * 4; in r600_context_bo_reloc()
|
D | radeonsi_resource.h | 39 struct radeon_winsys_cs_handle *cs_buf; member
|
D | radeonsi_pipe.h | 273 return rscreen->ws->buffer_get_virtual_address(rresource->cs_buf); in r600_resource_va()
|
D | radeonsi_pipe.c | 72 rscreen->fences.data = rctx->ws->buffer_map(rscreen->fences.bo->cs_buf, in r600_create_fence() 509 rscreen->ws->buffer_unmap(rscreen->fences.bo->cs_buf); in r600_destroy_screen()
|
D | radeonsi_shader.c | 740 ptr = (uint32_t*)rctx->ws->buffer_map(shader->bo->cs_buf, rctx->cs, PIPE_TRANSFER_WRITE); in si_pipe_shader_create() 748 rctx->ws->buffer_unmap(shader->bo->cs_buf); in si_pipe_shader_create()
|