Age | Commit message (Collapse) | Author |
|
RevBy: TrustMe
Details: the theme path is changed,
and the path to the device configs
was missing a path separator.
|
|
RevBy: Tomas Junnonen
|
|
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.
|
|
RevBy: Holger Schröder
Details:
The remote themedaemon keeps statistics about the most used
pixmaps and preloads them at app startup.
So far the local themedaemon also did this. This means every
app started e.g. in scratchbox where no necessarily a themedaemon
is running started to preload pixmaps. Apart from that different
apps would simply override the stats of other running apps.
|
|
RevBy: Armin Berres
Details:
The purpose of MThemeResourceManager has been to improve the performance
of SVG-loading by reusing existing SVG renderer instances. But keeping
the SVG renderer instances for some time leads to a very dynamic
allocation of the memory and some fragmentation. So even after all SVG
renderer instances have been deleted, the dirty memory of the themedaemon
is very high. As the SVGs get cached anyhow in the meantime, this kind of
performance optimization can be dropped now in favor of the memory demand.
|
|
RevBy: Jörgen
Details:
Can used by the theme to notify the themedaemon about
an update.
|
|
RevBy: Peter
Details:
So far the themedaemon loads pixmaps based on a first come first
serve base. When a bunch of applications request of lot of pixmaps,
this happens e.g. at startup or during a theme change it is pure
pure chance which item is loaded first. In the worst case an
invisible background application receives its pixmaps before the
forground application.
With this commit all pixmap requests have a priority. The highest
priority have currently visible applications, the lowest one pre-
started ones. Invisible not prestarted applications come in
between. Additionally via a conf file a set of applications be be
specified which have a fixed priority. Right now the forground
app has a priority of 100, sysuid 90, duihome = 80,
meego-im-uiserver 70. This means they will be updated before the
invisible applications which have a priority of 0. Change
themedaemonpriorities.conf if other values are needed.
|
|
RevBy: Peter
Details:
So far the themedaemon only saved the statistics about most used pixmaps
when it has been terminated gracefully.
Now it will save them whenever they change (should not happen really often
when phone is used for some time) but not more often than 10 seconds.
|
|
is switched (example: arabic) is not working
RevBy: Tomas Junnonen
Details: Added support for localizing all the graphics assets (images, icons, svgs).
Previously only icons could be localized.
|
|
performance
RevBy: Armin Berres
Details: When changing the theme, creating MThemeImageDirectory instances is quite expensive and can take up to around 1 second per instance. Reusing existing instances, like e. g. the base theme directory, improves the performance.
|
|
Fixes: NB#171458 - Need a signal to detect when the theme change is complete
RevBy: Tomas Junnonen
Details: This patch adds a delayed pixmap deletion, so that the applications
have time to refresh their graphics first. Applications will send a message to
the daemon when they have finished theme change. When all applications have sent
this message, the daemon will delete the pixmaps and broadcast theme-change-completed
packet.
MTheme::themeChangeCompleted() signal has been added.
|
|
RevBy: Armin Berres
Details: We agreed upon X-MeeGoTouch-Metatheme as the
type and section name for theme index files. This patch
adapts libmeegotouch to it.
|
|
RevBy: TrustMe
Details: The cache directories have been hardcoded in the sources so far,
but as they have a common prefix this should not happen.
The main problem ist that the cache dir for css files have been wrong
and mapplications therefor could not save the binary css files.
The prefix is not configurable via ./configure, I do not consider this
useful.
|
|
RevBy: Tomas
Details: This makes the themedaemon work with both libdui and
libmeegotouch style theme index files.
|
|
By: Holger, Daniel, Janne
RevBy: Tomas, Holger
|