From 16b56f5dcf65b384df4bb191862560d5d6e8e514 Mon Sep 17 00:00:00 2001 From: Hal Canary Date: Tue, 23 Jan 2018 13:51:31 -0500 Subject: [PATCH] SkQP: set fDisableDriverCorrectnessWorkarounds Change-Id: I43ea362c5ff726278e2b74bea73cd54a9ef07761 Reviewed-on: https://skia-review.googlesource.com/98843 Commit-Queue: Hal Canary Reviewed-by: Brian Salomon --- tools/skqp/gm_runner.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/skqp/gm_runner.cpp b/tools/skqp/gm_runner.cpp index 8e61ae5a1f..5b45b271f9 100644 --- a/tools/skqp/gm_runner.cpp +++ b/tools/skqp/gm_runner.cpp @@ -85,6 +85,7 @@ std::vector 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); }