Searched refs:VertexSize (Results 1 – 7 of 7) sorted by relevance
127 int stride = VertexSize(layout); in drawRect()144 int vsize = VertexSize(layout); in drawRect()227 VertexSize(this->getGeomSrc().fVertexLayout); in onDrawIndexed()294 VertexSize(this->getGeomSrc().fVertexLayout); in onDrawNonIndexed()484 size_t reservedVertexBytes = VertexSize(geoSrc.fVertexLayout) * in releaseReservedVertexSpace()550 size_t reservedVertexBytes = VertexSize(geoSrc.fVertexLayout) * in releaseVertexArray()578 VertexSize(restoredState.fVertexLayout) * in geometrySourceWillPop()
122 size_t GrDrawTarget::VertexSize(GrVertexLayout vertexLayout) { in VertexSize() function in GrDrawTarget393 GrAssert(2*sizeof(GrPoint) == VertexSize(tcMask)); in VertexLayoutUnitTest()405 GrAssert(2*sizeof(GrPoint) == VertexSize(posAsTex)); in VertexLayoutUnitTest()417 GrAssert(2*sizeof(GrPoint) + sizeof(GrColor) == VertexSize(withColor)); in VertexLayoutUnitTest()423 GrAssert(4*sizeof(GrPoint) == VertexSize(withEdge)); in VertexLayoutUnitTest()429 GrAssert(4*sizeof(GrPoint) + sizeof(GrColor) == VertexSize(withColorAndEdge)); in VertexLayoutUnitTest()435 GrAssert(2*sizeof(GrPoint) + sizeof(GrColor) == VertexSize(withCoverage)); in VertexLayoutUnitTest()442 … GrAssert(2*sizeof(GrPoint) + 2 * sizeof(GrColor) == VertexSize(withCoverageAndColor)); in VertexLayoutUnitTest()721 VertexSize(geoSrc.fVertexLayout); in checkDraw()
382 size_t vSize = GrDrawTarget::VertexSize(layout); in makeSpace()405 GrDrawTarget::VertexSize(layout) * vertexCount); in appendVertices()414 GrDrawTarget::VertexSize(layout); in preallocatedBufferVertices()418 return currentBufferItems(GrDrawTarget::VertexSize(layout)); in currentBufferVertices()
894 size_t bytes = geoSrc.fVertexCount * VertexSize(geoSrc.fVertexLayout); in releaseReservedVertexSpace()940 size_t bytes = geoSrc.fVertexCount * VertexSize(geoSrc.fVertexLayout); in releaseVertexArray()
637 static size_t VertexSize(GrVertexLayout vertexLayout);
543 GrAssert(sizeof(Vertex) == GrDrawTarget::VertexSize(layout)); in createGeom()
757 size_t vsize = GrDrawTarget::VertexSize(layout); in fillAARect()824 size_t vsize = GrDrawTarget::VertexSize(layout); in strokeAARect()1145 int vertexSize = GrDrawTarget::VertexSize(layout); in drawVertices()