pretty broken.
driContextPriv->driverPrivate = (void *)mmesa;
+ if (driQueryOptionb(&mmesa->optionCache, "no_rast")) {
+ fprintf(stderr, "disabling 3D acceleration\n");
+ FALLBACK(mmesa, MACH64_FALLBACK_DISABLE, 1);
+ }
+
return GL_TRUE;
}
#define MACH64_FALLBACK_SEP_SPECULAR 0x0080
#define MACH64_FALLBACK_BLEND_EQ 0x0100
#define MACH64_FALLBACK_BLEND_FUNC 0x0200
+#define MACH64_FALLBACK_DISABLE 0x0400
#define CARD32 GLuint /* KW: For building in mesa tree */
DRI_CONF_SECTION_PERFORMANCE
DRI_CONF_VBLANK_MODE(DRI_CONF_VBLANK_DEF_INTERVAL_0)
DRI_CONF_SECTION_END
-#if ENABLE_PERF_BOXES
DRI_CONF_SECTION_DEBUG
+ DRI_CONF_NO_RAST(false)
+#if ENABLE_PERF_BOXES
DRI_CONF_PERFORMANCE_BOXES(false)
- DRI_CONF_SECTION_END
#endif
+ DRI_CONF_SECTION_END
DRI_CONF_END;
#if ENABLE_PERF_BOXES
-static const GLuint __driNConfigOptions = 2;
+static const GLuint __driNConfigOptions = 3;
#else
-static const GLuint __driNConfigOptions = 1;
+static const GLuint __driNConfigOptions = 2;
#endif
#ifdef USE_NEW_INTERFACE
tnl->Driver.Render.PrimitiveNotify = mach64RenderPrimitive;
tnl->Driver.Render.ResetLineStipple = _swrast_ResetLineStipple;
tnl->Driver.Render.BuildVertices = mach64BuildVertices;
-
-/* mach64Fallback( ctx, 0x100000, 1 ); */
}