Home
last modified time | relevance | path

Searched refs:srcQuad (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/ops/
DGrTextureOp.cpp62 filter_and_mm_have_effect(const GrQuad& srcQuad, const GrQuad& dstQuad) { in filter_and_mm_have_effect() argument
64 if (srcQuad.quadType() != GrQuad::Type::kAxisAligned || in filter_and_mm_have_effect()
71 if (srcQuad.asRect(&srcRect) && dstQuad.asRect(&dstRect)) { in filter_and_mm_have_effect()
83 SkSize srcSize = axis_aligned_quad_size(srcQuad); in filter_and_mm_have_effect()
90 !SkScalarIsInt(srcQuad.x(0)) || in filter_and_mm_have_effect()
91 !SkScalarIsInt(srcQuad.y(0)) || in filter_and_mm_have_effect()
168 GrQuad* srcQuad) { in normalize_src_quad() argument
170 SkASSERT(!srcQuad->hasPerspective()); in normalize_src_quad()
171 skvx::Vec<4, float> xs = srcQuad->x4f() * params.fIW; in normalize_src_quad()
172 skvx::Vec<4, float> ys = srcQuad->y4f() * params.fInvH + params.fYOffset; in normalize_src_quad()
[all …]
/external/skia/src/gpu/
DGrSurfaceDrawContext.h286 const SkPoint srcQuad[4], in drawTextureQuad()
294 GrQuad::MakeFromSkQuad(srcQuad, SkMatrix::I()), edgeAA}; in drawTextureQuad()
DSkGpuDevice_drawTexture.cpp373 SkPoint srcQuad[4]; in draw_texture() local
374 GrMapRectPoints(dstRect, srcRect, dstClip, srcQuad, 4); in draw_texture()
384 srcQuad, in draw_texture()
/external/skqp/src/gpu/ops/
DGrTextureOp.cpp315 GrPerspQuad srcQuad = compute_src_quad(origin, info.fSrcRect, iw, ih, h); in tess() local
318 v = GrQuadPerEdgeAA::Tessellate(v, spec, device, info.fColor, srcQuad, domain, in tess()