aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-21 18:45:30 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-21 18:45:30 +0000
commita3baf3be0e2a3128fb73bd41d40d130f75a4dc86 (patch)
tree935d08c9f4098a57a4bde7bbffc2763fc863eae6 /src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp
parent5301070de894dbfa4772cf01e111450102837803 (diff)
Add hooks for GL_EXT_debug_marker in gpu
BUG=skia: R=bsalomon@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/174123003 git-svn-id: http://skia.googlecode.com/svn/trunk@13538 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp')
-rw-r--r--src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp b/src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp
index 59314445b3..0ce6d2f295 100644
--- a/src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp
+++ b/src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp
@@ -221,6 +221,12 @@ const GrGLInterface* GrGLCreateMesaInterface() {
}
GR_GL_GET_PROC(BindFragDataLocationIndexed);
+ if (extensions.has("GL_EXT_debug_marker")) {
+ GR_GL_GET_PROC_SUFFIX(InsertEventMarker, EXT);
+ GR_GL_GET_PROC_SUFFIX(PopGroupMarker, EXT);
+ GR_GL_GET_PROC_SUFFIX(PushGroupMarker, EXT);
+ }
+
interface->fStandard = kGL_GrGLStandard;
interface->fExtensions.swap(&extensions);