On Fri, Mar 09, 2012 at 06:51:34AM -0500, Francois B. wrote: > > Hi, > > By default eduke32 uses opengl, so on a system without 3d support > this is pretty slow. > > This patch add a flavor to disable the opengl polymost renderer.
I am not sure this is necessary, eduke32 has the option to switch to software renderer at runtime. Did this not work for you? I need to think of a good way to word it, but if it runs so poorly that you can't change to software via the in-game menu, it is possible via editing ~/.eduke32/eduke32.cfg and changing ScreenBPP from 32 to 8. > > best regards, > fb > > On Fri, Mar 09, 2012 at 02:24:25AM -0800, Ryan Freeman wrote: > > On Tue, Mar 06, 2012 at 04:08:39PM -0800, Ryan Freeman wrote: > > > On Tue, Mar 06, 2012 at 03:15:30PM -0800, Ryan Freeman wrote: > > > > Attached is the still-building port of eduke32 that I have > > > > been sitting on for far too long. Antti Harri did most of > > > > the initial work of getting fixes pushed upstream. > > > > > > > > I have pulled a recent snapshot from their repos, and > > > > as those are done daily, we may wish to wait for a real > > > > release, if those happen. Here you go, Edd! > > > > > > > > > > Also: builds/runs good on i386 snapshot built as of yesterday, > > > so with rthreads, and in fact with vmmap patches. > > > > > > > here is a final draft. now including Antti's suggestion that the > > MESSAGE should be README, and a fix to properly honor CC. > > Also some work from Edd to strip excess gcc optimization flags > > from the build, and separate out the shareware data into a > > games/duke3ddata port (will be posted just after) so it matches > > our current games/doomdata port. comments? ok? > > > > > --- Makefile.orig Fri Mar 9 06:25:14 2012 > +++ Makefile Fri Mar 9 06:08:06 2012 > @@ -22,6 +22,9 @@ > BUILD_DEPENDS += devel/nasm > .endif > > +FLAVORS= no_opengl > +FLAVOR?= > + > WANTLIB = SDL c m pthread stdc++ SDL_mixer>=3 vorbisfile vpx > > LIB_DEPENDS = audio/libvorbis \ > @@ -34,7 +37,13 @@ > MASTER_SITES = > http://dukeworld.duke4.net/eduke32/synthesis/${RDATE}-${RTAG}/ > > SEPERATE_BUILD =concurrent > + > +.if ${FLAVOR:Mno_opengl} > +MAKE_FLAGS = PRETTY_OUTPUT=0 USE_OPENGL=0 CC="${CC}" CXX="${CXX}" > +.else > MAKE_FLAGS = PRETTY_OUTPUT=0 CC="${CC}" CXX="${CXX}" > +.endif > + > USE_GMAKE = Yes > NO_REGRESS = Yes >