mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-24 15:15:58 +01:00
0683f7ca7e
Linear buffer layouts are supported by most gpu vendors and as such should be compatible in mixed mutli gpu setup where the implicit modifier of one gpu is not supported by the other. This option should make xdpw work in these environemnts. The option is marked as experimental since it might be removed if explicit modifiers provide a better solution.
25 lines
544 B
C
25 lines
544 B
C
#ifndef CONFIG_H
|
|
#define CONFIG_H
|
|
|
|
#include "logger.h"
|
|
#include "screencast_common.h"
|
|
|
|
struct config_screencast {
|
|
char *output_name;
|
|
double max_fps;
|
|
char *exec_before;
|
|
char *exec_after;
|
|
char *chooser_cmd;
|
|
enum xdpw_chooser_types chooser_type;
|
|
bool force_mod_linear;
|
|
};
|
|
|
|
struct xdpw_config {
|
|
struct config_screencast screencast_conf;
|
|
};
|
|
|
|
void print_config(enum LOGLEVEL loglevel, struct xdpw_config *config);
|
|
void finish_config(struct xdpw_config *config);
|
|
void init_config(char ** const configfile, struct xdpw_config *config);
|
|
|
|
#endif
|