python/retrace: Retrace draw_elements and draw_range_elements.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Wed, 20 Aug 2008 13:03:12 +0000 (14:03 +0100)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Wed, 20 Aug 2008 15:57:51 +0000 (16:57 +0100)
src/gallium/state_trackers/python/retrace/interpreter.py

index a7a7341e061b945a594587c693e08df9c255b3b2..7502c096b66d54c10aeca0c6f409671373a26823 100755 (executable)
@@ -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)