diff options
author | Brian Salomon <bsalomon@google.com> | 2017-07-19 18:28:58 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-07-20 00:21:18 +0000 |
commit | d17f6584df9e48146dac28a1df56fb4978de6ba3 (patch) | |
tree | aff8a4c10de409c9e07c09d936fd9c3b6b32cae3 /src/gpu/GrContextPriv.h | |
parent | 22b2d8c5e111825440fa3496be1cf030a5bbafd7 (diff) |
Remove GrBackendTextureDesc
Change-Id: I2b123d1782400e97ab2ce2f11e3e3d325a13e6c8
Reviewed-on: https://skia-review.googlesource.com/24748
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrContextPriv.h')
-rw-r--r-- | src/gpu/GrContextPriv.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/gpu/GrContextPriv.h b/src/gpu/GrContextPriv.h index a043b64598..be67d0e471 100644 --- a/src/gpu/GrContextPriv.h +++ b/src/gpu/GrContextPriv.h @@ -12,9 +12,10 @@ #include "GrSurfaceContext.h" class GrBackendRenderTarget; +class GrOnFlushCallbackObject; class GrSemaphore; class GrSurfaceProxy; -class GrOnFlushCallbackObject; +class GrTextureContext; /** Class that adds methods to GrContext that are only intended for use internal to Skia. This class is purely a privileged window into GrContext. It should never have additional @@ -29,12 +30,8 @@ public: SkBackingFit, SkBudgeted); - // TODO: Maybe add a 'surfaceProps' param (that is ignored for non-RTs) and remove - // makeBackendTextureRenderTargetContext & makeBackendTextureAsRenderTargetRenderTargetContext - sk_sp<GrSurfaceContext> makeBackendSurfaceContext(const GrBackendTexture& tex, + sk_sp<GrTextureContext> makeBackendTextureContext(const GrBackendTexture& tex, GrSurfaceOrigin origin, - GrBackendTextureFlags flags, - int sampleCnt, sk_sp<SkColorSpace> colorSpace); sk_sp<GrRenderTargetContext> makeBackendTextureRenderTargetContext( |