| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 GET_PROC(GetQueryObjectuiv); | 125 GET_PROC(GetQueryObjectuiv); |
| 126 GET_PROC(GetShaderInfoLog); | 126 GET_PROC(GetShaderInfoLog); |
| 127 GET_PROC(GetShaderiv); | 127 GET_PROC(GetShaderiv); |
| 128 GET_PROC(GetString); | 128 GET_PROC(GetString); |
| 129 GET_PROC(GetStringi); | 129 GET_PROC(GetStringi); |
| 130 GET_PROC(GetTexLevelParameteriv); | 130 GET_PROC(GetTexLevelParameteriv); |
| 131 GET_PROC(GenTextures); | 131 GET_PROC(GenTextures); |
| 132 GET_PROC(GetUniformLocation); | 132 GET_PROC(GetUniformLocation); |
| 133 GET_PROC(LineWidth); | 133 GET_PROC(LineWidth); |
| 134 GET_PROC(LinkProgram); | 134 GET_PROC(LinkProgram); |
| 135 GET_PROC(LoadIdentity); |
| 136 GET_PROC(LoadMatrixf); |
| 135 GET_PROC(MapBuffer); | 137 GET_PROC(MapBuffer); |
| 138 GET_PROC(MatrixMode); |
| 136 GET_PROC(PixelStorei); | 139 GET_PROC(PixelStorei); |
| 137 GET_PROC(ReadBuffer); | 140 GET_PROC(ReadBuffer); |
| 138 GET_PROC(ReadPixels); | 141 GET_PROC(ReadPixels); |
| 139 GET_PROC(Scissor); | 142 GET_PROC(Scissor); |
| 140 GET_PROC(ShaderSource); | 143 GET_PROC(ShaderSource); |
| 141 GET_PROC(StencilFunc); | 144 GET_PROC(StencilFunc); |
| 142 GET_PROC(StencilFuncSeparate); | 145 GET_PROC(StencilFuncSeparate); |
| 143 GET_PROC(StencilMask); | 146 GET_PROC(StencilMask); |
| 144 GET_PROC(StencilMaskSeparate); | 147 GET_PROC(StencilMaskSeparate); |
| 145 GET_PROC(StencilOp); | 148 GET_PROC(StencilOp); |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 } | 242 } |
| 240 } | 243 } |
| 241 if (ver >= GR_GL_VER(3,3) || extensions.has("GL_ARB_blend_func_extended"
)) { | 244 if (ver >= GR_GL_VER(3,3) || extensions.has("GL_ARB_blend_func_extended"
)) { |
| 242 // ARB extension doesn't use the ARB suffix on the function name | 245 // ARB extension doesn't use the ARB suffix on the function name |
| 243 GET_PROC(BindFragDataLocationIndexed); | 246 GET_PROC(BindFragDataLocationIndexed); |
| 244 } | 247 } |
| 245 } | 248 } |
| 246 glInterface.get()->ref(); | 249 glInterface.get()->ref(); |
| 247 return glInterface.get(); | 250 return glInterface.get(); |
| 248 } | 251 } |
| OLD | NEW |