Eric Anholt wrote: > Module: Mesa > Branch: master > Commit: 4f4907d69f9020ce17aef21b6431d2dd65e01982 > URL: > http://cgit.freedesktop.org/mesa/mesa/commit/?id=4f4907d69f9020ce17aef21b6431d2dd65e01982 > > Author: Eric Anholt <[email protected]> > Date: Wed Apr 22 16:24:42 2009 -0700 > > intel: Take advantage of GL_READ_ONLY_ARB to map to GEM bo_map write flag. > > This is a CPU win in general, but in particular reduces the pain of > Mesa's calculation of min/max indices in DrawElements (wtf?).
When drawing/fetching vertex data from a VBO we have to be careful not to go out of the VBO's bounds to avoid a potential X server crash. That's why we need the min/max index info. Though perhaps some hw would be immune to this(?). There's a flag somewhere that turns the bounds checking on/off. It can be off for client-side rendering but should be on for server-side. There's also code for PBO read/write bound checking. -Brian ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
