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

Side by Side Diff: src/gpu/gl/win/GrGLCreateNativeInterface_win.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
« no previous file with comments | « src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/GrGLInterface.h" 9 #include "gl/GrGLInterface.h"
10 #include "gl/GrGLUtil.h" 10 #include "gl/GrGLUtil.h"
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 WGL_SET_PROC_SUFFIX(GetPathColorGeniv, NV); 297 WGL_SET_PROC_SUFFIX(GetPathColorGeniv, NV);
298 WGL_SET_PROC_SUFFIX(GetPathColorGenfv, NV); 298 WGL_SET_PROC_SUFFIX(GetPathColorGenfv, NV);
299 WGL_SET_PROC_SUFFIX(GetPathTexGeniv, NV); 299 WGL_SET_PROC_SUFFIX(GetPathTexGeniv, NV);
300 WGL_SET_PROC_SUFFIX(GetPathTexGenfv, NV); 300 WGL_SET_PROC_SUFFIX(GetPathTexGenfv, NV);
301 WGL_SET_PROC_SUFFIX(IsPointInFillPath, NV); 301 WGL_SET_PROC_SUFFIX(IsPointInFillPath, NV);
302 WGL_SET_PROC_SUFFIX(IsPointInStrokePath, NV); 302 WGL_SET_PROC_SUFFIX(IsPointInStrokePath, NV);
303 WGL_SET_PROC_SUFFIX(GetPathLength, NV); 303 WGL_SET_PROC_SUFFIX(GetPathLength, NV);
304 WGL_SET_PROC_SUFFIX(PointAlongPath, NV); 304 WGL_SET_PROC_SUFFIX(PointAlongPath, NV);
305 } 305 }
306 306
307 if (extensions.has("GL_EXT_debug_marker")) {
308 WGL_SET_PROC_SUFFIX(InsertEventMarker, EXT);
309 WGL_SET_PROC_SUFFIX(PushGroupMarker, EXT);
310 WGL_SET_PROC_SUFFIX(PopGroupMarker, EXT);
311 }
312
307 interface->fStandard = kGL_GrGLStandard; 313 interface->fStandard = kGL_GrGLStandard;
308 interface->fExtensions.swap(&extensions); 314 interface->fExtensions.swap(&extensions);
309 315
310 return interface; 316 return interface;
311 } else { 317 } else {
312 return NULL; 318 return NULL;
313 } 319 }
314 } 320 }
OLDNEW
« no previous file with comments | « src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698