Home
last modified time | relevance | path

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

/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/geometry/
DIndexDataManager.cpp126 IndexBuffer *indexBuffer = streamingBuffer; in prepareIndexData() local
131 indexBuffer = staticBuffer; in prepareIndexData()
149 indexBuffer = staticBuffer; in prepareIndexData()
161 if (indexBuffer) in prepareIndexData()
163 indexBuffer->reserveSpace(convertCount * indexSize(format), type); in prepareIndexData()
164 output = indexBuffer->map(indexSize(format) * convertCount, &streamOffset); in prepareIndexData()
174 indexBuffer->unmap(); in prepareIndexData()
185 translated->indexBuffer = indexBuffer->getBuffer(); in prepareIndexData()
DIndexDataManager.h30 IDirect3DIndexBuffer9 *indexBuffer; member
/external/skia/src/gpu/
DGrAARectRenderer.cpp138 GrIndexBuffer* indexBuffer = this->aaFillRectIndexBuffer(gpu); in fillAARect() local
139 if (NULL == indexBuffer) { in fillAARect()
169 target->setIndexSourceToBuffer(indexBuffer); in fillAARect()
206 GrIndexBuffer* indexBuffer = this->aaStrokeRectIndexBuffer(gpu); in strokeAARect() local
207 if (NULL == indexBuffer) { in strokeAARect()
255 target->setIndexSourceToBuffer(indexBuffer); in strokeAARect()
/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/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/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
DContext.cpp1989 device->SetIndices(indexInfo->indexBuffer); in applyIndexBuffer()
2759 IDirect3DIndexBuffer9 *indexBuffer = NULL; in drawClosingLine() local
2764 …device->CreateIndexBuffer(8, D3DUSAGE_WRITEONLY, D3DFMT_INDEX32, D3DPOOL_DEFAULT, &indexBuffer, 0); in drawClosingLine()
2769 result = indexBuffer->Lock(0, 0, (void**)&data, 0); in drawClosingLine()
2780 …device->CreateIndexBuffer(4, D3DUSAGE_WRITEONLY, D3DFMT_INDEX16, D3DPOOL_DEFAULT, &indexBuffer, 0); in drawClosingLine()
2785 result = indexBuffer->Lock(0, 0, (void**)&data, 0); in drawClosingLine()
2797 indexBuffer->Unlock(); in drawClosingLine()
2798 device->SetIndices(indexBuffer); in drawClosingLine()
2802 indexBuffer->Release(); in drawClosingLine()
2818 Buffer *indexBuffer = mState.elementArrayBuffer.get(); in drawClosingLine() local
[all …]
/external/skia/src/gpu/gl/
DGrGpuGL.cpp1254 GrIndexBuffer* indexBuffer = SkNEW_ARGS(GrGLIndexBuffer, in onCreateIndexBuffer() local
1256 fHWGeometryState.fIndexBuffer = indexBuffer; in onCreateIndexBuffer()
1257 return indexBuffer; in onCreateIndexBuffer()