mesa: Add an attribute for conditions to turn off threading.
authorEric Anholt <eric@anholt.net>
Fri, 1 Mar 2013 02:15:58 +0000 (18:15 -0800)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 16 Mar 2017 03:14:19 +0000 (14:14 +1100)
commitcd1c003b18353c220b1b81dcecc9cab2996ce608
tree1e8adf2fc9a5e9d676316cb5a852cd5b262d8574
parent43d4f7a227eaa01ea4be32e598682abc912e8e83
mesa: Add an attribute for conditions to turn off threading.

The threading for GL core is in place, but there are so few applications
actually using a core GL context that it would be nice to extend support
back.  However, some of the features of compat GL (particularly user
vertex arrays) would be so expensive to track state for that we want to be
able to disable threading when we discover that the app is using them.

Acked-by: Timothy Arceri <tarceri@itsqueeze.com>
Acked-by: Marek Olšák <maraeo@gmail.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Tested-by: Mike Lothian <mike@fireburn.co.uk>
src/mapi/glapi/gen/gl_API.dtd
src/mapi/glapi/gen/gl_marshal.py
src/mapi/glapi/gen/marshal_XML.py