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

Unified Diff: include/gpu/GrContext.h

Issue 1158963002: Add caps overrides to GMs (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address comments Created 5 years, 7 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 | « include/gpu/GrCaps.h ('k') | include/gpu/GrContextOptions.h » ('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 2167513d2eb7cd51c60b87eec4e2dff036ba9034..a2b9cff5dba7264b585502243e49a431aa7b0897 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -179,15 +179,6 @@ public:
int getMaxTextureSize() const;
/**
- * Temporarily override the true max texture size. Note: an override
- * larger then the true max texture size will have no effect.
- * This entry point is mainly meant for testing texture size dependent
- * features and is only available if defined outside of Skia (see
- * bleed GM.
- */
- void setMaxTextureSizeOverride(int maxTextureSizeOverride);
-
- /**
* Can the provided configuration act as a color render target?
*/
bool isConfigRenderable(GrPixelConfig config, bool withMSAA) const;
@@ -429,8 +420,6 @@ private:
SkTDArray<CleanUpData> fCleanUpData;
- int fMaxTextureSizeOverride;
-
const uint32_t fUniqueID;
GrContext(); // init must be called after the constructor.
« no previous file with comments | « include/gpu/GrCaps.h ('k') | include/gpu/GrContextOptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698