projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce518f4
)
python: s/num_cbufs/nr_cbufs/
author
José Fonseca
<jfonseca@vmware.com>
Tue, 24 Mar 2009 21:18:54 +0000
(21:18 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Wed, 25 Mar 2009 21:03:10 +0000
(21:03 +0000)
src/gallium/state_trackers/python/retrace/interpreter.py
patch
|
blob
|
history
src/gallium/state_trackers/python/samples/tri.py
patch
|
blob
|
history
src/gallium/state_trackers/python/tests/texture.py
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/python/retrace/interpreter.py
b/src/gallium/state_trackers/python/retrace/interpreter.py
index e6999a2211ea58459c41841429ac3c206b76979c..3050904ece3ae50146635a5da8f608580d2bae53 100755
(executable)
--- a/
src/gallium/state_trackers/python/retrace/interpreter.py
+++ b/
src/gallium/state_trackers/python/retrace/interpreter.py
@@
-396,7
+396,7
@@
class Context(Object):
_state = gallium.Framebuffer()
_state.width = state.width
_state.height = state.height
- _state.n
um_cbufs = state.num
_cbufs
+ _state.n
r_cbufs = state.nr
_cbufs
for i in range(len(state.cbufs)):
_state.set_cbuf(i, state.cbufs[i])
_state.set_zsbuf(state.zsbuf)
diff --git
a/src/gallium/state_trackers/python/samples/tri.py
b/src/gallium/state_trackers/python/samples/tri.py
index d3ccb6c2f466324eef1acc0b14453c7f26c842e8..ae065c5b9ae33325690f5a7aaba87adfd7f5afd3 100644
(file)
--- a/
src/gallium/state_trackers/python/samples/tri.py
+++ b/
src/gallium/state_trackers/python/samples/tri.py
@@
-139,7
+139,7
@@
def test(dev):
fb = Framebuffer()
fb.width = width
fb.height = height
- fb.n
um
_cbufs = 1
+ fb.n
r
_cbufs = 1
fb.set_cbuf(0, _cbuf)
ctx.set_framebuffer(fb)
_cbuf.clear_value = 0x00000000
diff --git
a/src/gallium/state_trackers/python/tests/texture.py
b/src/gallium/state_trackers/python/tests/texture.py
index 880a61306c95858701b16eb01eb5f36309e9aea5..8cec57e2a60ebabac8893d1ad2682a16810debd5 100644
(file)
--- a/
src/gallium/state_trackers/python/tests/texture.py
+++ b/
src/gallium/state_trackers/python/tests/texture.py
@@
-234,7
+234,7
@@
class TextureTest(TestCase):
fb = Framebuffer()
fb.width = width
fb.height = height
- fb.n
um
_cbufs = 1
+ fb.n
r
_cbufs = 1
fb.set_cbuf(0, cbuf)
ctx.set_framebuffer(fb)
ctx.surface_clear(cbuf, 0x00000000)