| 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; |  | 
| 854     functions->fBlendFunc = noOpGLBlendFunc; | 853     functions->fBlendFunc = noOpGLBlendFunc; | 
| 855     functions->fBufferData = debugGLBufferData; | 854     functions->fBufferData = debugGLBufferData; | 
| 856     functions->fBufferSubData = noOpGLBufferSubData; | 855     functions->fBufferSubData = noOpGLBufferSubData; | 
| 857     functions->fClear = noOpGLClear; | 856     functions->fClear = noOpGLClear; | 
| 858     functions->fClearColor = noOpGLClearColor; | 857     functions->fClearColor = noOpGLClearColor; | 
| 859     functions->fClearStencil = noOpGLClearStencil; | 858     functions->fClearStencil = noOpGLClearStencil; | 
| 860     functions->fColorMask = noOpGLColorMask; | 859     functions->fColorMask = noOpGLColorMask; | 
| 861     functions->fCompileShader = noOpGLCompileShader; | 860     functions->fCompileShader = noOpGLCompileShader; | 
| 862     functions->fCompressedTexImage2D = noOpGLCompressedTexImage2D; | 861     functions->fCompressedTexImage2D = noOpGLCompressedTexImage2D; | 
| 863     functions->fCompressedTexSubImage2D = noOpGLCompressedTexSubImage2D; | 862     functions->fCompressedTexSubImage2D = noOpGLCompressedTexSubImage2D; | 
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 977     functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; | 976     functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; | 
| 978 | 977 | 
| 979     functions->fBindFragDataLocationIndexed = | 978     functions->fBindFragDataLocationIndexed = | 
| 980                                     noOpGLBindFragDataLocationIndexed; | 979                                     noOpGLBindFragDataLocationIndexed; | 
| 981 | 980 | 
| 982     interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
     ns->fGetStringi, | 981     interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
     ns->fGetStringi, | 
| 983                                 functions->fGetIntegerv); | 982                                 functions->fGetIntegerv); | 
| 984 | 983 | 
| 985     return interface; | 984     return interface; | 
| 986 } | 985 } | 
| OLD | NEW | 
|---|