projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11a981f
)
python/retrace: Interpret pipe_screen::context_create().
author
José Fonseca
<jfonseca@vmware.com>
Sun, 14 Feb 2010 12:48:11 +0000
(12:48 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Sun, 14 Feb 2010 12:48:11 +0000
(12:48 +0000)
progs/gallium/python/retrace/interpreter.py
patch
|
blob
|
history
diff --git
a/progs/gallium/python/retrace/interpreter.py
b/progs/gallium/python/retrace/interpreter.py
index 7277701279c9c86c275dddd6ac46ae76b97ca7b7..a34122e0e0f1074d3b1319d00a4122360f43e8d0 100755
(executable)
--- 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)