/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_context.c | 97 uint32_t new_control = ctx->index_buffer.FE_INDEX_STREAM_CONTROL; in etna_update_state_for_draw() 104 if (ctx->index_buffer.FE_INDEX_STREAM_CONTROL != new_control || in etna_update_state_for_draw() 105 …(info->primitive_restart && ctx->index_buffer.FE_PRIMITIVE_RESTART_INDEX != info->restart_index)) { in etna_update_state_for_draw() 106 ctx->index_buffer.FE_INDEX_STREAM_CONTROL = new_control; in etna_update_state_for_draw() 107 ctx->index_buffer.FE_PRIMITIVE_RESTART_INDEX = info->restart_index; in etna_update_state_for_draw() 194 ctx->index_buffer.FE_INDEX_STREAM_BASE_ADDR.bo = etna_resource(indexbuf)->bo; in etna_draw_vbo() 195 ctx->index_buffer.FE_INDEX_STREAM_BASE_ADDR.offset = index_offset; in etna_draw_vbo() 196 ctx->index_buffer.FE_INDEX_STREAM_BASE_ADDR.flags = ETNA_RELOC_READ; in etna_draw_vbo() 197 ctx->index_buffer.FE_INDEX_STREAM_CONTROL = translate_index_size(info->index_size); in etna_draw_vbo() 199 if (!ctx->index_buffer.FE_INDEX_STREAM_BASE_ADDR.bo) { in etna_draw_vbo() [all …]
|
D | etnaviv_context.h | 169 struct etna_index_buffer index_buffer; member
|
D | etnaviv_emit.c | 334 …/*00644*/ EMIT_STATE_RELOC(FE_INDEX_STREAM_BASE_ADDR, &ctx->index_buffer.FE_INDEX_STREAM_BASE_ADDR… in etna_emit_state() 335 /*00648*/ EMIT_STATE(FE_INDEX_STREAM_CONTROL, ctx->index_buffer.FE_INDEX_STREAM_CONTROL); in etna_emit_state() 338 … /*00674*/ EMIT_STATE(FE_PRIMITIVE_RESTART_INDEX, ctx->index_buffer.FE_PRIMITIVE_RESTART_INDEX); in etna_emit_state()
|
/external/autotest/client/deps/glbench/src/ |
D | trianglesetuptest.cc | 60 GLuint index_buffer = 0; in Run() local 69 index_buffer = in Run() 77 glDeleteBuffers(1, &index_buffer); in Run() 88 index_buffer = in Run() 94 glDeleteBuffers(1, &index_buffer); in Run()
|
D | drawsizetest.cc | 67 GLuint index_buffer = 0; in Run() local 72 index_buffer = in Run() 79 glDeleteBuffers(1, &index_buffer); in Run()
|
D | attributefetchtest.cc | 111 GLuint index_buffer = 0; in Run() local 116 index_buffer = SetupVBO(GL_ELEMENT_ARRAY_BUFFER, index_buffer_size, indices); in Run() 144 glDeleteBuffers(1, &index_buffer); in Run()
|
D | varyingsandddxytest.cc | 171 GLuint index_buffer = 0; in Run() local 175 index_buffer = SetupVBO(GL_ELEMENT_ARRAY_BUFFER, index_buffer_size, indices); in Run() 207 glDeleteBuffers(1, &index_buffer); in Run()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_draw_upload.c | 717 const struct _mesa_index_buffer *index_buffer = brw->ib.ib; in brw_upload_indices() local 724 if (index_buffer == NULL) in brw_upload_indices() 727 ib_type_size = index_buffer->index_size; in brw_upload_indices() 728 ib_size = index_buffer->count ? ib_type_size * index_buffer->count : in brw_upload_indices() 729 index_buffer->obj->Size; in brw_upload_indices() 730 bufferobj = index_buffer->obj; in brw_upload_indices() 737 intel_upload_data(brw, index_buffer->ptr, ib_size, ib_type_size, in brw_upload_indices() 741 offset = (GLuint) (unsigned long) index_buffer->ptr; in brw_upload_indices() 763 if (index_buffer->index_size != brw->ib.index_size) { in brw_upload_indices() 764 brw->ib.index_size = index_buffer->index_size; in brw_upload_indices()
|
D | genX_state_upload.c | 862 const struct _mesa_index_buffer *index_buffer = brw->ib.ib; in genX() local 864 if (index_buffer == NULL) in genX() 871 ib.IndexFormat = brw_get_index_type(index_buffer->index_size); in genX() 882 static const struct brw_tracked_state genX(index_buffer) = { 5420 &genX(index_buffer), 5486 &genX(index_buffer), 5572 &genX(index_buffer), 5665 &genX(index_buffer),
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_draw_elements.c | 151 struct pipe_resource *index_buffer, in svga_hwtnl_simple_draw_range_elements() argument 176 min_index, max_index, index_buffer, in svga_hwtnl_simple_draw_range_elements() 183 struct pipe_resource *index_buffer, in svga_hwtnl_draw_range_elements() argument 220 ret = svga_hwtnl_simple_draw_range_elements(hwtnl, index_buffer, in svga_hwtnl_draw_range_elements() 240 index_buffer, in svga_hwtnl_draw_range_elements()
|
D | svga_pipe_draw.c | 59 struct pipe_resource *index_buffer, in retry_draw_range_elements() argument 90 index_buffer, index_size, index_bias, in retry_draw_range_elements() 105 index_buffer, index_size, index_bias, in retry_draw_range_elements()
|
/external/mesa3d/src/gallium/drivers/r300/ |
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_render.c | 238 struct pipe_resource *index_buffer, in r300_emit_states() argument 251 index_buffer)) { in r300_emit_states() 301 struct pipe_resource *index_buffer, in r300_prepare_for_rendering() argument 311 return r300_emit_states(r300, flags, index_buffer, buffer_offset, in r300_prepare_for_rendering() 1017 struct pipe_resource *index_buffer = NULL; in r300_render_draw_elements() local 1024 &index_buffer_offset, &index_buffer); in r300_render_draw_elements() 1025 if (!index_buffer) { in r300_render_draw_elements() 1032 index_buffer, 12, 0, 0, -1)) { in r300_render_draw_elements() 1033 pipe_resource_reference(&index_buffer, NULL); in r300_render_draw_elements() 1050 OUT_CS_RELOC(r300_resource(index_buffer)); in r300_render_draw_elements() [all …]
|
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 | 1303 struct pipe_resource *index_buffer) in r300_emit_buffer_validate() argument 1394 if (index_buffer) in r300_emit_buffer_validate() 1395 r300->rws->cs_add_buffer(r300->cs, r300_resource(index_buffer)->buf, in r300_emit_buffer_validate() 1397 r300_resource(index_buffer)->domain, in r300_emit_buffer_validate()
|
/external/mesa3d/src/intel/vulkan/ |
D | gen7_cmd_buffer.c | 119 cmd_buffer->state.gfx.gen7.index_buffer = buffer; in genX() 230 if (cmd_buffer->state.gfx.gen7.index_buffer && in genX() 233 struct anv_buffer *buffer = cmd_buffer->state.gfx.gen7.index_buffer; in genX()
|
D | anv_private.h | 1701 struct anv_buffer *index_buffer; member
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_scratch.h | 40 struct swr_scratch_space index_buffer; member
|
D | swr_scratch.cpp | 98 AlignedFree(scratch->index_buffer.base); in swr_destroy_scratch_buffers()
|
D | swr_state.cpp | 1371 ctx, &ctx->scratch->index_buffer, ptr, size); in swr_update_derived()
|
/external/mesa3d/src/gallium/tools/trace/ |
D | dump_state.py | 448 self._state.index_buffer = ib 456 index_size = self._state.index_buffer.index_size 466 if self._state.index_buffer.buffer is None: 470 data = self._state.index_buffer.buffer.data 476 offset = self._state.index_buffer.offset + i*index_size
|
/external/tensorflow/tensorflow/compiler/xrt/ |
D | xrt_state.cc | 230 for (auto& index_buffer : shaped_buffer.buffers()) { in ToLiteral() local 231 if (index_buffer.second.is_null()) { in ToLiteral() 233 index_buffer.first.ToString(), in ToLiteral()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_cmd_buffer.c | 2400 RADV_FROM_HANDLE(radv_buffer, index_buffer, buffer); in radv_CmdBindIndexBuffer() 2402 if (cmd_buffer->state.index_buffer == index_buffer && in radv_CmdBindIndexBuffer() 2409 cmd_buffer->state.index_buffer = index_buffer; in radv_CmdBindIndexBuffer() 2412 cmd_buffer->state.index_va = radv_buffer_get_va(index_buffer->bo); in radv_CmdBindIndexBuffer() 2413 cmd_buffer->state.index_va += index_buffer->offset + offset; in radv_CmdBindIndexBuffer() 2416 cmd_buffer->state.max_index_count = (index_buffer->size - offset) >> index_size_shift; in radv_CmdBindIndexBuffer() 2418 radv_cs_add_buffer(cmd_buffer->device->ws, cmd_buffer->cs, index_buffer->bo, 8); in radv_CmdBindIndexBuffer()
|
D | radv_private.h | 909 struct radv_buffer *index_buffer; member
|