Home
last modified time | relevance | path

Searched refs:ibuffer (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
Dst_draw.c94 struct pipe_index_buffer *ibuffer) in setup_index_buffer() argument
98 ibuffer->index_size = vbo_sizeof_ib_type(ib->type); in setup_index_buffer()
103 ibuffer->buffer = st_buffer_object(bufobj)->buffer; in setup_index_buffer()
104 ibuffer->offset = pointer_to_offset(ib->ptr); in setup_index_buffer()
108 ib->count * ibuffer->index_size, ib->ptr, in setup_index_buffer()
109 &ibuffer->offset, &ibuffer->buffer) != PIPE_OK) { in setup_index_buffer()
117 ibuffer->user_buffer = ib->ptr; in setup_index_buffer()
120 cso_set_index_buffer(st->cso_context, ibuffer); in setup_index_buffer()
200 struct pipe_index_buffer ibuffer = {0}; in st_draw_vbo() local
232 if (!setup_index_buffer(st, ib, &ibuffer)) { in st_draw_vbo()
[all …]
Dst_draw_feedback.c109 struct pipe_index_buffer ibuffer; in st_feedback_draw_vbo() local
213 memset(&ibuffer, 0, sizeof(ibuffer)); in st_feedback_draw_vbo()
217 ibuffer.index_size = vbo_sizeof_ib_type(ib->type); in st_feedback_draw_vbo()
218 if (ibuffer.index_size == 0) in st_feedback_draw_vbo()
224 pipe_resource_reference(&ibuffer.buffer, stobj->buffer); in st_feedback_draw_vbo()
225 ibuffer.offset = pointer_to_offset(ib->ptr); in st_feedback_draw_vbo()
236 (ubyte *) mapped_indices + ibuffer.offset, in st_feedback_draw_vbo()
237 ibuffer.index_size); in st_feedback_draw_vbo()
259 pipe_resource_reference(&ibuffer.buffer, NULL); in st_feedback_draw_vbo()
/external/skia/src/gpu/vk/
DGrVkCommandBuffer.h81 void bindIndexBuffer(GrVkGpu* gpu, GrVkIndexBuffer* ibuffer) { in bindIndexBuffer() argument
82 VkBuffer vkBuffer = ibuffer->buffer(); in bindIndexBuffer()
90 addResource(ibuffer->resource()); in bindIndexBuffer()
/external/webrtc/talk/session/media/
Dyuvscaler_unittest.cc104 scoped_ptr<uint8_t[]> ibuffer( in TestScale() local
111 uint8_t* ibuf = ALIGNP(ibuffer.get(), kAlignment) + memoffset; in TestScale()
212 scoped_ptr<uint8_t[]> ibuffer(new uint8_t[I420_SIZE(iw, ih) + kAlignment]); in TEST_F() local
215 uint8_t* ibuf = ALIGNP(ibuffer.get(), kAlignment); in TEST_F()
/external/skia/src/gpu/gl/
DGrGLGpu.h509 const GrGLIndexBuffer* ibuffer);
DGrGLGpu.cpp3949 const GrGLIndexBuffer* ibuffer) { in bindArrayAndBuffersToDraw() argument
3954 if (ibuffer) { in bindArrayAndBuffersToDraw()
3955 ibufferID = ibuffer->bufferID(); in bindArrayAndBuffersToDraw()