Dylan Noblesmith
58fee81c78
mesa: add _mesa_shader_debug()
...
This should be the one entrypoint libglsl needs
for GL_ARB_debug_output.
v2: added comments.
Reviewed-by: Brian Paul <brianp@vmware.com >
2012-05-02 16:12:22 +00:00
Brian Paul
6830e6515c
mesa: fix _mesa_DebugMessageCallbackARB() to silence warnings
...
Reviewed-by: José Fonseca <jfonseca@vmware.com >
2012-03-12 12:54:25 -06:00
José Fonseca
7221f52389
mesa: Prevent collision of ERROR define on Windows.
...
This issue might recur on other OSes. If so then it might be better
to remove the C-preprocessor magic, and use fully qualified defines
instead.
Signed-off-by: Dave Airlie <airlied@redhat.com >
2012-03-11 16:50:29 +00:00
Marek Olšák
0e4508e077
mesa: print GL errors via debug_output
2012-03-10 21:42:06 +01:00
nobled
ae4a8a59b7
mesa: implement the last of GL_ARB_debug_output
...
Store client-defined message IDs in a hash table,
and sort them by severity into three linked lists
so they can be selected by severity level later.
2012-03-10 21:42:06 +01:00
nobled
f6f3093940
mesa: add control for categories of application-provided messages
...
This state is needed for deciding whether or not to log
application messages with IDs that haven't been specifically
passed to glDebugMessageControlARB yet.
State for each individual ID number ever passed to
glDebugMessageControlARB (per-context) still needs to be added.
2012-03-10 21:42:06 +01:00
nobled
c68f0b8cab
mesa: add glDebugMessageControlARB
...
Controlling the output of client-provided messages
isn't done yet.
2012-03-10 21:42:05 +01:00
nobled
76414cded8
mesa: add message-toggle booleans for GL_ARB_debug_output
2012-03-10 21:42:05 +01:00
nobled
5dd750d685
mesa: add some GL_ARB_debug_output functions
2012-03-10 21:42:05 +01:00
nobled
ed087ee498
mesa: add infrastructure for GL_ARB_debug_output
...
Marek v2: don't add the extension to extensions.c yet
2012-03-10 21:42:05 +01:00
nobled
5ab088c7e2
mesa: split error handling into its own file
...
Also add _mesa_vsnprintf.
2012-03-10 21:42:04 +01:00