mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 09:07:13 +09:00
Attempt to fix incorrect hdr colors on kde plasma 6.2
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user