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/mesa/state_tracker/st_context.h | |
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/mesa/state_tracker/st_context.h')
-rw-r--r-- | src/mesa/state_tracker/st_context.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h index 47d3af52051..c85d09cb5cd 100644 --- a/src/mesa/state_tracker/st_context.h +++ b/src/mesa/state_tracker/st_context.h @@ -194,6 +194,8 @@ struct st_context int32_t draw_stamp; int32_t read_stamp; + + struct st_config_options options; }; @@ -266,7 +268,8 @@ st_get_msaa(void); extern struct st_context * st_create_context(gl_api api, struct pipe_context *pipe, const struct gl_config *visual, - struct st_context *share); + struct st_context *share, + const struct st_config_options *options); extern void st_destroy_context(struct st_context *st); |