Home
last modified time | relevance | path

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

12

/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()
Dr300_context.h306 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
Dr300_emit.c1192 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()
Dr300_render.c376 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()
Dr300_texture.c995 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/
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()
Dr600_texture.c435 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()
Dr600.h86 struct radeon_winsys_cs_handle *cs_buf; member
Dr600_hw_context.c78 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()
Dr600_pipe.c55 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()
Dr600_pipe.h790 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/
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_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()
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()
Dradeonsi_resource.h39 struct radeon_winsys_cs_handle *cs_buf; member
Dradeonsi_pipe.h273 return rscreen->ws->buffer_get_virtual_address(rresource->cs_buf); in r600_resource_va()
Dradeonsi_pipe.c72 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()
Dradeonsi_shader.c740 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()

12