Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: include/gpu/GrTexture.h

Issue 20362002: make the filter mode for GrTextureAccess an enum so we can plumb down (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: include/gpu/GrTexture.h
diff --git a/include/gpu/GrTexture.h b/include/gpu/GrTexture.h
index 422814bdcc869c1ee7af3480c45da28ae919f4cd..f8cdf6ab089cff77802641159169a00a5d497f65 100644
--- a/include/gpu/GrTexture.h
+++ b/include/gpu/GrTexture.h
@@ -127,7 +127,8 @@ public:
const GrCacheID& cacheID);
static GrResourceKey ComputeScratchKey(const GrTextureDesc& desc);
static bool NeedsResizing(const GrResourceKey& key);
- static bool NeedsFiltering(const GrResourceKey& key);
+ static bool NeedsBilerp(const GrResourceKey& key);
+ static bool NeedsMipMap(const GrResourceKey& key);
protected:
// A texture refs its rt representation but not vice-versa. It is up to

Powered by Google App Engine
This is Rietveld 408576698