| 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 #include "gl/GrGLExtensions.h" | 9 #include "gl/GrGLExtensions.h" |
| 10 #include "gl/GrGLInterface.h" | 10 #include "gl/GrGLInterface.h" |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 GR_GL_GET_PROC(DrawBuffer); | 82 GR_GL_GET_PROC(DrawBuffer); |
| 83 GR_GL_GET_PROC(DrawBuffers); | 83 GR_GL_GET_PROC(DrawBuffers); |
| 84 GR_GL_GET_PROC(DrawElements); | 84 GR_GL_GET_PROC(DrawElements); |
| 85 GR_GL_GET_PROC(Enable); | 85 GR_GL_GET_PROC(Enable); |
| 86 GR_GL_GET_PROC(EnableVertexAttribArray); | 86 GR_GL_GET_PROC(EnableVertexAttribArray); |
| 87 GR_GL_GET_PROC(EndQuery); | 87 GR_GL_GET_PROC(EndQuery); |
| 88 GR_GL_GET_PROC(Finish); | 88 GR_GL_GET_PROC(Finish); |
| 89 GR_GL_GET_PROC(Flush); | 89 GR_GL_GET_PROC(Flush); |
| 90 GR_GL_GET_PROC(FrontFace); | 90 GR_GL_GET_PROC(FrontFace); |
| 91 GR_GL_GET_PROC(GenBuffers); | 91 GR_GL_GET_PROC(GenBuffers); |
| 92 GR_GL_GET_PROC(GenerateMipmap); |
| 92 GR_GL_GET_PROC(GenQueries); | 93 GR_GL_GET_PROC(GenQueries); |
| 93 GR_GL_GET_PROC(GetBufferParameteriv); | 94 GR_GL_GET_PROC(GetBufferParameteriv); |
| 94 GR_GL_GET_PROC(GetError); | 95 GR_GL_GET_PROC(GetError); |
| 95 GR_GL_GET_PROC(GetIntegerv); | 96 GR_GL_GET_PROC(GetIntegerv); |
| 96 GR_GL_GET_PROC(GetProgramInfoLog); | 97 GR_GL_GET_PROC(GetProgramInfoLog); |
| 97 GR_GL_GET_PROC(GetProgramiv); | 98 GR_GL_GET_PROC(GetProgramiv); |
| 98 if (glVer >= GR_GL_VER(3,3) || extensions.has("GL_ARB_timer_query")) { | 99 if (glVer >= GR_GL_VER(3,3) || extensions.has("GL_ARB_timer_query")) { |
| 99 GR_GL_GET_PROC(GetQueryObjecti64v); | 100 GR_GL_GET_PROC(GetQueryObjecti64v); |
| 100 GR_GL_GET_PROC(GetQueryObjectui64v) | 101 GR_GL_GET_PROC(GetQueryObjectui64v) |
| 101 GR_GL_GET_PROC(QueryCounter); | 102 GR_GL_GET_PROC(QueryCounter); |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 delete interface; | 209 delete interface; |
| 209 return NULL; | 210 return NULL; |
| 210 } | 211 } |
| 211 GR_GL_GET_PROC(BindFragDataLocationIndexed); | 212 GR_GL_GET_PROC(BindFragDataLocationIndexed); |
| 212 interface->fBindingsExported = kDesktop_GrGLBinding; | 213 interface->fBindingsExported = kDesktop_GrGLBinding; |
| 213 return interface; | 214 return interface; |
| 214 } else { | 215 } else { |
| 215 return NULL; | 216 return NULL; |
| 216 } | 217 } |
| 217 } | 218 } |
| OLD | NEW |