diff options
author | Greg Daniel <egdaniel@google.com> | 2017-04-26 12:19:14 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-04-27 18:15:38 +0000 |
commit | fdd77daedbba3b7c53be74a82fb9fae891b51696 (patch) | |
tree | af2780b3f60109deb860b774eb128487d0134de0 /src/gpu/GrContextPriv.h | |
parent | a41d48b739c144ee7b36290a9642064bc6cdcd05 (diff) |
Plumb the use of GrBackendRenderTarget throughout Skia
Bug: skia:
Change-Id: Ib99a58d9552f5c7b8d77c09dcc72fa88326c26aa
Reviewed-on: https://skia-review.googlesource.com/14148
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/GrContextPriv.h')
-rw-r--r-- | src/gpu/GrContextPriv.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gpu/GrContextPriv.h b/src/gpu/GrContextPriv.h index c85ac2c9b6..08b26e56d5 100644 --- a/src/gpu/GrContextPriv.h +++ b/src/gpu/GrContextPriv.h @@ -11,6 +11,7 @@ #include "GrContext.h" #include "GrSurfaceContext.h" +class GrBackendRenderTarget; class GrSemaphore; class GrSurfaceProxy; class GrPreFlushCallbackObject; @@ -52,7 +53,8 @@ public: const SkSurfaceProps* = nullptr); sk_sp<GrRenderTargetContext> makeBackendRenderTargetRenderTargetContext( - const GrBackendRenderTargetDesc& desc, + const GrBackendRenderTarget&, + GrSurfaceOrigin origin, sk_sp<SkColorSpace> colorSpace, const SkSurfaceProps* = nullptr); |