commit | 4ded2ef5e84f4696b4e5ed5bd6ad1efe933bbc39 | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olvaffe@gmail.com> | Wed Aug 20 14:40:31 2014 +0800 |
committer | Kenneth Graunke <kenneth@whitecape.org> | Thu Oct 30 02:26:19 2014 -0700 |
tree | 1aada9de57e30981f1542a75ac3a70101e2e2573 | |
parent | 2d64e4ffbab0426317f329e2bae22566dc80b98a [diff] |
mesa: protect the debug state with a mutex We are about to change mesa to spawn threads for deferred glCompileShader and glLinkProgram, and we need to make sure those threads can send compiler warnings/errors to the debug output safely. Signed-off-by: Chia-I Wu <olv@lunarg.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>