From c8433af711c1ec102bfaded742be964545464a42 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 5 Feb 2010 07:08:51 -0800 Subject: i965: Keep the CURBE BO mapped and memcpy instead of subdataing. For the tiny bis of data we generally upload through the CURBEs, the overhead of the kernel's pagetable trickery is actually rather high. This improves cairo-gl gnome-terminal-vim performance by 3.8%. --- src/mesa/drivers/dri/i965/brw_context.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/mesa/drivers/dri/i965/brw_context.h') diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index 79818b92b7..21c4cd38a7 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -572,11 +572,6 @@ struct brw_context GLfloat *last_buf; GLuint last_bufsz; - /** - * Whether we should create a new bo instead of reusing the old one - * (if we just dispatch the batch pointing at the old one. - */ - GLboolean need_new_bo; } curbe; struct { -- cgit v1.2.3