aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-20 12:10:26 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-20 12:10:26 +0000
commit235ef3d0e253200af43bb69139df09744f5ddbef (patch)
tree7831374f09769e4f2d74ef4ab29e76c64d8b6fa2 /include/gpu
parent64b682ca42c75667e49251d3ab04f192f92d0dd8 (diff)
Remove GR_STATIC_RECT_VB
Diffstat (limited to 'include/gpu')
-rw-r--r--include/gpu/GrConfig.h9
-rw-r--r--include/gpu/GrUserConfig.h9
2 files changed, 0 insertions, 18 deletions
diff --git a/include/gpu/GrConfig.h b/include/gpu/GrConfig.h
index 856757b547..94c65d84a4 100644
--- a/include/gpu/GrConfig.h
+++ b/include/gpu/GrConfig.h
@@ -316,15 +316,6 @@ inline void GrCrash(const char* msg) { GrPrintf(msg); GrAlwaysAssert(false); }
#endif
/**
- * GR_STATIC_RECT_VB controls whether rects are drawn by issuing a vertex
- * for each corner or using a static vb that is positioned by modifying the
- * view / texture matrix.
- */
-#if !defined(GR_STATIC_RECT_VB)
- #define GR_STATIC_RECT_VB 0
-#endif
-
-/**
* GR_GEOM_BUFFER_LOCK_THRESHOLD gives a threshold (in bytes) for when Gr should
* lock a GrGeometryBuffer to update its contents. It will use lock() if the
* size of the updated region is greater than the threshold. Otherwise it will
diff --git a/include/gpu/GrUserConfig.h b/include/gpu/GrUserConfig.h
index 594889b1a7..a10d339381 100644
--- a/include/gpu/GrUserConfig.h
+++ b/include/gpu/GrUserConfig.h
@@ -22,15 +22,6 @@
#endif
/**
- * When drawing rects this causes Ganesh to use a vertex buffer containing
- * a unit square that is positioned by a matrix. Enable on systems where
- * emitting per-rect-draw verts is more expensive than constant/matrix
- * updates. Defaults to 0.
- */
-//#define GR_STATIC_RECT_VB 1
-
-
-/**
* This gives a threshold in bytes of when to lock a GrGeometryBuffer vs using
* updateData. (Note the depending on the underlying 3D API the update functions
* may always be implemented using a lock)