| 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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 } | 234 } |
| 235 if (extensions.has("GL_EXT_framebuffer_blit")) { | 235 if (extensions.has("GL_EXT_framebuffer_blit")) { |
| 236 GET_PROC_SUFFIX(BlitFramebuffer, EXT); | 236 GET_PROC_SUFFIX(BlitFramebuffer, EXT); |
| 237 } | 237 } |
| 238 } | 238 } |
| 239 if (ver >= GR_GL_VER(3,3) || extensions.has("GL_ARB_blend_func_extended")) { | 239 if (ver >= GR_GL_VER(3,3) || extensions.has("GL_ARB_blend_func_extended")) { |
| 240 // ARB extension doesn't use the ARB suffix on the function name | 240 // ARB extension doesn't use the ARB suffix on the function name |
| 241 GET_PROC(BindFragDataLocationIndexed); | 241 GET_PROC(BindFragDataLocationIndexed); |
| 242 } | 242 } |
| 243 | 243 |
| 244 if (extensions.has("GL_EXT_debug_marker")) { |
| 245 GET_PROC_SUFFIX(InsertEventMarker, EXT); |
| 246 GET_PROC_SUFFIX(PushGroupMarker, EXT); |
| 247 GET_PROC_SUFFIX(PopGroupMarker, EXT); |
| 248 } |
| 249 |
| 244 interface->fExtensions.swap(&extensions); | 250 interface->fExtensions.swap(&extensions); |
| 245 return interface; | 251 return interface; |
| 246 } | 252 } |
| OLD | NEW |