aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/private/GrTextureProxy.h
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-05-08 13:41:35 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-08 18:07:07 +0000
commit49081d13bacbea0631351dc5031d98e3fbb3ec45 (patch)
tree3945cf8223112e86864a19661b2c6b6757e2c025 /include/private/GrTextureProxy.h
parent26368c33007191205669bb227d6e7b915ba06f9e (diff)
Expand GrTextureProxy to handle highestFilterMode
Once TextureProxies aren't instantiated in the TextureSamplers, the they will need to be able to supply this information. split out of: https://skia-review.googlesource.com/c/10484/ (Omnibus: Push instantiation of GrTextures later (post TextureSampler)) Change-Id: I66555c0746131f565862f7a30d54ff1d458d2062 Reviewed-on: https://skia-review.googlesource.com/15819 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'include/private/GrTextureProxy.h')
-rw-r--r--include/private/GrTextureProxy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/private/GrTextureProxy.h b/include/private/GrTextureProxy.h
index ee954dcede..61e8020b5a 100644
--- a/include/private/GrTextureProxy.h
+++ b/include/private/GrTextureProxy.h
@@ -26,6 +26,8 @@ public:
void setMipColorMode(SkDestinationSurfaceColorMode colorMode);
+ GrSamplerParams::FilterMode highestFilterMode() const;
+
protected:
friend class GrSurfaceProxy; // for ctors