Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeon/
Dr600_buffer_common.c233 struct r600_resource *rbuffer = r600_resource(buf); in r600_buffer_destroy() local
235 util_range_destroy(&rbuffer->valid_buffer_range); in r600_buffer_destroy()
236 pb_reference(&rbuffer->buf, NULL); in r600_buffer_destroy()
237 FREE(rbuffer); in r600_buffer_destroy()
242 struct r600_resource *rbuffer) in r600_invalidate_buffer() argument
245 if (rbuffer->is_shared) in r600_invalidate_buffer()
251 if (rctx->ws->buffer_is_user_ptr(rbuffer->buf)) in r600_invalidate_buffer()
255 if (r600_rings_is_buffer_referenced(rctx, rbuffer->buf, RADEON_USAGE_READWRITE) || in r600_invalidate_buffer()
256 !rctx->ws->buffer_wait(rbuffer->buf, 0, RADEON_USAGE_READWRITE)) { in r600_invalidate_buffer()
257 rctx->invalidate_buffer(&rctx->b, &rbuffer->b.b); in r600_invalidate_buffer()
[all …]
Dr600_streamout.c42 struct r600_resource *rbuffer = (struct r600_resource*)buffer; in r600_create_so_target() local
63 util_range_add(&rbuffer->valid_buffer_range, buffer_offset, in r600_create_so_target()
/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/mesa3d/src/gallium/drivers/radeonsi/
Dsi_descriptors.c978 struct r600_resource *rbuffer; in si_upload_vertex_buffer_descriptors() local
984 rbuffer = (struct r600_resource*)vb->buffer; in si_upload_vertex_buffer_descriptors()
985 if (!rbuffer) { in si_upload_vertex_buffer_descriptors()
991 va = rbuffer->gpu_address + offset; in si_upload_vertex_buffer_descriptors()
1063 void si_upload_const_buffer(struct si_context *sctx, struct r600_resource **rbuffer, in si_upload_const_buffer() argument
1069 (struct pipe_resource**)rbuffer, &tmp); in si_upload_const_buffer()
1070 if (*rbuffer) in si_upload_const_buffer()
1561 struct r600_resource *rbuffer = r600_resource(buf); in si_invalidate_buffer() local
1563 uint64_t old_va = rbuffer->gpu_address; in si_invalidate_buffer()
1568 r600_alloc_resource(&sctx->screen->b, rbuffer); in si_invalidate_buffer()
[all …]
Dsi_state.h304 void si_upload_const_buffer(struct si_context *sctx, struct r600_resource **rbuffer,
/external/mesa3d/src/gallium/drivers/r600/
Devergreen_state.c1800 struct r600_resource *rbuffer; in evergreen_emit_vertex_buffers() local
1805 rbuffer = (struct r600_resource*)vb->buffer; in evergreen_emit_vertex_buffers()
1806 assert(rbuffer); in evergreen_emit_vertex_buffers()
1808 va = rbuffer->gpu_address + vb->buffer_offset; in evergreen_emit_vertex_buffers()
1814 radeon_emit(cs, rbuffer->b.b.width0 - vb->buffer_offset - 1); /* RESOURCEi_WORD1 */ in evergreen_emit_vertex_buffers()
1830 radeon_emit(cs, radeon_add_to_buffer_list(&rctx->b, &rctx->b.gfx, rbuffer, in evergreen_emit_vertex_buffers()
1859 struct r600_resource *rbuffer; in evergreen_emit_constant_buffers() local
1865 rbuffer = (struct r600_resource*)cb->buffer; in evergreen_emit_constant_buffers()
1866 assert(rbuffer); in evergreen_emit_constant_buffers()
1868 va = rbuffer->gpu_address + cb->buffer_offset; in evergreen_emit_constant_buffers()
[all …]
Dr600_state.c1644 struct r600_resource *rbuffer; in r600_emit_vertex_buffers() local
1649 rbuffer = (struct r600_resource*)vb->buffer; in r600_emit_vertex_buffers()
1650 assert(rbuffer); in r600_emit_vertex_buffers()
1658 radeon_emit(cs, rbuffer->b.b.width0 - offset - 1); /* RESOURCEi_WORD1 */ in r600_emit_vertex_buffers()
1668 radeon_emit(cs, radeon_add_to_buffer_list(&rctx->b, &rctx->b.gfx, rbuffer, in r600_emit_vertex_buffers()
1684 struct r600_resource *rbuffer; in r600_emit_constant_buffers() local
1689 rbuffer = (struct r600_resource*)cb->buffer; in r600_emit_constant_buffers()
1690 assert(rbuffer); in r600_emit_constant_buffers()
1701 radeon_emit(cs, radeon_add_to_buffer_list(&rctx->b, &rctx->b.gfx, rbuffer, in r600_emit_constant_buffers()
1707 radeon_emit(cs, rbuffer->b.b.width0 - offset - 1); /* RESOURCEi_WORD1 */ in r600_emit_constant_buffers()
[all …]
Dr600_state_common.c2784 struct r600_resource *rbuffer = r600_resource(buf); in r600_invalidate_buffer() local
2789 r600_alloc_resource(&rctx->screen->b, rbuffer); in r600_invalidate_buffer()
2796 if (rctx->vertex_buffer_state.vb[i].buffer == &rbuffer->b.b) { in r600_invalidate_buffer()
2804 rctx->b.streamout.targets[i]->b.buffer == &rbuffer->b.b) { in r600_invalidate_buffer()
2821 if (state->cb[i].buffer == &rbuffer->b.b) { in r600_invalidate_buffer()
2833 if (view->base.texture == &rbuffer->b.b) { in r600_invalidate_buffer()
2835 uint64_t va = rbuffer->gpu_address + offset; in r600_invalidate_buffer()
2850 if (state->views[i]->base.texture == &rbuffer->b.b) { in r600_invalidate_buffer()
/external/libnl/lib/route/qdisc/
Dhtb.c474 int rtnl_htb_set_rbuffer(struct rtnl_class *class, uint32_t rbuffer) in rtnl_htb_set_rbuffer() argument
481 htb->ch_rbuffer = rbuffer; in rtnl_htb_set_rbuffer()
/external/pcre/dist2/src/
Dpcre2test.c6108 uint8_t rbuffer[REPLACE_BUFFSIZE]; in process_data() local
6138 SETCASTPTR(r, rbuffer); /* Sets r8, r16, or r32, as appropriate. */ in process_data()
6222 rlen = (CASTVAR(uint8_t *, r) - rbuffer)/code_unit_size; in process_data()
6225 rbuffer, rlen, nbuffer, &nsize); in process_data()