Home
last modified time | relevance | path

Searched refs:GrQuadPerEdgeAA (Results 1 – 13 of 13) sorted by relevance

/external/skia/src/gpu/ops/
DGrFillRectOp.cpp25 using VertexSpec = GrQuadPerEdgeAA::VertexSpec;
26 using ColorType = GrQuadPerEdgeAA::ColorType;
83 , fColorType(GrQuadPerEdgeAA::MinColorType(paintColor)) { in FillRectOp()
154 fColorType = GrQuadPerEdgeAA::MinColorType(colorOverride); in finalize()
198 using Domain = GrQuadPerEdgeAA::Domain; in onPrepareDraws()
208 sk_sp<GrGeometryProcessor> gp = GrQuadPerEdgeAA::MakeProcessor(vertexSpec); in onPrepareDraws()
231 vertices = GrQuadPerEdgeAA::Tessellate(vertices, vertexSpec, fDeviceQuads[i], in onPrepareDraws()
238 vertices = GrQuadPerEdgeAA::Tessellate(vertices, vertexSpec, fDeviceQuads[i], in onPrepareDraws()
245 if (!GrQuadPerEdgeAA::ConfigureMeshIndices(target, mesh, vertexSpec, this->quadCount())) { in onPrepareDraws()
263 this->quadCount() + that->quadCount() > GrQuadPerEdgeAA::kNumAAQuadsInIndexBuffer) { in onCombineIfPossible()
[all …]
DGrTextureOp.cpp39 using Domain = GrQuadPerEdgeAA::Domain;
40 using VertexSpec = GrQuadPerEdgeAA::VertexSpec;
41 using ColorType = GrQuadPerEdgeAA::ColorType;
295 fColorType = static_cast<unsigned>(GrQuadPerEdgeAA::MinColorType(color)); in TextureOp()
403 v = GrQuadPerEdgeAA::Tessellate(v, spec, device, info.fColor, srcQuad, domain, in tess()
457 sk_sp<GrGeometryProcessor> gp = GrQuadPerEdgeAA::MakeTexturedProcessor( in onPrepareDraws()
504 if (!GrQuadPerEdgeAA::ConfigureMeshIndices(target, &(meshes[m]), vertexSpec, in onPrepareDraws()
649 GR_STATIC_ASSERT(GrQuadPerEdgeAA::kColorTypeCount <= 4);
DGrQuadPerEdgeAA.h23 namespace GrQuadPerEdgeAA {
DGrQuadPerEdgeAA.cpp612 static CoverageMode get_mode_for_spec(const GrQuadPerEdgeAA::VertexSpec& spec) { in get_mode_for_spec()
626 static void write_quad(GrVertexWriter* vb, const GrQuadPerEdgeAA::VertexSpec& spec, in write_quad()
640 bool wide = spec.colorType() == GrQuadPerEdgeAA::ColorType::kHalf; in write_quad()
678 gFillAARectIdx, kIndicesPerAAFillRect, GrQuadPerEdgeAA::kNumAAQuadsInIndexBuffer, in get_index_buffer()
684 namespace GrQuadPerEdgeAA { namespace
/external/skqp/src/gpu/ops/
DGrFillRectOp.cpp24 using VertexSpec = GrQuadPerEdgeAA::VertexSpec;
25 using ColorType = GrQuadPerEdgeAA::ColorType;
175 using Domain = GrQuadPerEdgeAA::Domain; in onPrepareDraws()
186 sk_sp<GrGeometryProcessor> gp = GrQuadPerEdgeAA::MakeProcessor(vertexSpec); in onPrepareDraws()
208 vertices = GrQuadPerEdgeAA::Tessellate(vertices, vertexSpec, fDeviceQuads[i], in onPrepareDraws()
215 vertices = GrQuadPerEdgeAA::Tessellate(vertices, vertexSpec, fDeviceQuads[i], in onPrepareDraws()
222 if (!GrQuadPerEdgeAA::ConfigureMeshIndices(target, mesh, vertexSpec, this->quadCount())) { in onPrepareDraws()
238 this->quadCount() + that->quadCount() > GrQuadPerEdgeAA::kNumAAQuadsInIndexBuffer) { in onCombineIfPossible()
DGrTextureOp.cpp39 using Domain = GrQuadPerEdgeAA::Domain;
40 using VertexSpec = GrQuadPerEdgeAA::VertexSpec;
41 using ColorType = GrQuadPerEdgeAA::ColorType;
318 v = GrQuadPerEdgeAA::Tessellate(v, spec, device, info.fColor, srcQuad, domain, in tess()
367 sk_sp<GrGeometryProcessor> gp = GrQuadPerEdgeAA::MakeTexturedProcessor( in onPrepareDraws()
425 if (!GrQuadPerEdgeAA::ConfigureMeshIndices(target, &(meshes[m]), vertexSpec, in onPrepareDraws()
DGrQuadPerEdgeAA.cpp320 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()
392 gFillAARectIdx, kIndicesPerAAFillRect, GrQuadPerEdgeAA::kNumAAQuadsInIndexBuffer, in get_index_buffer()
398 namespace GrQuadPerEdgeAA { namespace
405 bool wideColor = GrQuadPerEdgeAA::ColorType::kHalf == spec.colorType(); in Tessellate()
DGrQuadPerEdgeAA.h23 namespace GrQuadPerEdgeAA {
/external/skia/samplecode/
DSampleDegenerateQuads.cpp391 static const GrQuadPerEdgeAA::VertexSpec kSpec = in getTessellatedPoints()
392 {GrQuadType::kStandard, GrQuadPerEdgeAA::ColorType::kNone, in getTessellatedPoints()
393 GrQuadType::kRect, false, GrQuadPerEdgeAA::Domain::kNo, in getTessellatedPoints()
406 GrQuadPerEdgeAA::Tessellate(vertices, kSpec, quad, {1.f, 1.f, 1.f, 1.f}, in getTessellatedPoints()
/external/skia/gn/
Dgpu.gni291 "$_src/gpu/ops/GrQuadPerEdgeAA.cpp",
292 "$_src/gpu/ops/GrQuadPerEdgeAA.h",
/external/skqp/gn/
Dgpu.gni284 "$_src/gpu/ops/GrQuadPerEdgeAA.cpp",
285 "$_src/gpu/ops/GrQuadPerEdgeAA.h",
/external/skqp/
DAndroid.bp1003 "src/gpu/ops/GrQuadPerEdgeAA.cpp",
/external/skia/
DAndroid.bp774 "src/gpu/ops/GrQuadPerEdgeAA.cpp",