Enable HW VBOs and other things needed by it.

This commit is contained in:
Aapo Tahkola 2006-03-07 05:31:36 +00:00
parent ba7ea2e697
commit dba9c0bafd
2 changed files with 9 additions and 4 deletions

View file

@ -48,9 +48,14 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "radeon_context.h"
#define USE_ARB_F_P 1
//#define USER_BUFFERS
//#define RADEON_VTXFMT_A
//#define HW_VBOS
/* PPC doesnt support 16 bit elts ... */
#ifndef MESA_BIG_ENDIAN
#define USER_BUFFERS
#define RADEON_VTXFMT_A
#define HW_VBOS
#endif
//#define OPTIMIZE_ELTS
#define CB_DPATH

View file

@ -974,7 +974,7 @@ __driCreateNewScreen_20050727( __DRInativeDisplay *dpy,
static const char *driver_name = "R300";
static const __DRIutilversion2 ddx_expected = { 4, 5, 0, 0 };
static const __DRIversion dri_expected = { 4, 0, 0 };
static const __DRIversion drm_expected = { 1, 22, 0 };
static const __DRIversion drm_expected = { 1, 24, 0 };
#endif
dri_interface = interface;