aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-05-11 20:50:53 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-05-11 20:50:53 +0000
commit5adf9b2e984365299606ea0891ea0c88f71d8b27 (patch)
tree56929d5d85ecc1e4989b97d0ee3db806c8098927
parent341767c9fc6577fbd6b7ed57a12f03f565788025 (diff)
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
-rw-r--r--src/gpu/gl/GrGpuGL.h5
-rw-r--r--src/gpu/gl/GrGpuGLShaders.cpp3
-rw-r--r--src/gpu/gl/GrGpuGLShaders.h1
3 files changed, 0 insertions, 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: