Skip to content
Commit 5933a216 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Introduce render layers

This is the first tiny step towards the layer-based compositing in kwin.
The RenderLayer represents a layer with some contents. The actual
contents is represented by the RenderLayerDelegate class.

Currently, the RenderLayer is just a simple class responsible for
geometry, and repaints, but it will grow in the future. For example,
render layers need to form a tree.

The next (missing) biggest component in the layer-based compositing are
output layers. When output layers are added, each render layer would
have an output layer assigned to it or have its output layer inherited
from the parent.

The render layer tree wouldn't be affected by changes to the output
layer tree so transition between software and hardware cursors can be
seamless.

The next big milestone will be to try to port some of existing kwin
functionality to the RenderLayer, e.g. software cursor or screen edges.
parent 65ccfd33
  • Fushan Wen @fusionfuture ·
    Developer

    This commit introduces a regression in PanelView on X11. The panel has a high chance to become invisible on login if the panel is on the external screen, while the laptop screen is disabled.

    But after I turned off and on the visibility of the PanelView, the panel appeared again.

    图片

    Edited by Fushan Wen
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment