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

Unified Diff: include/gpu/GrTypesPriv.h

Issue 1151603005: Revert of Store context options on caps. (Closed) Base URL: https://skia.googlesource.com/skia.git@onecaps
Patch Set: 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/GrContextOptions.h ('k') | src/gpu/GrContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrTypesPriv.h
diff --git a/include/gpu/GrTypesPriv.h b/include/gpu/GrTypesPriv.h
index 9202742df9344b0b1245d9a2c56e26f23056b0ab..eaf1aa4050615805910e6719d9baa2f1343527ba 100644
--- a/include/gpu/GrTypesPriv.h
+++ b/include/gpu/GrTypesPriv.h
@@ -265,13 +265,13 @@
};
#ifdef SK_DEBUG
-// Takes a pointer to a GrCaps, and will suppress prints if required
-#define GrCapsDebugf(caps, ...) \
- if (!caps->suppressPrints()) { \
- SkDebugf(__VA_ARGS__); \
+// Takes a pointer to a GrContext, and will suppress prints if required
+#define GrContextDebugf(context, ...) \
+ if (!context->suppressPrints()) { \
+ SkDebugf(__VA_ARGS__); \
}
#else
-#define GrCapsDebugf(caps, ...)
+#define GrContextDebugf(context, ...)
#endif
#endif
« no previous file with comments | « include/gpu/GrContextOptions.h ('k') | src/gpu/GrContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698