Mesa (mesa_7_5_branch): python/retrace: Interpret surface_copy.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Wed Jul 15 08:02:44 PDT 2009


Module: Mesa
Branch: mesa_7_5_branch
Commit: 0474b5cb2ac4cefa12e7080aba397013325fb9a6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0474b5cb2ac4cefa12e7080aba397013325fb9a6

Author: José Fonseca <jfonseca at vmware.com>
Date:   Wed Jul 15 15:37:27 2009 +0100

python/retrace: Interpret surface_copy.

---

 .../state_trackers/python/retrace/interpreter.py   |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/gallium/state_trackers/python/retrace/interpreter.py b/src/gallium/state_trackers/python/retrace/interpreter.py
index 5885e16..e018a6e 100755
--- a/src/gallium/state_trackers/python/retrace/interpreter.py
+++ b/src/gallium/state_trackers/python/retrace/interpreter.py
@@ -591,6 +591,10 @@ class Context(Object):
         self.real.draw_range_elements(indexBuffer, indexSize, minIndex, maxIndex, mode, start, count)
         self._set_dirty()
         
+    def surface_copy(self, dest, destx, desty, src, srcx, srcy, width, height):
+        if dest is not None and src is not None:
+            self.real.surface_copy(dest, destx, desty, src, srcx, srcy, width, height)
+
     def is_texture_referenced(self, texture, face, level):
         #return self.real.is_texture_referenced(format, texture, face, level)
         pass



More information about the mesa-commit mailing list