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 908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
919 functions->fReadBuffer = noOpGLReadBuffer; | 919 functions->fReadBuffer = noOpGLReadBuffer; |
920 functions->fReadPixels = debugGLReadPixels; | 920 functions->fReadPixels = debugGLReadPixels; |
921 functions->fScissor = noOpGLScissor; | 921 functions->fScissor = noOpGLScissor; |
922 functions->fShaderSource = noOpGLShaderSource; | 922 functions->fShaderSource = noOpGLShaderSource; |
923 functions->fStencilFunc = noOpGLStencilFunc; | 923 functions->fStencilFunc = noOpGLStencilFunc; |
924 functions->fStencilFuncSeparate = noOpGLStencilFuncSeparate; | 924 functions->fStencilFuncSeparate = noOpGLStencilFuncSeparate; |
925 functions->fStencilMask = noOpGLStencilMask; | 925 functions->fStencilMask = noOpGLStencilMask; |
926 functions->fStencilMaskSeparate = noOpGLStencilMaskSeparate; | 926 functions->fStencilMaskSeparate = noOpGLStencilMaskSeparate; |
927 functions->fStencilOp = noOpGLStencilOp; | 927 functions->fStencilOp = noOpGLStencilOp; |
928 functions->fStencilOpSeparate = noOpGLStencilOpSeparate; | 928 functions->fStencilOpSeparate = noOpGLStencilOpSeparate; |
| 929 functions->fTexBuffer = noOpGLTexBuffer; |
929 functions->fTexImage2D = noOpGLTexImage2D; | 930 functions->fTexImage2D = noOpGLTexImage2D; |
930 functions->fTexParameteri = noOpGLTexParameteri; | 931 functions->fTexParameteri = noOpGLTexParameteri; |
931 functions->fTexParameteriv = noOpGLTexParameteriv; | 932 functions->fTexParameteriv = noOpGLTexParameteriv; |
932 functions->fTexSubImage2D = noOpGLTexSubImage2D; | 933 functions->fTexSubImage2D = noOpGLTexSubImage2D; |
933 functions->fTexStorage2D = noOpGLTexStorage2D; | 934 functions->fTexStorage2D = noOpGLTexStorage2D; |
934 functions->fDiscardFramebuffer = noOpGLDiscardFramebuffer; | 935 functions->fDiscardFramebuffer = noOpGLDiscardFramebuffer; |
935 functions->fUniform1f = noOpGLUniform1f; | 936 functions->fUniform1f = noOpGLUniform1f; |
936 functions->fUniform1i = noOpGLUniform1i; | 937 functions->fUniform1i = noOpGLUniform1i; |
937 functions->fUniform1fv = noOpGLUniform1fv; | 938 functions->fUniform1fv = noOpGLUniform1fv; |
938 functions->fUniform1iv = noOpGLUniform1iv; | 939 functions->fUniform1iv = noOpGLUniform1iv; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
983 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; | 984 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; |
984 | 985 |
985 functions->fBindFragDataLocationIndexed = | 986 functions->fBindFragDataLocationIndexed = |
986 noOpGLBindFragDataLocationIndexed; | 987 noOpGLBindFragDataLocationIndexed; |
987 | 988 |
988 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, | 989 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, |
989 functions->fGetIntegerv, nullptr, GR_EGL_NO_DISP
LAY); | 990 functions->fGetIntegerv, nullptr, GR_EGL_NO_DISP
LAY); |
990 | 991 |
991 return interface; | 992 return interface; |
992 } | 993 } |
OLD | NEW |