aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/color_conversion.h2
-rw-r--r--include/utils.h1
-rw-r--r--include/window/window.h1
3 files changed, 4 insertions, 0 deletions
diff --git a/include/color_conversion.h b/include/color_conversion.h
index c079edd..ff3f008 100644
--- a/include/color_conversion.h
+++ b/include/color_conversion.h
@@ -40,6 +40,8 @@ typedef struct {
gsr_color_range color_range;
bool load_external_image_shader;
+
+ bool kde_gamma_correction;
} gsr_color_conversion_params;
typedef struct {
diff --git a/include/utils.h b/include/utils.h
index 8837c13..f9b41b9 100644
--- a/include/utils.h
+++ b/include/utils.h
@@ -50,6 +50,7 @@ drm_connector_type_count* drm_connector_types_get_index(drm_connector_type_count
uint32_t monitor_identifier_from_type_and_count(int monitor_type_index, int monitor_type_count);
bool gl_get_gpu_info(gsr_egl *egl, gsr_gpu_info *info);
+bool version_greater_than(int major, int minor, int patch, int other_major, int other_minor, int other_patch);
bool gl_driver_version_greater_than(const gsr_gpu_info *gpu_info, int major, int minor, int patch);
bool try_card_has_valid_plane(const char *card_path);
diff --git a/include/window/window.h b/include/window/window.h
index 7839f6a..9e391ed 100644
--- a/include/window/window.h
+++ b/include/window/window.h
@@ -21,6 +21,7 @@ struct gsr_window {
void* (*get_display)(gsr_window *self);
void* (*get_window)(gsr_window *self);
void (*for_each_active_monitor_output_cached)(const gsr_window *self, active_monitor_callback callback, void *userdata);
+ bool (*is_compositor_kwin)(const gsr_window *self); /* can be NULL. Is currently only defined for Wayland */
void *priv;
};