2020-03-20 09:34:08 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
|
|
|
|
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
|
|
|
|
<kcfgfile name="kwinrc"/>
|
|
|
|
|
|
|
|
<group name="KDE">
|
|
|
|
<entry name="AnimationDurationFactor" type="Double">
|
|
|
|
<default>1.0</default>
|
|
|
|
</entry>
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<group name="Compositing">
|
|
|
|
|
KCM/Compositing: Use KConfig XT in UI
Summary:
Use KConfig XT to manage most fields of the KCM.
Simplify code.
Depends on D27955
Test Plan: No functional change
Reviewers: #kwin, ervin, crossi, bport, hchain, zzag
Reviewed By: #kwin, ervin, bport, zzag
Subscribers: anthonyfieroni, zzag, kwin
Tags: #kwin
Differential Revision: https://phabricator.kde.org/D27988
2020-04-20 08:10:45 +00:00
|
|
|
<entry name="HiddenPreviews" type="Enum">
|
|
|
|
<default>Shown</default>
|
|
|
|
<choices>
|
|
|
|
<choice name="Off" value="4"/>
|
|
|
|
<choice name="Shown" value="5"/>
|
|
|
|
<choice name="Always" value="6"/>
|
|
|
|
</choices>
|
2020-03-20 09:34:08 +00:00
|
|
|
</entry>
|
|
|
|
|
|
|
|
<entry name="glTextureFilter" key="GLTextureFilter" type="Int">
|
KCM/Compositing: Use KConfig XT in UI
Summary:
Use KConfig XT to manage most fields of the KCM.
Simplify code.
Depends on D27955
Test Plan: No functional change
Reviewers: #kwin, ervin, crossi, bport, hchain, zzag
Reviewed By: #kwin, ervin, bport, zzag
Subscribers: anthonyfieroni, zzag, kwin
Tags: #kwin
Differential Revision: https://phabricator.kde.org/D27988
2020-04-20 08:10:45 +00:00
|
|
|
<default>2</default>
|
2020-03-20 09:34:08 +00:00
|
|
|
</entry>
|
|
|
|
|
KCM/Compositing: Use KConfig XT in UI
Summary:
Use KConfig XT to manage most fields of the KCM.
Simplify code.
Depends on D27955
Test Plan: No functional change
Reviewers: #kwin, ervin, crossi, bport, hchain, zzag
Reviewed By: #kwin, ervin, bport, zzag
Subscribers: anthonyfieroni, zzag, kwin
Tags: #kwin
Differential Revision: https://phabricator.kde.org/D27988
2020-04-20 08:10:45 +00:00
|
|
|
<entry name="XRenderSmoothScale" type="Enum">
|
|
|
|
<default>Crisp</default>
|
|
|
|
<choices>
|
|
|
|
<choice name="Crisp" value="false" />
|
|
|
|
<choice name="Smooth" value="true" />
|
|
|
|
</choices>
|
2020-03-20 09:34:08 +00:00
|
|
|
</entry>
|
|
|
|
|
|
|
|
<entry name="Enabled" type="Bool">
|
|
|
|
<default>true</default>
|
|
|
|
</entry>
|
|
|
|
|
|
|
|
<entry name="OpenGLIsUnsafe" type="Bool">
|
|
|
|
<default>true</default>
|
|
|
|
</entry>
|
|
|
|
|
|
|
|
<entry name="glPreferBufferSwap" key="GLPreferBufferSwap" type="Enum">
|
KCM/Compositing: Use KConfig XT in UI
Summary:
Use KConfig XT to manage most fields of the KCM.
Simplify code.
Depends on D27955
Test Plan: No functional change
Reviewers: #kwin, ervin, crossi, bport, hchain, zzag
Reviewed By: #kwin, ervin, bport, zzag
Subscribers: anthonyfieroni, zzag, kwin
Tags: #kwin
Differential Revision: https://phabricator.kde.org/D27988
2020-04-20 08:10:45 +00:00
|
|
|
<default>AutoSwapStrategy</default>
|
2020-03-20 09:34:08 +00:00
|
|
|
<choices>
|
KCM/Compositing: Use KConfig XT in UI
Summary:
Use KConfig XT to manage most fields of the KCM.
Simplify code.
Depends on D27955
Test Plan: No functional change
Reviewers: #kwin, ervin, crossi, bport, hchain, zzag
Reviewed By: #kwin, ervin, bport, zzag
Subscribers: anthonyfieroni, zzag, kwin
Tags: #kwin
Differential Revision: https://phabricator.kde.org/D27988
2020-04-20 08:10:45 +00:00
|
|
|
<choice name="AutoSwapStrategy" value="a" />
|
|
|
|
<choice name="ExtendDamage" value="e" />
|
|
|
|
<choice name="PaintFullScreen" value="p" />
|
|
|
|
<choice name="CopyFrontBuffer" value="c" />
|
2020-03-20 09:34:08 +00:00
|
|
|
</choices>
|
|
|
|
</entry>
|
|
|
|
|
|
|
|
<entry name="Backend" type="Enum">
|
|
|
|
<default>OpenGL</default>
|
|
|
|
<choices>
|
|
|
|
<choice name="OpenGL" />
|
|
|
|
<choice name="XRender" />
|
|
|
|
</choices>
|
|
|
|
</entry>
|
|
|
|
|
|
|
|
<entry name="glCore" key="GLCore" type="Bool">
|
|
|
|
<default>false</default>
|
|
|
|
</entry>
|
|
|
|
|
|
|
|
<entry name="WindowsBlockCompositing" type="Bool">
|
|
|
|
<default>true</default>
|
|
|
|
</entry>
|
|
|
|
|
Introduce RenderLoop
At the moment, our frame scheduling infrastructure is still heavily
based on Xinerama-style rendering. Specifically, we assume that painting
is driven by a single timer, etc.
This change introduces a new type - RenderLoop. Its main purpose is to
drive compositing on a specific output, or in case of X11, on the
overlay window.
With RenderLoop, compositing is synchronized to vblank events. It
exposes the last and the next estimated presentation timestamp. The
expected presentation timestamp can be used by effects to ensure that
animations are synchronized with the upcoming vblank event.
On Wayland, every outputs has its own render loop. On X11, per screen
rendering is not possible, therefore the platform exposes the render
loop for the overlay window. Ideally, the Scene has to expose the
RenderLoop, but as the first step towards better compositing scheduling
it's good as is for the time being.
The RenderLoop tries to minimize the latency by delaying compositing as
close as possible to the next vblank event. One tricky thing about it is
that if compositing is too close to the next vblank event, animations
may become a little bit choppy. However, increasing the latency reduces
the choppiness.
Given that, there is no any "silver bullet" solution for the choppiness
issue, a new option has been added in the Compositing KCM to specify the
amount of latency. By default, it's "Medium," but if a user is not
satisfied with the upstream default, they can tweak it.
2020-11-19 08:52:29 +00:00
|
|
|
<entry name="LatencyPolicy" type="Enum">
|
|
|
|
<choices name="LatencyPolicy">
|
|
|
|
<choice name="LatencyExtremelyLow" value="ExtremelyLow"/>
|
|
|
|
<choice name="LatencyLow" value="Low"/>
|
|
|
|
<choice name="LatencyMedium" value="Medium"/>
|
|
|
|
<choice name="LatencyHigh" value="High"/>
|
|
|
|
<choice name="LatencyExtremelyHigh" value="ExtremelyHigh"/>
|
|
|
|
</choices>
|
|
|
|
<default>LatencyMedium</default>
|
|
|
|
</entry>
|
|
|
|
|
2020-03-20 09:34:08 +00:00
|
|
|
</group>
|
|
|
|
|
|
|
|
</kcfg>
|