Lines Matching refs:QuadOptimization
473 enum class GrSurfaceDrawContext::QuadOptimization { enum in GrSurfaceDrawContext
488 GrSurfaceDrawContext::QuadOptimization GrSurfaceDrawContext::attemptQuadOptimization( in attemptQuadOptimization()
517 return QuadOptimization::kDiscarded; in attemptQuadOptimization()
533 return QuadOptimization::kDiscarded; in attemptQuadOptimization()
537 return QuadOptimization::kClipApplied; in attemptQuadOptimization()
549 return QuadOptimization::kCropped; in attemptQuadOptimization()
572 return QuadOptimization::kSubmitted; in attemptQuadOptimization()
579 return QuadOptimization::kSubmitted; in attemptQuadOptimization()
595 return QuadOptimization::kClipApplied; in attemptQuadOptimization()
609 return QuadOptimization::kSubmitted; in attemptQuadOptimization()
616 return QuadOptimization::kCropped; in attemptQuadOptimization()
631 QuadOptimization opt = this->attemptQuadOptimization(clip, ss, &aa, quad, &paint); in drawFilledQuad()
632 if (opt >= QuadOptimization::kClipApplied) { in drawFilledQuad()
634 const GrClip* finalClip = opt == QuadOptimization::kClipApplied ? nullptr : clip; in drawFilledQuad()
719 QuadOptimization opt = this->attemptQuadOptimization(clip, nullptr/*stencil*/, &aa, quad, in drawTexturedQuad()
722 SkASSERT(opt != QuadOptimization::kSubmitted); in drawTexturedQuad()
723 if (opt != QuadOptimization::kDiscarded) { in drawTexturedQuad()
725 const GrClip* finalClip = opt == QuadOptimization::kClipApplied ? nullptr : clip; in drawTexturedQuad()
798 QuadOptimization opt = this->attemptQuadOptimization(clip, nullptr/*stencil*/, &aa, &quad, in fillRectToRect()
800 if (opt < QuadOptimization::kClipApplied) { in fillRectToRect()
817 if (opt == QuadOptimization::kClipApplied) { in fillRectToRect()