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:
Hal Canary 2018-01-23 13:51:31 -05:00 committed by Skia Commit-Bot
parent 23fda7ad07
commit 16b56f5dcf

View File

@ -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);
}