python/retrace: Interpret surface_copy.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 15 Jul 2009 14:37:27 +0000 (15:37 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 15 Jul 2009 15:02:39 +0000 (16:02 +0100)
src/gallium/state_trackers/python/retrace/interpreter.py

index 5885e162c28c864dbcbaa0236aa48236d13debad..e018a6e96b1e5a251d5117377eebd4f0e72adc56 100755 (executable)
@@ -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