From a6457c0692f1bc292ae4120ff5cd0bed340271b9 Mon Sep 17 00:00:00 2001 From: Vadim Girlin Date: Thu, 12 Apr 2012 04:30:03 +0400 Subject: st/mesa: accept and handle configuration options from st/dri Currently there is a single option - force_glsl_extensions_warn. Signed-off-by: Vadim Girlin --- src/gallium/include/state_tracker/st_api.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/gallium/include/state_tracker') diff --git a/src/gallium/include/state_tracker/st_api.h b/src/gallium/include/state_tracker/st_api.h index 86ab02d2883..3a11cd47aae 100644 --- a/src/gallium/include/state_tracker/st_api.h +++ b/src/gallium/include/state_tracker/st_api.h @@ -232,6 +232,15 @@ struct st_visual enum st_attachment_type render_buffer; }; + +/** + * Configuration options from driconf + */ +struct st_config_options +{ + boolean force_glsl_extensions_warn; +}; + /** * Represent the attributes of a context. */ @@ -254,6 +263,11 @@ struct st_context_attribs * The visual of the framebuffers the context will be bound to. */ struct st_visual visual; + + /** + * Configuration options. + */ + struct st_config_options options; }; /** -- cgit v1.2.3