diff options
author | Eric Anholt <[email protected]> | 2011-11-15 12:53:18 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-11-22 13:58:38 -0800 |
commit | 3d798abc818326a377bbbdaac29058ac7b41e1a0 (patch) | |
tree | 2cdaf253e1fc7d88ca8df83ccbf0f8944dc2c105 /src | |
parent | 05ab8fc13461aa9d6612d75c899dac20de067da6 (diff) |
intel: Improve debug output for begin/finish render texture.
I've never seen a use for the thread ID value, but knowing the format
being rendered is kind of a big deal.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_fbo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c index 9005402ea20..3fa0661ab32 100644 --- a/src/mesa/drivers/dri/intel/intel_fbo.c +++ b/src/mesa/drivers/dri/intel/intel_fbo.c @@ -1226,8 +1226,8 @@ intel_render_texture(struct gl_context * ctx, return; } - DBG("Begin render texture tid %lx tex=%u w=%d h=%d refcount=%d\n", - _glthread_GetID(), + DBG("Begin render %s texture tex=%u w=%d h=%d refcount=%d\n", + _mesa_get_format_name(image->TexFormat), att->Texture->Name, image->Width, image->Height, irb->Base.RefCount); @@ -1280,8 +1280,8 @@ intel_finish_render_texture(struct gl_context * ctx, tex_obj->Image[att->CubeMapFace][att->TextureLevel]; struct intel_texture_image *intel_image = intel_texture_image(image); - DBG("Finish render texture tid %lx tex=%u\n", - _glthread_GetID(), att->Texture->Name); + DBG("Finish render %s texture tex=%u\n", + _mesa_get_format_name(image->TexFormat), att->Texture->Name); /* Flag that this image may now be validated into the object's miptree. */ if (intel_image) |