diff options
author | Robert Phillips <robertphillips@google.com> | 2017-03-14 14:39:29 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-03-14 21:23:44 +0000 |
commit | 26c90e04797e15c37ec00e0f836292b8a207d294 (patch) | |
tree | c5a86abbf8cfa796a87df49a157de0e12de18f87 /tests/CopySurfaceTest.cpp | |
parent | 97180af7f5e577a451367aa0c15cfaff1b6076f5 (diff) |
Add GrRenderTargetContext::resourceProvider & GrResourceProvider::caps
and retract GrSurfaceContextPriv a bit
Change-Id: Id47af1052f9bda4fe7c85b3ce46b3ebe37797524
Reviewed-on: https://skia-review.googlesource.com/9647
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'tests/CopySurfaceTest.cpp')
-rw-r--r-- | tests/CopySurfaceTest.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/CopySurfaceTest.cpp b/tests/CopySurfaceTest.cpp index 828eff073e..6acb23967b 100644 --- a/tests/CopySurfaceTest.cpp +++ b/tests/CopySurfaceTest.cpp @@ -74,14 +74,12 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(CopySurface, reporter, ctxInfo) { dstDesc.fFlags = dFlags; sk_sp<GrTextureProxy> src(GrSurfaceProxy::MakeDeferred( - *context->caps(), context->resourceProvider(), srcDesc, SkBudgeted::kNo, srcPixels.get(), kRowBytes)); sk_sp<GrTextureProxy> dst(GrSurfaceProxy::MakeDeferred( - *context->caps(), context->resourceProvider(), dstDesc, SkBudgeted::kNo, dstPixels.get(), |