aboutsummaryrefslogtreecommitdiffhomepage
path: root/gpu/include
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-01-19 13:19:27 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-01-19 13:19:27 +0000
commit117cc39f63c47625329d3c9a053f8d239abf8e1c (patch)
tree1df1efb4c9bcd7fab84a5b92d3e88c65fdc415d3 /gpu/include
parentf44aa376f008b158289517df6c3aaefbe7610c8c (diff)
document new (temporary) build flags
git-svn-id: http://skia.googlecode.com/svn/trunk@711 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu/include')
-rw-r--r--gpu/include/GrUserConfig.h47
1 files changed, 29 insertions, 18 deletions
diff --git a/gpu/include/GrUserConfig.h b/gpu/include/GrUserConfig.h
index 3bb3d75ba6..42a977b595 100644
--- a/gpu/include/GrUserConfig.h
+++ b/gpu/include/GrUserConfig.h
@@ -1,17 +1,3 @@
-#ifndef GrUserConfig_DEFINED
-#define GrUserConfig_DEFINED
-
-#if defined(GR_USER_CONFIG_FILE)
- #error "default user config pulled in but GR_USER_CONFIG_FILE is defined."
-#endif
-
-#if 0
- #undef GR_RELEASE
- #undef GR_DEBUG
- #define GR_RELEASE 0
- #define GR_DEBUG 1
-#endif
-
/*
Copyright 2010 Google Inc.
@@ -19,7 +5,7 @@
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+ http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
@@ -28,6 +14,20 @@
limitations under the License.
*/
+#ifndef GrUserConfig_DEFINED
+#define GrUserConfig_DEFINED
+
+#if defined(GR_USER_CONFIG_FILE)
+ #error "default user config pulled in but GR_USER_CONFIG_FILE is defined."
+#endif
+
+#if 0
+ #undef GR_RELEASE
+ #undef GR_DEBUG
+ #define GR_RELEASE 0
+ #define GR_DEBUG 1
+#endif
+
//#define GR_FORCE_GLCHECKERR 1
/*
@@ -47,11 +47,22 @@
/*
* To log all GL calls define this. Can be turned on and off at runtime by
- * gPrintGL global variable.
+ * gPrintGL global variable.
*/
//#define GR_GL_LOG_CALLS 1
-
-////////////////////////////////////////////////////////////////////////////////
+
+///////////////////////////////////////////////////////////////////////////////
+/*
+ * temporary flags (may go away soon)
+ */
+
+// specific changes for current Chrome build
+//#define GR_CHROME_BUILD 1
+
+// disable 2-point-radial gradient shader programs
+//#define GR_SKIP_2POINTRADIAL_PROGRAMS
+
+///////////////////////////////////////////////////////////////////////////////
// Decide Ganesh types
#define GR_SCALAR_IS_FIXED 0