From 3d798abc818326a377bbbdaac29058ac7b41e1a0 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 15 Nov 2011 12:53:18 -0800 Subject: [PATCH] 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 --- src/mesa/drivers/dri/intel/intel_fbo.c | 8 ++++---- 1 file 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) -- 2.30.2