summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-10-31 17:07:34 -0700
committerEric Anholt <[email protected]>2011-11-01 15:42:17 -0700
commit6b341662b3bbde7e86b3b9184266412da1b27977 (patch)
tree00acf322c62e0021f65b3af1ea63ea6e16038bc7 /src
parent76d1275474d7b5ac2f0edf5856ae1c5fc234f0d9 (diff)
intel: Improve the debug info for renderbuffer allocation.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/intel/intel_fbo.c8
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 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) {