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

Unified Diff: include/gpu/GrContext.h

Issue 880983008: More cleanup around GrContext, textures, and SkGr.cpp (Closed) Base URL: https://skia.googlesource.com/skia.git@npot_out
Patch Set: rebase Created 5 years, 11 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
« no previous file with comments | « no previous file | src/gpu/GrContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrContext.h
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index e47ad15519f34a15b753062ebc9b25a1a6ea4529..d8d061a19efc87f8e52e3639462790eaec68c242 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -274,9 +274,14 @@ public:
bool internalFlag = false);
/**
- * Returns true if index8 textures are supported.
+ * Can the provided configuration act as a texture?
*/
- bool supportsIndex8PixelConfig() const;
+ bool isConfigTexturable(GrPixelConfig) const;
+
+ /**
+ * Can non-power-of-two textures be used with tile modes other than clamp?
+ */
+ bool npotTextureTileSupport() const;
/**
* Return the max width or height of a texture supported by the current GPU.
« no previous file with comments | « no previous file | src/gpu/GrContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698