st/dri: get drirc options before creating pipe_screen
authorMarek Olšák <marek.olsak@amd.com>
Tue, 20 Jun 2017 22:34:12 +0000 (00:34 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 23 Jun 2017 17:50:20 +0000 (19:50 +0200)
commit6b0f6e693ba4b682679e31cc528974bbf0291e45
tree4ec75fa80f5f7b2bd5c13157a054f3ea156a8c5e
parent76f379330acc3993f865ea77dfb0b5bcf47b6697
st/dri: get drirc options before creating pipe_screen

dri_init_options_get_screen_flags will return the flags for create_screen().

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
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