mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-06-13 14:32:57 -04:00
Merge branch 'feat/capture-duration' into 'master'
Draft: ext-image-copy-capture: emit capture_time event See merge request wlroots/wlroots!5356
This commit is contained in:
commit
84e7f2103f
2 changed files with 27 additions and 9 deletions
|
|
@ -10,9 +10,10 @@
|
|||
#define WLR_TYPES_WLR_EXT_IMAGE_COPY_CAPTURE_V1_H
|
||||
|
||||
#include <pixman.h>
|
||||
#include <stdint.h>
|
||||
#include <time.h>
|
||||
#include <wayland-server-protocol.h>
|
||||
#include <wayland-protocols/ext-image-copy-capture-v1-enum.h>
|
||||
#include <time.h>
|
||||
|
||||
struct wlr_renderer;
|
||||
|
||||
|
|
@ -58,6 +59,8 @@ struct wlr_ext_image_copy_capture_frame_v1 {
|
|||
|
||||
struct {
|
||||
struct wlr_ext_image_copy_capture_session_v1 *session;
|
||||
struct timespec capture_time;
|
||||
bool capture_time_valid;
|
||||
} WLR_PRIVATE;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue