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

Side by Side Diff: src/gpu/gl/unix/GrGLCreateNativeInterface_unix.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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 GR_GL_GET_PROC_SUFFIX(GetPathColorGeniv, NV); 268 GR_GL_GET_PROC_SUFFIX(GetPathColorGeniv, NV);
269 GR_GL_GET_PROC_SUFFIX(GetPathColorGenfv, NV); 269 GR_GL_GET_PROC_SUFFIX(GetPathColorGenfv, NV);
270 GR_GL_GET_PROC_SUFFIX(GetPathTexGeniv, NV); 270 GR_GL_GET_PROC_SUFFIX(GetPathTexGeniv, NV);
271 GR_GL_GET_PROC_SUFFIX(GetPathTexGenfv, NV); 271 GR_GL_GET_PROC_SUFFIX(GetPathTexGenfv, NV);
272 GR_GL_GET_PROC_SUFFIX(IsPointInFillPath, NV); 272 GR_GL_GET_PROC_SUFFIX(IsPointInFillPath, NV);
273 GR_GL_GET_PROC_SUFFIX(IsPointInStrokePath, NV); 273 GR_GL_GET_PROC_SUFFIX(IsPointInStrokePath, NV);
274 GR_GL_GET_PROC_SUFFIX(GetPathLength, NV); 274 GR_GL_GET_PROC_SUFFIX(GetPathLength, NV);
275 GR_GL_GET_PROC_SUFFIX(PointAlongPath, NV); 275 GR_GL_GET_PROC_SUFFIX(PointAlongPath, NV);
276 } 276 }
277 277
278 if (extensions.has("GL_EXT_debug_marker")) {
279 GR_GL_GET_PROC_SUFFIX(InsertEventMarker, EXT);
280 GR_GL_GET_PROC_SUFFIX(PushGroupMarker, EXT);
281 GR_GL_GET_PROC_SUFFIX(PopGroupMarker, EXT);
282 }
283
278 interface->fStandard = kGL_GrGLStandard; 284 interface->fStandard = kGL_GrGLStandard;
279 interface->fExtensions.swap(&extensions); 285 interface->fExtensions.swap(&extensions);
280 286
281 return interface; 287 return interface;
282 } else { 288 } else {
283 return NULL; 289 return NULL;
284 } 290 }
285 } 291 }
OLDNEW
« no previous file with comments | « src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp ('k') | src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698