diff options
author | robertphillips <robertphillips@google.com> | 2016-05-03 05:06:29 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-03 05:06:29 -0700 |
commit | de5bf0cfeca908b81a28cc50065f7bc2da3d2fd1 (patch) | |
tree | e208e4b36c04587300639bfaf50ff21799c4a1a3 /tests/PrimitiveProcessorTest.cpp | |
parent | 1cb00e42bff455e23f6883bf09680438fa631224 (diff) |
Add Gr*Proxy classes
This isn't wired in anywhere yet.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1937553002
Review-Url: https://codereview.chromium.org/1937553002
Diffstat (limited to 'tests/PrimitiveProcessorTest.cpp')
-rw-r--r-- | tests/PrimitiveProcessorTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PrimitiveProcessorTest.cpp b/tests/PrimitiveProcessorTest.cpp index b1157a33a9..a82237d9f8 100644 --- a/tests/PrimitiveProcessorTest.cpp +++ b/tests/PrimitiveProcessorTest.cpp @@ -104,7 +104,7 @@ private: DEF_GPUTEST_FOR_ALL_GL_CONTEXTS(VertexAttributeCount, reporter, ctxInfo) { GrContext* context = ctxInfo.fGrContext; - sk_sp<GrDrawContext> dc(context->newDrawContext(GrContext::kLoose_BackingFit, + sk_sp<GrDrawContext> dc(context->newDrawContext(SkBackingFit::kApprox, 1, 1, kRGBA_8888_GrPixelConfig)); if (!dc) { ERRORF(reporter, "Could not create draw context."); |