Reland "Disable the MSAA atlas mode for CCPR"
This is a reland of 97c476ecb7
Original change's description:
> Disable the MSAA atlas mode for CCPR
>
> We have a long term path rendering plan that uses dynamic MSAA instead.
> This CL is a test to see if we can drop support for CCPR now.
>
> Change-Id: I1bff3ca3143a6b453b65a7932a1805c195922805
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/354036
> Reviewed-by: Brian Salomon <bsalomon@google.com>
> Commit-Queue: Chris Dalton <csmartdalton@google.com>
Change-Id: Ied3390d7df0b01d5e9d565247f5aed0addb5ab8f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/356336
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
This commit is contained in:
parent
6d717d401a
commit
5501b59f16
@ -38,6 +38,7 @@ bool GrCoverageCountingPathRenderer::IsSupported(const GrCaps& caps, CoverageTyp
|
||||
return true;
|
||||
}
|
||||
|
||||
#if 0
|
||||
if (!caps.driverDisableMSAACCPR() &&
|
||||
caps.internalMultisampleCount(defaultA8Format) > 1 &&
|
||||
caps.sampleLocationsSupport() &&
|
||||
@ -47,6 +48,7 @@ bool GrCoverageCountingPathRenderer::IsSupported(const GrCaps& caps, CoverageTyp
|
||||
}
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
return false;
|
||||
}
|
||||
|
@ -63,9 +63,11 @@ public:
|
||||
fDContext.get(), GrColorType::kRGBA_8888, nullptr, SkBackingFit::kExact,
|
||||
{kCanvasSize, kCanvasSize}))
|
||||
, fDoStroke(DoStroke::kYes == doStroke) {
|
||||
#if 0
|
||||
if (!fCCPR) {
|
||||
ERRORF(reporter, "ccpr not enabled in GrDirectContext for ccpr tests");
|
||||
}
|
||||
#endif
|
||||
if (!fRTC) {
|
||||
ERRORF(reporter, "failed to create GrSurfaceDrawContext for ccpr tests");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user