From 235ef3d0e253200af43bb69139df09744f5ddbef Mon Sep 17 00:00:00 2001 From: "robertphillips@google.com" Date: Sat, 20 Apr 2013 12:10:26 +0000 Subject: Remove GR_STATIC_RECT_VB https://codereview.chromium.org/14367030/ git-svn-id: http://skia.googlecode.com/svn/trunk@8786 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/gpu/GrConfig.h | 9 --------- include/gpu/GrUserConfig.h | 9 --------- 2 files changed, 18 deletions(-) (limited to 'include/gpu') 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 @@ -315,15 +315,6 @@ inline void GrCrash(const char* msg) { GrPrintf(msg); GrAlwaysAssert(false); } #endif #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 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 @@ -21,15 +21,6 @@ #define GR_DEBUG 1 #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 -- cgit v1.2.3