[Mesa-dev] [PATCH 0/8] [RFC] improve driconf support for gallium
Vadim Girlin
vadimgirlin at gmail.com
Mon Apr 9 08:32:31 PDT 2012
These patches allow to use driver-specific driconf settings, and to handle these
options in the state tracker.
It's then used to handle force_glsl_extensions_warn option, so we could use it
e.g. for unigine applications.
gallium: add get_driver_name to pipe_screen
st/dri: use pipe_screen::get_driver_name to select the config
gallium: add optionCache to st_context_attribs
st/dri: pass optionCache in the st_context_attribs
st/mesa: pass the configuration options to st_init_extensions
st/dri: add force_glsl_extensions_warn option to dri configuration
st/mesa: handle force_glsl_extensions_warn
r600g: implement pipe_screen::get_driver_name
src/gallium/drivers/r600/r600_pipe.c | 6 ++++++
src/gallium/include/pipe/p_screen.h | 1 +
src/gallium/include/state_tracker/st_api.h | 3 +++
.../state_trackers/dri/common/dri_context.c | 12 +++++++++++-
src/gallium/state_trackers/dri/common/dri_screen.c | 11 ++++++++++-
src/mesa/state_tracker/st_context.c | 9 +++++----
src/mesa/state_tracker/st_context.h | 3 ++-
src/mesa/state_tracker/st_extensions.c | 5 ++++-
src/mesa/state_tracker/st_extensions.h | 2 +-
src/mesa/state_tracker/st_manager.c | 2 +-
10 files changed, 44 insertions(+), 10 deletions(-)
--
1.7.7.6
More information about the mesa-dev
mailing list