/external/skia/src/gpu/ops/ |
D | GrQuadPerEdgeAA.h | 53 struct VertexSpec { struct 55 VertexSpec() in VertexSpec() function 66 VertexSpec(GrQuad::Type deviceQuadType, ColorType colorType, GrQuad::Type localQuadType, in VertexSpec() argument 139 explicit Tessellator(const VertexSpec& spec, char* vertices); 156 typedef void (*WriteQuadProc)(GrVertexWriter* vertices, const VertexSpec& spec, 160 static WriteQuadProc GetWriteQuadProc(const VertexSpec& spec); 163 VertexSpec fVertexSpec; 168 GrGeometryProcessor* MakeProcessor(SkArenaAlloc*, const VertexSpec&); 171 const VertexSpec&, 197 void IssueDraw(const GrCaps&, GrOpsRenderPass*, const VertexSpec&, int runningQuadCount,
|
D | GrQuadPerEdgeAA.cpp | 30 static void write_quad_generic(GrVertexWriter* vb, const GrQuadPerEdgeAA::VertexSpec& spec, 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() 267 Tessellator::WriteQuadProc Tessellator::GetWriteQuadProc(const VertexSpec& spec) { in GetWriteQuadProc() 304 Tessellator::Tessellator(const VertexSpec& spec, char* vertices) in Tessellator() [all …]
|
D | GrFillRectOp.cpp | 29 using VertexSpec = GrQuadPerEdgeAA::VertexSpec; typedef 188 VertexSpec vertexSpec() const { in vertexSpec() 192 return VertexSpec(fQuads.deviceQuadType(), fColorType, fQuads.localQuadType(), in vertexSpec() 209 const VertexSpec vertexSpec = this->vertexSpec(); in onCreateProgramInfo() 236 const VertexSpec vertexSpec = this->vertexSpec(); in onPrePrepareDraws() 246 void tessellate(const VertexSpec& vertexSpec, char* dst) const { in tessellate() 264 const VertexSpec vertexSpec = this->vertexSpec(); in onPrepareDraws() 302 const VertexSpec vertexSpec = this->vertexSpec(); in onExecute()
|
D | GrTextureOp.cpp | 47 using VertexSpec = GrQuadPerEdgeAA::VertexSpec; typedef 405 VertexSpec fVertexSpec; 838 desc->fVertexSpec = VertexSpec(quadType, colorType, srcQuadType, /* hasLocal */ true, in characterize()
|
/external/skqp/src/gpu/ops/ |
D | GrQuadPerEdgeAA.h | 33 struct VertexSpec { struct 35 VertexSpec(GrQuadType deviceQuadType, ColorType colorType, GrQuadType localQuadType, in VertexSpec() argument 73 sk_sp<GrGeometryProcessor> MakeProcessor(const VertexSpec& spec); argument 75 sk_sp<GrGeometryProcessor> MakeTexturedProcessor(const VertexSpec& spec, 86 void* Tessellate(void* vertices, const VertexSpec& spec, const GrPerspQuad& deviceQuad, 95 bool ConfigureMeshIndices(GrMeshDrawOp::Target* target, GrMesh* mesh, const VertexSpec& spec,
|
D | GrQuadPerEdgeAA.cpp | 320 static CoverageMode get_mode_for_spec(const GrQuadPerEdgeAA::VertexSpec& spec) { in get_mode_for_spec() 334 static void write_quad(GrVertexWriter* vb, const GrQuadPerEdgeAA::VertexSpec& spec, in write_quad() 402 void* Tessellate(void* vertices, const VertexSpec& spec, const GrPerspQuad& deviceQuad, in Tessellate() 466 bool ConfigureMeshIndices(GrMeshDrawOp::Target* target, GrMesh* mesh, const VertexSpec& spec, in ConfigureMeshIndices() 500 int VertexSpec::deviceDimensionality() const { in deviceDimensionality() 504 int VertexSpec::localDimensionality() const { in localDimensionality() 513 static sk_sp<GrGeometryProcessor> Make(const VertexSpec& spec) { in Make() 517 static sk_sp<GrGeometryProcessor> Make(const VertexSpec& vertexSpec, const GrShaderCaps& caps, in Make() 676 QuadPerEdgeAAGeometryProcessor(const VertexSpec& spec) in QuadPerEdgeAAGeometryProcessor() 684 QuadPerEdgeAAGeometryProcessor(const VertexSpec& spec, const GrShaderCaps& caps, in QuadPerEdgeAAGeometryProcessor() [all …]
|
D | GrTextureOp.cpp | 40 using VertexSpec = GrQuadPerEdgeAA::VertexSpec; typedef 296 void tess(void* v, const VertexSpec& spec, const GrTextureProxy* proxy, int start, in tess() 357 VertexSpec vertexSpec(quadType, wideColor ? ColorType::kHalf : ColorType::kByte, in onPrepareDraws()
|
D | GrFillRectOp.cpp | 24 using VertexSpec = GrQuadPerEdgeAA::VertexSpec; typedef 178 VertexSpec vertexSpec(fDeviceQuads.quadType(), in onPrepareDraws()
|
/external/skia/samplecode/ |
D | SampleDegenerateQuads.cpp | 410 static const GrQuadPerEdgeAA::VertexSpec kSpec = in getTessellatedPoints()
|