0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00
obs-studio/libobs-opengl
jp9000 e88632ed73 libobs-opengl: Don't display unimportant messages
The glDebugMessageCallback function will set a callback that will relay
all messages coming from the driver (on supported drivers at least).
For nvidia, sometimes there are a lot of irrelevant messages, which is
nice depending on the type of application you're writing.

I actually at first thought these messages were important, but it turns
out that they're almost always irrelevant and not actually warnings.
Most of the messages at a certain type/severity are mostly for debugging
purposes or minor hints about how to maximize performance, so
unfortunately there ends up being a lot of pointless spam in the debug
output.

The particular performance messages are related to optimizations you can
get via multithreading, and are optimizations you would expect for games
more than for this type of application.  They don't really apply for our
use cases most of the time.

High severity messages however are not omitted regardless of message
type.

These messages can be enabled again by simply defining the
SHOW_ALL_GL_MESSAGES macro.
2014-12-09 14:21:02 -08:00
..
.gitignore first commit 2013-09-30 19:37:13 -07:00
CMakeLists.txt Update OSX dependencies for cmake generators other than ninja/make 2014-05-08 14:31:43 +02:00
gl-cocoa.m (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
gl-helpers.c Use uint8_t* instead of void* for texture data 2014-06-28 10:12:57 -07:00
gl-helpers.h Use uint8_t* instead of void* for texture data 2014-06-28 10:12:57 -07:00
gl-indexbuffer.c (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
gl-shader.c (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
gl-shaderparser.c Replace ARB_separate_shader_objects extension 2014-09-19 18:23:51 -07:00
gl-shaderparser.h (API Change) Improve graphics API consistency 2014-08-09 11:57:38 -07:00
gl-stagesurf.c (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
gl-subsystem.c libobs-opengl: Don't display unimportant messages 2014-12-09 14:21:02 -08:00
gl-subsystem.h (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
gl-texture2d.c (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
gl-texturecube.c (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
gl-vertexbuffer.c (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
gl-windows.c Add support for shared textures to graphics API 2014-10-13 21:56:42 -07:00
gl-x11.c (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
gl-zstencil.c (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00