OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e918519
)
python/retrace: Reconstruct blend state from binary blobs.
author
José Fonseca
<jfonseca@vmware.com>
Mon, 15 Feb 2010 00:25:43 +0000
(
00:25
+0000)
committer
José Fonseca
<jfonseca@vmware.com>
Mon, 15 Feb 2010 00:25:43 +0000
(
00:25
+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
a34122e
..
2db71a2
100755
(executable)
--- a/
progs/gallium/python/retrace/interpreter.py
+++ b/
progs/gallium/python/retrace/interpreter.py
@@
-376,6
+376,9
@@
class Context(Object):
pass
def create_blend_state(self, state):
+ if isinstance(state, str):
+ state = gallium.Blend(state)
+ sys.stdout.write('\t%s\n' % state)
return state
def bind_blend_state(self, state):