Searched refs:VertexSize (Results 1 – 9 of 9) sorted by relevance
152 size_t GrDrawState::VertexSize(GrVertexLayout vertexLayout) { in VertexSize() function in GrDrawState406 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()
260 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()
130 size_t vsize = GrDrawState::VertexSize(layout); in fillAARect()199 size_t vsize = GrDrawState::VertexSize(layout); in strokeAARect()
207 fDrawTarget->geometryHints(GrDrawState::VertexSize(fVertexLayout), in drawPackedGlyph()217 fDrawTarget->geometryHints(GrDrawState::VertexSize(fVertexLayout), in drawPackedGlyph()
474 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()
149 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()
517 GrAssert(sizeof(Vertex) == GrDrawState::VertexSize(layout)); in createGeom()
189 static size_t VertexSize(GrVertexLayout vertexLayout);
883 int vertexSize = GrDrawState::VertexSize(layout); in drawVertices()1009 GrAssert(sizeof(CircleVertex) == GrDrawState::VertexSize(layout)); in internalDrawOval()