diff options
author | Eric Anholt <[email protected]> | 2010-02-05 06:55:20 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-02-06 14:10:07 +0100 |
commit | 3e498207d1a0e95f143bb04b38ca22faf5f91f5d (patch) | |
tree | 4368456be7490a949111e348c6e3a7193a97d459 /src | |
parent | 67e5fd73973eaedf5ec6e0b5139b61f6196fb35c (diff) |
i965: Reset the "need new CURBE BO" flag when we make a new CURBE bo.
Improves cairo-gl gnome-terminal-vim times by 11%.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_curbe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_curbe.c b/src/mesa/drivers/dri/i965/brw_curbe.c index 22e3e732f40..3440523ea75 100644 --- a/src/mesa/drivers/dri/i965/brw_curbe.c +++ b/src/mesa/drivers/dri/i965/brw_curbe.c @@ -318,6 +318,7 @@ static void prepare_constant_buffer(struct brw_context *brw) brw->curbe.curbe_bo = dri_bo_alloc(brw->intel.bufmgr, "CURBE", 4096, 1 << 6); brw->curbe.curbe_next_offset = 0; + brw->curbe.need_new_bo = GL_FALSE; } brw->curbe.curbe_offset = brw->curbe.curbe_next_offset; |