/external/skia/src/gpu/ |
D | GrVertexWriter.h | 25 struct GrVertexWriter { struct 28 GrVertexWriter() = default; argument 29 GrVertexWriter(void* ptr) : fPtr(ptr) {} in GrVertexWriter() function 30 GrVertexWriter(const GrVertexWriter&) = delete; 31 GrVertexWriter(GrVertexWriter&& that) { *this = std::move(that); } in GrVertexWriter() function 33 GrVertexWriter& operator=(const GrVertexWriter&) = delete; argument 34 GrVertexWriter& operator=(GrVertexWriter&& that) { 40 bool operator==(const GrVertexWriter& that) const { return fPtr == that.fPtr; } 43 GrVertexWriter makeOffset(size_t offsetInBytes) const { in makeOffset() argument 53 friend struct GrVertexWriter; argument
|
D | GrVertexChunkArray.h | 54 SK_ALWAYS_INLINE GrVertexWriter appendVertices(int count) { in appendVertices() 65 SK_ALWAYS_INLINE GrVertexWriter appendVertex() { return this->appendVertices(1); } in appendVertex() 97 GrVertexWriter fCurrChunkVertexWriter;
|
D | GrColor.h | 113 friend struct GrVertexWriter;
|
/external/skia/src/gpu/tessellate/ |
D | GrStrokeIndirectTessellator.h | 13 struct GrVertexWriter; 39 void writeBuffers(GrDrawIndirectWriter*, GrVertexWriter*, const SkMatrix&,
|
D | GrStrokeFixedCountTessellator.cpp | 122 if (GrVertexWriter writer = fChunkBuilder.appendVertex()) { in writeCircle() 149 } else if (GrVertexWriter writer = fChunkBuilder.appendVertex()) { in writeStroke() 157 void writeDynamicAttribs(GrVertexWriter* writer) { in writeDynamicAttribs()
|
D | GrStrokeIndirectTessellator.cpp | 645 BinningInstanceWriter(GrDrawIndirectWriter* indirectWriter, GrVertexWriter* instanceWriter, in BinningInstanceWriter() 734 GrVertexWriter fInstanceWriters[kNumBins]; 736 SkDEBUGCODE(GrVertexWriter fEndWriters[kNumBins];) 769 GrVertexWriter instanceWriter = {target->makeVertexSpace(fShader.instanceStride(), in prepare() 792 GrVertexWriter* instanceWriter, in writeBuffers()
|
D | GrStrokeHardwareTessellator.cpp | 227 if (GrVertexWriter patchWriter = fChunkBuilder.appendVertex()) { in writePatchTo() 565 if (GrVertexWriter patchWriter = fChunkBuilder.appendVertex()) { in internalJoinTo() 585 SK_ALWAYS_INLINE void writeDynamicAttribs(GrVertexWriter* patchWriter) { in writeDynamicAttribs()
|
/external/skia/src/gpu/ops/ |
D | GrQuadPerEdgeAA.h | 26 struct GrVertexWriter; 156 typedef void (*WriteQuadProc)(GrVertexWriter* vertices, const VertexSpec& spec, 164 GrVertexWriter fVertexWriter;
|
D | GrQuadPerEdgeAA.cpp | 30 static void write_quad_generic(GrVertexWriter* vb, const GrQuadPerEdgeAA::VertexSpec& spec, in write_quad_generic() 34 static constexpr auto If = GrVertexWriter::If<float>; in write_quad_generic() 77 static void write_2d_color(GrVertexWriter* vb, const GrQuadPerEdgeAA::VertexSpec& spec, in write_2d_color() 104 static void write_2d_uv(GrVertexWriter* vb, const GrQuadPerEdgeAA::VertexSpec& spec, in write_2d_uv() 124 static void write_2d_color_uv(GrVertexWriter* vb, const GrQuadPerEdgeAA::VertexSpec& spec, in write_2d_color_uv() 150 static void write_2d_cov_uv(GrVertexWriter* vb, const GrQuadPerEdgeAA::VertexSpec& spec, in write_2d_cov_uv() 177 static void write_2d_uv_strict(GrVertexWriter* vb, const GrQuadPerEdgeAA::VertexSpec& spec, in write_2d_uv_strict() 197 static void write_2d_color_uv_strict(GrVertexWriter* vb, const GrQuadPerEdgeAA::VertexSpec& spec, in write_2d_color_uv_strict() 223 static void write_2d_cov_uv_strict(GrVertexWriter* vb, const GrQuadPerEdgeAA::VertexSpec& spec, in write_2d_cov_uv_strict()
|
D | GrStrokeRectOp.cpp | 485 void generateAAStrokeRectGeometry(GrVertexWriter& vertices, 571 GrVertexWriter vertices{ helper.vertices() }; in onPrepareDraws() 732 void AAStrokeRectOp::generateAAStrokeRectGeometry(GrVertexWriter& vertices, in generateAAStrokeRectGeometry() 754 return GrVertexWriter::TriFanFromRect(r.makeInset(dx, dy)); in generateAAStrokeRectGeometry() 758 return GrVertexWriter::If(!tweakAlphaForCoverage, coverage); in generateAAStrokeRectGeometry() 815 vertices.writeQuad(GrVertexWriter::TriFanFromRect(devInside), in generateAAStrokeRectGeometry() 820 vertices.writeQuad(GrVertexWriter::TriFanFromRect(devInside), in generateAAStrokeRectGeometry()
|
D | GrRegionOp.cpp | 125 GrVertexWriter vertices{helper.vertices()}; in onPrepareDraws() 136 vertices.writeQuad(GrVertexWriter::TriStripFromRect(rect), color); in onPrepareDraws()
|
D | GrSmallPathRenderer.cpp | 259 GrVertexWriter vertices{ target->makeVertexSpace( in onPrepareDraws() 553 void writePathVertices(GrVertexWriter& vertices, in writePathVertices() 564 auto texCoords = GrVertexWriter::TriStripFromUVs(shapeData->fAtlasLocator.getUVs()); in writePathVertices() 571 vertices.writeQuad(GrVertexWriter::TriStripFromRect(translatedBounds), in writePathVertices()
|
D | GrLatticeOp.cpp | 243 GrVertexWriter vertices{helper.vertices()}; in onPrepareDraws() 284 vertices.writeQuad(GrVertexWriter::TriStripFromRect(dstR), in onPrepareDraws() 285 GrVertexWriter::TriStripFromRect(texCoords), in onPrepareDraws()
|
D | GrOvalOpFactory.cpp | 38 static inline GrVertexWriter::TriStrip<float> origin_centered_tri_strip(float x, float y) { in origin_centered_tri_strip() 39 return GrVertexWriter::TriStrip<float>{ -x, -y, x, y }; in origin_centered_tri_strip() 1306 GrVertexWriter vertices{target->makeVertexSpace(fProgramInfo->geomProc().vertexStride(), in onPrepareDraws() 1668 GrVertexWriter vertices{target->makeVertexSpace(fProgramInfo->geomProc().vertexStride(), in onPrepareDraws() 1998 GrVertexWriter verts{helper.vertices()}; in onPrepareDraws() 2027 verts.writeQuad(GrVertexWriter::TriStripFromRect(ellipse.fDevBounds), in onPrepareDraws() 2030 GrVertexWriter::If(fUseScale, std::max(xRadius, yRadius)), in onPrepareDraws() 2267 GrVertexWriter verts{helper.vertices()}; in onPrepareDraws() 2291 verts.writeQuad(GrVertexWriter::TriStripFromRect(ellipse.fBounds), in onPrepareDraws() 2294 GrVertexWriter::If(fUseScale, std::max(xRadius, yRadius)), in onPrepareDraws() [all …]
|
D | GrAALinearizingConvexPathRenderer.cpp | 96 GrVertexWriter verts{vertData}; in extract_verts() 102 verts.write(tess.point(i), color, GrVertexWriter::If(localCoordsMatrix, lc), in extract_verts()
|
/external/skia/tools/gpu/ |
D | TestOps.cpp | 205 GrVertexWriter writer{helper.vertices()}; in onPrepareDraws() 206 auto pos = GrVertexWriter::TriStripFromRect(fDrawRect); in onPrepareDraws() 207 auto local = GrVertexWriter::TriStripFromRect(fLocalRect); in onPrepareDraws()
|
/external/skqp/src/gpu/ops/ |
D | GrStrokeRectOp.cpp | 430 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()
|
D | GrRegionOp.cpp | 120 GrVertexWriter vertices{helper.vertices()}; in onPrepareDraws() 131 vertices.writeQuad(GrVertexWriter::TriStripFromRect(rect), color); in onPrepareDraws()
|
D | GrLatticeOp.cpp | 234 GrVertexWriter vertices{helper.vertices()}; in onPrepareDraws() 275 vertices.writeQuad(GrVertexWriter::TriStripFromRect(dstR), in onPrepareDraws() 276 GrVertexWriter::TriStripFromRect(texCoords), in onPrepareDraws()
|
D | GrOvalOpFactory.cpp | 36 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 …]
|
D | GrSmallPathRenderer.cpp | 379 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()
|
D | GrAAConvexPathRenderer.cpp | 355 GrVertexWriter& verts, in create_vertices() 447 GrVertexWriter::Skip<SkPoint> skipUVs; in create_vertices() 767 GrVertexWriter verts{target->makeVertexSpace(kVertexStride, vertexCount, in onPrepareDraws()
|
D | GrQuadPerEdgeAA.cpp | 334 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()
|
/external/skqp/src/gpu/ |
D | GrVertexWriter.h | 24 struct GrVertexWriter { struct 33 friend struct GrVertexWriter; argument
|
/external/skqp/include/private/ |
D | GrColor.h | 108 friend struct GrVertexWriter;
|