commit | 524e28b88fa805cfd66cc61ceb5841ac1a68b311 | [log] [tgz] |
---|---|---|
author | Greg Daniel <egdaniel@google.com> | Fri Nov 01 11:48:53 2019 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Nov 01 17:18:19 2019 +0000 |
tree | de571619039268ff07dca71afa968787d61ad494 | |
parent | ed2cec4b6845b90de8a05e1eec52808503f0e609 [diff] [blame] |
Use GrSurfaceProxyView for dst proxies. Bug: skia:9556 Change-Id: I41ae112a3d22f6c6481cba1afc3937b5e5115cf5 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/252043 Commit-Queue: Greg Daniel <egdaniel@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
diff --git a/src/gpu/GrSurfaceContext.h b/src/gpu/GrSurfaceContext.h index b30e531..29e5d7f 100644 --- a/src/gpu/GrSurfaceContext.h +++ b/src/gpu/GrSurfaceContext.h
@@ -40,6 +40,7 @@ const GrColorInfo& colorInfo() const { return fColorInfo; } GrSurfaceOrigin origin() const { return fOrigin; } + const GrSwizzle& textureSwizzle() const { return fTextureSwizzle; } GrSurfaceProxyView textureSurfaceView() { return { this->asSurfaceProxyRef(), fOrigin, fTextureSwizzle }; }