From dba9c0bafd889d30f044d1e2e870b07ed60efd0a Mon Sep 17 00:00:00 2001 From: Aapo Tahkola Date: Tue, 7 Mar 2006 05:31:36 +0000 Subject: [PATCH] Enable HW VBOs and other things needed by it. --- src/mesa/drivers/dri/r300/r300_context.h | 11 ++++++++--- src/mesa/drivers/dri/radeon/radeon_screen.c | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/mesa/drivers/dri/r300/r300_context.h b/src/mesa/drivers/dri/r300/r300_context.h index cbd476bc569..278319b14f1 100644 --- a/src/mesa/drivers/dri/r300/r300_context.h +++ b/src/mesa/drivers/dri/r300/r300_context.h @@ -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 diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c index e0ba1643564..9cbb88f265e 100644 --- a/src/mesa/drivers/dri/radeon/radeon_screen.c +++ b/src/mesa/drivers/dri/radeon/radeon_screen.c @@ -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; -- 2.30.2