From: Eric Anholt Date: Tue, 1 Nov 2011 00:07:34 +0000 (-0700) Subject: intel: Improve the debug info for renderbuffer allocation. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b341662b3bbde7e86b3b9184266412da1b27977;p=mesa.git intel: Improve the debug info for renderbuffer allocation. --- 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) {