kwin/plugins/scenes/opengl
Vlad Zahorodnii 74391e250e Store repaint regions per individual screen
AnimationEffect schedules repaints in postPaintWindow() and performs
cleanup in preScreenPaint(). With the X11-style rendering, this doesn't
have any issues, scheduled repaints will be reset during the next
compositing cycle.

But with per screen rendering, we might hit the following case

    - Paint screen 0
    - Reset scheduled repaints
    - AnimationEffect::prePaintScreen(): update the timeline
    - AnimationEffect::postPaintScreen(): schedule a repaint

    - Paint screen 1
    - Reset scheduled repaints
    - AnimationEffect::prePaintScreen(): destroy the animation
    - AnimationEffect::postPaintScreen(): no repaint is scheduled

    - Return to the event loop

In this scenario, the repaint region scheduled by AnimationEffect will
be lost when compositing is performed on screen 1.

There is no any other way to fix this issue but maintain repaint regions
per each individual screen if per screen rendering is enabled.

BUG: 428439
2020-10-30 07:24:01 +00:00
..
shaders Move lanczos filter away from KWin core 2019-02-07 18:03:34 +02:00
CMakeLists.txt Undo some recent cmake changes 2019-09-18 13:50:52 +03:00
lanczosfilter.cpp scenes/opengl: Use std::array to store lanczos kernel data 2020-09-09 19:36:26 +00:00
lanczosfilter.h Hopefully fix the build on BSD 2020-09-10 01:06:41 +02:00
opengl.json SVN_SILENT made messages (.desktop file) - always resolve ours 2020-09-30 06:16:48 +02:00
resources.qrc Move lanczos filter away from KWin core 2019-02-07 18:03:34 +02:00
scene_opengl.cpp Store repaint regions per individual screen 2020-10-30 07:24:01 +00:00
scene_opengl.h Clip software cursors 2020-10-26 13:45:55 +02:00