Home
last modified time | relevance | path

Searched refs:GrVertexWriter (Results 1 – 24 of 24) sorted by relevance

/external/skqp/src/gpu/ops/
DGrStrokeRectOp.cpp430 void generateAAStrokeRectGeometry(GrVertexWriter& vertices,
484 GrVertexWriter vertices{ helper.vertices() }; in onPrepareDraws()
632 void AAStrokeRectOp::generateAAStrokeRectGeometry(GrVertexWriter& vertices, in generateAAStrokeRectGeometry()
666 return GrVertexWriter::TriFanFromRect(r.makeInset(dx, dy)); in generateAAStrokeRectGeometry()
670 return GrVertexWriter::If(!tweakAlphaForCoverage, coverage); in generateAAStrokeRectGeometry()
720 vertices.writeQuad(GrVertexWriter::TriFanFromRect(devInside), in generateAAStrokeRectGeometry()
725 vertices.writeQuad(GrVertexWriter::TriFanFromRect(devInside), in generateAAStrokeRectGeometry()
DGrRegionOp.cpp120 GrVertexWriter vertices{helper.vertices()}; in onPrepareDraws()
131 vertices.writeQuad(GrVertexWriter::TriStripFromRect(rect), color); in onPrepareDraws()
DGrLatticeOp.cpp234 GrVertexWriter vertices{helper.vertices()}; in onPrepareDraws()
275 vertices.writeQuad(GrVertexWriter::TriStripFromRect(dstR), in onPrepareDraws()
276 GrVertexWriter::TriStripFromRect(texCoords), in onPrepareDraws()
DGrOvalOpFactory.cpp36 static inline GrVertexWriter::TriStrip<float> origin_centered_tri_strip(float x, float y) { in origin_centered_tri_strip()
37 return GrVertexWriter::TriStrip<float>{ -x, -y, x, y }; in origin_centered_tri_strip()
1171 GrVertexWriter vertices{target->makeVertexSpace(gp->vertexStride(), fVertCount, in onPrepareDraws()
1496 GrVertexWriter vertices{target->makeVertexSpace(gp->vertexStride(), fVertCount, in onPrepareDraws()
1773 GrVertexWriter verts{helper.vertices()}; in onPrepareDraws()
1801 verts.writeQuad(GrVertexWriter::TriStripFromRect(ellipse.fDevBounds), in onPrepareDraws()
1990 GrVertexWriter verts{helper.vertices()}; in onPrepareDraws()
2014 verts.writeQuad(GrVertexWriter::TriStripFromRect(ellipse.fBounds), in onPrepareDraws()
2299 static void FillInOverstrokeVerts(GrVertexWriter& verts, const SkRect& bounds, SkScalar smInset, in FillInOverstrokeVerts()
2364 GrVertexWriter verts{target->makeVertexSpace(gp->vertexStride(), fVertCount, in onPrepareDraws()
[all …]
DGrSmallPathRenderer.cpp379 GrVertexWriter vertices{target->makeVertexSpace(kVertexStride, in onPrepareDraws()
745 GrVertexWriter& vertices, in writePathVertices()
756 GrVertexWriter::TriStrip<uint16_t> texCoords{ in writePathVertices()
769 vertices.writeQuad(GrVertexWriter::TriStripFromRect(translatedBounds), in writePathVertices()
DGrAAConvexPathRenderer.cpp355 GrVertexWriter& verts, in create_vertices()
447 GrVertexWriter::Skip<SkPoint> skipUVs; in create_vertices()
767 GrVertexWriter verts{target->makeVertexSpace(kVertexStride, vertexCount, in onPrepareDraws()
DGrDashOp.cpp153 static void setup_dashed_rect(const SkRect& rect, GrVertexWriter& vertices, const SkMatrix& matrix, in setup_dashed_rect()
166 GrVertexWriter::TriStripFromRect(dashRect), in setup_dashed_rect()
179 GrVertexWriter::TriStripFromRect(dashRect), in setup_dashed_rect()
572 GrVertexWriter vertices{ helper.vertices() }; in onPrepareDraws()
DGrQuadPerEdgeAA.cpp334 static void write_quad(GrVertexWriter* vb, const GrQuadPerEdgeAA::VertexSpec& spec, in write_quad()
340 static constexpr auto If = GrVertexWriter::If<float>; in write_quad()
421 GrVertexWriter vb{vertices}; in Tessellate()
DGrAALinearizingConvexPathRenderer.cpp88 GrVertexWriter verts{vertData}; in extract_verts()
/external/skia/src/gpu/ops/
DGrStrokeRectOp.cpp439 void generateAAStrokeRectGeometry(GrVertexWriter& vertices,
493 GrVertexWriter vertices{ helper.vertices() }; in onPrepareDraws()
644 void AAStrokeRectOp::generateAAStrokeRectGeometry(GrVertexWriter& vertices, in generateAAStrokeRectGeometry()
678 return GrVertexWriter::TriFanFromRect(r.makeInset(dx, dy)); in generateAAStrokeRectGeometry()
682 return GrVertexWriter::If(!tweakAlphaForCoverage, coverage); in generateAAStrokeRectGeometry()
732 vertices.writeQuad(GrVertexWriter::TriFanFromRect(devInside), in generateAAStrokeRectGeometry()
737 vertices.writeQuad(GrVertexWriter::TriFanFromRect(devInside), in generateAAStrokeRectGeometry()
DGrRegionOp.cpp123 GrVertexWriter vertices{helper.vertices()}; in onPrepareDraws()
134 vertices.writeQuad(GrVertexWriter::TriStripFromRect(rect), color); in onPrepareDraws()
DGrOvalOpFactory.cpp37 static inline GrVertexWriter::TriStrip<float> origin_centered_tri_strip(float x, float y) { in origin_centered_tri_strip()
38 return GrVertexWriter::TriStrip<float>{ -x, -y, x, y }; in origin_centered_tri_strip()
1246 GrVertexWriter vertices{target->makeVertexSpace(gp->vertexStride(), fVertCount, in onPrepareDraws()
1575 GrVertexWriter vertices{target->makeVertexSpace(gp->vertexStride(), fVertCount, in onPrepareDraws()
1871 GrVertexWriter verts{helper.vertices()}; in onPrepareDraws()
1899 verts.writeQuad(GrVertexWriter::TriStripFromRect(ellipse.fDevBounds), in onPrepareDraws()
1902 GrVertexWriter::If(fUseScale, SkTMax(xRadius, yRadius)), in onPrepareDraws()
2110 GrVertexWriter verts{helper.vertices()}; in onPrepareDraws()
2134 verts.writeQuad(GrVertexWriter::TriStripFromRect(ellipse.fBounds), in onPrepareDraws()
2137 GrVertexWriter::If(fUseScale, SkTMax(xRadius, yRadius)), in onPrepareDraws()
[all …]
DGrLatticeOp.cpp236 GrVertexWriter vertices{helper.vertices()}; in onPrepareDraws()
277 vertices.writeQuad(GrVertexWriter::TriStripFromRect(dstR), in onPrepareDraws()
278 GrVertexWriter::TriStripFromRect(texCoords), in onPrepareDraws()
DGrSmallPathRenderer.cpp378 GrVertexWriter vertices{target->makeVertexSpace(kVertexStride, in onPrepareDraws()
744 GrVertexWriter& vertices, in writePathVertices()
755 GrVertexWriter::TriStrip<uint16_t> texCoords{ in writePathVertices()
767 vertices.writeQuad(GrVertexWriter::TriStripFromRect(translatedBounds), in writePathVertices()
DGrDashOp.cpp153 static void setup_dashed_rect(const SkRect& rect, GrVertexWriter& vertices, const SkMatrix& matrix, in setup_dashed_rect()
166 GrVertexWriter::TriStripFromRect(dashRect), in setup_dashed_rect()
179 GrVertexWriter::TriStripFromRect(dashRect), in setup_dashed_rect()
575 GrVertexWriter vertices{ helper.vertices() }; in onPrepareDraws()
DGrAAConvexPathRenderer.cpp354 GrVertexWriter& verts, in create_vertices()
446 GrVertexWriter::Skip<SkPoint> skipUVs; in create_vertices()
767 GrVertexWriter verts{target->makeVertexSpace(kVertexStride, vertexCount, in onPrepareDraws()
DGrQuadPerEdgeAA.cpp626 static void write_quad(GrVertexWriter* vb, const GrQuadPerEdgeAA::VertexSpec& spec, in write_quad()
629 static constexpr auto If = GrVertexWriter::If<float>; in write_quad()
717 GrVertexWriter vb{vertices}; in Tessellate()
DGrAALinearizingConvexPathRenderer.cpp88 GrVertexWriter verts{vertData}; in extract_verts()
/external/skqp/src/gpu/
DGrVertexWriter.h24 struct GrVertexWriter { struct
33 friend struct GrVertexWriter; argument
DGrTessellator.cpp198 GrVertexWriter verts{data}; in emit_vertex()
/external/skia/src/gpu/
DGrVertexWriter.h24 struct GrVertexWriter { struct
33 friend struct GrVertexWriter; argument
DGrTessellator.cpp198 GrVertexWriter verts{data}; in emit_vertex()
/external/skia/include/private/
DGrColor.h106 friend struct GrVertexWriter;
/external/skqp/include/private/
DGrColor.h108 friend struct GrVertexWriter;