From: Aapo Tahkola Date: Tue, 7 Mar 2006 05:31:36 +0000 (+0000) Subject: Enable HW VBOs and other things needed by it. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dba9c0bafd889d30f044d1e2e870b07ed60efd0a;p=mesa.git Enable HW VBOs and other things needed by it. --- 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;