[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 12:11:50 UTC 2011


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

(Updated Oct. 3, 2011, 12:11 p.m.)


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 (updated)
-------

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

I have tested all of kdegames for visible regressions with "-graphicssystem raster". The only problem (in KBounce) is fixed in trunk by revision 1257154, and backported to 4.7 in revision 1257156.


Thanks,

Stefan Majewsky

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


More information about the kde-games-devel mailing list