aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorVadim Girlin <[email protected]>2012-04-12 04:30:03 +0400
committerVadim Girlin <[email protected]>2012-08-23 19:57:51 +0400
commita6457c0692f1bc292ae4120ff5cd0bed340271b9 (patch)
tree580e502cbf177ce420357d0266c9687d20cb4ed1 /src/gallium/include
parent44f69fc82518d343733c77905cf9b9963fe102e4 (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/state_tracker/st_api.h14
1 files changed, 14 insertions, 0 deletions
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;
};
/**