]> git.cworth.org Git - fips/blobdiff - context.h
context: Avoid doing excessive work if application re-sets the same context
[fips] / context.h
index 941f4f04b95eccf7762d565d707f9a2d4d1b3def..9b838812722e29e01e382233e00ac8b8fe29775c 100644 (file)
--- a/context.h
+++ b/context.h
@@ -58,6 +58,9 @@ typedef struct op_metrics
 
 typedef struct context
 {
+       /* Pointer to the system's context ID, (such as a GLXContext) */
+       void *system_id;
+
        metrics_info_t metrics_info;
 
        metrics_op_t op;