This is a code patch I made a few weeks ago that aimed to improve framerate while in OpenGL mode.
It really didn't do much to achieve that, the results were very minor, but when talking about it with a few friends they said even minor improvements are better than none at all.
All this patch does is skip more of the Software code while you're in OpenGL mode.
I have no idea on its stability, and I do know that the improvements are very slim.
But even so, it should hopefully put less of a load on the CPU, especially in higher resolutions, maybe making GZDoom slightly more ATI friendly?
I've purposely not committed this patch, because I think it needs the opinion of more experienced coders before it goes anywhere. As of now, I cannot continue it because I do not have a working compiler system set up.
Minor performance improvements
Moderator: Graf Zahl
- Rachael
- Developer
- Posts: 3651
- Joined: Sat May 13, 2006 10:30
Minor performance improvements
- Attachments
-
- MinorGLImprovements.diff.gz
- (693 Bytes) Downloaded 77 times
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Re: Minor performance improvements
With the exception of R_SetupBuffer the functions you put this in will never be called when the GL renderer is active. R_SetupBuffer only gets called when the resolution changes in GL mode. All other calls are also in software renderer code only.
As a result the gain of this patch is precisely: zero.
As a result the gain of this patch is precisely: zero.
- Rachael
- Developer
- Posts: 3651
- Joined: Sat May 13, 2006 10:30
Re: Minor performance improvements
Fair enough, then.