| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 GET_PROC(DrawBuffer); | 103 GET_PROC(DrawBuffer); |
| 104 GET_PROC(DrawBuffers); | 104 GET_PROC(DrawBuffers); |
| 105 GET_PROC(DrawElements); | 105 GET_PROC(DrawElements); |
| 106 GET_PROC(Enable); | 106 GET_PROC(Enable); |
| 107 GET_PROC(EnableVertexAttribArray); | 107 GET_PROC(EnableVertexAttribArray); |
| 108 GET_PROC(EndQuery); | 108 GET_PROC(EndQuery); |
| 109 GET_PROC(Finish); | 109 GET_PROC(Finish); |
| 110 GET_PROC(Flush); | 110 GET_PROC(Flush); |
| 111 GET_PROC(FrontFace); | 111 GET_PROC(FrontFace); |
| 112 GET_PROC(GenBuffers); | 112 GET_PROC(GenBuffers); |
| 113 GET_PROC(GenerateMipmap); |
| 113 GET_PROC(GenQueries); | 114 GET_PROC(GenQueries); |
| 114 GET_PROC(GetBufferParameteriv); | 115 GET_PROC(GetBufferParameteriv); |
| 115 GET_PROC(GetError); | 116 GET_PROC(GetError); |
| 116 GET_PROC(GetIntegerv); | 117 GET_PROC(GetIntegerv); |
| 117 GET_PROC(GetProgramInfoLog); | 118 GET_PROC(GetProgramInfoLog); |
| 118 GET_PROC(GetProgramiv); | 119 GET_PROC(GetProgramiv); |
| 119 GET_PROC(GetQueryiv); | 120 GET_PROC(GetQueryiv); |
| 120 GET_PROC(GetQueryObjectiv); | 121 GET_PROC(GetQueryObjectiv); |
| 121 GET_PROC(GetQueryObjectuiv); | 122 GET_PROC(GetQueryObjectuiv); |
| 122 GET_PROC(GetShaderInfoLog); | 123 GET_PROC(GetShaderInfoLog); |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 } | 232 } |
| 232 } | 233 } |
| 233 if (ver >= GR_GL_VER(3,3) || extensions.has("GL_ARB_blend_func_extended"
)) { | 234 if (ver >= GR_GL_VER(3,3) || extensions.has("GL_ARB_blend_func_extended"
)) { |
| 234 // ARB extension doesn't use the ARB suffix on the function name | 235 // ARB extension doesn't use the ARB suffix on the function name |
| 235 GET_PROC(BindFragDataLocationIndexed); | 236 GET_PROC(BindFragDataLocationIndexed); |
| 236 } | 237 } |
| 237 } | 238 } |
| 238 glInterface.get()->ref(); | 239 glInterface.get()->ref(); |
| 239 return glInterface.get(); | 240 return glInterface.get(); |
| 240 } | 241 } |
| OLD | NEW |