Searched refs:GrPerspQuad (Results 1 – 7 of 7) sorted by relevance
/external/skqp/src/gpu/ |
D | GrQuad.h | 101 class GrPerspQuad { 103 GrPerspQuad() = default; 105 GrPerspQuad(const SkRect&, const SkMatrix&); 107 GrPerspQuad& operator=(const GrPerspQuad&) = default; 149 GrPerspQuad(const float xs[4], const float ys[4], const float ws[4]); 190 GrPerspQuad operator[] (int i) const { 197 return GrPerspQuad(item.fX, item.fY, fWs.begin() + 4 * i); 201 return GrPerspQuad(item.fX, item.fY, kNoPerspectiveWs); 240 QuadData<T>& pushBackImpl(const GrPerspQuad& quad, GrQuadType type) { 295 void push_back(const GrPerspQuad& quad, GrQuadType type) { [all …]
|
D | GrQuad.cpp | 72 GrQuadType GrPerspQuad::quadType() const { in quadType() 134 template void GrResolveAATypeForQuad(GrAAType, GrQuadAAFlags, const GrPerspQuad&, GrQuadType, 191 GrPerspQuad::GrPerspQuad(const SkRect& rect, const SkMatrix& m) { in GrPerspQuad() function in GrPerspQuad 229 GrPerspQuad::GrPerspQuad(const float* xs, const float* ys, const float* ws) { in GrPerspQuad() function in GrPerspQuad 235 bool GrPerspQuad::aaHasEffectOnRect() const { in aaHasEffectOnRect()
|
/external/skqp/src/gpu/ops/ |
D | GrFillRectOp.cpp | 28 static SkString dump_quad_info(int index, const GrPerspQuad& deviceQuad, in dump_quad_info() 29 const GrPerspQuad& localQuad, const SkPMColor4f& color, in dump_quad_info() 64 const GrPerspQuad& deviceQuad, in Make() 66 const GrPerspQuad& localQuad, in Make() 78 const GrPerspQuad& deviceQuad, GrQuadType deviceQuadType, in FillRectOp() 79 const GrPerspQuad& localQuad, GrQuadType localQuadType) in FillRectOp() 110 GrPerspQuad device, local; in dumpInfo() 205 static const GrPerspQuad kIgnoredLocal(SkRect::MakeEmpty(), SkMatrix::I()); in onPrepareDraws() 275 void addQuad(const GrPerspQuad& deviceQuad, const GrPerspQuad& localQuad, in addQuad() 342 GrPerspQuad(rect, viewMatrix), GrQuadTypeForTransformedRect(viewMatrix), in MakePerEdge() [all …]
|
D | GrQuadPerEdgeAA.h | 86 void* Tessellate(void* vertices, const VertexSpec& spec, const GrPerspQuad& deviceQuad, 87 const SkPMColor4f& color, const GrPerspQuad& localQuad, const SkRect& domain,
|
D | GrTextureOp.cpp | 77 static GrPerspQuad compute_src_quad(GrSurfaceOrigin origin, const SkRect& srcRect, float iw, in compute_src_quad() 90 return GrPerspQuad(texRect, SkMatrix::I()); in compute_src_quad() 158 GrPerspQuad quad = fQuads[q]; in dumpInfo() 204 auto quad = GrPerspQuad(dstRect, viewMatrix); in TextureOp() 267 auto quad = GrPerspQuad(set[p].fDstRect, viewMatrix); in TextureOp() 312 const GrPerspQuad& device = fQuads[i]; in tess() 315 GrPerspQuad srcQuad = compute_src_quad(origin, info.fSrcRect, iw, ih, h); in tess()
|
D | GrQuadPerEdgeAA.cpp | 402 void* Tessellate(void* vertices, const VertexSpec& spec, const GrPerspQuad& deviceQuad, in Tessellate() 403 const SkPMColor4f& color4f, const GrPerspQuad& localQuad, const SkRect& domain, in Tessellate()
|
/external/skqp/tests/ |
D | GrQuadListTest.cpp | 26 static bool is_2d_quad(const GrPerspQuad& quad) { in is_2d_quad() 32 static GrPerspQuad make_2d_persp_quad() { in make_2d_persp_quad() 33 return GrPerspQuad(SkRect::MakeLTRB(5.f, 6.f, 7.f, 8.f), SkMatrix::I()); in make_2d_persp_quad() 35 static bool is_2d_persp_quad(const GrPerspQuad& quad) { in is_2d_persp_quad() 41 static GrPerspQuad make_3d_persp_quad() { in make_3d_persp_quad() 46 return GrPerspQuad(SkRect::MakeLTRB(9.f, 10.f, 11.f, 12.f), p); in make_3d_persp_quad() 48 static bool is_3d_persp_quad(const GrPerspQuad& quad) { in is_3d_persp_quad()
|