gallium: get rid of pipe_screen_config::flags
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 3 Aug 2017 13:01:09 +0000 (15:01 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 4 Aug 2017 08:46:20 +0000 (10:46 +0200)
commit9fb8476e67a4470bc327303cadcf5320b34c6ebc
tree033cddca2dcb17f9645b94f9a7a3b15a803eafa1
parent12ce39d3de55357c8274619d4da973001a4609de
gallium: get rid of pipe_screen_config::flags

They were set only by the DRI state tracker, which is problematic
when radeonsi is used with different state trackers in the same
process.

Also, we don't need them anymore.

Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/include/pipe/p_defines.h
src/gallium/include/pipe/p_screen.h
src/gallium/state_trackers/dri/dri2.c
src/gallium/state_trackers/dri/dri_screen.c
src/gallium/state_trackers/dri/dri_screen.h
src/gallium/state_trackers/dri/drisw.c