summaryrefslogtreecommitdiff
path: root/progs/gallium/python/retrace/interpreter.py
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-02-14 12:48:11 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-02-14 12:48:11 +0000
commit4ab3f0edef438334d70d26381e3b2acdc48b176b (patch)
tree6af0c434c66f0b1bb0d8cc72c3bd31675218a90e /progs/gallium/python/retrace/interpreter.py
parent11a981fda189515d4ea51ef1709b15e7ce90507d (diff)
python/retrace: Interpret pipe_screen::context_create().
Diffstat (limited to 'progs/gallium/python/retrace/interpreter.py')
-rwxr-xr-xprogs/gallium/python/retrace/interpreter.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/gallium/python/retrace/interpreter.py b/progs/gallium/python/retrace/interpreter.py
index 7277701279..a34122e0e0 100755
--- a/progs/gallium/python/retrace/interpreter.py
+++ b/progs/gallium/python/retrace/interpreter.py
@@ -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)