MiniMap rendering should be done using OpenGL

Bug #1395634 reported by SirVer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Won't Fix
Low
Unassigned

Bug Description

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

Right now the MiniMap renderer draws the minimap pixel by pixel. We could draw it more flexible by reusing functionality from the terrain renderer and draw it using OpenGL. This might make it possible to draw it at different sizes too, though drawing and later resizing might still bet a better solution.

Should investigation show that it is not feasible to change this rendering step from using OpenGL, we should instead render into an SDL_Surface so that the direct pixel access functionality in our surface class can be killed eventually.

SirVer (sirver)
Changed in widelands:
importance: Undecided → Low
Revision history for this message
TiborB (tiborb95) wrote :

I noticed that the minimap slows down the fps significantly, so it would be nice if this issue was mitigated or eliminated at all :)

GunChleoc (gunchleoc)
tags: added: graphics
removed: graphic
Revision history for this message
kaputtnik (franku) wrote :

The attached savegame slows down fps from avg 30 to avg 15 when the minimap get opened.

Revision history for this message
GunChleoc (gunchleoc) wrote :
Changed in widelands:
status: Confirmed → Won't Fix
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.