From 33595bdf4b64a745f6340338d307e806e96c587f Mon Sep 17 00:00:00 2001 From: bsalomon Date: Tue, 10 May 2016 05:57:27 -0700 Subject: Replace GrStrokeInfo with GrStyle. A side effect is that arbitrary path effects can no be pushed deeper into the Ganesh flow for paths. They may be applied by path renderers. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1957363002 Review-Url: https://codereview.chromium.org/1957363002 --- tests/GpuDrawPathTest.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'tests/GpuDrawPathTest.cpp') diff --git a/tests/GpuDrawPathTest.cpp b/tests/GpuDrawPathTest.cpp index 2dc7702fff..dc8db0ff70 100644 --- a/tests/GpuDrawPathTest.cpp +++ b/tests/GpuDrawPathTest.cpp @@ -11,7 +11,7 @@ #include "GrContext.h" #include "GrPath.h" -#include "GrStrokeInfo.h" +#include "GrStyle.h" #include "SkBitmap.h" #include "SkCanvas.h" #include "SkColor.h" @@ -104,9 +104,8 @@ DEF_GPUTEST(GrPathKeys, reporter, /*factory*/) { bool isVolatile; GrUniqueKey key1, key2; - GrStrokeInfo stroke(SkStrokeRec::kFill_InitStyle); - GrPath::ComputeKey(path1, stroke, &key1, &isVolatile); - GrPath::ComputeKey(path2, stroke, &key2, &isVolatile); + GrPath::ComputeKey(path1, GrStyle::SimpleFill(), &key1, &isVolatile); + GrPath::ComputeKey(path2, GrStyle::SimpleFill(), &key2, &isVolatile); REPORTER_ASSERT(reporter, key1 != key2); } -- cgit v1.2.3