From 6b341662b3bbde7e86b3b9184266412da1b27977 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 31 Oct 2011 17:07:34 -0700 Subject: intel: Improve the debug info for renderbuffer allocation. --- src/mesa/drivers/dri/intel/intel_fbo.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c index 4537f1fb97b..b7f07bb40ee 100644 --- a/src/mesa/drivers/dri/intel/intel_fbo.c +++ b/src/mesa/drivers/dri/intel/intel_fbo.c @@ -26,6 +26,7 @@ **************************************************************************/ +#include "main/enums.h" #include "main/imports.h" #include "main/macros.h" #include "main/mfeatures.h" @@ -154,10 +155,9 @@ intel_alloc_renderbuffer_storage(struct gl_context * ctx, struct gl_renderbuffer intel_region_release(&irb->hiz_region); } - /* allocate new memory region/renderbuffer */ - - /* alloc hardware renderbuffer */ - DBG("Allocating %d x %d Intel RBO\n", width, height); + DBG("%s: %s: %s (%dx%d)\n", __FUNCTION__, + _mesa_lookup_enum_by_nr(internalFormat), + _mesa_get_format_name(rb->Format), width, height); tiling = I915_TILING_NONE; if (intel->use_texture_tiling) { -- cgit v1.2.3