| 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 // 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 |
| 236 GET_PROC(BindFragDataLocationIndexed); | 236 GET_PROC(BindFragDataLocationIndexed); |
| 237 } | 237 } |
| 238 | 238 |
| 239 if (extensions.has("GL_EXT_debug_marker")) { | 239 if (extensions.has("GL_EXT_debug_marker")) { |
| 240 GET_PROC_SUFFIX(InsertEventMarker, EXT); | 240 GET_PROC_SUFFIX(InsertEventMarker, EXT); |
| 241 GET_PROC_SUFFIX(PushGroupMarker, EXT); | 241 GET_PROC_SUFFIX(PushGroupMarker, EXT); |
| 242 GET_PROC_SUFFIX(PopGroupMarker, EXT); | 242 GET_PROC_SUFFIX(PopGroupMarker, EXT); |
| 243 } | 243 } |
| 244 | 244 |
| 245 if (ver >= GR_GL_VER(4,3) || extensions.has("GL_ARB_invalidate_subdata")) { |
| 246 GET_PROC(InvalidateBufferData); |
| 247 GET_PROC(InvalidateBufferSubData); |
| 248 GET_PROC(InvalidateFramebuffer); |
| 249 GET_PROC(InvalidateSubFramebuffer); |
| 250 GET_PROC(InvalidateTexImage); |
| 251 GET_PROC(InvalidateTexSubImage); |
| 252 } |
| 253 |
| 245 interface->fExtensions.swap(&extensions); | 254 interface->fExtensions.swap(&extensions); |
| 246 return interface; | 255 return interface; |
| 247 } | 256 } |
| OLD | NEW |