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

Side by Side Diff: src/gpu/gl/mesa/GrGLCreateMesaInterface.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 #include "gl/GrGLExtensions.h" 9 #include "gl/GrGLExtensions.h"
10 #include "gl/GrGLInterface.h" 10 #include "gl/GrGLInterface.h"
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 if (extensions.has("GL_EXT_framebuffer_blit")) { 214 if (extensions.has("GL_EXT_framebuffer_blit")) {
215 GR_GL_GET_PROC_SUFFIX(BlitFramebuffer, EXT); 215 GR_GL_GET_PROC_SUFFIX(BlitFramebuffer, EXT);
216 } 216 }
217 } else { 217 } else {
218 // we must have FBOs 218 // we must have FBOs
219 delete interface; 219 delete interface;
220 return NULL; 220 return NULL;
221 } 221 }
222 GR_GL_GET_PROC(BindFragDataLocationIndexed); 222 GR_GL_GET_PROC(BindFragDataLocationIndexed);
223 223
224 if (extensions.has("GL_EXT_debug_marker")) {
225 GR_GL_GET_PROC_SUFFIX(InsertEventMarker, EXT);
226 GR_GL_GET_PROC_SUFFIX(PopGroupMarker, EXT);
227 GR_GL_GET_PROC_SUFFIX(PushGroupMarker, EXT);
228 }
229
224 interface->fStandard = kGL_GrGLStandard; 230 interface->fStandard = kGL_GrGLStandard;
225 interface->fExtensions.swap(&extensions); 231 interface->fExtensions.swap(&extensions);
226 232
227 return interface; 233 return interface;
228 } else { 234 } else {
229 return NULL; 235 return NULL;
230 } 236 }
231 } 237 }
OLDNEW
« no previous file with comments | « src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp ('k') | src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698