summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <emmanuel.peyrot@collabora.com>2015-12-21 21:25:31 +0000
committerTomaž Vajngerl <tomaz.vajngerl@collabora.com>2016-01-05 15:05:48 +0100
commit928fe134ff6ea85f732b36a1ab11336f1d829531 (patch)
tree73ade4777627c4a19ffc17c160b770358d361138 /vcl
parent6cf31f69b41b7155a208362f0d913f854fa70c43 (diff)
vcl: Ignore i965’s shader compiler debug
Change-Id: I94c5759d47a17e93f0614bfd95b52d64f9d2d896
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/opengl/OpenGLContext.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx
index d4397a130d24..5226e34d02e8 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -1043,11 +1043,17 @@ void OpenGLContext::InitGLEWDebugging()
{
glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB);
glDebugMessageCallbackARB(&debug_callback, nullptr);
+
+ // Ignore i965’s shader compiler notification flood.
+ glDebugMessageControlARB(GL_DEBUG_SOURCE_SHADER_COMPILER_ARB, GL_DEBUG_TYPE_OTHER_ARB, GL_DEBUG_SEVERITY_NOTIFICATION_ARB, 0, nullptr, true);
}
else if ( glDebugMessageCallback )
{
glEnable(GL_DEBUG_OUTPUT);
glDebugMessageCallback(&debug_callback, nullptr);
+
+ // Ignore i965’s shader compiler notification flood.
+ glDebugMessageControl(GL_DEBUG_SOURCE_SHADER_COMPILER, GL_DEBUG_TYPE_OTHER, GL_DEBUG_SEVERITY_NOTIFICATION, 0, nullptr, true);
}
}