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 832 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
843 GrGLInterface::Functions* functions = &interface->fFunctions; | 843 GrGLInterface::Functions* functions = &interface->fFunctions; |
844 functions->fActiveTexture = debugGLActiveTexture; | 844 functions->fActiveTexture = debugGLActiveTexture; |
845 functions->fAttachShader = debugGLAttachShader; | 845 functions->fAttachShader = debugGLAttachShader; |
846 functions->fBeginQuery = debugGLBeginQuery; | 846 functions->fBeginQuery = debugGLBeginQuery; |
847 functions->fBindAttribLocation = debugGLBindAttribLocation; | 847 functions->fBindAttribLocation = debugGLBindAttribLocation; |
848 functions->fBindBuffer = debugGLBindBuffer; | 848 functions->fBindBuffer = debugGLBindBuffer; |
849 functions->fBindFragDataLocation = noOpGLBindFragDataLocation; | 849 functions->fBindFragDataLocation = noOpGLBindFragDataLocation; |
850 functions->fBindTexture = debugGLBindTexture; | 850 functions->fBindTexture = debugGLBindTexture; |
851 functions->fBindVertexArray = debugGLBindVertexArray; | 851 functions->fBindVertexArray = debugGLBindVertexArray; |
852 functions->fBlendColor = noOpGLBlendColor; | 852 functions->fBlendColor = noOpGLBlendColor; |
| 853 functions->fBlendEquation = noOpGLBlendEquation; |
853 functions->fBlendFunc = noOpGLBlendFunc; | 854 functions->fBlendFunc = noOpGLBlendFunc; |
854 functions->fBufferData = debugGLBufferData; | 855 functions->fBufferData = debugGLBufferData; |
855 functions->fBufferSubData = noOpGLBufferSubData; | 856 functions->fBufferSubData = noOpGLBufferSubData; |
856 functions->fClear = noOpGLClear; | 857 functions->fClear = noOpGLClear; |
857 functions->fClearColor = noOpGLClearColor; | 858 functions->fClearColor = noOpGLClearColor; |
858 functions->fClearStencil = noOpGLClearStencil; | 859 functions->fClearStencil = noOpGLClearStencil; |
859 functions->fColorMask = noOpGLColorMask; | 860 functions->fColorMask = noOpGLColorMask; |
860 functions->fCompileShader = noOpGLCompileShader; | 861 functions->fCompileShader = noOpGLCompileShader; |
861 functions->fCompressedTexImage2D = noOpGLCompressedTexImage2D; | 862 functions->fCompressedTexImage2D = noOpGLCompressedTexImage2D; |
862 functions->fCompressedTexSubImage2D = noOpGLCompressedTexSubImage2D; | 863 functions->fCompressedTexSubImage2D = noOpGLCompressedTexSubImage2D; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
976 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; | 977 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; |
977 | 978 |
978 functions->fBindFragDataLocationIndexed = | 979 functions->fBindFragDataLocationIndexed = |
979 noOpGLBindFragDataLocationIndexed; | 980 noOpGLBindFragDataLocationIndexed; |
980 | 981 |
981 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, | 982 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, |
982 functions->fGetIntegerv); | 983 functions->fGetIntegerv); |
983 | 984 |
984 return interface; | 985 return interface; |
985 } | 986 } |
OLD | NEW |