diff options
author | Nicolai Hähnle <[email protected]> | 2016-01-04 17:31:05 -0500 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-01-04 18:40:49 -0500 |
commit | 2123bfcc9c8b375ba46bb59d493ddeac1b7291a6 (patch) | |
tree | 82a99b725d0e42ec07566da49c704d54e084d9b7 /src/mapi/mapi.c | |
parent | b16c9be4a5561bd825176a228c300331f989e837 (diff) |
st/mesa: make KHR_debug output independent of context creation flags (v2)
Instead, keep track of GL_DEBUG_OUTPUT and (un)install the pipe_debug_callback
accordingly. Hardware drivers can still use the absence of the callback to
skip more expensive operations in the normal case, and users can no longer be
surprised by the need to set the debug flag at context creation time.
v2:
- re-add the proper initialization of debug contexts (Ilia Mirkin)
- silence a potential warning (Ilia Mirkin)
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/mapi/mapi.c')
0 files changed, 0 insertions, 0 deletions