aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTextureMaker.h
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-03-23 11:11:59 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-23 16:06:04 +0000
commit78075804c1e43ca32f3d8eb75d2a8b6c91e74b9b (patch)
tree00ac7d9049fb4fe28434b5d8be3370715392aeb2 /src/gpu/GrTextureMaker.h
parente01187e059c5865416e0afbaa86c3c11cdc5dd25 (diff)
Make SkGr.h GrTexture-free
Minor cleanup. Change-Id: Ide69516c686450e6441368382c86444da6a74937 Reviewed-on: https://skia-review.googlesource.com/9950 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrTextureMaker.h')
-rw-r--r--src/gpu/GrTextureMaker.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gpu/GrTextureMaker.h b/src/gpu/GrTextureMaker.h
index 180653fd8e..7c0621beb2 100644
--- a/src/gpu/GrTextureMaker.h
+++ b/src/gpu/GrTextureMaker.h
@@ -43,8 +43,6 @@ protected:
* Return the maker's "original" texture. It is the responsibility of the maker to handle any
* caching of the original if desired.
*/
- virtual GrTexture* refOriginalTexture(bool willBeMipped, SkColorSpace* dstColorSpace) = 0;
-
virtual sk_sp<GrTextureProxy> refOriginalTextureProxy(bool willBeMipped,
SkColorSpace* dstColorSpace) = 0;
@@ -59,7 +57,7 @@ protected:
*
* The base-class handles general logic for this, and only needs access to the following
* method:
- * - refOriginalTexture()
+ * - refOriginalTextureProxy()
*
* Subclass may override this if they can handle creating the texture more directly than
* by copying.