]> git.cworth.org Git - apitrace/blobdiff - gltrace.hpp
Don't abuse NotImplementedError.
[apitrace] / gltrace.hpp
index 53c80397552f702836bddd76248c38e8d8c50577..e4fefc3daaf5f1d5d70a4ec0bf444fe8491bb46f 100644 (file)
 namespace gltrace {
 
 
+enum Profile {
+    PROFILE_COMPAT,
+    PROFILE_ES1,
+    PROFILE_ES2,
+};
+
+struct Context {
+    enum Profile profile;
+    bool user_arrays;
+    bool user_arrays_arb;
+    bool user_arrays_nv;
+};
+    
+Context *
+getContext(void);
+
 const GLubyte *
 __glGetString_override(GLenum name);