diff options
author | Vadim Girlin <[email protected]> | 2012-04-12 04:30:03 +0400 |
---|---|---|
committer | Vadim Girlin <[email protected]> | 2012-08-23 19:57:51 +0400 |
commit | a6457c0692f1bc292ae4120ff5cd0bed340271b9 (patch) | |
tree | 580e502cbf177ce420357d0266c9687d20cb4ed1 /src/gallium | |
parent | 44f69fc82518d343733c77905cf9b9963fe102e4 (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')
-rw-r--r-- | src/gallium/include/state_tracker/st_api.h | 14 |
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; }; /** |