summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-08-20 14:03:12 +0100
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-08-20 16:57:51 +0100
commit34cffce33413fe7701975d0d4bd54207bc44cacc (patch)
treeae6fe1fd5bde07c6b78de3a5e41bb9d1ca6206a8
parent1d881b8e8472ff49482b2b0404ac29160f096771 (diff)
python/retrace: Retrace draw_elements and draw_range_elements.
-rwxr-xr-xsrc/gallium/state_trackers/python/retrace/interpreter.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/python/retrace/interpreter.py b/src/gallium/state_trackers/python/retrace/interpreter.py
index a7a7341e06..7502c096b6 100755
--- a/src/gallium/state_trackers/python/retrace/interpreter.py
+++ b/src/gallium/state_trackers/python/retrace/interpreter.py
@@ -403,6 +403,12 @@ class Context(Object):
def draw_arrays(self, mode, start, count):
self.real.draw_arrays(mode, start, count)
+
+ def draw_elements(self, indexBuffer, indexSize, mode, start, count):
+ self.real.draw_elements(indexBuffer, indexSize, mode, start, count)
+
+ def draw_range_elements(self, indexBuffer, indexSize, minIndex, maxIndex, mode, start, count):
+ self.real.draw_range_elements(indexBuffer, indexSize, minIndex, maxIndex, mode, start, count)
def flush(self, flags):
self.real.flush(flags)