gallium: add flag PIPE_CONTEXT_PREFER_THREADED
authorMarek Olšák <marek.olsak@amd.com>
Fri, 24 Mar 2017 00:57:40 +0000 (01:57 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 15 May 2017 11:01:33 +0000 (13:01 +0200)
commit8559fa505d5972bbbcca4b90c31da4788162b845
treea1afa608e14632369a614f46f00cf81f4009e76e
parent7622181cade48d3b389024b6ce3e4e177073964e
gallium: add flag PIPE_CONTEXT_PREFER_THREADED

State trackers can set this to tell the driver when u_threaded_context is
desirable.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
src/gallium/include/pipe/p_defines.h
src/mesa/state_tracker/st_manager.c