projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c058917
)
add debugging for compresssed textures
author
Dave Airlie
<airliedfreedesktop.org>
Thu, 15 Jul 2004 10:51:17 +0000
(10:51 +0000)
committer
Dave Airlie
<airliedfreedesktop.org>
Thu, 15 Jul 2004 10:51:17 +0000
(10:51 +0000)
src/mesa/drivers/dri/i915/intel_tex.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i915/intel_tex.c
b/src/mesa/drivers/dri/i915/intel_tex.c
index 42505725e8a6de2d1625972c96f257c24fca63ea..4e22d7e3f77305574385bb006ba4e5790f0c6e2f 100644
(file)
--- a/
src/mesa/drivers/dri/i915/intel_tex.c
+++ b/
src/mesa/drivers/dri/i915/intel_tex.c
@@
-617,6
+617,13
@@
static void intelUploadTexImage( intelContextPtr intel,
GLubyte *src = (GLubyte *)image->Data;
GLuint j;
+ if (INTEL_DEBUG & DEBUG_TEXTURE)
+ fprintf(stderr,
+ "Upload image %dx%dx%d offset %xm row_len %x "
+ "pitch %x depth_pitch %x\n",
+ image->Width, image->Height, image->Depth, offset,
+ row_len, t->Pitch, t->depth_pitch);
+
switch(image->IntFormat)
{
case GL_COMPRESSED_RGB_FXT1_3DFX: