Skip to content
Snippets Groups Projects
Commit 3faf56ff authored by Emma Anholt's avatar Emma Anholt
Browse files

intel: Add an interface for saving/restoring the batchbuffer state.


This will be used to avoid the prepare() step in the i965 driver's
state setup.  Instead, we can just speculatively emit the primitive
into the batchbuffer, then check if the batch is too big, rollback and
flush, and replay the primitive.

Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
Acked-by: default avatarPaul Berry <stereotype441@gmail.com>
parent db364a8a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment