mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-28 07:58:59 -04:00
scene: add buffer release point to 'sample' event
(cherry picked from commit 1f3d351abb)
This commit is contained in:
parent
c4ff394f7f
commit
2f14845ce0
2 changed files with 29 additions and 2 deletions
|
|
@ -153,6 +153,8 @@ struct wlr_scene_outputs_update_event {
|
|||
struct wlr_scene_output_sample_event {
|
||||
struct wlr_scene_output *output;
|
||||
bool direct_scanout;
|
||||
struct wlr_drm_syncobj_timeline *release_timeline;
|
||||
uint64_t release_point;
|
||||
};
|
||||
|
||||
struct wlr_scene_frame_done_event {
|
||||
|
|
@ -266,6 +268,8 @@ struct wlr_scene_output {
|
|||
|
||||
struct wlr_drm_syncobj_timeline *in_timeline;
|
||||
uint64_t in_point;
|
||||
struct wlr_drm_syncobj_timeline *out_timeline;
|
||||
uint64_t out_point;
|
||||
} WLR_PRIVATE;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue