| OLD | NEW | 
|---|
| 1 | 1 | 
| 2 /* | 2 /* | 
| 3  * Copyright 2011 Google Inc. | 3  * Copyright 2011 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 80         } | 80         } | 
| 81 | 81 | 
| 82         GET_PROC(BufferData); | 82         GET_PROC(BufferData); | 
| 83         GET_PROC(BufferSubData); | 83         GET_PROC(BufferSubData); | 
| 84         GET_PROC(Clear); | 84         GET_PROC(Clear); | 
| 85         GET_PROC(ClearColor); | 85         GET_PROC(ClearColor); | 
| 86         GET_PROC(ClearStencil); | 86         GET_PROC(ClearStencil); | 
| 87         GET_PROC(ColorMask); | 87         GET_PROC(ColorMask); | 
| 88         GET_PROC(CompileShader); | 88         GET_PROC(CompileShader); | 
| 89         GET_PROC(CompressedTexImage2D); | 89         GET_PROC(CompressedTexImage2D); | 
|  | 90         GET_PROC(CopyTexSubImage2D); | 
| 90         GET_PROC(CreateProgram); | 91         GET_PROC(CreateProgram); | 
| 91         GET_PROC(CreateShader); | 92         GET_PROC(CreateShader); | 
| 92         GET_PROC(CullFace); | 93         GET_PROC(CullFace); | 
| 93         GET_PROC(DeleteBuffers); | 94         GET_PROC(DeleteBuffers); | 
| 94         GET_PROC(DeleteProgram); | 95         GET_PROC(DeleteProgram); | 
| 95         GET_PROC(DeleteQueries); | 96         GET_PROC(DeleteQueries); | 
| 96         GET_PROC(DeleteShader); | 97         GET_PROC(DeleteShader); | 
| 97         GET_PROC(DeleteTextures); | 98         GET_PROC(DeleteTextures); | 
| 98         GET_PROC(DepthMask); | 99         GET_PROC(DepthMask); | 
| 99         GET_PROC(Disable); | 100         GET_PROC(Disable); | 
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 230             } | 231             } | 
| 231         } | 232         } | 
| 232         if (ver >= GR_GL_VER(3,3) || extensions.has("GL_ARB_blend_func_extended"
     )) { | 233         if (ver >= GR_GL_VER(3,3) || extensions.has("GL_ARB_blend_func_extended"
     )) { | 
| 233             // ARB extension doesn't use the ARB suffix on the function name | 234             // ARB extension doesn't use the ARB suffix on the function name | 
| 234             GET_PROC(BindFragDataLocationIndexed); | 235             GET_PROC(BindFragDataLocationIndexed); | 
| 235         } | 236         } | 
| 236     } | 237     } | 
| 237     glInterface.get()->ref(); | 238     glInterface.get()->ref(); | 
| 238     return glInterface.get(); | 239     return glInterface.get(); | 
| 239 } | 240 } | 
| OLD | NEW | 
|---|