Bug 3721 - GL cleanup patch
Status: RESOLVED WORKSFORME
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Video
Version: unspecified
Hardware: PC Linux
: P3 enhancement
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2008-07-15 19:35 EDT by Scott Brooks
Modified: 2010-01-18 18:03:40 EST
2 users (show)

See Also:


Attachments
patch for cleaning up the gl calls (14.28 KB, patch)
2008-07-15 19:36 EDT, Scott Brooks

Description Scott Brooks 2008-07-15 19:35:28 EDT
this patch cleans up the gl calls to get rid of glBegin/glEnd calls, to make the quake3 gl calls closer to OpenGL ES
Comment 1 Scott Brooks 2008-07-15 19:36:21 EDT
Created attachment 1807 [details]
patch for cleaning up the gl calls

based off rev 1305 of svn
Comment 2 Ludwig Nussel 2008-11-02 13:19:12 EST
anyone else with an opinion on that patch?

btw the patch doesn't apply anymore though and it contains some whitespace errors (lines that only contain whitespace)

Comment 3 Tim Angus 2008-11-02 16:35:08 EST
I'm not sure this really helps much unless you're wanting to do an ES port. On the other hand I don't think this particularly hurts anything, so I'm ambivalent.
Comment 4 Ludwig Nussel 2008-11-03 12:09:43 EST
The patch causes a 12% fps decrease in timedemo four for me so I didn't apply it. Scott, could you investigate what's causing this?
Comment 5 Tim Angus 2009-09-14 07:05:39 EDT
Struggling to see the point of this patch really.
Comment 6 Monk 2009-10-06 23:41:34 EDT
Just in case anyone was wondering about the speed drop:

"the reason that gles patch ran slower was because of the shadow support"

And now we know!  Someone was recently chatting about N900 support ( http://www.nokian900.com/ )and some mix of converting ioq3 to GLES and some quick and dirty VBO support for some talk he was giving at some symposium or conference.  So maybe there's some other interest in this kind of stuff.  

I don't know if there will ever be official interest in a mobile port of ioq3, but this info might be of use of anyone churning through bugzilla for info on any GLES conversions. 

Though probably anyone interested will just roll their own or base it off of XreaL which has done a bunch of GLES stuff already, I think.
Comment 7 Monk 2010-01-18 18:03:40 EST
This is oddly more relevent now.  In the ioq3 irc channel today we had 1 iphone porter, 1 n900 porter, and 2 android porters.  Looks like there's more interest on ioq3 on mobile platforms now.