diff options
author | Eric Anholt <[email protected]> | 2013-04-11 17:58:09 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-04-21 12:28:03 -0700 |
commit | cbe8b75b586b22006783af0ed1ebba87b00ce61a (patch) | |
tree | 04e2a6a72b8769b8cf77f2c7341720521989d051 /src/mesa/drivers | |
parent | 9fb5b2f45c1daf7a6add3d369e616cfba51aacf4 (diff) |
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]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | 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 2342f1939b9..996518b4e92 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); |