kwin/plugins/platforms/drm
Vlad Zahorodnii 0ceff5fd24 Swap buffers after finishing a compositing cycle
The compositing timing algorithm assumes that glXSwapBuffers() and
eglSwapBuffers() block. While this was true long time ago with NVIDIA
drivers, nowadays, it's not the case. The NVIDIA driver queues
several buffers in advance and if the application runs out of them,
it will block. With Mesa driver, swapping buffer was never blocking.

This change makes the render backends swap buffers right after ending
a compositing cycle. This may potentially block, but it shouldn't be
an issue with modern drivers. In case it gets proven, we can move
glXSwapBuffers() and eglSwapBuffers() in a separate thread.

Note that this change breaks the compositing timing algorithm, but
it's already sort of broken with Mesa drivers.
2021-01-06 16:59:29 +00:00
..
abstract_egl_drm_backend.cpp Move Scene::isPerScreenRenderingEnabled() to Platform 2020-12-02 15:32:30 +00:00
abstract_egl_drm_backend.h Move Scene::isPerScreenRenderingEnabled() to Platform 2020-12-02 15:32:30 +00:00
CMakeLists.txt Drop Platform::createScreens() 2020-12-21 09:20:16 +00:00
drm.json SVN_SILENT made messages (.desktop file) - always resolve ours 2020-09-30 06:16:48 +02:00
drm_backend.cpp Drop Platform::createScreens() 2020-12-21 09:20:16 +00:00
drm_backend.h Drop Platform::createScreens() 2020-12-21 09:20:16 +00:00
drm_buffer.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
drm_buffer.h Prettify license headers 2020-08-07 19:57:56 +00:00
drm_buffer_gbm.cpp Create egl backend for multiple backends and enable multi-gpu usage for the gbm backend 2020-11-28 17:53:41 +00:00
drm_buffer_gbm.h Create egl backend for multiple backends and enable multi-gpu usage for the gbm backend 2020-11-28 17:53:41 +00:00
drm_gpu.cpp Fix login modeset 2020-12-15 20:20:10 +00:00
drm_gpu.h Prevent EGL headers from including Xlib headers 2020-12-10 11:15:06 +02:00
drm_inputeventfilter.cpp Prefer function pointer to slot string 2020-11-07 02:56:44 +01:00
drm_inputeventfilter.h Prettify license headers 2020-08-07 19:57:56 +00:00
drm_object.cpp Detect some DrmConnector properties and ignore non-desktop displays 2020-10-25 19:18:06 +00:00
drm_object.h Detect some DrmConnector properties and ignore non-desktop displays 2020-10-25 19:18:06 +00:00
drm_object_connector.cpp Detect some DrmConnector properties and ignore non-desktop displays 2020-10-25 19:18:06 +00:00
drm_object_connector.h Trim trailing whitespace 2020-11-28 11:01:47 +00:00
drm_object_crtc.cpp Automatically detect the proprietary NVidia driver and use EGLStreams accordingly 2020-10-25 17:47:58 +00:00
drm_object_crtc.h Trim trailing whitespace 2020-11-28 11:01:47 +00:00
drm_object_plane.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
drm_object_plane.h Prettify license headers 2020-08-07 19:57:56 +00:00
drm_output.cpp Drop Platform::createScreens() 2020-12-21 09:20:16 +00:00
drm_output.h Drop Screens::supportsTransformations 2020-12-17 07:36:50 +00:00
drm_pointer.h Automatically detect the proprietary NVidia driver and use EGLStreams accordingly 2020-10-25 17:47:58 +00:00
edid.cpp wayland: Make sure EDID are being fed to wayland outputs 2020-10-29 14:57:50 +00:00
edid.h wayland: Make sure EDID are being fed to wayland outputs 2020-10-29 14:57:50 +00:00
egl_gbm_backend.cpp Swap buffers after finishing a compositing cycle 2021-01-06 16:59:29 +00:00
egl_gbm_backend.h Swap buffers after finishing a compositing cycle 2021-01-06 16:59:29 +00:00
egl_multi_backend.cpp Swap buffers after finishing a compositing cycle 2021-01-06 16:59:29 +00:00
egl_multi_backend.h Swap buffers after finishing a compositing cycle 2021-01-06 16:59:29 +00:00
egl_stream_backend.cpp Swap buffers after finishing a compositing cycle 2021-01-06 16:59:29 +00:00
egl_stream_backend.h Swap buffers after finishing a compositing cycle 2021-01-06 16:59:29 +00:00
gbm_dmabuf.cpp Do not try to create a gbm dmabuf when gbm is not available 2020-09-15 15:45:44 +02:00
gbm_dmabuf.h Prettify license headers 2020-08-07 19:57:56 +00:00
gbm_surface.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
gbm_surface.h Prettify license headers 2020-08-07 19:57:56 +00:00
logging.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
logging.h Prettify license headers 2020-08-07 19:57:56 +00:00
scene_qpainter_drm_backend.cpp Move Scene::isPerScreenRenderingEnabled() to Platform 2020-12-02 15:32:30 +00:00
scene_qpainter_drm_backend.h Move Scene::isPerScreenRenderingEnabled() to Platform 2020-12-02 15:32:30 +00:00