OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 | 9 |
10 #include "gl/GrGLInterface.h" | 10 #include "gl/GrGLInterface.h" |
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
848 functions->fBlendColor = noOpGLBlendColor; | 848 functions->fBlendColor = noOpGLBlendColor; |
849 functions->fBlendFunc = noOpGLBlendFunc; | 849 functions->fBlendFunc = noOpGLBlendFunc; |
850 functions->fBufferData = debugGLBufferData; | 850 functions->fBufferData = debugGLBufferData; |
851 functions->fBufferSubData = noOpGLBufferSubData; | 851 functions->fBufferSubData = noOpGLBufferSubData; |
852 functions->fClear = noOpGLClear; | 852 functions->fClear = noOpGLClear; |
853 functions->fClearColor = noOpGLClearColor; | 853 functions->fClearColor = noOpGLClearColor; |
854 functions->fClearStencil = noOpGLClearStencil; | 854 functions->fClearStencil = noOpGLClearStencil; |
855 functions->fColorMask = noOpGLColorMask; | 855 functions->fColorMask = noOpGLColorMask; |
856 functions->fCompileShader = noOpGLCompileShader; | 856 functions->fCompileShader = noOpGLCompileShader; |
857 functions->fCompressedTexImage2D = noOpGLCompressedTexImage2D; | 857 functions->fCompressedTexImage2D = noOpGLCompressedTexImage2D; |
| 858 functions->fCompressedTexSubImage2D = noOpGLCompressedTexSubImage2D; |
858 functions->fCopyTexSubImage2D = noOpGLCopyTexSubImage2D; | 859 functions->fCopyTexSubImage2D = noOpGLCopyTexSubImage2D; |
859 functions->fCreateProgram = debugGLCreateProgram; | 860 functions->fCreateProgram = debugGLCreateProgram; |
860 functions->fCreateShader = debugGLCreateShader; | 861 functions->fCreateShader = debugGLCreateShader; |
861 functions->fCullFace = noOpGLCullFace; | 862 functions->fCullFace = noOpGLCullFace; |
862 functions->fDeleteBuffers = debugGLDeleteBuffers; | 863 functions->fDeleteBuffers = debugGLDeleteBuffers; |
863 functions->fDeleteProgram = debugGLDeleteProgram; | 864 functions->fDeleteProgram = debugGLDeleteProgram; |
864 functions->fDeleteQueries = noOpGLDeleteIds; | 865 functions->fDeleteQueries = noOpGLDeleteIds; |
865 functions->fDeleteShader = debugGLDeleteShader; | 866 functions->fDeleteShader = debugGLDeleteShader; |
866 functions->fDeleteTextures = debugGLDeleteTextures; | 867 functions->fDeleteTextures = debugGLDeleteTextures; |
867 functions->fDeleteVertexArrays = debugGLDeleteVertexArrays; | 868 functions->fDeleteVertexArrays = debugGLDeleteVertexArrays; |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
968 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; | 969 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; |
969 | 970 |
970 functions->fBindFragDataLocationIndexed = | 971 functions->fBindFragDataLocationIndexed = |
971 noOpGLBindFragDataLocationIndexed; | 972 noOpGLBindFragDataLocationIndexed; |
972 | 973 |
973 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, | 974 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, |
974 functions->fGetIntegerv); | 975 functions->fGetIntegerv); |
975 | 976 |
976 return interface; | 977 return interface; |
977 } | 978 } |
OLD | NEW |