| Index: src/gpu/gl/debug/GrGLCreateDebugInterface.cpp
|
| diff --git a/src/gpu/gl/debug/GrGLCreateDebugInterface.cpp b/src/gpu/gl/debug/GrGLCreateDebugInterface.cpp
|
| index 97ab9c235848247c09b4331db08d823f460bb421..a9cc34a770286d72e926c95190024064235aba03 100644
|
| --- a/src/gpu/gl/debug/GrGLCreateDebugInterface.cpp
|
| +++ b/src/gpu/gl/debug/GrGLCreateDebugInterface.cpp
|
| @@ -32,13 +32,6 @@ GrGLvoid GR_GL_FUNCTION_TYPE debugGLActiveTexture(GrGLenum texture) {
|
| GrDebugGL::getInstance()->setCurTextureUnit(texture);
|
| }
|
|
|
| -GrGLvoid GR_GL_FUNCTION_TYPE debugGLClientActiveTexture(GrGLenum texture) {
|
| -
|
| - // Ganesh offsets the texture unit indices
|
| - texture -= GR_GL_TEXTURE0;
|
| - GrAlwaysAssert(texture < GrDebugGL::getInstance()->getMaxTextureUnits());
|
| -}
|
| -
|
| ////////////////////////////////////////////////////////////////////////////////
|
| GrGLvoid GR_GL_FUNCTION_TYPE debugGLAttachShader(GrGLuint programID,
|
| GrGLuint shaderID) {
|
| @@ -808,7 +801,6 @@ const GrGLInterface* GrGLCreateDebugInterface() {
|
| functions->fClear = noOpGLClear;
|
| functions->fClearColor = noOpGLClearColor;
|
| functions->fClearStencil = noOpGLClearStencil;
|
| - functions->fClientActiveTexture = debugGLClientActiveTexture;
|
| functions->fColorMask = noOpGLColorMask;
|
| functions->fCompileShader = noOpGLCompileShader;
|
| functions->fCompressedTexImage2D = noOpGLCompressedTexImage2D;
|
| @@ -824,14 +816,12 @@ const GrGLInterface* GrGLCreateDebugInterface() {
|
| functions->fDeleteVertexArrays = debugGLDeleteVertexArrays;
|
| functions->fDepthMask = noOpGLDepthMask;
|
| functions->fDisable = noOpGLDisable;
|
| - functions->fDisableClientState = noOpGLDisableClientState;
|
| functions->fDisableVertexAttribArray = noOpGLDisableVertexAttribArray;
|
| functions->fDrawArrays = noOpGLDrawArrays;
|
| functions->fDrawBuffer = noOpGLDrawBuffer;
|
| functions->fDrawBuffers = noOpGLDrawBuffers;
|
| functions->fDrawElements = noOpGLDrawElements;
|
| functions->fEnable = noOpGLEnable;
|
| - functions->fEnableClientState = noOpGLEnableClientState;
|
| functions->fEnableVertexAttribArray = noOpGLEnableVertexAttribArray;
|
| functions->fEndQuery = noOpGLEndQuery;
|
| functions->fFinish = noOpGLFinish;
|
| @@ -875,7 +865,6 @@ const GrGLInterface* GrGLCreateDebugInterface() {
|
| functions->fStencilMaskSeparate = noOpGLStencilMaskSeparate;
|
| functions->fStencilOp = noOpGLStencilOp;
|
| functions->fStencilOpSeparate = noOpGLStencilOpSeparate;
|
| - functions->fTexGenf = noOpGLTexGenf;
|
| functions->fTexGenfv = noOpGLTexGenfv;
|
| functions->fTexGeni = noOpGLTexGeni;
|
| functions->fTexImage2D = noOpGLTexImage2D;
|
| @@ -906,7 +895,6 @@ const GrGLInterface* GrGLCreateDebugInterface() {
|
| functions->fUseProgram = debugGLUseProgram;
|
| functions->fVertexAttrib4fv = noOpGLVertexAttrib4fv;
|
| functions->fVertexAttribPointer = noOpGLVertexAttribPointer;
|
| - functions->fVertexPointer = noOpGLVertexPointer;
|
| functions->fViewport = noOpGLViewport;
|
| functions->fBindFramebuffer = debugGLBindFramebuffer;
|
| functions->fBindRenderbuffer = debugGLBindRenderbuffer;
|
|
|