mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-26 06:59:52 -05:00
output: add wlr_output::damage, fixes #572
This commit is contained in:
parent
baa17ec755
commit
bde255933e
6 changed files with 50 additions and 19 deletions
|
|
@ -2,6 +2,7 @@
|
|||
#define WLR_TYPES_WLR_OUTPUT_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <pixman.h>
|
||||
#include <wayland-util.h>
|
||||
#include <wayland-server.h>
|
||||
|
||||
|
|
@ -51,8 +52,8 @@ struct wlr_output {
|
|||
float scale;
|
||||
enum wl_output_subpixel subpixel;
|
||||
enum wl_output_transform transform;
|
||||
bool needs_swap;
|
||||
|
||||
pixman_region32_t damage;
|
||||
float transform_matrix[16];
|
||||
|
||||
// Note: some backends may have zero modes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue