python/retrace: Interpret pipe_screen::context_create().
authorJosé Fonseca <jfonseca@vmware.com>
Sun, 14 Feb 2010 12:48:11 +0000 (12:48 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Sun, 14 Feb 2010 12:48:11 +0000 (12:48 +0000)
progs/gallium/python/retrace/interpreter.py

index 7277701279c9c86c275dddd6ac46ae76b97ca7b7..a34122e0e0f1074d3b1319d00a4122360f43e8d0 100755 (executable)
@@ -272,6 +272,10 @@ class Screen(Object):
     def get_paramf(self, param):
         pass
     
+    def context_create(self):
+        context = self.real.context_create()
+        return Context(self.interpreter, context)
+    
     def is_format_supported(self, format, target, tex_usage, geom_flags):
         return self.real.is_format_supported(format, target, tex_usage, geom_flags)