Home
last modified time | relevance | path

Searched refs:rbuffer (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/gallium/drivers/r600/
Dr600_buffer.c34 struct r600_resource *rbuffer = r600_resource(buf); in r600_buffer_destroy() local
36 pb_reference(&rbuffer->buf, NULL); in r600_buffer_destroy()
37 FREE(rbuffer); in r600_buffer_destroy()
69 struct r600_resource *rbuffer) in r600_set_constants_dirty_if_bound() argument
76 if (state->cb[i].buffer == &rbuffer->b.b) { in r600_set_constants_dirty_if_bound()
89 struct r600_resource *rbuffer = r600_resource(transfer->resource); in r600_buffer_transfer_map() local
98 if (rctx->ws->cs_is_buffer_referenced(rctx->cs, rbuffer->cs_buf, RADEON_USAGE_READWRITE) || in r600_buffer_transfer_map()
99 rctx->ws->buffer_is_busy(rbuffer->buf, RADEON_USAGE_READWRITE)) { in r600_buffer_transfer_map()
103 pb_reference(&rbuffer->buf, NULL); in r600_buffer_transfer_map()
107 r600_init_resource(rctx->screen, rbuffer, rbuffer->b.b.width0, 4096, in r600_buffer_transfer_map()
[all …]
Dr600_state.c1823 struct r600_resource *rbuffer; in r600_emit_vertex_buffers() local
1828 rbuffer = (struct r600_resource*)vb->buffer; in r600_emit_vertex_buffers()
1829 assert(rbuffer); in r600_emit_vertex_buffers()
1837 r600_write_value(cs, rbuffer->buf->size - offset - 1); /* RESOURCEi_WORD1 */ in r600_emit_vertex_buffers()
1847 r600_write_value(cs, r600_context_bo_reloc(rctx, rbuffer, RADEON_USAGE_READ)); in r600_emit_vertex_buffers()
1862 struct r600_resource *rbuffer; in r600_emit_constant_buffers() local
1867 rbuffer = (struct r600_resource*)cb->buffer; in r600_emit_constant_buffers()
1868 assert(rbuffer); in r600_emit_constant_buffers()
1877 r600_write_value(cs, r600_context_bo_reloc(rctx, rbuffer, RADEON_USAGE_READ)); in r600_emit_constant_buffers()
1882 r600_write_value(cs, rbuffer->buf->size - offset - 1); /* RESOURCEi_WORD1 */ in r600_emit_constant_buffers()
[all …]
Devergreen_state.c1960 struct r600_resource *rbuffer; in evergreen_emit_vertex_buffers() local
1965 rbuffer = (struct r600_resource*)vb->buffer; in evergreen_emit_vertex_buffers()
1966 assert(rbuffer); in evergreen_emit_vertex_buffers()
1968 va = r600_resource_va(&rctx->screen->screen, &rbuffer->b.b); in evergreen_emit_vertex_buffers()
1975 r600_write_value(cs, rbuffer->buf->size - vb->buffer_offset - 1); /* RESOURCEi_WORD1 */ in evergreen_emit_vertex_buffers()
1991 r600_write_value(cs, r600_context_bo_reloc(rctx, rbuffer, RADEON_USAGE_READ)); in evergreen_emit_vertex_buffers()
2018 struct r600_resource *rbuffer; in evergreen_emit_constant_buffers() local
2023 rbuffer = (struct r600_resource*)cb->buffer; in evergreen_emit_constant_buffers()
2024 assert(rbuffer); in evergreen_emit_constant_buffers()
2026 va = r600_resource_va(&rctx->screen->screen, &rbuffer->b.b); in evergreen_emit_constant_buffers()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dr600_buffer.c43 struct si_resource *rbuffer = si_resource(buf); in r600_buffer_destroy() local
45 pb_reference(&rbuffer->buf, NULL); in r600_buffer_destroy()
46 FREE(rbuffer); in r600_buffer_destroy()
75 struct si_resource *rbuffer = si_resource(transfer->resource); in r600_buffer_transfer_map() local
79 data = rctx->ws->buffer_map(rbuffer->cs_buf, rctx->cs, transfer->usage); in r600_buffer_transfer_map()
163 struct si_resource *rbuffer; in si_buffer_create() local
167 rbuffer = MALLOC_STRUCT(si_resource); in si_buffer_create()
169 rbuffer->b.b = *templ; in si_buffer_create()
170 pipe_reference_init(&rbuffer->b.b.reference, 1); in si_buffer_create()
171 rbuffer->b.b.screen = screen; in si_buffer_create()
[all …]
Dsi_state_draw.c421 struct si_resource *rbuffer; in si_vertex_buffer_update() local
428 rbuffer = (struct si_resource*)vb->buffer; in si_vertex_buffer_update()
429 if (rbuffer == NULL) in si_vertex_buffer_update()
436 va = r600_resource_va(ctx->screen, (void*)rbuffer); in si_vertex_buffer_update()
448 si_pm4_add_bo(pm4, rbuffer, RADEON_USAGE_READ); in si_vertex_buffer_update()
Dr600_resource.h75 void r600_upload_const_buffer(struct r600_context *rctx, struct si_resource **rbuffer,
Dsi_state.c2283 struct si_resource *rbuffer = cb ? si_resource(cb->buffer) : NULL; in si_set_constant_buffer() local
2298 r600_upload_const_buffer(rctx, &rbuffer, cb->user_buffer, cb->buffer_size, &offset); in si_set_constant_buffer()
2301 va_offset = r600_resource_va(ctx->screen, (void*)rbuffer); in si_set_constant_buffer()
2304 si_pm4_add_bo(pm4, rbuffer, RADEON_USAGE_READ); in si_set_constant_buffer()
2323 if (cb->buffer != &rbuffer->b.b) in si_set_constant_buffer()
2324 si_resource_reference(&rbuffer, NULL); in si_set_constant_buffer()
/external/webrtc/webrtc/modules/video_capture/linux/
Dvideo_capture_linux.cc328 struct v4l2_requestbuffers rbuffer; in AllocateVideoBuffers() local
329 memset(&rbuffer, 0, sizeof(v4l2_requestbuffers)); in AllocateVideoBuffers()
331 rbuffer.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in AllocateVideoBuffers()
332 rbuffer.memory = V4L2_MEMORY_MMAP; in AllocateVideoBuffers()
333 rbuffer.count = kNoOfV4L2Bufffers; in AllocateVideoBuffers()
335 if (ioctl(_deviceFd, VIDIOC_REQBUFS, &rbuffer) < 0) in AllocateVideoBuffers()
342 if (rbuffer.count > kNoOfV4L2Bufffers) in AllocateVideoBuffers()
343 rbuffer.count = kNoOfV4L2Bufffers; in AllocateVideoBuffers()
345 _buffersAllocatedByDevice = rbuffer.count; in AllocateVideoBuffers()
348 _pool = new Buffer[rbuffer.count]; in AllocateVideoBuffers()
[all …]
/external/libnl/lib/route/sch/
Dhtb.c443 void rtnl_htb_set_rbuffer(struct rtnl_class *class, uint32_t rbuffer) in rtnl_htb_set_rbuffer() argument
449 d->ch_rbuffer = rbuffer; in rtnl_htb_set_rbuffer()
/external/v8/test/cctest/compiler/
Dtest-run-machops.cc4309 String* rbuffer; in TEST() local
4326 m.Store(MachineRepresentation::kTagged, m.PointerConstant(&rbuffer), in TEST()
4332 CHECK(rexpected->SameValue(rbuffer)); in TEST()
4344 String* rbuffer; in TEST() local
4371 m.Store(MachineRepresentation::kTagged, m.PointerConstant(&rbuffer), in TEST()
4377 CHECK(rexpected->SameValue(rbuffer)); in TEST()