Module: Mesa Branch: master Commit: 6b341662b3bbde7e86b3b9184266412da1b27977 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b341662b3bbde7e86b3b9184266412da1b27977
Author: Eric Anholt <[email protected]> Date: Mon Oct 31 17:07:34 2011 -0700 intel: Improve the debug info for renderbuffer allocation. --- 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 4537f1f..b7f07bb 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) { _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
