summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/intel/intel_batchbuffer.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-01-14 11:03:05 -0800
committerEric Anholt <eric@anholt.net>2008-01-17 13:55:42 -0800
commit8517079cbcbbf31291b05420f3b776df712dfd47 (patch)
tree5bc8f3c51b30e62ed07ebed389a9125b1d4045f5 /src/mesa/drivers/dri/intel/intel_batchbuffer.h
parentfaeb1bc9f9c5935ecbd32c17d81507d5061a6270 (diff)
[i915] Fix driver from cliprects changes, and clean up state emission.
The fix for pageflipping with cliprects ended up causing a batch flush at an inopportune time, which is fixed by moving it up. Additionally, the recovery code for handling batch wraps at bad times is replaced by just checking for the space up front, and using a no_batch_wrap assert like on 965 to make sure that we weren't wrong about how much space that was.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_batchbuffer.h')
-rw-r--r--src/mesa/drivers/dri/intel/intel_batchbuffer.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_batchbuffer.h b/src/mesa/drivers/dri/intel/intel_batchbuffer.h
index 23d4e0fad5..2d636df2ce 100644
--- a/src/mesa/drivers/dri/intel/intel_batchbuffer.h
+++ b/src/mesa/drivers/dri/intel/intel_batchbuffer.h
@@ -50,7 +50,6 @@ struct intel_batchbuffer
GLuint size;
GLuint dirty_state;
- GLuint id;
};
struct intel_batchbuffer *intel_batchbuffer_alloc(struct intel_context