Fully disable CCPR for unit test
If CCPR was enabled on the CLI, it would still be seen for the unit test. This makes sure CCPR is fully disabled, in addition to the old setting for disabling other path renderers. The unit test needs CCPR disabled so that it tests SW mask generation when CCPR is not available. Change-Id: I3f728705238121fc179ffd9985f14edad3f8d96e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/317236 Commit-Queue: Michael Ludwig <michaelludwig@google.com> Commit-Queue: Leon Scroggins <scroggo@google.com> Auto-Submit: Michael Ludwig <michaelludwig@google.com> Reviewed-by: Leon Scroggins <scroggo@google.com>
This commit is contained in:
parent
81a942c128
commit
1cf303fa5a
@ -1879,6 +1879,7 @@ DEF_TEST(GrClipStack_SimpleApply, r) {
|
||||
// Must disable CCPR in order to trigger SW mask generation when the clip stack is applied.
|
||||
static void only_allow_default(GrContextOptions* options) {
|
||||
options->fGpuPathRenderers = GpuPathRenderers::kNone;
|
||||
options->fDisableCoverageCountingPaths = true;
|
||||
}
|
||||
|
||||
DEF_GPUTEST_FOR_CONTEXTS(GrClipStack_SWMask,
|
||||
|
Loading…
Reference in New Issue
Block a user