Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeon/
Dr600_buffer_common.c240 struct r600_resource *rbuffer = r600_resource(buf); in r600_buffer_destroy() local
243 util_range_destroy(&rbuffer->valid_buffer_range); in r600_buffer_destroy()
244 pb_reference(&rbuffer->buf, NULL); in r600_buffer_destroy()
245 FREE(rbuffer); in r600_buffer_destroy()
250 struct r600_resource *rbuffer) in r600_invalidate_buffer() argument
253 if (rbuffer->b.is_shared) in r600_invalidate_buffer()
257 if (rbuffer->flags & RADEON_FLAG_SPARSE) in r600_invalidate_buffer()
263 if (rbuffer->b.is_user_ptr) in r600_invalidate_buffer()
267 if (si_rings_is_buffer_referenced(rctx, rbuffer->buf, RADEON_USAGE_READWRITE) || in r600_invalidate_buffer()
268 !rctx->ws->buffer_wait(rbuffer->buf, 0, RADEON_USAGE_READWRITE)) { in r600_invalidate_buffer()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dr600_buffer_common.c236 struct r600_resource *rbuffer = r600_resource(buf); in r600_buffer_destroy() local
239 util_range_destroy(&rbuffer->valid_buffer_range); in r600_buffer_destroy()
240 pipe_resource_reference((struct pipe_resource**)&rbuffer->immed_buffer, NULL); in r600_buffer_destroy()
241 pb_reference(&rbuffer->buf, NULL); in r600_buffer_destroy()
242 FREE(rbuffer); in r600_buffer_destroy()
247 struct r600_resource *rbuffer) in r600_invalidate_buffer() argument
250 if (rbuffer->b.is_shared) in r600_invalidate_buffer()
254 if (rbuffer->flags & RADEON_FLAG_SPARSE) in r600_invalidate_buffer()
260 if (rbuffer->b.is_user_ptr) in r600_invalidate_buffer()
264 if (r600_rings_is_buffer_referenced(rctx, rbuffer->buf, RADEON_USAGE_READWRITE) || in r600_invalidate_buffer()
[all …]
Dr600_state.c1664 struct r600_resource *rbuffer; in r600_emit_vertex_buffers() local
1669 rbuffer = (struct r600_resource*)vb->buffer.resource; in r600_emit_vertex_buffers()
1670 assert(rbuffer); in r600_emit_vertex_buffers()
1678 radeon_emit(cs, rbuffer->b.b.width0 - offset - 1); /* RESOURCEi_WORD1 */ in r600_emit_vertex_buffers()
1688 radeon_emit(cs, radeon_add_to_buffer_list(&rctx->b, &rctx->b.gfx, rbuffer, in r600_emit_vertex_buffers()
1704 struct r600_resource *rbuffer; in r600_emit_constant_buffers() local
1709 rbuffer = (struct r600_resource*)cb->buffer; in r600_emit_constant_buffers()
1710 assert(rbuffer); in r600_emit_constant_buffers()
1720 radeon_emit(cs, radeon_add_to_buffer_list(&rctx->b, &rctx->b.gfx, rbuffer, in r600_emit_constant_buffers()
1727 radeon_emit(cs, rbuffer->b.b.width0 - offset - 1); /* RESOURCEi_WORD1 */ in r600_emit_constant_buffers()
[all …]
Dr600_streamout.c47 struct r600_resource *rbuffer = (struct r600_resource*)buffer; in r600_create_so_target() local
68 util_range_add(&rbuffer->valid_buffer_range, buffer_offset, in r600_create_so_target()
Devergreen_state.c2122 struct r600_resource *rbuffer; in evergreen_emit_vertex_buffers() local
2127 rbuffer = (struct r600_resource*)vb->buffer.resource; in evergreen_emit_vertex_buffers()
2128 assert(rbuffer); in evergreen_emit_vertex_buffers()
2130 va = rbuffer->gpu_address + vb->buffer_offset; in evergreen_emit_vertex_buffers()
2136 radeon_emit(cs, rbuffer->b.b.width0 - vb->buffer_offset - 1); /* RESOURCEi_WORD1 */ in evergreen_emit_vertex_buffers()
2152 radeon_emit(cs, radeon_add_to_buffer_list(&rctx->b, &rctx->b.gfx, rbuffer, in evergreen_emit_vertex_buffers()
2181 struct r600_resource *rbuffer; in evergreen_emit_constant_buffers() local
2187 rbuffer = (struct r600_resource*)cb->buffer; in evergreen_emit_constant_buffers()
2188 assert(rbuffer); in evergreen_emit_constant_buffers()
2190 va = rbuffer->gpu_address + cb->buffer_offset; in evergreen_emit_constant_buffers()
[all …]
Dr600_state_common.c3060 struct r600_resource *rbuffer = r600_resource(buf); in r600_invalidate_buffer() local
3065 r600_alloc_resource(&rctx->screen->b, rbuffer); in r600_invalidate_buffer()
3072 if (rctx->vertex_buffer_state.vb[i].buffer.resource == &rbuffer->b.b) { in r600_invalidate_buffer()
3080 rctx->b.streamout.targets[i]->b.buffer == &rbuffer->b.b) { in r600_invalidate_buffer()
3097 if (state->cb[i].buffer == &rbuffer->b.b) { in r600_invalidate_buffer()
3109 if (view->base.texture == &rbuffer->b.b) { in r600_invalidate_buffer()
3111 uint64_t va = rbuffer->gpu_address + offset; in r600_invalidate_buffer()
3126 if (state->views[i]->base.texture == &rbuffer->b.b) { in r600_invalidate_buffer()
3143 if (istate->views[i].base.resource == &rbuffer->b.b) { in r600_invalidate_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/u-boot/arch/arm/mach-bcm283x/
Dmbox.c104 u32 rbuffer; in bcm2835_mbox_call_prop() local
119 &rbuffer); in bcm2835_mbox_call_prop()
127 if (rbuffer != phys_to_bus((unsigned long)buffer)) { in bcm2835_mbox_call_prop()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_descriptors.c1057 struct r600_resource *rbuffer; in si_upload_vertex_buffer_descriptors() local
1062 rbuffer = (struct r600_resource*)vb->buffer.resource; in si_upload_vertex_buffer_descriptors()
1063 if (!rbuffer) { in si_upload_vertex_buffer_descriptors()
1070 uint64_t va = rbuffer->gpu_address + offset; in si_upload_vertex_buffer_descriptors()
1072 int64_t num_records = (int64_t)rbuffer->b.b.width0 - offset; in si_upload_vertex_buffer_descriptors()
1120 void si_upload_const_buffer(struct si_context *sctx, struct r600_resource **rbuffer, in si_upload_const_buffer() argument
1128 (struct pipe_resource**)rbuffer, &tmp); in si_upload_const_buffer()
1129 if (*rbuffer) in si_upload_const_buffer()
1531 struct r600_resource *rbuffer = r600_resource(buf); in si_rebind_buffer() local
1543 if (rbuffer->bind_history & PIPE_BIND_VERTEX_BUFFER) { in si_rebind_buffer()
[all …]
Dsi_state_streamout.c47 struct r600_resource *rbuffer = (struct r600_resource*)buffer; in si_create_so_target() local
68 util_range_add(&rbuffer->valid_buffer_range, buffer_offset, in si_create_so_target()
Dsi_state.h345 void si_upload_const_buffer(struct si_context *sctx, struct r600_resource **rbuffer,
/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.c6974 uint8_t rbuffer[REPLACE_BUFFSIZE]; in process_data() local
7007 SETCASTPTR(r, rbuffer); /* Sets r8, r16, or r32, as appropriate. */ in process_data()
7091 rlen = (CASTVAR(uint8_t *, r) - rbuffer)/code_unit_size; in process_data()
7094 rbuffer, rlen, nbuffer, &nsize); in process_data()