Home
last modified time | relevance | path

Searched refs:fVertexCount (Results 1 – 12 of 12) sorted by relevance

/external/skqp/src/gpu/
DGrMesh.h26 SkDEBUGCODE(fNonIndexNonInstanceData.fVertexCount = -1;) in fPrimitiveType()
87 int fVertexCount; member
104 int fVertexCount; member
118 int fVertexCount; member
132 fNonIndexNonInstanceData.fVertexCount = vertexCount; in setNonIndexedNonInstanced()
165 fPatternData.fVertexCount = vertexCount; in setIndexedPatterned()
179 fInstanceNonIndexData.fVertexCount = vertexCount; in setInstanced()
209 fInstanceNonIndexData.fVertexCount, fBaseVertex, in sendToGpu()
222 SkASSERT(fNonIndexNonInstanceData.fVertexCount > 0); in sendToGpu()
224 fNonIndexNonInstanceData.fVertexCount, fBaseVertex); in sendToGpu()
[all …]
/external/skia/src/core/
DSkVertices.cpp34 int fVertexCount, member
44 fVSize = safe.mul(desc.fVertexCount, sizeof(SkPoint)); in Sizes()
45 fTSize = desc.fHasTexs ? safe.mul(desc.fVertexCount, sizeof(SkPoint)) : 0; in Sizes()
46 fCSize = desc.fHasColors ? safe.mul(desc.fVertexCount, sizeof(SkColor)) : 0; in Sizes()
56 numFanTris = desc.fVertexCount - 2; in Sizes()
59 if (desc.fVertexCount > (SkTo<int>(UINT16_MAX) + 1)) { in Sizes()
138 fVertices->fVertexCount = desc.fVertexCount; in init()
147 fVertices->fBounds.setBounds(fVertices->fPositions, fVertices->fVertexCount); in detach()
160 for (int t = 0; t < fVertices->fVertexCount - 2; ++t) { in detach()
165 fVertices->fIndexCount = 3 * (fVertices->fVertexCount - 2); in detach()
[all …]
DSkVerticesPriv.h29 int vertexCount() const { return fVertices->fVertexCount; } in vertexCount()
/external/skia/src/gpu/
DGrSimpleMesh.h41 int fVertexCount; member
51 fVertexCount = vertexCount; in set()
90 fVertexCount = patternVertexCount; in setIndexedPatterned()
DGrOpFlushState.cpp223 this->draw(mesh.fVertexCount, mesh.fBaseVertex); in drawMesh()
231 mesh.fMaxPatternRepetitionsInIndexBuffer, mesh.fVertexCount, in drawMesh()
DGrDrawIndirectCommand.h15 uint32_t fVertexCount; member
/external/skqp/src/gpu/ops/
DGrDrawVerticesOp.cpp43 fVertexCount = vertices->vertexCount(); in GrDrawVerticesOp()
121 fMeshes.count(), fVertexCount, fIndexCount); in dumpInfo()
232 void* verts = target->makeVertexSpace(vertexStride, fVertexCount, &vertexBuffer, &firstVertex); in drawVolatile()
303 vertexBuffer = rp->createBuffer(fVertexCount * vertexStride, in drawNonVolatile()
469 mesh->setIndexed(std::move(indexBuffer), fIndexCount, firstIndex, 0, fVertexCount - 1, in drawVertices()
472 mesh->setNonIndexedNonInstanced(fVertexCount); in drawVertices()
512 if (fVertexCount + that->fVertexCount > SkTo<int>(UINT16_MAX)) { in onCombineIfPossible()
534 fVertexCount += that->fVertexCount; in onCombineIfPossible()
DGrTessellatingPathRenderer.cpp119 fVertexCount = vertexCount; in lock()
124 fTarget->putBackVertices(fVertexCount - actualCount, stride()); in unlock()
133 int fVertexCount; member in __anon66fb31960111::DynamicVertexAllocator
DGrDrawVerticesOp.h161 int fVertexCount; variable
/external/skia/src/gpu/ops/
DGrDrawVerticesOp.cpp294 int fVertexCount; member in __anon119029be0111::DrawVerticesOp
324 fVertexCount = info.vertexCount(); in DrawVerticesOp()
353 (int)fPrimitiveType, fMeshes.count(), fVertexCount, fIndexCount, in onDumpInfo()
413 target->makeVertexSpace(vertexStride, fVertexCount, &vertexBuffer, &firstVertex)}; in onPrepareDraws()
479 fMesh->setIndexed(std::move(indexBuffer), fIndexCount, firstIndex, 0, fVertexCount - 1, in onPrepareDraws()
482 fMesh->set(std::move(vertexBuffer), fVertexCount, firstVertex); in onPrepareDraws()
516 if (fVertexCount + that->fVertexCount > SkTo<int>(UINT16_MAX)) { in onCombineIfPossible()
571 fVertexCount += that->fVertexCount; in onCombineIfPossible()
/external/skia/include/core/
DSkVertices.h125 int fVertexCount; variable
/external/skia/tests/
DStrokeIndirectTest.cpp448 int numStrokeEdges = indirect->fVertexCount/2 - numExtraEdgesInJoin; in verifyBuffers()
455 SkASSERT(fabsf(instance->fNumTotalEdges) == indirect->fVertexCount/2); in verifyBuffers()