Searched refs:GrQuadType (Results 1 – 7 of 7) sorted by relevance
/external/skqp/tests/ |
D | GrQuadListTest.cpp | 58 list2D.push_back(make_2d_quad(), GrQuadType::kRect); in TEST() 59 list2D.push_back(make_2d_persp_quad(), GrQuadType::kRect); in TEST() 63 ASSERTF(list2D.quadType() == GrQuadType::kRect, "Unexpected quad type: %d", in TEST() 69 list2D.push_back(make_3d_persp_quad(), GrQuadType::kPerspective); in TEST() 70 ASSERTF(list2D.quadType() == GrQuadType::kPerspective, in TEST() 84 list3D.push_back(make_3d_persp_quad(), GrQuadType::kPerspective); in TEST() 85 list3D.push_back(make_2d_persp_quad(), GrQuadType::kRect); in TEST() 86 list3D.push_back(make_2d_quad(), GrQuadType::kRect); in TEST() 99 list2D.push_back(make_2d_quad(), GrQuadType::kRect, {1, 1.f}); in TEST() 100 list2D.push_back(make_2d_persp_quad(), GrQuadType::kRect, {2, 2.f}); in TEST() [all …]
|
/external/skqp/src/gpu/ |
D | GrQuad.h | 28 enum class GrQuadType { enum 35 static const int kGrQuadTypeCount = static_cast<int>(GrQuadType::kLast) + 1; 40 GrQuadType GrQuadTypeForTransformedRect(const SkMatrix& matrix); 47 const Q& quad, GrQuadType knownQuadType, 90 GrQuadType quadType() const; 111 SkRect bounds(GrQuadType type) const { in bounds() 116 if (type == GrQuadType::kPerspective) { in bounds() 141 GrQuadType quadType() const; 181 GrQuadType quadType() const { return fType; } 183 void reserve(int count, GrQuadType forType) { [all …]
|
D | GrQuad.cpp | 60 GrQuadType GrQuad::quadType() const { in quadType() 64 return GrQuadType::kRect; in quadType() 66 return GrQuadType::kRectilinear; in quadType() 68 return GrQuadType::kStandard; in quadType() 72 GrQuadType GrPerspQuad::quadType() const { in quadType() 74 return GrQuadType::kPerspective; in quadType() 78 return GrQuadType::kRect; in quadType() 80 return GrQuadType::kRectilinear; in quadType() 82 return GrQuadType::kStandard; in quadType() 96 const Q& quad, GrQuadType knownType, in GrResolveAATypeForQuad() [all …]
|
/external/skqp/src/gpu/ops/ |
D | GrQuadPerEdgeAA.h | 35 VertexSpec(GrQuadType deviceQuadType, ColorType colorType, GrQuadType localQuadType, in VertexSpec() 45 GrQuadType deviceQuadType() const { return static_cast<GrQuadType>(fDeviceQuadType); } in deviceQuadType() 46 GrQuadType localQuadType() const { return static_cast<GrQuadType>(fLocalQuadType); } in localQuadType()
|
D | GrFillRectOp.cpp | 65 GrQuadType deviceQuadType, in Make() 67 GrQuadType localQuadType) { in Make() 78 const GrPerspQuad& deviceQuad, GrQuadType deviceQuadType, in FillRectOp() 79 const GrPerspQuad& localQuad, GrQuadType localQuadType) in FillRectOp() 276 GrQuadType localQuadType, const SkPMColor4f& color, GrQuadAAFlags edgeAA, in addQuad() 343 GrPerspQuad(rect, SkMatrix::I()), GrQuadType::kRect); in MakePerEdge() 354 GrQuadType localQuadType = GrQuadTypeForTransformedRect(localMatrix); in MakePerEdgeWithLocalMatrix() 370 GrPerspQuad(localRect, SkMatrix::I()), GrQuadType::kRect); in MakePerEdgeWithLocalRect() 382 GrQuadType deviceQuadType = GrQuadTypeForTransformedRect(viewMatrix); in MakeSet()
|
D | GrTextureOp.cpp | 203 GrQuadType quadType = GrQuadTypeForTransformedRect(viewMatrix); in TextureOp() 214 if (quadType == GrQuadType::kRect) { in TextureOp() 256 GrQuadType quadType = GrQuadTypeForTransformedRect(viewMatrix); in TextureOp() 279 mustFilter = quadType != GrQuadType::kRect || in TextureOp() 325 GrQuadType quadType = GrQuadType::kRect; in onPrepareDraws() 358 GrQuadType::kRect, /* hasLocal */ true, domain, aaType, in onPrepareDraws()
|
D | GrQuadPerEdgeAA.cpp | 352 vb->write(x[i], y[i], If(spec.deviceQuadType() == GrQuadType::kPerspective, w[i]), in write_quad() 362 vb->write(u[i], v[i], If(spec.localQuadType() == GrQuadType::kPerspective, r[i])); in write_quad() 432 if (spec.deviceQuadType() == GrQuadType::kPerspective) { in Tessellate() 445 spec.deviceQuadType() <= GrQuadType::kRectilinear); in Tessellate() 501 return this->deviceQuadType() == GrQuadType::kPerspective ? 3 : 2; in deviceDimensionality() 505 return fHasLocalCoords ? (this->localQuadType() == GrQuadType::kPerspective ? 3 : 2) : 0; in localDimensionality()
|