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 830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
841 functions->fGetQueryiv = noOpGLGetQueryiv; | 841 functions->fGetQueryiv = noOpGLGetQueryiv; |
842 functions->fGetProgramInfoLog = noOpGLGetInfoLog; | 842 functions->fGetProgramInfoLog = noOpGLGetInfoLog; |
843 functions->fGetProgramiv = noOpGLGetShaderOrProgramiv; | 843 functions->fGetProgramiv = noOpGLGetShaderOrProgramiv; |
844 functions->fGetShaderInfoLog = noOpGLGetInfoLog; | 844 functions->fGetShaderInfoLog = noOpGLGetInfoLog; |
845 functions->fGetShaderiv = noOpGLGetShaderOrProgramiv; | 845 functions->fGetShaderiv = noOpGLGetShaderOrProgramiv; |
846 functions->fGetString = noOpGLGetString; | 846 functions->fGetString = noOpGLGetString; |
847 functions->fGetStringi = noOpGLGetStringi; | 847 functions->fGetStringi = noOpGLGetStringi; |
848 functions->fGetTexLevelParameteriv = noOpGLGetTexLevelParameteriv; | 848 functions->fGetTexLevelParameteriv = noOpGLGetTexLevelParameteriv; |
849 functions->fGetUniformLocation = noOpGLGetUniformLocation; | 849 functions->fGetUniformLocation = noOpGLGetUniformLocation; |
850 functions->fGenVertexArrays = debugGLGenVertexArrays; | 850 functions->fGenVertexArrays = debugGLGenVertexArrays; |
851 functions->fLoadIdentity = noOpGLLoadIdentity; | |
852 functions->fLoadMatrixf = noOpGLLoadMatrixf; | |
853 functions->fLineWidth = noOpGLLineWidth; | 851 functions->fLineWidth = noOpGLLineWidth; |
854 functions->fLinkProgram = noOpGLLinkProgram; | 852 functions->fLinkProgram = noOpGLLinkProgram; |
855 functions->fMatrixMode = noOpGLMatrixMode; | |
856 functions->fPixelStorei = debugGLPixelStorei; | 853 functions->fPixelStorei = debugGLPixelStorei; |
857 functions->fQueryCounter = noOpGLQueryCounter; | 854 functions->fQueryCounter = noOpGLQueryCounter; |
858 functions->fReadBuffer = noOpGLReadBuffer; | 855 functions->fReadBuffer = noOpGLReadBuffer; |
859 functions->fReadPixels = debugGLReadPixels; | 856 functions->fReadPixels = debugGLReadPixels; |
860 functions->fScissor = noOpGLScissor; | 857 functions->fScissor = noOpGLScissor; |
861 functions->fShaderSource = noOpGLShaderSource; | 858 functions->fShaderSource = noOpGLShaderSource; |
862 functions->fStencilFunc = noOpGLStencilFunc; | 859 functions->fStencilFunc = noOpGLStencilFunc; |
863 functions->fStencilFuncSeparate = noOpGLStencilFuncSeparate; | 860 functions->fStencilFuncSeparate = noOpGLStencilFuncSeparate; |
864 functions->fStencilMask = noOpGLStencilMask; | 861 functions->fStencilMask = noOpGLStencilMask; |
865 functions->fStencilMaskSeparate = noOpGLStencilMaskSeparate; | 862 functions->fStencilMaskSeparate = noOpGLStencilMaskSeparate; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
906 functions->fGetFramebufferAttachmentParameteriv = | 903 functions->fGetFramebufferAttachmentParameteriv = |
907 noOpGLGetFramebufferAttachmentParameteriv; | 904 noOpGLGetFramebufferAttachmentParameteriv; |
908 functions->fGetRenderbufferParameteriv = noOpGLGetRenderbufferParameteriv; | 905 functions->fGetRenderbufferParameteriv = noOpGLGetRenderbufferParameteriv; |
909 functions->fRenderbufferStorage = noOpGLRenderbufferStorage; | 906 functions->fRenderbufferStorage = noOpGLRenderbufferStorage; |
910 functions->fRenderbufferStorageMultisample = | 907 functions->fRenderbufferStorageMultisample = |
911 noOpGLRenderbufferStorageMultisample; | 908 noOpGLRenderbufferStorageMultisample; |
912 functions->fBlitFramebuffer = noOpGLBlitFramebuffer; | 909 functions->fBlitFramebuffer = noOpGLBlitFramebuffer; |
913 functions->fResolveMultisampleFramebuffer = | 910 functions->fResolveMultisampleFramebuffer = |
914 noOpGLResolveMultisampleFramebuffer; | 911 noOpGLResolveMultisampleFramebuffer; |
915 functions->fMapBuffer = debugGLMapBuffer; | 912 functions->fMapBuffer = debugGLMapBuffer; |
| 913 functions->fMatrixLoadf = noOpGLMatrixLoadf; |
| 914 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; |
916 functions->fUnmapBuffer = debugGLUnmapBuffer; | 915 functions->fUnmapBuffer = debugGLUnmapBuffer; |
917 functions->fBindFragDataLocationIndexed = | 916 functions->fBindFragDataLocationIndexed = |
918 noOpGLBindFragDataLocationIndexed; | 917 noOpGLBindFragDataLocationIndexed; |
919 | 918 |
920 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, | 919 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, |
921 functions->fGetIntegerv); | 920 functions->fGetIntegerv); |
922 | 921 |
923 return interface; | 922 return interface; |
924 } | 923 } |
OLD | NEW |