Home
last modified time | relevance | path

Searched refs:indexCount (Results 1 – 25 of 67) sorted by relevance

123

/external/jmonkeyengine/engine/src/core/com/jme3/scene/mesh/
DIndexBuffer.java57 public static IndexBuffer createIndexBuffer(int vertexCount, int indexCount){ in createIndexBuffer() argument
59 return new IndexIntBuffer(BufferUtils.createIntBuffer(indexCount)); in createIndexBuffer()
61 return new IndexShortBuffer(BufferUtils.createShortBuffer(indexCount)); in createIndexBuffer()
/external/skia/src/gpu/
DGrVertices.h20 int indexCount() const { return fIndexCount; } in indexCount() function
73 int indexCount) { in initIndexed() argument
76 SkASSERT(indexCount); in initIndexed()
86 fIndexCount = indexCount; in initIndexed()
DGrBatchTarget.cpp71 uint16_t* GrBatchTarget::makeIndexSpace(int indexCount, in makeIndexSpace() argument
73 return reinterpret_cast<uint16_t*>(fIndexPool->makeSpace(indexCount, buffer, startIndex)); in makeIndexSpace()
DGrBufferAllocPool.cpp400 void* GrIndexBufferAllocPool::makeSpace(int indexCount, in makeSpace() argument
404 SkASSERT(indexCount >= 0); in makeSpace()
410 void* ptr = INHERITED::makeSpace(indexCount * sizeof(uint16_t), in makeSpace()
DGrContext.cpp747 const uint16_t* indices, int indexCount, in Create() argument
751 vertexCount, indices, indexCount, colors, in Create()
826 indices = batchTarget->makeIndexSpace(this->indexCount(), &indexBuffer, &firstIndex); in generateGeometry()
862 firstIndex, this->vertexCount(), this->indexCount()); in generateGeometry()
876 const uint16_t* indices, int indexCount, in DrawVerticesBatch() argument
886 installedGeo.fIndices.append(indexCount, indices); in DrawVerticesBatch()
906 fBatch.fIndexCount = indexCount; in DrawVerticesBatch()
926 int indexCount() const { return fBatch.fIndexCount; } in indexCount() function in DrawVerticesBatch
963 fBatch.fIndexCount += that->indexCount(); in onCombineIfPossible()
997 int indexCount) { in drawVertices() argument
[all …]
DGrBufferAllocPool.h221 void* makeSpace(int indexCount,
/external/replicaisland/src/com/replica/replicaisland/
DGrid.java108 int indexCount = quadCount * 6; in Grid() local
109 mIndexCount = indexCount; in Grid()
110 mIndexBuffer = ByteBuffer.allocateDirect(CHAR_SIZE * indexCount) in Grid()
240 public void drawStrip(GL10 gl, boolean useTexture, int startIndex, int indexCount) { in drawStrip() argument
241 int count = indexCount; in drawStrip()
242 if (startIndex + indexCount >= mIndexCount) { in drawStrip()
/external/skia/src/core/
DSkVertState.h27 VertState(int vCount, const uint16_t indices[], int indexCount) in VertState()
31 fCount = indexCount; in VertState()
DSkRecords.h324 int indexCount) in DrawVertices()
333 , indexCount(indexCount) {} in DrawVertices()
343 int indexCount; member
DSkRecorder.cpp263 const uint16_t indices[], int indexCount, const SkPaint& paint) { in onDrawVertices() argument
271 this->copy(indices, indexCount), in onDrawVertices()
272 indexCount); in onDrawVertices()
/external/jsoncpp/src/lib_json/
Djson_internalarray.inl49 ValueInternalArray::PageIndex &indexCount, argument
52 ValueInternalArray::PageIndex newIndexCount = (indexCount*3)/2 + 1;
57 indexCount = newIndexCount;
61 ValueInternalArray::PageIndex indexCount ) argument
112 ValueInternalArray::PageIndex &indexCount, argument
115 ValueInternalArray::PageIndex newIndexCount = (indexCount*3)/2 + 1;
120 indexCount = newIndexCount;
124 ValueInternalArray::PageIndex indexCount ) argument
/external/icu/icu4c/source/test/perf/leperf/
Dxmlreader.cpp181 int32_t glyphCount = 0, indexCount = 0, positionCount = 0; in readTestFile() local
227 expected.indices = (le_int32 *) getHexArray(indices, indexCount); in readTestFile()
232 … if (glyphCount < charCount || indexCount != glyphCount || positionCount < glyphCount * 2 + 2) { in readTestFile()
234 id, charCount, glyphCount, indexCount, positionCount); in readTestFile()
/external/icu/icu4c/source/test/letest/
Dxmlreader.cpp181 int32_t glyphCount = 0, indexCount = 0, positionCount = 0; in readTestFile() local
227 expected.indices = (le_int32 *) getHexArray(indices, indexCount); in readTestFile()
232 … if (glyphCount < charCount || indexCount != glyphCount || positionCount < glyphCount * 2 + 2) { in readTestFile()
234 id, charCount, glyphCount, indexCount, positionCount); in readTestFile()
Dletest.cpp613 int32_t glyphCount = 0, indexCount = 0, positionCount = 0; in DataDrivenTest() local
680 expected.indices = (le_int32 *) getHexArray(indices, indexCount); in DataDrivenTest()
685 … if (glyphCount < charCount || indexCount != glyphCount || positionCount < glyphCount * 2 + 2) { in DataDrivenTest()
687 id, charCount, glyphCount, indexCount, positionCount); in DataDrivenTest()
/external/deqp/modules/gles3/functional/
Des3fVertexArrayObjectTests.cpp125 int indexCount; member
139 , indexCount (-1) in Spec()
279 deUint8* indices = new deUint8[m_spec.indexCount * typeSize]; in generateIndices()
281 for (int i = 0; i < m_spec.indexCount; i++) in generateIndices()
750 m_spec.indexCount = 0; in init()
855 deUint8* indices = new deUint8[m_spec.indexCount * typeSize]; in generateIndices()
857 for (int i = 0; i < m_spec.indexCount; i++) in generateIndices()
1288 spec.indexCount = 0; in init()
1325 spec.indexCount = 0; in init()
1363 spec.indexCount = 0; in init()
[all …]
/external/skia/src/utils/
DSkNinePatch.cpp189 const int indexCount = (numXDivs + 1) * (numYDivs + 1) * 2 * 3; in DrawMesh() local
192 indexCount * sizeof(uint16_t)); in DrawMesh()
207 SkASSERT(n == indexCount); in DrawMesh()
249 mesh.fIndices, indexCount, p); in DrawMesh()
DSkPaintFilterCanvas.cpp109 const uint16_t indices[], int indexCount, in onDrawVertices() argument
113 indexCount, *apf.paint()); in onDrawVertices()
DSkMeshUtils.cpp100 idx.indices(), idx.indexCount(), p); in Draw()
/external/skia/experimental/PdfViewer/
DSkTrackDevice.h143 const uint16_t indices[], int indexCount, in drawVertices() argument
147 indexCount, paint); in drawVertices()
/external/skia/include/utils/
DSkMeshUtils.h30 int indexCount() const { return fIndexCount; } in indexCount() function
/external/libcxxabi/include/mach-o/
Dcompact_unwind_encoding.h418 uint32_t indexCount; member
/external/icu/icu4c/source/common/
Ducol_swp.cpp323 …int indexCount = ds->readUInt16(*((uint16_t*)(inBytes+header.scriptToLeadByte))); // each entry = … in swapFormatVersion3() local
326 4 + (4 * indexCount) + (2 * dataCount), in swapFormatVersion3()
332 …int indexCount = ds->readUInt16(*((uint16_t*)(inBytes+header.leadByteToScript))); // each entry = … in swapFormatVersion3() local
335 4 + (2 * indexCount) + (2 * dataCount), in swapFormatVersion3()
/external/skia/src/utils/debugger/
DSkDrawCommand.cpp793 const uint16_t indices[], int indexCount, in SkDrawVerticesCommand() argument
822 if (indexCount > 0) { in SkDrawVerticesCommand()
823 fIndices = new uint16_t[indexCount]; in SkDrawVerticesCommand()
824 memcpy(fIndices, indices, indexCount * sizeof(uint16_t)); in SkDrawVerticesCommand()
829 fIndexCount = indexCount; in SkDrawVerticesCommand()
/external/skia/src/svg/
DSkSVGDevice.h53 const uint16_t indices[], int indexCount,
/external/skia/src/pipe/
DSkGPipeWrite.cpp284 const uint16_t indices[], int indexCount,
1038 const uint16_t indices[], int indexCount, in onDrawVertices() argument
1066 if (indices && indexCount > 0) { in onDrawVertices()
1069 size += SkAlign4(indexCount * sizeof(uint16_t)); // indices in onDrawVertices()
1089 fWriter.write32(indexCount); in onDrawVertices()
1090 fWriter.writePad(indices, indexCount * sizeof(uint16_t)); in onDrawVertices()

123