mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 09:07:13 +09:00
Add support for desktop portal capture (-w portal)
This commit is contained in:
16
include/capture/portal.h
Normal file
16
include/capture/portal.h
Normal file
@@ -0,0 +1,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 */
|
||||
Reference in New Issue
Block a user