Home | History | Annotate | Download | only in gpu

Lines Matching refs:aa

61 GrAAType GrChooseAAType(GrAA aa, GrFSAAType fsaaType, GrAllowMixedSamples allowMixedSamples,
63 if (GrAA::kNo == aa) {
64 // On some devices we cannot disable MSAA if it is enabled so we make the AA type reflect
359 GrAA aa;
365 if (!paint.numTotalFragmentProcessors() && clip.isRRect(r, &rrect, &aa) && !rrect.isRect()) {
366 this->drawRRect(GrNoClip(), std::move(paint), aa, SkMatrix::I(), rrect,
450 GrAA aa,
463 aa, fInstancedPipelineInfo);
469 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo);
485 GrAA aa,
532 if (this->drawFilledRect(clip, std::move(paint), aa, viewMatrix, rect, nullptr)) {
544 clip, std::move(paint), aa, viewMatrix,
552 this->drawRRect(clip, std::move(paint), aa, viewMatrix, rrect,
558 this->drawRect(clip, std::move(paint), aa, viewMatrix,
562 this->drawRect(clip, std::move(paint), aa, viewMatrix,
572 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo);
592 this->internalDrawPath(clip, std::move(paint), aa, viewMatrix, path, *style);
646 // Coverage AA does not make sense when rendering to the stencil buffer. The caller should never
647 // attempt this in a situation that would require coverage AA.
700 GrAA aa,
714 if (fRenderTargetContext->drawFilledRect(clip, std::move(paint), aa, viewMatrix, rect, ss)) {
720 return this->drawAndStencilPath(clip, ss, op, invert, aa, viewMatrix, path);
725 GrAA aa,
746 croppedLocalRect, aa, fInstancedPipelineInfo));
753 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo);
778 this->internalDrawPath(clip, std::move(paint), aa, viewAndUnLocalMatrix, path, GrStyle());
783 GrAA aa,
802 localMatrix, aa, fInstancedPipelineInfo));
809 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo);
835 this->internalDrawPath(clip, std::move(paint), aa, viewAndUnLocalMatrix, path, GrStyle());
884 GrAA aa,
899 // The Android framework frequently clips rrects to themselves where the clip is non-aa and the
900 // draw is aa. Since our lower level clip code works from op bounds, which are SkRects, it
918 oa->recordRRect(rrect, viewMatrix, std::move(paint), aa, fInstancedPipelineInfo));
925 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo);
942 this->internalDrawPath(*clip, std::move(paint), aa, viewMatrix, path, style);
1175 GrAA aa,
1185 origOuter, origInner, viewMatrix, std::move(paint), aa, fInstancedPipelineInfo));
1192 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo);
1245 GrAA aa,
1259 if (this->drawFilledDRRect(clip, std::move(paint), aa, viewMatrix, outer, inner)) {
1269 this->internalDrawPath(clip, std::move(paint), aa, viewMatrix, path, GrStyle::SimpleFill());
1280 GrAA aa,
1289 if (GrAA::kYes == aa) {
1291 // to see whether aa is really required.
1295 aa = GrAA::kNo;
1299 if (complexStyle || GrAA::kYes == aa) {
1302 return this->drawPath(clip, std::move(paint), aa, viewMatrix, path, style);
1312 GrAA aa,
1334 oa->recordOval(oval, viewMatrix, std::move(paint), aa, fInstancedPipelineInfo));
1341 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo);
1355 this->internalDrawPath(clip, std::move(paint), aa, viewMatrix, path, style);
1360 GrAA aa,
1374 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo);
1393 this->internalDrawPath(clip, std::move(paint), aa, viewMatrix, path, style);
1517 GrAA aa,
1535 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo);
1538 // Concave AA paths are expensive - try to avoid them for special cases
1570 this->internalDrawPath(clip, std::move(paint), aa, viewMatrix, path, style);
1577 GrAA aa,
1597 // aa. If we have some future driver-mojo path AA that can do the right
1599 GrAAType aaType = fRenderTargetContext->chooseAAType(aa, GrAllowMixedSamples::kNo);
1648 GrAA aa,
1663 GrAAType aaType = this->chooseAAType(aa, allowMixedSamples);
1703 // There are exceptional cases where we may wind up falling back to coverage based AA