kwin/backends/drm
Martin Gräßlin a029300ce5 Rework cursor image handling for Wayland
So far updating the cursor image was not really defined. It was possible
to use the cursor image from the wayland seat or have a custom set cursor
image. But there are no rules in place to decide which one to use when.

With this change a dedicated CursorImage class is introduced which tracks
the cursor image changes on the seat, on the decoration, in the effects
and so on. In addition it tracks which is the current source for the
image, that is whether e.g. the cursor from the seat or from effects
override should be used. Whenever the cursor image changes a signal is
emitted, which is connected to the signal in AbstractBackend.

Based on that the backends can directly show the image. The existing
code in the backends to install a cursor shape or to install the cursor
from the server is completely dropped. For the backend it's irrelevant
from where the image comes from.

A new feature added is that the cursor image is marked as rendered. This
is then passed on to the frame rendered in the Surface and thus animated
cursors are finally working. Unfortunately animated cursors are broken in
Qt (see https://bugreports.qt.io/browse/QTBUG-48181 ).
2016-02-25 08:14:48 +01:00
..
CMakeLists.txt Create a plugin for each of the wayland backends 2015-05-06 10:31:39 +02:00
drm.json SVN_SILENT made messages (.desktop file) 2016-01-10 14:47:34 +00:00
drm_backend.cpp Rework cursor image handling for Wayland 2016-02-25 08:14:48 +01:00
drm_backend.h Rework cursor image handling for Wayland 2016-02-25 08:14:48 +01:00
egl_gbm_backend.cpp Add pure virtual OpenGLBackend::init() method 2015-11-26 08:33:07 +01:00
egl_gbm_backend.h Add pure virtual OpenGLBackend::init() method 2015-11-26 08:33:07 +01:00
logging.cpp Change default logging category to QtCriticalMsg 2015-07-31 13:29:58 +02:00
logging.h [wayland] Dedicate logging category for each of the backends 2015-05-05 17:47:03 +02:00
scene_qpainter_drm_backend.cpp
scene_qpainter_drm_backend.h
screens_drm.cpp [drm] Implement Screens::refreshRate 2015-05-19 09:49:37 +02:00
screens_drm.h [drm] Implement Screens::refreshRate 2015-05-19 09:49:37 +02:00