| Index: src/gpu/gl/GrGLCreateNullInterface.cpp
|
| ===================================================================
|
| --- src/gpu/gl/GrGLCreateNullInterface.cpp (revision 7907)
|
| +++ src/gpu/gl/GrGLCreateNullInterface.cpp (working copy)
|
| @@ -20,6 +20,7 @@
|
| GrGLvoid GR_GL_FUNCTION_TYPE nullGLBeginQuery(GrGLenum target, GrGLuint id) {}
|
| GrGLvoid GR_GL_FUNCTION_TYPE nullGLBindAttribLocation(GrGLuint program, GrGLuint index, const char* name) {}
|
| GrGLvoid GR_GL_FUNCTION_TYPE nullGLBindTexture(GrGLenum target, GrGLuint texture) {}
|
| +GrGLvoid GR_GL_FUNCTION_TYPE nullGLBindVertexArray(GrGLuint id) {}
|
| GrGLvoid GR_GL_FUNCTION_TYPE nullGLBufferData(GrGLenum target, GrGLsizeiptr size, const GrGLvoid* data, GrGLenum usage) {}
|
| GrGLvoid GR_GL_FUNCTION_TYPE nullGLPixelStorei(GrGLenum pname, GrGLint param) {}
|
| GrGLvoid GR_GL_FUNCTION_TYPE nullGLReadPixels(GrGLint x, GrGLint y, GrGLsizei width, GrGLsizei height, GrGLenum format, GrGLenum type, GrGLvoid* pixels) {}
|
| @@ -46,7 +47,6 @@
|
| GrGLvoid GR_GL_FUNCTION_TYPE nullGLDelete(GrGLuint program) {
|
| }
|
|
|
| -
|
| // In debug builds we do asserts that ensure we agree with GL about when a buffer
|
| // is mapped.
|
| static SkTDArray<GrGLuint> gMappedBuffers;
|
| @@ -168,6 +168,7 @@
|
| interface->fBindBuffer = nullGLBindBuffer;
|
| interface->fBindFragDataLocation = noOpGLBindFragDataLocation;
|
| interface->fBindTexture = nullGLBindTexture;
|
| + interface->fBindVertexArray = nullGLBindVertexArray;
|
| interface->fBlendColor = noOpGLBlendColor;
|
| interface->fBlendFunc = noOpGLBlendFunc;
|
| interface->fBufferData = nullGLBufferData;
|
| @@ -186,6 +187,7 @@
|
| interface->fDeleteQueries = noOpGLDeleteIds;
|
| interface->fDeleteShader = nullGLDelete;
|
| interface->fDeleteTextures = noOpGLDeleteIds;
|
| + interface->fDeleteVertexArrays = noOpGLDeleteIds;
|
| interface->fDepthMask = noOpGLDepthMask;
|
| interface->fDisable = noOpGLDisable;
|
| interface->fDisableVertexAttribArray = noOpGLDisableVertexAttribArray;
|
| @@ -202,6 +204,7 @@
|
| interface->fGenBuffers = noOpGLGenIds;
|
| interface->fGenQueries = noOpGLGenIds;
|
| interface->fGenTextures = noOpGLGenIds;
|
| + interface->fGenVertexArrays = noOpGLGenIds;
|
| interface->fGetBufferParameteriv = nullGLGetBufferParameteriv;
|
| interface->fGetError = noOpGLGetError;
|
| interface->fGetIntegerv = noOpGLGetIntegerv;
|
|
|