[Kde-games-devel] Review Request: Choose raster graphicssystem by default in all apps linking against libkdegames

Stefan Majewsky majewsky at gmx.net
Mon Oct 3 10:26:46 UTC 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://svn.reviewboard.kde.org/r/6810/
-----------------------------------------------------------

Review request for KDE Games.


Description
-------

Various games already choose the raster graphicssystem manually in their main(), because it has way better rendering performance than the older X11 graphicssystem. This change implements this choice of graphicssystem in libkdegames, as a static object. For Qt 4.7, this improves the rendering performance in all games immediately, sometimes the improvement is drastical. For example, in Kolf, when the ball moves over the Kolf banner on the intro screen, the animation is very flaky with the X11 graphicssystem, but fluent with the raster graphicssystem.

As far as I remember, Qt 4.8 will choose the raster graphicssystem by default, so this patch could be removed again when we require Qt >= 4.8. This patch is mainly interesting for users of Qt 4.7 (which is why I propose to also backport this patch to 4.7.3).


This addresses bug 277590.
    https://bugs.kde.org/show_bug.cgi?id=277590


Diffs
-----

  trunk/KDE/kdegames/libkdegames/CMakeLists.txt 1257072 
  trunk/KDE/kdegames/libkdegames/chooserastergraphicssystem.cpp PRE-CREATION 

Diff: http://svn.reviewboard.kde.org/r/6810/diff/diff


Testing
-------

Compiled Kolf against patched libkdegames and started it. Rendering performance indicates that correct graphicssystem is selected.


Thanks,

Stefan Majewsky

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20111003/ddf15532/attachment.html>


More information about the kde-games-devel mailing list