Home
last modified time | relevance | path

Searched refs:VertexSize (Results 1 – 9 of 9) sorted by relevance

/external/skia/src/gpu/
DGrDrawState.cpp152 size_t GrDrawState::VertexSize(GrVertexLayout vertexLayout) { in VertexSize() function in GrDrawState
406 GrAssert(2*sizeof(GrPoint) == VertexSize(tcMask)); in VertexLayoutUnitTest()
415 GrAssert(2*sizeof(GrPoint) == VertexSize(posAsTex)); in VertexLayoutUnitTest()
427 GrAssert(2*sizeof(GrPoint) + sizeof(GrColor) == VertexSize(withColor)); in VertexLayoutUnitTest()
433 GrAssert(4*sizeof(GrPoint) == VertexSize(withEdge)); in VertexLayoutUnitTest()
439 GrAssert(4*sizeof(GrPoint) + sizeof(GrColor) == VertexSize(withColorAndEdge)); in VertexLayoutUnitTest()
445 GrAssert(2*sizeof(GrPoint) + sizeof(GrColor) == VertexSize(withCoverage)); in VertexLayoutUnitTest()
452 … GrAssert(2*sizeof(GrPoint) + 2 * sizeof(GrColor) == VertexSize(withCoverageAndColor)); in VertexLayoutUnitTest()
DGrInOrderDrawBuffer.cpp260 GrDrawState::VertexSize(draw->fVertexLayout); in concatInstancedDraw()
324 GrDrawState::VertexSize(draw->fVertexLayout); in onDraw()
614 size_t reservedVertexBytes = GrDrawState::VertexSize(geoSrc.fVertexLayout) * in releaseReservedVertexSpace()
649 fVertexPool.appendVertices(GrDrawState::VertexSize(this->getVertexLayout()), in onSetVertexSourceToArray()
706 GrDrawState::VertexSize(restoredState.fVertexLayout) * in geometrySourceWillPop()
DGrAARectRenderer.cpp130 size_t vsize = GrDrawState::VertexSize(layout); in fillAARect()
199 size_t vsize = GrDrawState::VertexSize(layout); in strokeAARect()
DGrTextContext.cpp207 fDrawTarget->geometryHints(GrDrawState::VertexSize(fVertexLayout), in drawPackedGlyph()
217 fDrawTarget->geometryHints(GrDrawState::VertexSize(fVertexLayout), in drawPackedGlyph()
DGrGpu.cpp474 size_t bytes = geoSrc.fVertexCount * GrDrawState::VertexSize(geoSrc.fVertexLayout); in releaseReservedVertexSpace()
493 fVertexPool->appendVertices(GrDrawState::VertexSize(this->getVertexLayout()), in onSetVertexSourceToArray()
520 size_t bytes = geoSrc.fVertexCount * GrDrawState::VertexSize(geoSrc.fVertexLayout); in releaseVertexArray()
DGrDrawTarget.cpp149 acquired = this->onReserveVertexSpace(GrDrawState::VertexSize(vertexLayout), in reserveVertexSpace()
189 …this->willReserveVertexAndIndexSpace(GrDrawState::VertexSize(vertexLayout), vertexCount, indexCoun… in reserveVertexAndIndexSpace()
358 …maxValidVertex = geoSrc.fVertexBuffer->sizeInBytes() / GrDrawState::VertexSize(geoSrc.fVertexLayou… in checkDraw()
DGrAAHairLinePathRenderer.cpp517 GrAssert(sizeof(Vertex) == GrDrawState::VertexSize(layout)); in createGeom()
DGrDrawState.h189 static size_t VertexSize(GrVertexLayout vertexLayout);
DGrContext.cpp883 int vertexSize = GrDrawState::VertexSize(layout); in drawVertices()
1009 GrAssert(sizeof(CircleVertex) == GrDrawState::VertexSize(layout)); in internalDrawOval()