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

Unified Diff: include/gpu/GrConfig.h

Issue 41213003: Hook in rough distance field support for fonts (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Minor fixes for GrDistanceFieldTextContext. Created 7 years, 1 month 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/GrConfig.h
diff --git a/include/gpu/GrConfig.h b/include/gpu/GrConfig.h
index fc464c5038bad993262e90522df3464533613674..b5baf96c5c377acdc3e7e654a58fad730443e5a7 100644
--- a/include/gpu/GrConfig.h
+++ b/include/gpu/GrConfig.h
@@ -241,4 +241,11 @@ inline void GrDebugCrash(const char* msg) { GrPrintf(msg); SkASSERT(false); }
#define GR_STROKE_PATH_RENDERING 0
#endif
+/**
+ * GR_DISTANCEFIELD_FONTS controls whether we use distance fields to represent font data.
+ */
+#if !defined(GR_DISTANCEFIELD_FONTS)
+ #define GR_DISTANCEFIELD_FONTS 0
+#endif
+
#endif

Powered by Google App Engine
This is Rietveld 408576698