[Mesa-dev] [PATCH 3/8] gallium: add optionCache to st_context_attribs

Vadim Girlin vadimgirlin at gmail.com
Mon Apr 9 08:32:34 PDT 2012


This will be used to pass the configuration options through the context
creation calls.

Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>
---
 src/gallium/include/state_tracker/st_api.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/gallium/include/state_tracker/st_api.h b/src/gallium/include/state_tracker/st_api.h
index 3af1dfc..053fb5a 100644
--- a/src/gallium/include/state_tracker/st_api.h
+++ b/src/gallium/include/state_tracker/st_api.h
@@ -27,6 +27,7 @@
 #ifndef _ST_API_H_
 #define _ST_API_H_
 
+#include "drivers/dri/common/xmlconfig.h"
 #include "pipe/p_compiler.h"
 #include "pipe/p_format.h"
 
@@ -243,6 +244,8 @@ struct st_context_attribs
     * The visual of the framebuffers the context will be bound to.
     */
    struct st_visual visual;
+
+   struct driOptionCache * optionCache;
 };
 
 /**
-- 
1.7.7.6



More information about the mesa-dev mailing list