Minor performance improvements

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
User avatar
Rachael
Developer
Developer
Posts: 3651
Joined: Sat May 13, 2006 10:30

Minor performance improvements

Post by Rachael »

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.
Attachments
MinorGLImprovements.diff.gz
(693 Bytes) Downloaded 77 times
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Minor performance improvements

Post by Graf Zahl »

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.
User avatar
Rachael
Developer
Developer
Posts: 3651
Joined: Sat May 13, 2006 10:30

Re: Minor performance improvements

Post by Rachael »

Fair enough, then.
Locked

Return to “GZDoom”