Enable HW VBOs and other things needed by it.
authorAapo Tahkola <aet@rasterburn.org>
Tue, 7 Mar 2006 05:31:36 +0000 (05:31 +0000)
committerAapo Tahkola <aet@rasterburn.org>
Tue, 7 Mar 2006 05:31:36 +0000 (05:31 +0000)
src/mesa/drivers/dri/r300/r300_context.h
src/mesa/drivers/dri/radeon/radeon_screen.c

index cbd476bc569362deb19b10eefeb3bdcb37fa8bc2..278319b14f146bb1be039ae80527b9c436b0cc70 100644 (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
 
index e0ba164356488b7075dce804aa4f9dea02bdeba2..9cbb88f265ebc7beea1530b05d733a5a78f0f983 100644 (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;