commit | 76948d4faaca9fd7730576e2f79790ca8d93c10b | [log] [tgz] |
---|---|---|
author | robertphillips <robertphillips@google.com> | Wed May 04 12:47:41 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed May 04 12:47:41 2016 -0700 |
tree | 702a78ad811ecb9ab0f96d07eee64ecdf8191bd1 | |
parent | c4025189d31efcb0d54bf14b7712b38725f86c13 [diff] [blame] |
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 Committed: https://skia.googlesource.com/skia/+/de5bf0cfeca908b81a28cc50065f7bc2da3d2fd1 Committed: https://skia.googlesource.com/skia/+/92605b35efa0155c44d24bd8415b4cc1db8831db Review-Url: https://codereview.chromium.org/1937553002
diff --git a/tests/PrimitiveProcessorTest.cpp b/tests/PrimitiveProcessorTest.cpp index b1157a3..a82237d 100644 --- a/tests/PrimitiveProcessorTest.cpp +++ b/tests/PrimitiveProcessorTest.cpp
@@ -104,7 +104,7 @@ 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.");