SkQP: set fDisableDriverCorrectnessWorkarounds
Change-Id: I43ea362c5ff726278e2b74bea73cd54a9ef07761 Reviewed-on: https://skia-review.googlesource.com/98843 Commit-Queue: Hal Canary <halcanary@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
This commit is contained in:
parent
23fda7ad07
commit
16b56f5dcf
@ -85,6 +85,7 @@ std::vector<std::string> ExecuteTest(UnitTest test) {
|
|||||||
}
|
}
|
||||||
} r;
|
} r;
|
||||||
GrContextOptions options;
|
GrContextOptions options;
|
||||||
|
options.fDisableDriverCorrectnessWorkarounds = true;
|
||||||
if (test->fContextOptionsProc) {
|
if (test->fContextOptionsProc) {
|
||||||
test->fContextOptionsProc(&options);
|
test->fContextOptionsProc(&options);
|
||||||
}
|
}
|
||||||
@ -140,6 +141,7 @@ static GrContextOptions context_options(skiagm::GM* gm = nullptr) {
|
|||||||
GrContextOptions grContextOptions;
|
GrContextOptions grContextOptions;
|
||||||
grContextOptions.fAllowPathMaskCaching = true;
|
grContextOptions.fAllowPathMaskCaching = true;
|
||||||
grContextOptions.fSuppressPathRendering = true;
|
grContextOptions.fSuppressPathRendering = true;
|
||||||
|
grContextOptions.fDisableDriverCorrectnessWorkarounds = true;
|
||||||
if (gm) {
|
if (gm) {
|
||||||
gm->modifyGrContextOptions(&grContextOptions);
|
gm->modifyGrContextOptions(&grContextOptions);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user