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

Eric Anholt anholt at kemper.freedesktop.org
Fri Aug 28 22:31:06 UTC 2009


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

Author: Eric Anholt <eric at 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;
 }
 




More information about the mesa-commit mailing list