From 5adf9b2e984365299606ea0891ea0c88f71d8b27 Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Fri, 11 May 2012 20:50:53 +0000 Subject: Remove a dead function and dead var that were incorrectly left in by previous partial-reverts git-svn-id: http://skia.googlecode.com/svn/trunk@3918 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/gl/GrGpuGL.h | 5 ----- src/gpu/gl/GrGpuGLShaders.cpp | 3 --- src/gpu/gl/GrGpuGLShaders.h | 1 - 3 files changed, 9 deletions(-) diff --git a/src/gpu/gl/GrGpuGL.h b/src/gpu/gl/GrGpuGL.h index b3453a02ae..b22b44f204 100644 --- a/src/gpu/gl/GrGpuGL.h +++ b/src/gpu/gl/GrGpuGL.h @@ -242,11 +242,6 @@ private: GrGLContextInfo fGLContextInfo; - // we want to clear stencil buffers when they are created. We want to clear - // the entire buffer even if it is larger than the color attachment. We - // attach it to this fbo with no color attachment to do the initial clear. - GrGLuint fStencilClearFBO; - bool fHWBlendDisabled; int fActiveTextureUnitIdx; diff --git a/src/gpu/gl/GrGpuGLShaders.cpp b/src/gpu/gl/GrGpuGLShaders.cpp index 177f48a1a8..d32c57ef2f 100644 --- a/src/gpu/gl/GrGpuGLShaders.cpp +++ b/src/gpu/gl/GrGpuGLShaders.cpp @@ -774,9 +774,6 @@ bool GrGpuGLShaders::flushGraphicsState(GrPrimitiveType type) { return true; } -void GrGpuGLShaders::postDraw() { -} - #if GR_TEXT_SCALAR_IS_USHORT #define TEXT_COORDS_GL_TYPE GR_GL_UNSIGNED_SHORT #define TEXT_COORDS_ARE_NORMALIZED 1 diff --git a/src/gpu/gl/GrGpuGLShaders.h b/src/gpu/gl/GrGpuGLShaders.h index bd6ccd3b53..cb72e2a51c 100644 --- a/src/gpu/gl/GrGpuGLShaders.h +++ b/src/gpu/gl/GrGpuGLShaders.h @@ -34,7 +34,6 @@ protected: int* startIndex, int vertexCount, int indexCount); - virtual void postDraw(); private: -- cgit v1.2.3