aboutsummaryrefslogtreecommitdiffhomepage
path: root/gpu/include/GrUserConfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/include/GrUserConfig.h')
-rw-r--r--gpu/include/GrUserConfig.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gpu/include/GrUserConfig.h b/gpu/include/GrUserConfig.h
index 155dc8c308..4d44172ec2 100644
--- a/gpu/include/GrUserConfig.h
+++ b/gpu/include/GrUserConfig.h
@@ -65,6 +65,13 @@
*/
//#define GR_AGGRESSIVE_SHADER_OPTS 1
+/*
+ * This gives a threshold in bytes of when to lock a GrGeometryBuffer vs using
+ * updateData or updateSubData. (Note the depending on the underlying 3D API
+ * the update functions may always be implemented using a lock)
+ */
+//#define GR_GEOM_BUFFER_LOCK_THRESHOLD (1<<15)
+
///////////////////////////////////////////////////////////////////////////////
/*
* temporary flags (may go away soon)