/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_context.c | 146 uint32_t new_control = ctx->index_buffer.FE_INDEX_STREAM_CONTROL; in etna_update_state_for_draw() 153 if (ctx->index_buffer.FE_INDEX_STREAM_CONTROL != new_control || in etna_update_state_for_draw() 154 …(info->primitive_restart && ctx->index_buffer.FE_PRIMITIVE_RESTART_INDEX != info->restart_index)) { in etna_update_state_for_draw() 155 ctx->index_buffer.FE_INDEX_STREAM_CONTROL = new_control; in etna_update_state_for_draw() 156 ctx->index_buffer.FE_PRIMITIVE_RESTART_INDEX = info->restart_index; in etna_update_state_for_draw() 273 ctx->index_buffer.FE_INDEX_STREAM_BASE_ADDR.bo = etna_resource(indexbuf)->bo; in etna_draw_vbo() 274 ctx->index_buffer.FE_INDEX_STREAM_BASE_ADDR.offset = index_offset; in etna_draw_vbo() 275 ctx->index_buffer.FE_INDEX_STREAM_BASE_ADDR.flags = ETNA_RELOC_READ; in etna_draw_vbo() 276 ctx->index_buffer.FE_INDEX_STREAM_CONTROL = translate_index_size(info->index_size); in etna_draw_vbo() 278 if (!ctx->index_buffer.FE_INDEX_STREAM_BASE_ADDR.bo) { in etna_draw_vbo() [all …]
|
D | etnaviv_context.h | 174 struct etna_index_buffer index_buffer; member
|
D | etnaviv_emit.c | 321 …/*00644*/ EMIT_STATE_RELOC(FE_INDEX_STREAM_BASE_ADDR, &ctx->index_buffer.FE_INDEX_STREAM_BASE_ADDR… in etna_emit_state() 322 /*00648*/ EMIT_STATE(FE_INDEX_STREAM_CONTROL, ctx->index_buffer.FE_INDEX_STREAM_CONTROL); in etna_emit_state() 325 … /*00674*/ EMIT_STATE(FE_PRIMITIVE_RESTART_INDEX, ctx->index_buffer.FE_PRIMITIVE_RESTART_INDEX); in etna_emit_state()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_draw_elements.c | 184 struct pipe_resource *index_buffer, in svga_hwtnl_simple_draw_range_elements() argument 210 min_index, max_index, index_buffer, in svga_hwtnl_simple_draw_range_elements() 263 struct pipe_resource *index_buffer = NULL; in svga_hwtnl_draw_range_elements() local 269 &index_offset, &index_buffer); in svga_hwtnl_draw_range_elements() 273 pipe_resource_reference(&index_buffer, info->index.resource); in svga_hwtnl_draw_range_elements() 277 assert(index_buffer != NULL); in svga_hwtnl_draw_range_elements() 279 ret = svga_hwtnl_simple_draw_range_elements(hwtnl, index_buffer, in svga_hwtnl_draw_range_elements() 288 pipe_resource_reference(&index_buffer, NULL); in svga_hwtnl_draw_range_elements()
|
/third_party/mesa3d/src/mesa/main/ |
D | glthread_draw.c | 682 struct gl_buffer_object *index_buffer; member 706 struct gl_buffer_object *index_buffer = cmd->index_buffer; in _mesa_unmarshal_DrawElementsInstancedBaseVertexBaseInstance() local 715 if (index_buffer) { in _mesa_unmarshal_DrawElementsInstancedBaseVertexBaseInstance() 716 _mesa_InternalBindElementBuffer(ctx, index_buffer); in _mesa_unmarshal_DrawElementsInstancedBaseVertexBaseInstance() 732 if (index_buffer) { in _mesa_unmarshal_DrawElementsInstancedBaseVertexBaseInstance() 747 struct gl_buffer_object *index_buffer, in draw_elements_async_user() argument 768 cmd->index_buffer = index_buffer; in draw_elements_async_user() 845 struct gl_buffer_object *index_buffer = NULL; in draw_elements() local 847 index_buffer = upload_indices(ctx, count, index_size, &indices); in draw_elements() 852 min_index, max_index, index_buffer, in draw_elements() [all …]
|
/third_party/mesa3d/src/gallium/frontends/d3d10umd/ |
D | Draw.cpp | 173 if (!pDevice->index_buffer) { in DrawIndexed() 187 info.index.resource = null_ib ? null_ib : pDevice->index_buffer; in DrawIndexed() 274 if (!pDevice->index_buffer) { in DrawIndexedInstanced() 288 info.index.resource = null_ib ? null_ib : pDevice->index_buffer; in DrawIndexedInstanced()
|
D | InputAssembly.cpp | 227 pipe_resource_reference(&pDevice->index_buffer, resource); in IaSetIndexBuffer() 229 pipe_resource_reference(&pDevice->index_buffer, NULL); in IaSetIndexBuffer()
|
D | State.h | 72 struct pipe_resource *index_buffer; member
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
D | r300_render.c | 240 struct pipe_resource *index_buffer, in r300_emit_states() argument 253 index_buffer)) { in r300_emit_states() 303 struct pipe_resource *index_buffer, in r300_prepare_for_rendering() argument 313 return r300_emit_states(r300, flags, index_buffer, buffer_offset, in r300_prepare_for_rendering() 1062 struct pipe_resource *index_buffer = NULL; in r300_render_draw_elements() local 1069 &index_buffer_offset, &index_buffer); in r300_render_draw_elements() 1070 if (!index_buffer) { in r300_render_draw_elements() 1077 index_buffer, 12, 0, 0, -1)) { in r300_render_draw_elements() 1078 pipe_resource_reference(&index_buffer, NULL); in r300_render_draw_elements() 1095 OUT_CS_RELOC(r300_resource(index_buffer)); in r300_render_draw_elements() [all …]
|
D | r300_screen_buffer.c | 36 struct pipe_resource **index_buffer, in r300_upload_index_buffer() argument 42 *index_buffer = NULL; in r300_upload_index_buffer() 48 index_buffer); in r300_upload_index_buffer()
|
D | r300_screen_buffer.h | 40 struct pipe_resource **index_buffer,
|
D | r300_emit.h | 130 struct pipe_resource *index_buffer);
|
D | r300_emit.c | 1305 struct pipe_resource *index_buffer) in r300_emit_buffer_validate() argument 1397 if (index_buffer) in r300_emit_buffer_validate() 1398 r300->rws->cs_add_buffer(&r300->cs, r300_resource(index_buffer)->buf, in r300_emit_buffer_validate() 1401 r300_resource(index_buffer)->domain); in r300_emit_buffer_validate()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_draw.cpp | 94 … const struct pipe_draw_indirect_info *dindirect, struct pipe_resource *index_buffer) in barrier_draw_buffers() argument 96 if (index_buffer) in barrier_draw_buffers() 97 …check_buffer_barrier(ctx, index_buffer, VK_ACCESS_INDEX_READ_BIT, VK_PIPELINE_STAGE_VERTEX_INPUT_B… in barrier_draw_buffers() 456 struct pipe_resource *index_buffer = NULL; in zink_draw() local 459 if (!util_upload_index_buffer(pctx, dinfo, &draws[0], &index_buffer, &index_offset, 4)) { in zink_draw() 465 zink_batch_reference_resource_move(batch, zink_resource(index_buffer)); in zink_draw() 467 zink_batch_reference_resource(batch, zink_resource(index_buffer)); in zink_draw() 469 index_buffer = dinfo->index.resource; in zink_draw() 470 zink_batch_reference_resource_rw(batch, zink_resource(index_buffer), false); in zink_draw() 496 barrier_draw_buffers(ctx, dinfo, dindirect, index_buffer); in zink_draw() [all …]
|
/third_party/mesa3d/src/gallium/tools/trace/ |
D | dump_state.py | 487 self._state.index_buffer = ib 498 index_size = self._state.index_buffer.index_size 508 if self._state.index_buffer.buffer is None: 512 data = self._state.index_buffer.buffer.data 518 offset = self._state.index_buffer.offset + i*index_size
|
/third_party/ffmpeg/libavdevice/ |
D | opengl_enc.c | 199 GLuint index_buffer; ///< Index buffer member 304 opengl->glprocs.glDeleteBuffers(2, &opengl->index_buffer); in opengl_deinit_context() 305 opengl->vertex_buffer = opengl->index_buffer = 0; in opengl_deinit_context() 1008 opengl->glprocs.glGenBuffers(2, &opengl->index_buffer); in opengl_init_context() 1009 if (!opengl->index_buffer || !opengl->vertex_buffer) { in opengl_init_context() 1037 opengl->glprocs.glBindBuffer(FF_GL_ELEMENT_ARRAY_BUFFER, opengl->index_buffer); in opengl_init_context() 1232 opengl->glprocs.glBindBuffer(FF_GL_ELEMENT_ARRAY_BUFFER, opengl->index_buffer); in opengl_draw()
|
/third_party/mesa3d/src/imagination/vulkan/pds/ |
D | pvr_pds.c | 4882 program->index_buffer); in pvr_pds_generate_draw_elements_indirect() 4907 program->index_buffer); in pvr_pds_generate_draw_elements_indirect() 4930 program->index_buffer); in pvr_pds_generate_draw_elements_indirect() 4958 program->index_buffer); in pvr_pds_generate_draw_elements_indirect() 4983 program->index_buffer); in pvr_pds_generate_draw_elements_indirect() 5006 program->index_buffer); in pvr_pds_generate_draw_elements_indirect() 5034 program->index_buffer); in pvr_pds_generate_draw_elements_indirect() 5059 program->index_buffer); in pvr_pds_generate_draw_elements_indirect() 5082 program->index_buffer); in pvr_pds_generate_draw_elements_indirect() 5110 program->index_buffer); in pvr_pds_generate_draw_elements_indirect() [all …]
|
/third_party/vk-gl-cts/external/amber/src/src/dawn/ |
D | pipeline_info.h | 63 ::dawn::Buffer index_buffer;
|
D | engine_dawn.cc | 1268 auto index_buffer = CreateBufferFromData( in DoDrawRect() local 1318 pass.SetIndexBuffer(index_buffer, 0); in DoDrawRect() 1343 if (!render_pipeline->index_buffer) in DoDrawArrays() 1351 render_pipeline->index_buffer = CreateBufferFromData( in DoDrawArrays() 1398 pass.SetIndexBuffer(render_pipeline->index_buffer, /* buffer */ in DoDrawArrays() 1581 render_pipeline->index_buffer = CreateBufferFromData( in AttachBuffersAndTextures()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_draw.cpp | 895 struct pipe_resource *index_buffer = NULL; in d3d12_draw_vbo() local 998 if (!util_upload_index_buffer(pctx, dinfo, &draws[0], &index_buffer, in d3d12_draw_vbo() 1004 index_buffer = dinfo->index.resource; in d3d12_draw_vbo() 1117 if (index_buffer) { in d3d12_draw_vbo() 1119 struct d3d12_resource *res = d3d12_resource(index_buffer); in d3d12_draw_vbo() 1132 pipe_resource_reference(&index_buffer, NULL); in d3d12_draw_vbo() 1244 (index_buffer ? 0 : D3D12_DIRTY_INDEX_BUFFER); in d3d12_draw_vbo()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | gfx7_cmd_buffer.c | 192 if (cmd_buffer->state.gfx.index_buffer && in genX() 196 struct anv_buffer *buffer = cmd_buffer->state.gfx.index_buffer; in genX()
|
/third_party/vk-gl-cts/external/amber/src/ |
D | Android.mk | 65 src/vulkan/index_buffer.cc \
|
/third_party/vk-gl-cts/external/amber/src/src/vulkan/ |
D | CMakeLists.txt | 27 index_buffer.cc
|
/third_party/openGLES/extensions/AMD/ |
D | AMD_interleaved_elements.txt | 269 GLuint index_buffer; 270 glGenBuffers(1, &index_buffer); 271 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, index_buffer);
|
/third_party/skia/third_party/externals/opengl-registry/extensions/AMD/ |
D | AMD_interleaved_elements.txt | 269 GLuint index_buffer; 270 glGenBuffers(1, &index_buffer); 271 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, index_buffer);
|