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 847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
858 functions->fReadBuffer = noOpGLReadBuffer; | 858 functions->fReadBuffer = noOpGLReadBuffer; |
859 functions->fReadPixels = debugGLReadPixels; | 859 functions->fReadPixels = debugGLReadPixels; |
860 functions->fScissor = noOpGLScissor; | 860 functions->fScissor = noOpGLScissor; |
861 functions->fShaderSource = noOpGLShaderSource; | 861 functions->fShaderSource = noOpGLShaderSource; |
862 functions->fStencilFunc = noOpGLStencilFunc; | 862 functions->fStencilFunc = noOpGLStencilFunc; |
863 functions->fStencilFuncSeparate = noOpGLStencilFuncSeparate; | 863 functions->fStencilFuncSeparate = noOpGLStencilFuncSeparate; |
864 functions->fStencilMask = noOpGLStencilMask; | 864 functions->fStencilMask = noOpGLStencilMask; |
865 functions->fStencilMaskSeparate = noOpGLStencilMaskSeparate; | 865 functions->fStencilMaskSeparate = noOpGLStencilMaskSeparate; |
866 functions->fStencilOp = noOpGLStencilOp; | 866 functions->fStencilOp = noOpGLStencilOp; |
867 functions->fStencilOpSeparate = noOpGLStencilOpSeparate; | 867 functions->fStencilOpSeparate = noOpGLStencilOpSeparate; |
868 functions->fTexGenfv = noOpGLTexGenfv; | |
869 functions->fTexGeni = noOpGLTexGeni; | |
870 functions->fTexImage2D = noOpGLTexImage2D; | 868 functions->fTexImage2D = noOpGLTexImage2D; |
871 functions->fTexParameteri = noOpGLTexParameteri; | 869 functions->fTexParameteri = noOpGLTexParameteri; |
872 functions->fTexParameteriv = noOpGLTexParameteriv; | 870 functions->fTexParameteriv = noOpGLTexParameteriv; |
873 functions->fTexSubImage2D = noOpGLTexSubImage2D; | 871 functions->fTexSubImage2D = noOpGLTexSubImage2D; |
874 functions->fTexStorage2D = noOpGLTexStorage2D; | 872 functions->fTexStorage2D = noOpGLTexStorage2D; |
875 functions->fDiscardFramebuffer = noOpGLDiscardFramebuffer; | 873 functions->fDiscardFramebuffer = noOpGLDiscardFramebuffer; |
876 functions->fUniform1f = noOpGLUniform1f; | 874 functions->fUniform1f = noOpGLUniform1f; |
877 functions->fUniform1i = noOpGLUniform1i; | 875 functions->fUniform1i = noOpGLUniform1i; |
878 functions->fUniform1fv = noOpGLUniform1fv; | 876 functions->fUniform1fv = noOpGLUniform1fv; |
879 functions->fUniform1iv = noOpGLUniform1iv; | 877 functions->fUniform1iv = noOpGLUniform1iv; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
917 functions->fMapBuffer = debugGLMapBuffer; | 915 functions->fMapBuffer = debugGLMapBuffer; |
918 functions->fUnmapBuffer = debugGLUnmapBuffer; | 916 functions->fUnmapBuffer = debugGLUnmapBuffer; |
919 functions->fBindFragDataLocationIndexed = | 917 functions->fBindFragDataLocationIndexed = |
920 noOpGLBindFragDataLocationIndexed; | 918 noOpGLBindFragDataLocationIndexed; |
921 | 919 |
922 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, | 920 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, |
923 functions->fGetIntegerv); | 921 functions->fGetIntegerv); |
924 | 922 |
925 return interface; | 923 return interface; |
926 } | 924 } |
OLD | NEW |