Remove maxfps, graphic update and all update methods in the UI classes and just redraw the screen at 60 fps

Bug #1395630 reported by SirVer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Medium
Unassigned

Bug Description

This is a rendering improvement made possible through the removal of the software renderer.

The UI especially tries to keep track of which parts of the screen are 'dirty' and need redrawing. There is also the g_gr->update() method that will force redraw the screen.

With OpenGL these concepts are not useful - redrawing the screen is very cheap, usually cheaper than redrawing only parts of it. We can remove these and just redraw the screen at 60 frames per second. This means also getting rid of maxfps.

Related branches

SirVer (sirver)
tags: added: opengl
SirVer (sirver)
Changed in widelands:
importance: Undecided → Medium
assignee: nobody → SirVer (sirver)
milestone: none → build19-rc1
Revision history for this message
SirVer (sirver) wrote :

Our rendering is not performant enough to redraw everything at 60fps all the time, but the update() can now be removed. See attached branch.

Changed in widelands:
status: Confirmed → In Progress
Revision history for this message
SirVer (sirver) wrote :

Calling this done. Removing maxfps is not viable right now though, since rendering is still too slow to do it at 60fps on any machine :(.

Changed in widelands:
status: In Progress → Fix Committed
assignee: SirVer (sirver) → nobody
GunChleoc (gunchleoc)
tags: added: graphics
removed: graphic
GunChleoc (gunchleoc)
Changed in widelands:
status: Fix Committed → Fix Released
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in build19-rc1.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.