/external/skqp/src/core/ |
D | SkVertices.cpp | 26 Sizes(int vertexCount, int indexCount, bool hasTexs, bool hasColors) { in Sizes() 32 fISize = safe.mul(indexCount, sizeof(uint16_t)); in Sizes() 56 SkVertices::Builder::Builder(VertexMode mode, int vertexCount, int indexCount, in Builder() argument 60 this->init(mode, vertexCount, indexCount, in Builder() 61 SkVertices::Sizes(vertexCount, indexCount, hasTexs, hasColors)); in Builder() 64 SkVertices::Builder::Builder(VertexMode mode, int vertexCount, int indexCount, in Builder() argument 66 this->init(mode, vertexCount, indexCount, sizes); in Builder() 69 void SkVertices::Builder::init(VertexMode mode, int vertexCount, int indexCount, in init() argument 86 fVertices->fIndexCnt = indexCount; in init() 104 int SkVertices::Builder::indexCount() const { in indexCount() function in SkVertices::Builder [all …]
|
D | SkVertState.h | 27 VertState(int vCount, const uint16_t indices[], int indexCount) in VertState() 31 fCount = indexCount; in VertState()
|
/external/skia/src/core/ |
D | SkVertices.cpp | 26 Sizes(int vertexCount, int indexCount, bool hasTexs, bool hasColors) { in Sizes() 32 fISize = safe.mul(indexCount, sizeof(uint16_t)); in Sizes() 56 SkVertices::Builder::Builder(VertexMode mode, int vertexCount, int indexCount, in Builder() argument 60 this->init(mode, vertexCount, indexCount, in Builder() 61 SkVertices::Sizes(vertexCount, indexCount, hasTexs, hasColors)); in Builder() 64 SkVertices::Builder::Builder(VertexMode mode, int vertexCount, int indexCount, in Builder() argument 66 this->init(mode, vertexCount, indexCount, sizes); in Builder() 69 void SkVertices::Builder::init(VertexMode mode, int vertexCount, int indexCount, in init() argument 86 fVertices->fIndexCnt = indexCount; in init() 104 int SkVertices::Builder::indexCount() const { in indexCount() function in SkVertices::Builder [all …]
|
D | SkVertState.h | 27 VertState(int vCount, const uint16_t indices[], int indexCount) in VertState() 31 fCount = indexCount; in VertState()
|
/external/skia/src/gpu/ |
D | GrMesh.h | 37 void setIndexed(const GrBuffer* indexBuffer, int indexCount, int baseIndex, 39 void setIndexedPatterned(const GrBuffer* indexBuffer, int indexCount, int vertexCount, 44 void setIndexedInstanced(const GrBuffer* indexBuffer, int indexCount, 56 const GrBuffer* indexBuffer, int indexCount, 67 const GrBuffer* indexBuffer, int indexCount, 138 inline void GrMesh::setIndexed(const GrBuffer* indexBuffer, int indexCount, int baseIndex, in setIndexed() argument 141 SkASSERT(indexCount >= 1); in setIndexed() 146 fIndexData.fIndexCount = indexCount; in setIndexed() 153 inline void GrMesh::setIndexedPatterned(const GrBuffer* indexBuffer, int indexCount, in setIndexedPatterned() argument 157 SkASSERT(indexCount >= 1); in setIndexedPatterned() [all …]
|
D | GrOpFlushState.cpp | 166 uint16_t* GrOpFlushState::makeIndexSpace(int indexCount, const GrBuffer** buffer, int* startIndex) { in makeIndexSpace() argument 167 return reinterpret_cast<uint16_t*>(fIndexPool.makeSpace(indexCount, buffer, startIndex)); in makeIndexSpace() 184 void GrOpFlushState::putBackIndices(int indexCount) { in putBackIndices() argument 185 fIndexPool.putBack(indexCount * sizeof(uint16_t)); in putBackIndices()
|
/external/skqp/src/gpu/ |
D | GrMesh.h | 37 void setIndexed(const GrBuffer* indexBuffer, int indexCount, int baseIndex, 39 void setIndexedPatterned(const GrBuffer* indexBuffer, int indexCount, int vertexCount, 44 void setIndexedInstanced(const GrBuffer* indexBuffer, int indexCount, 56 const GrBuffer* indexBuffer, int indexCount, 67 const GrBuffer* indexBuffer, int indexCount, 138 inline void GrMesh::setIndexed(const GrBuffer* indexBuffer, int indexCount, int baseIndex, in setIndexed() argument 141 SkASSERT(indexCount >= 1); in setIndexed() 146 fIndexData.fIndexCount = indexCount; in setIndexed() 153 inline void GrMesh::setIndexedPatterned(const GrBuffer* indexBuffer, int indexCount, in setIndexedPatterned() argument 157 SkASSERT(indexCount >= 1); in setIndexedPatterned() [all …]
|
D | GrOpFlushState.cpp | 162 uint16_t* GrOpFlushState::makeIndexSpace(int indexCount, const GrBuffer** buffer, int* startIndex) { in makeIndexSpace() argument 163 return reinterpret_cast<uint16_t*>(fIndexPool.makeSpace(indexCount, buffer, startIndex)); in makeIndexSpace() 180 void GrOpFlushState::putBackIndices(int indexCount) { in putBackIndices() argument 181 fIndexPool.putBack(indexCount * sizeof(uint16_t)); in putBackIndices()
|
/external/skqp/src/gpu/ops/ |
D | GrAALinearizingConvexPathRenderer.cpp | 209 int indexCount, uint16_t* indices) const { in draw() argument 210 if (vertexCount == 0 || indexCount == 0) { in draw() 226 uint16_t* idxs = target->makeIndexSpace(indexCount, &indexBuffer, &firstIndex); in draw() 231 memcpy(idxs, indices, indexCount * sizeof(uint16_t)); in draw() 232 mesh.setIndexed(indexBuffer, indexCount, firstIndex, 0, vertexCount - 1); in draw() 259 int indexCount = 0; in onPrepareDraws() local 275 if (indexCount + currentIndices > UINT16_MAX) { in onPrepareDraws() 279 indexCount, indices); in onPrepareDraws() 281 indexCount = 0; in onPrepareDraws() 288 if (indexCount + currentIndices > maxIndices) { in onPrepareDraws() [all …]
|
/external/skia/src/gpu/ops/ |
D | GrAALinearizingConvexPathRenderer.cpp | 209 int indexCount, uint16_t* indices) const { in draw() argument 210 if (vertexCount == 0 || indexCount == 0) { in draw() 226 uint16_t* idxs = target->makeIndexSpace(indexCount, &indexBuffer, &firstIndex); in draw() 231 memcpy(idxs, indices, indexCount * sizeof(uint16_t)); in draw() 232 mesh.setIndexed(indexBuffer, indexCount, firstIndex, 0, vertexCount - 1); in draw() 259 int indexCount = 0; in onPrepareDraws() local 274 if (indexCount + currentIndices > UINT16_MAX) { in onPrepareDraws() 278 indexCount, indices); in onPrepareDraws() 280 indexCount = 0; in onPrepareDraws() 287 if (indexCount + currentIndices > maxIndices) { in onPrepareDraws() [all …]
|
D | GrDefaultPathRenderer.cpp | 264 int indexCount = fCurIdx - fIndices; in emitMeshAndPutBackReserve() local 266 SkASSERT(indexCount <= fIndicesInChunk); in emitMeshAndPutBackReserve() 268 if (this->isIndexed() ? SkToBool(indexCount) : SkToBool(vertexCount)) { in emitMeshAndPutBackReserve() 272 fMesh.setIndexed(fIndexBuffer, indexCount, fFirstIndex, 0, vertexCount - 1); in emitMeshAndPutBackReserve() 278 fTarget->putBackIndices((size_t)(fIndicesInChunk - indexCount)); in emitMeshAndPutBackReserve()
|
/external/skia/include/core/ |
D | SkVertices.h | 38 int indexCount, 56 Builder(VertexMode mode, int vertexCount, int indexCount, uint32_t flags); 62 int indexCount() const; 72 Builder(VertexMode mode, int vertexCount, int indexCount, const Sizes&); 74 void init(VertexMode mode, int vertexCount, int indexCount, const Sizes&); 95 int indexCount() const { return fIndexCnt; } in indexCount() function
|
/external/skqp/include/core/ |
D | SkVertices.h | 38 int indexCount, 56 Builder(VertexMode mode, int vertexCount, int indexCount, uint32_t flags); 62 int indexCount() const; 72 Builder(VertexMode mode, int vertexCount, int indexCount, const Sizes&); 74 void init(VertexMode mode, int vertexCount, int indexCount, const Sizes&); 95 int indexCount() const { return fIndexCnt; } in indexCount() function
|
/external/skia/tests/ |
D | VerticesTest.cpp | 21 if (v0->indexCount() != v1->indexCount()) { in equal() 47 for (int i = 0; i < v0->indexCount(); ++i) { in equal() 77 for (int i = 0; i < builder.indexCount(); ++i) { in DEF_TEST()
|
/external/skqp/tests/ |
D | VerticesTest.cpp | 21 if (v0->indexCount() != v1->indexCount()) { in equal() 47 for (int i = 0; i < v0->indexCount(); ++i) { in equal() 77 for (int i = 0; i < builder.indexCount(); ++i) { in DEF_TEST()
|
/external/jsoncpp/src/lib_json/ |
D | json_internalarray.inl | 38 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/replicaisland/src/com/replica/replicaisland/ |
D | Grid.java | 108 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/icu/icu4c/source/test/perf/leperf/ |
D | xmlreader.cpp | 187 int32_t glyphCount = 0, indexCount = 0, positionCount = 0; in readTestFile() local 233 expected.indices = (le_int32 *) getHexArray(indices, indexCount); in readTestFile() 238 … if (glyphCount < charCount || indexCount != glyphCount || positionCount < glyphCount * 2 + 2) { in readTestFile() 240 id, charCount, glyphCount, indexCount, positionCount); in readTestFile()
|
/external/icu/icu4c/source/test/letest/ |
D | xmlreader.cpp | 183 int32_t glyphCount = 0, indexCount = 0, positionCount = 0; in readTestFile() local 229 expected.indices = (le_int32 *) getHexArray(indices, indexCount); in readTestFile() 234 … if (glyphCount < charCount || indexCount != glyphCount || positionCount < glyphCount * 2 + 2) { in readTestFile() 236 id, charCount, glyphCount, indexCount, positionCount); in readTestFile()
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCPathParser.cpp | 210 int indexCount, const Sk2f& atlasOffset, in emit_recursive_fan() argument 212 if (indexCount < 3) { in emit_recursive_fan() 216 int32_t oneThirdCount = indexCount / 3; in emit_recursive_fan() 217 int32_t twoThirdsCount = (2 * indexCount) / 3; in emit_recursive_fan() 225 int endIndex = firstIndex + indexCount; in emit_recursive_fan() 229 indexCount - twoThirdsCount + 1, atlasOffset, out); in emit_recursive_fan()
|
/external/deqp/modules/gles3/functional/ |
D | es3fVertexArrayObjectTests.cpp | 125 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/gpu/vk/ |
D | GrVkGpuCommandBuffer.h | 111 const GrBuffer* indexBuffer, int indexCount, int baseIndex, in sendIndexedMeshToGpu() argument 114 this->sendIndexedInstancedMeshToGpu(primProc, primType, indexBuffer, indexCount, baseIndex, in sendIndexedMeshToGpu() 124 const GrBuffer* indexBuffer, int indexCount, int baseIndex,
|
/external/skqp/src/gpu/vk/ |
D | GrVkGpuCommandBuffer.h | 111 const GrBuffer* indexBuffer, int indexCount, int baseIndex, in sendIndexedMeshToGpu() argument 114 this->sendIndexedInstancedMeshToGpu(primProc, primType, indexBuffer, indexCount, baseIndex, in sendIndexedMeshToGpu() 124 const GrBuffer* indexBuffer, int indexCount, int baseIndex,
|
/external/deqp/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessVertexAccessTests.cpp | 145 virtual void initVertexIds (deUint32 *indicesPtr, size_t indexCount) = 0; 204 virtual void initVertexIds (deUint32 *indicesPtr, size_t indexCount); 223 virtual void initVertexIds (deUint32 *indicesPtr, size_t indexCount); 689 drawConfig.indexCount = (deUint32)(m_indexBufferSize / sizeof(deUint32)); in VertexAccessInstance() 1006 void DrawAccessInstance::initVertexIds (deUint32 *indicesPtr, size_t indexCount) in initVertexIds() argument 1008 for (deUint32 i = 0; i < indexCount; i++) in initVertexIds() 1039 void DrawIndexedAccessInstance::initVertexIds (deUint32 *indicesPtr, size_t indexCount) in initVertexIds() argument 1041 DE_UNREF(indexCount); in initVertexIds() 1045 DE_ASSERT(m_indices[i] < indexCount); in initVertexIds()
|
/external/skia/src/gpu/ccpr/ |
D | GrCCPathParser.cpp | 301 int indexCount, const Sk2f& atlasOffset, in emit_recursive_fan() argument 303 if (indexCount < 3) { in emit_recursive_fan() 307 int32_t oneThirdCount = indexCount / 3; in emit_recursive_fan() 308 int32_t twoThirdsCount = (2 * indexCount) / 3; in emit_recursive_fan() 316 int endIndex = firstIndex + indexCount; in emit_recursive_fan() 320 indexCount - twoThirdsCount + 1, atlasOffset, out); in emit_recursive_fan()
|