From 511a9d49998ec6a74c375e6cfc55f660f7987c40 Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Fri, 27 Oct 2017 15:55:31 -0400 Subject: Fix GrDefaultPathRender inversely wound path bug Bug: 769898 Change-Id: I3b1a43b1e114b35105493a0cfa01a1f01b65fa56 Reviewed-on: https://skia-review.googlesource.com/64065 Commit-Queue: Robert Phillips Reviewed-by: Brian Salomon --- dm/DM.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'dm/DM.cpp') diff --git a/dm/DM.cpp b/dm/DM.cpp index 00bcf6ab33..8fffd68f8f 100644 --- a/dm/DM.cpp +++ b/dm/DM.cpp @@ -1282,8 +1282,11 @@ static void run_test(skiatest::Test test, const GrContextOptions& grCtxOptions) } reporter; if (!FLAGS_dryRun && !is_blacklisted("_", "tests", "_", test.name)) { + GrContextOptions options = grCtxOptions; + test.modifyGrContextOptions(&options); + start("unit", "test", "", test.name); - GrContextFactory factory(grCtxOptions); + GrContextFactory factory(options); test.run(&reporter, &factory); } done("unit", "test", "", test.name); -- cgit v1.2.3