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 <vadimgirlin@gmail.com>
This commit is contained in:
Vadim Girlin
2012-04-12 04:30:03 +04:00
parent 44f69fc825
commit a6457c0692
5 changed files with 28 additions and 5 deletions

View File

@@ -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;
};
/**