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

Author: Eric Anholt <[email protected]>
Date:   Thu Apr 11 17:58:09 2013 -0700

intel: Mention how much data we're trying to subdata in perf debug.

Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>

---

 src/mesa/drivers/dri/intel/intel_buffer_objects.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/intel/intel_buffer_objects.c 
b/src/mesa/drivers/dri/intel/intel_buffer_objects.c
index 2342f19..996518b 100644
--- a/src/mesa/drivers/dri/intel/intel_buffer_objects.c
+++ b/src/mesa/drivers/dri/intel/intel_buffer_objects.c
@@ -211,8 +211,9 @@ intel_bufferobj_subdata(struct gl_context * ctx,
         intel_bufferobj_alloc_buffer(intel, intel_obj);
         drm_intel_bo_subdata(intel_obj->buffer, 0, size, data);
       } else {
-         perf_debug("Using a blit copy to avoid stalling on glBufferSubData() "
-                    "to a busy buffer object.\n");
+         perf_debug("Using a blit copy to avoid stalling on %ldb "
+                    "glBufferSubData() to a busy buffer object.\n",
+                    (long)size);
         drm_intel_bo *temp_bo =
            drm_intel_bo_alloc(intel->bufmgr, "subdata temp", size, 64);
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to