From: José Fonseca Date: Wed, 20 Aug 2008 13:03:12 +0000 (+0100) Subject: python/retrace: Retrace draw_elements and draw_range_elements. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=34cffce33413fe7701975d0d4bd54207bc44cacc;p=mesa.git python/retrace: Retrace draw_elements and draw_range_elements. --- diff --git a/src/gallium/state_trackers/python/retrace/interpreter.py b/src/gallium/state_trackers/python/retrace/interpreter.py index a7a7341e061..7502c096b66 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)