Module: Mesa
Branch: master
Commit: 00413d87426f14df47d90ba3c995e1889e9f88ca
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=00413d87426f14df47d90ba3c995e1889e9f88ca

Author: Eric Anholt <e...@anholt.net>
Date:   Fri Aug 28 15:01:56 2009 -0700

i965: Use VBOs in the VBO module on 965, now that we have ARB_map_buffer_range.

This looks like it's a small win on blender.

---

 src/mesa/drivers/dri/i965/brw_context.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_context.c 
b/src/mesa/drivers/dri/i965/brw_context.c
index 3c5b848..e76e9fd 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -167,6 +167,8 @@ GLboolean brwCreateContext( const __GLcontextModes *mesaVis,
 
    brw_draw_init( brw );
 
+   vbo_use_buffer_objects(ctx);
+
    return GL_TRUE;
 }
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to