aboutsummaryrefslogtreecommitdiff
path: root/include/capture/portal.h
blob: 989b042874aa1db4d78e698516fb21e14a261e4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef GSR_CAPTURE_PORTAL_H
#define GSR_CAPTURE_PORTAL_H

#include "capture.h"

typedef struct {
    gsr_egl *egl;
    gsr_color_range color_range;
    bool hdr;
    bool record_cursor;
    bool restore_portal_session;
} gsr_capture_portal_params;

gsr_capture* gsr_capture_portal_create(const gsr_capture_portal_params *params);

#endif /* GSR_CAPTURE_PORTAL_H */