projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
152aa63
)
[i915] Reenable batchbuffer debug under INTEL_DEBUG=bat.
author
Eric Anholt
<eric@anholt.net>
Thu, 25 Oct 2007 18:31:15 +0000
(11:31 -0700)
committer
Eric Anholt
<eric@anholt.net>
Fri, 16 Nov 2007 23:36:18 +0000
(15:36 -0800)
src/mesa/drivers/dri/intel/intel_batchbuffer.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_batchbuffer.c
b/src/mesa/drivers/dri/intel/intel_batchbuffer.c
index
8ece6d2
..
9ec60fc
100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_batchbuffer.c
+++ b/
src/mesa/drivers/dri/intel/intel_batchbuffer.c
@@
-168,10
+168,10
@@
do_flush_locked(struct intel_batchbuffer *batch,
}
if (INTEL_DEBUG & DEBUG_BATCH) {
-
//
dri_bo_map(batch->buf, GL_FALSE);
-
// intel_decode(ptr
, used / 4, batch->buf->offset,
-
//
intel->intelScreen->deviceID);
-
//
dri_bo_unmap(batch->buf);
+ dri_bo_map(batch->buf, GL_FALSE);
+
intel_decode(batch->buf->virtual
, used / 4, batch->buf->offset,
+ intel->intelScreen->deviceID);
+ dri_bo_unmap(batch->buf);
}
}