mesa: disable glthread when DEBUG_OUTPUT_SYNCHRONOUS is enabled
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 31 Mar 2017 00:45:34 +0000 (11:45 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Sun, 2 Apr 2017 23:31:11 +0000 (09:31 +1000)
commitdbdd7231c252cbed52a196c86725730c07cd8006
treee4f17425dbef484f471380334a8397ce8c16f041
parenta0f0f3958e012335e8b1c30e4a10ed1141c7758c
mesa: disable glthread when DEBUG_OUTPUT_SYNCHRONOUS is enabled

We could re-enable it also but I haven't tested that yet, and I'm
not sure we care much anyway.

V2: don't disable it from with the call itself. We need a custom
    marshalling function or we get stuck waiting for thread to
    finish.

V3: tidy up redundant code copied from generated version.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mapi/glapi/gen/gl_API.xml
src/mesa/main/marshal.c
src/mesa/main/marshal.h