Home
last modified time | relevance | path

Searched refs:indexBuffer (Results 1 – 25 of 26) sorted by relevance

12

/external/skia/src/gpu/
DGrVertices.h24 const GrIndexBuffer* indexBuffer() const { return fIndexBuffer.get(); } in indexBuffer() function
69 const GrIndexBuffer* indexBuffer, in initIndexed() argument
74 SkASSERT(indexBuffer); in initIndexed()
82 fIndexBuffer.reset(indexBuffer); in initIndexed()
99 const GrIndexBuffer* indexBuffer, in initInstanced() argument
106 SkASSERT(indexBuffer); in initInstanced()
113 fIndexBuffer.reset(indexBuffer); in initInstanced()
DGrOvalRenderer.cpp1433 SkAutoTUnref<const GrIndexBuffer> indexBuffer( in onPrepareDraws() local
1438 kTriangles_GrPrimitiveType, vertexStride, indexBuffer, kVertsPerRRect, in onPrepareDraws()
1440 if (!verts || !indexBuffer) { in onPrepareDraws()
1612 SkAutoTUnref<const GrIndexBuffer> indexBuffer( in onPrepareDraws() local
1617 helper.init(target, kTriangles_GrPrimitiveType, vertexStride, indexBuffer, in onPrepareDraws()
1619 if (!verts || !indexBuffer) { in onPrepareDraws()
DGrGpu.cpp39 fIndexBuffer.reset(di.indexBuffer()); in operator =()
/external/skia/src/gpu/batches/
DGrVertexBatch.cpp20 size_t vertexStride, const GrIndexBuffer* indexBuffer, in init() argument
24 if (!indexBuffer) { in init()
36 size_t ibSize = indexBuffer->gpuMemorySize(); in init()
39 fVertices.initInstanced(primType, vertexBuffer, indexBuffer, in init()
DGrTInstanceBatch.h104 SkAutoTUnref<const GrIndexBuffer> indexBuffer( in onPrepareDraws()
108 indexBuffer, Impl::kVertsPerInstance, in onPrepareDraws()
110 if (!vertices || !indexBuffer) { in onPrepareDraws()
DGrNinePatch.cpp99 SkAutoTUnref<const GrIndexBuffer> indexBuffer( in onPrepareDraws() local
103 indexBuffer, kVertsPerRect, in onPrepareDraws()
105 if (!vertices || !indexBuffer) { in onPrepareDraws()
DGrDrawVerticesBatch.cpp119 const GrIndexBuffer* indexBuffer = nullptr; in onPrepareDraws() local
124 indices = target->makeIndexSpace(fIndexCount, &indexBuffer, &firstIndex); in onPrepareDraws()
161 vertices.initIndexed(this->primitiveType(), vertexBuffer, indexBuffer, firstVertex, in onPrepareDraws()
DGrAALinearizingConvexPathRenderer.cpp178 const GrIndexBuffer* indexBuffer; in draw() local
180 uint16_t* idxs = target->makeIndexSpace(indexCount, &indexBuffer, &firstIndex); in draw()
186 info.initIndexed(kTriangles_GrPrimitiveType, vertexBuffer, indexBuffer, firstVertex, in draw()
DGrAAConvexPathRenderer.cpp827 const GrIndexBuffer* indexBuffer; in prepareLinesOnlyDraws() local
830 uint16_t* idxs = target->makeIndexSpace(tess.numIndices(), &indexBuffer, &firstIndex); in prepareLinesOnlyDraws()
840 vertexBuffer, indexBuffer, in prepareLinesOnlyDraws()
915 const GrIndexBuffer* indexBuffer; in onPrepareDraws() local
918 uint16_t *idxs = target->makeIndexSpace(indexCount, &indexBuffer, &firstIndex); in onPrepareDraws()
931 vertices.initIndexed(kTriangles_GrPrimitiveType, vertexBuffer, indexBuffer, in onPrepareDraws()
DGrDefaultPathRenderer.cpp327 const GrIndexBuffer* indexBuffer = nullptr; in onPrepareDraws() local
332 indices = target->makeIndexSpace(maxIndices, &indexBuffer, &firstIndex); in onPrepareDraws()
367 vertices.initIndexed(primitiveType, vertexBuffer, indexBuffer, firstVertex, firstIndex, in onPrepareDraws()
DGrAAStrokeRectBatch.cpp209 const SkAutoTUnref<const GrIndexBuffer> indexBuffer( in onPrepareDraws() local
213 indexBuffer, verticesPerInstance, indicesPerInstance, in onPrepareDraws()
215 if (!vertices || !indexBuffer) { in onPrepareDraws()
/external/jmonkeyengine/engine/src/core/com/jme3/util/
DTangentBinormalGenerator.java183 IndexBuffer indexBuffer = mesh.getIndexBuffer(); in processTriangles() local
194 for (int i = 0; i < indexBuffer.size() / 3; i++) { in processTriangles()
196 index[j] = indexBuffer.get(i * 3 + j); in processTriangles()
214 IndexBuffer indexBuffer = mesh.getIndexBuffer(); in processTriangleStrip() local
220 index[0] = indexBuffer.get(0); in processTriangleStrip()
221 index[1] = indexBuffer.get(1); in processTriangleStrip()
229 for (int i = 2; i < indexBuffer.size(); i++) { in processTriangleStrip()
230 index[2] = indexBuffer.get(i); in processTriangleStrip()
262 IndexBuffer indexBuffer = mesh.getIndexBuffer(); in processTriangleFan() local
268 index[0] = indexBuffer.get(0); in processTriangleFan()
[all …]
/external/mesa3d/src/gallium/drivers/r300/
Dr300_render.c437 struct pipe_resource* indexBuffer, in r300_emit_draw_elements() argument
504 OUT_CS_RELOC(r300_resource(indexBuffer)); in r300_emit_draw_elements()
597 struct pipe_resource *indexBuffer = r300->index_buffer.buffer; in r300_draw_elements() local
599 struct pipe_resource* orgIndexBuffer = indexBuffer; in r300_draw_elements()
613 r300_translate_index_buffer(r300, &r300->index_buffer, &indexBuffer, in r300_draw_elements()
617 if (indexSize == 2 && (start & 1) && indexBuffer) { in r300_draw_elements()
630 r300_upload_index_buffer(r300, &indexBuffer, indexSize, &start, in r300_draw_elements()
636 r300_upload_index_buffer(r300, &indexBuffer, indexSize, in r300_draw_elements()
644 PREP_INDEXED, indexBuffer, 19, buffer_offset, info->index_bias, in r300_draw_elements()
649 r300_emit_draw_elements(r300, indexBuffer, indexSize, in r300_draw_elements()
[all …]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/curves/
DCurvesHelper.java475 IntBuffer indexBuffer = indexBuffers[geomIndex]; in applyBevelAndTaper() local
476 if (indexBuffer == null) { in applyBevelAndTaper()
484indexBuffer = BufferUtils.createIntBuffer(((bevelCurveEdgesAmount << 1) * curvePoints.length - bev… in applyBevelAndTaper()
485 indexBuffers[geomIndex] = indexBuffer; in applyBevelAndTaper()
490 indexBuffer.put(index + pointOffset); in applyBevelAndTaper()
491 indexBuffer.put(index + pointOffset + 1); in applyBevelAndTaper()
492 indexBuffer.put(verts.length + index + pointOffset); in applyBevelAndTaper()
493 indexBuffer.put(verts.length + index + pointOffset); in applyBevelAndTaper()
494 indexBuffer.put(index + pointOffset + 1); in applyBevelAndTaper()
495 indexBuffer.put(verts.length + index + pointOffset + 1); in applyBevelAndTaper()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawIndexedTest.cpp142 const vk::VkBuffer indexBuffer = m_indexBuffer->object(); in iterate() local
145 m_vk.cmdBindIndexBuffer(*m_cmdBuffer, indexBuffer, 0, vk::VK_INDEX_TYPE_UINT32); in iterate()
242 const vk::VkBuffer indexBuffer = m_indexBuffer->object(); in iterate() local
245 m_vk.cmdBindIndexBuffer(*m_cmdBuffer, indexBuffer, 0, vk::VK_INDEX_TYPE_UINT32); in iterate()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_draw.h70 struct pipe_resource *indexBuffer,
Dsvga_draw_private.h157 struct pipe_resource *indexBuffer,
/external/deqp/framework/opengl/
DgluDrawUtil.cpp549 …IndexBuffer indexBuffer(context, primitives.indexType, primitives.numElements, primitives.indices); in drawFromBuffers() local
551 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, *indexBuffer); in drawFromBuffers()
/external/deqp/modules/gles31/functional/
Des31fAdvancedBlendTests.cpp414 const glu::Buffer indexBuffer (renderCtx); in iterate() local
437 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, *indexBuffer); in iterate()
/external/vulkan-validation-layers/tests/
Dvkrenderframework.h197 void BindIndexBuffer(VkIndexBufferObj *indexBuffer, VkDeviceSize offset);
Dvkrenderframework.cpp1623 void VkCommandBufferObj::BindIndexBuffer(VkIndexBufferObj *indexBuffer, in BindIndexBuffer() argument
1625 vkCmdBindIndexBuffer(handle(), indexBuffer->handle(), offset, in BindIndexBuffer()
1626 indexBuffer->GetIndexType()); in BindIndexBuffer()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp1690 GrIndexBuffer* indexBuffer = new GrGLIndexBuffer(this, desc); in onCreateIndexBuffer() local
1691 return indexBuffer; in onCreateIndexBuffer()
1709 GrIndexBuffer* indexBuffer = new GrGLIndexBuffer(this, desc); in onCreateIndexBuffer() local
1710 return indexBuffer; in onCreateIndexBuffer()
1849 ibuf = (GrGLIndexBuffer*)vertices.indexBuffer(); in setupGeometry()
/external/deqp/modules/gles3/performance/
Des3pBufferDataUploadTests.cpp4342 const glu::Buffer indexBuffer (m_context.getRenderContext()); in runSample() local
4357 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, *indexBuffer); in runSample()
4472 const glu::Buffer indexBuffer (m_context.getRenderContext()); in runSample() local
4492 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, *indexBuffer); in runSample()
4827 const glu::Buffer indexBuffer (m_context.getRenderContext()); in runSample() local
4843 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, *indexBuffer); in runSample()
5162 const glu::Buffer indexBuffer (m_context.getRenderContext()); in runSample() local
5180 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, *indexBuffer); in runSample()
5219 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, *indexBuffer); in runSample()
/external/deqp/modules/gles3/functional/
Des3fVertexArrayObjectTests.cpp1590 BufferSpec indexBuffer = { 24, 192, 1, 0, 0, GL_UNSIGNED_SHORT, 0, 48, 0.0f, 0.0f }; in init() local
1591 spec.buffers.push_back(indexBuffer); in init()
/external/skia/src/gpu/vk/
DGrVkGpu.cpp665 GrVkIndexBuffer* ibuf = (GrVkIndexBuffer*)vertices.indexBuffer(); in bindGeometry()

12