Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp

Issue 174123003: Add hooks for GL_EXT_debug_marker in gpu (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp ('k') | src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698