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;
|
||||
GrContextOptions options;
|
||||
options.fDisableDriverCorrectnessWorkarounds = true;
|
||||
if (test->fContextOptionsProc) {
|
||||
test->fContextOptionsProc(&options);
|
||||
}
|
||||
@ -140,6 +141,7 @@ static GrContextOptions context_options(skiagm::GM* gm = nullptr) {
|
||||
GrContextOptions grContextOptions;
|
||||
grContextOptions.fAllowPathMaskCaching = true;
|
||||
grContextOptions.fSuppressPathRendering = true;
|
||||
grContextOptions.fDisableDriverCorrectnessWorkarounds = true;
|
||||
if (gm) {
|
||||
gm->modifyGrContextOptions(&grContextOptions);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user