Remove GR_STATIC_RECT_VB
https://codereview.chromium.org/14367030/
git-svn-id: http://skia.googlecode.com/svn/trunk/include@8786 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/GrConfig.h b/gpu/GrConfig.h
index 856757b..94c65d8 100644
--- a/gpu/GrConfig.h
+++ b/gpu/GrConfig.h
@@ -316,15 +316,6 @@
#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/gpu/GrUserConfig.h b/gpu/GrUserConfig.h
index 594889b..a10d339 100644
--- a/gpu/GrUserConfig.h
+++ b/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)