diff options
author | Aapo Tahkola <[email protected]> | 2006-03-07 05:31:36 +0000 |
---|---|---|
committer | Aapo Tahkola <[email protected]> | 2006-03-07 05:31:36 +0000 |
commit | dba9c0bafd889d30f044d1e2e870b07ed60efd0a (patch) | |
tree | 1af39b12f2b3bd0983e4dd2cf913d491cb0cae29 | |
parent | ba7ea2e697715b0dc7b31befe28847f88a123ecf (diff) |
Enable HW VBOs and other things needed by it.
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_context.h | 11 | ||||
-rw-r--r-- | 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; |