mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-08 13:29:45 -05:00
Introduce wlr_output_layer
This new API allows compositors to display buffers without needing to perform rendering operations. This API can be implemented on Wayland using subsurfaces and on DRM using KMS planes. The goal is to make use of this API in a future scene-graph API. References: https://github.com/swaywm/wlroots/issues/1826
This commit is contained in:
parent
e13f3f8608
commit
999826a11a
7 changed files with 289 additions and 2 deletions
11
include/types/wlr_output_layer.h
Normal file
11
include/types/wlr_output_layer.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#ifndef TYPES_WLR_OUTPUT_LAYER_H
|
||||
#define TYPES_WLR_OUTPUT_LAYER_H
|
||||
|
||||
#include <wlr/types/wlr_output_layer.h>
|
||||
|
||||
void output_layer_destroy(struct wlr_output_layer *layer);
|
||||
void output_layer_state_move(struct wlr_output_layer_state *dst,
|
||||
struct wlr_output_layer_state *src);
|
||||
void output_layer_state_clear(struct wlr_output_layer_state *state);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue