D22215: WIP: [platforms/drm] Introduce DrmDevice class
Vlad Zagorodniy <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
zzag created this revision. zzag added a reviewer: KWin. Herald added a project: KWin. Herald added a subscriber: kwin. zzag requested review of this revision. REVISION SUMMARY This change is a prerequisite for multi-GPU support. Overall, the desired design: - there are multiple DrmDevice devices; - all DrmDevice devices form master-slave relationship, where master device, aka primary device, is used for all rendering and exporting PRIME buffers; - Each DRM object is associated with one particular DRM device. In general it would be nice to refactor rendering infrastructure in kwin, perhaps we need several "renderers." One that is used for rendering the scene, and the other one is used to render cursors (animated cursors is PITA). The DrmDevice class is currently a no-op. I submitted this change just to let you know what I'm working on. REPOSITORY R108 KWin BRANCH platform-drm-device REVISION DETAIL https://phabricator.kde.org/D22215 AFFECTED FILES CMakeLists.txt autotests/libinput/context_test.cpp autotests/libinput/mock_udev.cpp libinput/connection.cpp libinput/context.cpp libinput/context.h plugins/platforms/drm/CMakeLists.txt plugins/platforms/drm/drm_backend.cpp plugins/platforms/drm/drm_backend.h plugins/platforms/drm/drm_device.cpp plugins/platforms/drm/drm_device.h plugins/platforms/drm/drm_device_manager.cpp plugins/platforms/drm/drm_device_manager.h plugins/platforms/fbdev/fb_backend.cpp tests/CMakeLists.txt toolkit/udev_context.cpp toolkit/udev_context.h toolkit/udev_device.cpp toolkit/udev_device.h toolkit/udev_enumerator.cpp toolkit/udev_enumerator.h toolkit/udev_monitor.cpp toolkit/udev_monitor.h udev.cpp udev.h To: zzag, #kwin Cc: kwin, LeGast00n, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart