[Kde-games-devel] Review Request: New classes KGameRenderer and KGameRenderedItem
Stefan Majewsky
majewsky at gmx.net
Fri Jun 18 19:57:06 CEST 2010
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/4283/
-----------------------------------------------------------
(Updated 2010-06-18 17:57:05.885092)
Review request for KDE Games.
Changes
-------
Sync with my Git (see http://git.bethselamin.de/ for clone URL). New features include:
- multithreaded rendering
- shared caches per theme
- boundsOnSprite API
Summary (updated)
-------
KGameRenderer is a small SVG->PNG rendering framework for use in KDE games, which shall be added to libkdegames in the 4.6 cycle. For the story behind it, see http://kde.markmail.org/message/plfkwfeoni6nvpk2
Most important features:
- management of SVG themes (via KGameTheme and QSvgRenderer)
- reading of animated sprites (i.e. multiple SVG elements which are displayed one after the other to obtain an animation)
- multithreaded rendering
- two caching levels (in-process QHashes and shared KSharedDataCache)
- integration with QGraphicsView through the KGameRenderedItem class
- integrability with any existing implementations through the KGameRendererClient base class
Diffs (updated)
-----
trunk/KDE/kdegames/libkdegames/CMakeLists.txt 1138526
trunk/KDE/kdegames/libkdegames/includes/CMakeLists.txt 1138526
trunk/KDE/kdegames/libkdegames/includes/KGameRenderedItem PRE-CREATION
trunk/KDE/kdegames/libkdegames/includes/KGameRenderer PRE-CREATION
trunk/KDE/kdegames/libkdegames/includes/KGameRendererClient PRE-CREATION
trunk/KDE/kdegames/libkdegames/kgamerendereditem.h PRE-CREATION
trunk/KDE/kdegames/libkdegames/kgamerendereditem.cpp PRE-CREATION
trunk/KDE/kdegames/libkdegames/kgamerenderer.h PRE-CREATION
trunk/KDE/kdegames/libkdegames/kgamerenderer.cpp PRE-CREATION
trunk/KDE/kdegames/libkdegames/kgamerenderer_p.h PRE-CREATION
trunk/KDE/kdegames/libkdegames/kgamerendererclient.h PRE-CREATION
trunk/KDE/kdegames/libkdegames/kgamerendererclient.cpp PRE-CREATION
Diff: http://reviewboard.kde.org/r/4283/diff
Testing (updated)
-------
I have ported KDiamond to KGameRenderer (in a local Git working branch). The port is stable and much faster, both in animation performance and startup time. (Memory consumption has not yet been tested.)
Thanks,
Stefan
More information about the kde-games-devel
mailing list