Mesa (mesa_7_5_branch): python/retrace: Interpret is_texture_referenced/ is_buffer_referenced.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Thu Jun 11 12:47:29 PDT 2009


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

Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Jun 11 19:24:48 2009 +0100

python/retrace: Interpret is_texture_referenced/is_buffer_referenced.

---

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

diff --git a/src/gallium/state_trackers/python/retrace/interpreter.py b/src/gallium/state_trackers/python/retrace/interpreter.py
index 5d4d044..7374904 100755
--- a/src/gallium/state_trackers/python/retrace/interpreter.py
+++ b/src/gallium/state_trackers/python/retrace/interpreter.py
@@ -577,6 +577,14 @@ class Context(Object):
         self.real.draw_range_elements(indexBuffer, indexSize, minIndex, maxIndex, mode, start, count)
         self._set_dirty()
         
+    def is_texture_referenced(self, texture, face, level):
+        #return self.real.is_texture_referenced(format, texture, face, level)
+        pass
+    
+    def is_buffer_referenced(self, buf):
+        #return self.real.is_buffer_referenced(format, buf)
+        pass
+    
     def _set_dirty(self):
         if self.interpreter.options.step:
             self._present()



More information about the mesa-commit mailing list