[Mesa-dev] [RFC 17/20] mesa: add helpers for the binary shader cache

Tapani Pälli tapani.palli at intel.com
Mon Jun 2 05:05:58 PDT 2014


Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
---
 src/mesa/main/mtypes.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 688a3bd..ee12337 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -4252,6 +4252,12 @@ struct gl_context
     * Once this field becomes true, it is never reset to false.
     */
    GLboolean ShareGroupReset;
+
+   /**
+    * Binary shader cache disk location.
+    */
+   char *BinaryCachePath;
+   GLboolean BinaryCacheActive;
 };
 
 
-- 
1.8.3.1



More information about the mesa-dev mailing list