Home
last modified time | relevance | path

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

1234

/external/skia/src/gpu/batches/
DGrAALinearizingConvexPathRenderer.cpp163 size_t vertexStride, void* vertices, int indexCount, uint16_t* indices) const { in draw() argument
164 if (vertexCount == 0 || indexCount == 0) { in draw()
180 uint16_t* idxs = target->makeIndexSpace(indexCount, &indexBuffer, &firstIndex); in draw()
185 memcpy(idxs, indices, indexCount * sizeof(uint16_t)); in draw()
187 firstIndex, vertexCount, indexCount); in draw()
215 int indexCount = 0; in onPrepareDraws() local
230 if (indexCount + currentIndices > UINT16_MAX) { in onPrepareDraws()
234 indexCount, indices); in onPrepareDraws()
236 indexCount = 0; in onPrepareDraws()
243 if (indexCount + currentIndices > maxIndices) { in onPrepareDraws()
[all …]
DGrDrawVerticesBatch.h36 const uint16_t* indices, int indexCount, in Create() argument
40 indices, indexCount, colors, localCoords, bounds); in Create()
58 const uint16_t* indices, int indexCount,
DGrDrawVerticesBatch.cpp37 const uint16_t* indices, int indexCount, in GrDrawVerticesBatch() argument
48 installedGeo.fIndices.append(indexCount, indices); in GrDrawVerticesBatch()
62 fIndexCount = indexCount; in GrDrawVerticesBatch()
/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()
DGrBatchFlushState.cpp27 uint16_t* GrBatchFlushState::makeIndexSpace(int indexCount, in makeIndexSpace() argument
29 return reinterpret_cast<uint16_t*>(fIndexPool.makeSpace(indexCount, buffer, startIndex)); in makeIndexSpace()
DGrBatchFlushState.h80 uint16_t* makeIndexSpace(int indexCount, const GrIndexBuffer** buffer, int* startIndex);
179 uint16_t* makeIndexSpace(int indexCount, const GrIndexBuffer** buffer, int* startIndex) { in makeIndexSpace() argument
180 return this->state()->makeIndexSpace(indexCount, buffer, startIndex); in makeIndexSpace()
DGrBufferAllocPool.cpp367 void* GrIndexBufferAllocPool::makeSpace(int indexCount, in makeSpace() argument
371 SkASSERT(indexCount >= 0); in makeSpace()
377 void* ptr = INHERITED::makeSpace(indexCount * sizeof(uint16_t), in makeSpace()
DGrBufferAllocPool.h202 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/jsoncpp/src/lib_json/
Djson_internalarray.inl38 ValueInternalArray::PageIndex& indexCount, argument
40 ValueInternalArray::PageIndex newIndexCount = (indexCount * 3) / 2 + 1;
45 indexCount = newIndexCount;
49 ValueInternalArray::PageIndex indexCount) { argument
92 ValueInternalArray::PageIndex& indexCount, argument
94 ValueInternalArray::PageIndex newIndexCount = (indexCount * 3) / 2 + 1;
99 indexCount = newIndexCount;
103 ValueInternalArray::PageIndex indexCount) { argument
/external/skia/src/core/
DSkVertState.h27 VertState(int vCount, const uint16_t indices[], int indexCount) in VertState()
31 fCount = indexCount; in VertState()
DSkRecorder.cpp301 const uint16_t indices[], int indexCount, const SkPaint& paint) { in onDrawVertices() argument
309 this->copy(indices, indexCount), in onDrawVertices()
310 indexCount); in onDrawVertices()
DSkPictureRecord.cpp644 const uint16_t indices[], int indexCount, in onDrawVertices() argument
653 if (indexCount > 0) { in onDrawVertices()
673 size += 1 * kUInt32Size + SkAlign4(indexCount * sizeof(uint16_t)); in onDrawVertices()
692 this->addInt(indexCount); in onDrawVertices()
693 fWriter.writePad(indices, indexCount * sizeof(uint16_t)); in onDrawVertices()
/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.cpp149 const uint16_t indices[], int indexCount, in onDrawVertices() argument
154 indexCount, *apf.paint()); in onDrawVertices()
DSkMeshUtils.cpp100 idx.indices(), idx.indexCount(), p); in Draw()
DSkNWayCanvas.cpp277 const uint16_t indices[], int indexCount, in onDrawVertices() argument
282 indices, indexCount, paint); in onDrawVertices()
/external/skia/include/utils/
DSkMeshUtils.h30 int indexCount() const { return fIndexCount; } in indexCount() function
/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/libunwind_llvm/include/mach-o/
Dcompact_unwind_encoding.h418 uint32_t indexCount; member
/external/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp344 uint32_t indexCount, in drawIndexed() argument
352 indexCount, in drawIndexed()

1234