aboutsummaryrefslogtreecommitdiff
path: root/include/GsrInfo.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/GsrInfo.hpp')
-rw-r--r--include/GsrInfo.hpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/GsrInfo.hpp b/include/GsrInfo.hpp
index a8c0742..156125b 100644
--- a/include/GsrInfo.hpp
+++ b/include/GsrInfo.hpp
@@ -20,6 +20,11 @@ namespace gsr {
bool vp9 = false;
};
+ struct SupportedImageFormats {
+ bool jpeg = false;
+ bool png = false;
+ };
+
struct GsrMonitor {
std::string name;
mgl::vec2i size;
@@ -42,6 +47,7 @@ namespace gsr {
struct SupportedCaptureOptions {
bool window = false;
+ bool region = false;
bool focused = false;
bool portal = false;
std::vector<GsrMonitor> monitors;
@@ -63,7 +69,8 @@ namespace gsr {
UNKNOWN,
AMD,
INTEL,
- NVIDIA
+ NVIDIA,
+ BROADCOM
};
struct GpuInfo {
@@ -75,6 +82,7 @@ namespace gsr {
SystemInfo system_info;
GpuInfo gpu_info;
SupportedVideoCodecs supported_video_codecs;
+ SupportedImageFormats supported_image_formats;
};
enum class GsrInfoExitStatus {