kwin/plugins/platforms/x11/standalone
Roman Gilg ad892ce3a6 [platforms/x11] Remove triple buffering detection
Summary:
It is not clear what the advantage of triple buffering is for KWin. An X11
compositor is meant to swap buffers once every monitor cycle. For that triple
buffering is not necessary.

The functionality is not maintained, does not reliably work as displayed by
the existence of an environment variable to force some behavior, pollutes
our code and every compositing-related problem that might be mitigated with
triple buffering should find a simpler and more fitting solution with other
means.

There is one caveat which is if we shall block for retrace. We set it
currently according to the result of the swap profiler and in the most common
case with double buffering it is set to true. But on Nvidia systems this might
be actual the wrong behavior. Instead of trying to work around this ignore
the issue for now and move the overall architecture to something less complex
by presenting after paint how we do it in the Wayland DRM backend and with
double buffering on GLX (although this is at the moment also borken because
we actually present then twice).

Test Plan: kwin_x11 tested on i915.

Reviewers: #kwin, zzag

Reviewed By: #kwin, zzag

Subscribers: zzag, fredrik, kwin

Tags: #kwin

Maniphest Tasks: T11071

Differential Revision: https://phabricator.kde.org/D23504
2019-11-14 08:38:36 +01:00
..
CMakeLists.txt [libkwineffects] Introduce API to easily show a QtQuick scene in an effect 2019-09-27 16:11:05 +01:00
edge.cpp
edge.h Use more traditional doxygen style 2019-07-29 22:06:19 +03:00
effects_mouse_interception_x11_filter.cpp
effects_mouse_interception_x11_filter.h
effects_x11.cpp [platforms/x11] Properly unload effects on X11 2019-03-11 09:23:24 +02:00
effects_x11.h [platforms/x11] Properly unload effects on X11 2019-03-11 09:23:24 +02:00
glx_context_attribute_builder.cpp
glx_context_attribute_builder.h
glxbackend.cpp [platforms/x11] Remove triple buffering detection 2019-11-14 08:38:36 +01:00
glxbackend.h [platforms/x11] Remove triple buffering detection 2019-11-14 08:38:36 +01:00
logging.cpp
logging.h
non_composited_outline.cpp
non_composited_outline.h Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00
overlaywindow_x11.cpp Use nullptr everywhere 2019-09-19 17:48:21 +03:00
overlaywindow_x11.h Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00
screenedges_filter.cpp
screenedges_filter.h
screens_xrandr.cpp Split Compositor class in Wayland and X11 child classes 2019-08-07 21:06:53 +02:00
screens_xrandr.h Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00
sync_filter.cpp Rename Client to X11Client 2019-09-25 21:11:37 +03:00
sync_filter.h
windowselector.cpp Rename Client to X11Client 2019-09-25 21:11:37 +03:00
windowselector.h Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00
x11.json SVN_SILENT made messages (.desktop file) - always resolve ours 2019-07-23 05:20:30 +02:00
x11_decoration_renderer.cpp Rename Client to X11Client 2019-09-25 21:11:37 +03:00
x11_decoration_renderer.h Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00
x11_output.cpp Backport Night Color feature to X11 2019-06-17 12:09:04 +03:00
x11_output.h [platforms/x11] Delete duplicate doxygen comments in X11Output 2019-08-28 12:06:56 +03:00
x11_platform.cpp [platforms/x11/standalone] Fix stored refresh rate 2019-08-20 14:02:43 +02:00
x11_platform.h Use more traditional doxygen style 2019-07-29 22:06:19 +03:00
x11cursor.cpp
x11cursor.h Use more traditional doxygen style 2019-07-29 22:06:19 +03:00
xfixes_cursor_event_filter.cpp
xfixes_cursor_event_filter.h
xinputintegration.cpp Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00
xinputintegration.h Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00