#define GR_DUMP_TEXTURE_UPLOAD 0
#endif
-#ifndef GR_USE_NEW_GLSHADERS
- #define GR_USE_NEW_GLSHADERS 0
-#endif
-
/**
* GR_COLLECT_STATS controls whether the GrGpu class collects stats.
* If not already defined then collect in debug build but not release.
case kOpenGL_Shaders_GrEngine:
GrAssert(NULL == context3D);
{
-#if GR_USE_NEW_GLSHADERS
- gpu = new GrGpuGLShaders;
-#else
+#if 0 // old code path, will be removed soon
gpu = new GrGpuGLShaders2;
+#else
+ gpu = new GrGpuGLShaders;
#endif
}
break;