| 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 938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 949 functions->fUniform4iv = noOpGLUniform4iv; | 949 functions->fUniform4iv = noOpGLUniform4iv; |
| 950 functions->fUniformMatrix2fv = noOpGLUniformMatrix2fv; | 950 functions->fUniformMatrix2fv = noOpGLUniformMatrix2fv; |
| 951 functions->fUniformMatrix3fv = noOpGLUniformMatrix3fv; | 951 functions->fUniformMatrix3fv = noOpGLUniformMatrix3fv; |
| 952 functions->fUniformMatrix4fv = noOpGLUniformMatrix4fv; | 952 functions->fUniformMatrix4fv = noOpGLUniformMatrix4fv; |
| 953 functions->fUnmapBuffer = debugGLUnmapBuffer; | 953 functions->fUnmapBuffer = debugGLUnmapBuffer; |
| 954 functions->fUseProgram = debugGLUseProgram; | 954 functions->fUseProgram = debugGLUseProgram; |
| 955 functions->fVertexAttrib1f = noOpGLVertexAttrib1f; | 955 functions->fVertexAttrib1f = noOpGLVertexAttrib1f; |
| 956 functions->fVertexAttrib2fv = noOpGLVertexAttrib2fv; | 956 functions->fVertexAttrib2fv = noOpGLVertexAttrib2fv; |
| 957 functions->fVertexAttrib3fv = noOpGLVertexAttrib3fv; | 957 functions->fVertexAttrib3fv = noOpGLVertexAttrib3fv; |
| 958 functions->fVertexAttrib4fv = noOpGLVertexAttrib4fv; | 958 functions->fVertexAttrib4fv = noOpGLVertexAttrib4fv; |
| 959 functions->fVertexAttribDivisor = noOpGLVertexAttribDivisor; |
| 960 functions->fVertexAttribIPointer = noOpGLVertexAttribIPointer; |
| 959 functions->fVertexAttribPointer = noOpGLVertexAttribPointer; | 961 functions->fVertexAttribPointer = noOpGLVertexAttribPointer; |
| 960 functions->fVertexAttribDivisor = noOpGLVertexAttribDivisor; | |
| 961 functions->fViewport = noOpGLViewport; | 962 functions->fViewport = noOpGLViewport; |
| 962 functions->fBindFramebuffer = debugGLBindFramebuffer; | 963 functions->fBindFramebuffer = debugGLBindFramebuffer; |
| 963 functions->fBindRenderbuffer = debugGLBindRenderbuffer; | 964 functions->fBindRenderbuffer = debugGLBindRenderbuffer; |
| 964 functions->fCheckFramebufferStatus = noOpGLCheckFramebufferStatus; | 965 functions->fCheckFramebufferStatus = noOpGLCheckFramebufferStatus; |
| 965 functions->fDeleteFramebuffers = debugGLDeleteFramebuffers; | 966 functions->fDeleteFramebuffers = debugGLDeleteFramebuffers; |
| 966 functions->fDeleteRenderbuffers = debugGLDeleteRenderbuffers; | 967 functions->fDeleteRenderbuffers = debugGLDeleteRenderbuffers; |
| 967 functions->fFramebufferRenderbuffer = debugGLFramebufferRenderbuffer; | 968 functions->fFramebufferRenderbuffer = debugGLFramebufferRenderbuffer; |
| 968 functions->fFramebufferTexture2D = debugGLFramebufferTexture2D; | 969 functions->fFramebufferTexture2D = debugGLFramebufferTexture2D; |
| 969 functions->fGenFramebuffers = debugGLGenFramebuffers; | 970 functions->fGenFramebuffers = debugGLGenFramebuffers; |
| 970 functions->fGenRenderbuffers = debugGLGenRenderbuffers; | 971 functions->fGenRenderbuffers = debugGLGenRenderbuffers; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 981 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; | 982 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; |
| 982 | 983 |
| 983 functions->fBindFragDataLocationIndexed = | 984 functions->fBindFragDataLocationIndexed = |
| 984 noOpGLBindFragDataLocationIndexed; | 985 noOpGLBindFragDataLocationIndexed; |
| 985 | 986 |
| 986 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, | 987 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, |
| 987 functions->fGetIntegerv, nullptr, GR_EGL_NO_DISP
LAY); | 988 functions->fGetIntegerv, nullptr, GR_EGL_NO_DISP
LAY); |
| 988 | 989 |
| 989 return interface; | 990 return interface; |
| 990 } | 991 } |
| OLD | NEW |