diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-09-18 00:11:23 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-09-18 11:15:10 +0200 |
commit | 41bd6cee631a16076435984891f2134443ecec31 (patch) | |
tree | 18e89b80a663a6b7980bb7f6f7fe453d5aa75684 /include/damage.h | |
parent | 702c681a9566a0b49e66168f91ceac97e44cef97 (diff) |
Use async_depth option on vaapi for much better encoding performance
Diffstat (limited to 'include/damage.h')
-rw-r--r-- | include/damage.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/damage.h b/include/damage.h index 2bf43d7..7229418 100644 --- a/include/damage.h +++ b/include/damage.h @@ -1,6 +1,7 @@ #ifndef GSR_DAMAGE_H #define GSR_DAMAGE_H +#include "cursor.h" #include "utils.h" #include <stdbool.h> #include <stdint.h> @@ -31,7 +32,7 @@ typedef struct { //vec2i window_pos; vec2i window_size; - vec2i cursor_position; /* Relative to |window| */ + gsr_cursor cursor; /* Relative to |window| */ gsr_monitor monitor; char monitor_name[32]; } gsr_damage; |