Make OpenGL the standard renderer
Bug #887093 reported by
SirVer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Low
|
Shevonar |
Bug Description
I suggest making the OpenGL renderer the standard one. It is way faster than the SDL one and basically all devices have openGL these days. We could still fall back to SDL on problems, but I vote for making OpenGL standard. This also includes removing the highly experimental tag it still has in the advanced options.
Note that it would be cool to fix bug 722196 beforehand, but I do not see it as a prerequisite really.
I'd like to hear more opinions though.
Related branches
lp:~shevonar/widelands/opengl
- Widelands Developers: Pending requested
-
Diff: 1106 lines (+541/-129)16 files modifiedChangeLog (+7/-1)
src/graphic/graphic.cc (+20/-4)
src/graphic/graphic.h (+3/-1)
src/graphic/render/gameview.cc (+12/-79)
src/graphic/render/gameview.h (+6/-6)
src/graphic/render/gameview_opengl.cc (+101/-0)
src/graphic/render/gameview_opengl.h (+54/-0)
src/graphic/render/gameview_sdl.cc (+105/-0)
src/graphic/render/gameview_sdl.h (+50/-0)
src/graphic/render/terrain_opengl.h (+130/-19)
src/graphic/texture.cc (+31/-6)
src/graphic/texture.h (+2/-2)
src/ui_fsmenu/options.cc (+3/-3)
src/wlapplication.cc (+7/-4)
src/wui/mapview.cc (+10/-3)
worlds/greenland/terrainconf (+0/-1)
Changed in widelands: | |
status: | New → Incomplete |
importance: | Undecided → Low |
milestone: | none → build17-rc1 |
Changed in widelands: | |
assignee: | nobody → Shevonar (shevonar) |
status: | Incomplete → In Progress |
To post a comment you must log in.
>We could still fall back to SDL on problems, but I vote for making OpenGL standard.
Would this be possible to do automatically if the system (/device) does not support OpenGL without any user interaction? In other words, how do we plan to handle this? I just envision some user who attempts to start a new game, gets a black screen, doesn't know about the SDL-mode and is unable to play the game. Then again even my five year old laptop ran WL with opengl, so I don't know how much of a problem this actually is.
Oh, and I would prefer bug 722196 was fixed up-front, since this is the main reason why I currently don't use the opengl-mode.