diff options
author | Armin Berres <armin.berres@basyskom.de> | 2010-10-06 16:10:01 +0200 |
---|---|---|
committer | Stanislav Ionascu <stanislav.ionascu@nokia.com> | 2010-10-26 13:34:45 +0300 |
commit | 631a84bc8489ded19757654f0251d8ba67890d12 (patch) | |
tree | d641c4be63ea514501e904f0a8cc7ccd46d88a9a /src/corelib/theme/imthemedaemon.h | |
parent | 0f1b862a78251df8e66814af0ebf19d9c9d79572 (diff) |
Changes: add support for the meego graphicssystem
RevBy: Michael Dominic K., Stanislav Ionascu, Daniel d'Andrada, Tomas Junnonen
Details:
The meego graphicssystem does not need a QGLWidget anymore
to do hardware rendering. The QGLContext will be created automatically
behind the scenes. Therefor when running with the meego graphcissystem
the QGLWidget will not be created anymore. If the native
graphicssystem is used everything works as before.
Before theme assets have been shared between themedaemon and clients
via X handles. With the meego graphicssystem a new way of sharing is
introduced. A shared QPixmap will be backed up by two images: One
texture used for hardware rendering and one so called soft image used
if the pixmap us used for software rendering. The texture will be
shared via a gl extension between the processed, the image is shared
via shared memory.
Ordinary pixmaps are not backed up by XPixmaps anymore, they will use
raster now.
Diffstat (limited to 'src/corelib/theme/imthemedaemon.h')
-rw-r--r-- | src/corelib/theme/imthemedaemon.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/theme/imthemedaemon.h b/src/corelib/theme/imthemedaemon.h index dae99a8d..5439199e 100644 --- a/src/corelib/theme/imthemedaemon.h +++ b/src/corelib/theme/imthemedaemon.h @@ -24,6 +24,7 @@ #include <QSize> #include <QColor> #include "mnamespace.h" +#include "mpixmaphandle.h" class IMThemeDaemon : public QObject { @@ -55,7 +56,7 @@ public: virtual bool hasPendingRequests() const = 0; signals: - void pixmapCreatedOrChanged(const QString &imageId, const QSize &size, Qt::HANDLE newHandle); + void pixmapCreatedOrChanged(const QString &imageId, const QSize &size, const MPixmapHandle& newHandle); // emitted when theme has been changed void themeChanged(const QStringList &themeInheritance, const QStringList& libraryNames); |