diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-06-09 22:07:52 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-06-09 22:07:52 +0200 |
commit | 3ba1dbda98fcf221eb92d241b753ccdef9eb2a08 (patch) | |
tree | 12043c848fd0b644c41ffc15834b95f4ac871e28 /include | |
parent | a849d2cdadbc0460cf62ddbd790c982f46143198 (diff) |
Fix screen and portal capture not working on some intel gpus
Diffstat (limited to 'include')
-rw-r--r-- | include/color_conversion.h | 2 | ||||
-rw-r--r-- | include/egl.h | 2 | ||||
-rw-r--r-- | include/pipewire_video.h | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/include/color_conversion.h b/include/color_conversion.h index 76d8be5..cb074a1 100644 --- a/include/color_conversion.h +++ b/include/color_conversion.h @@ -50,6 +50,7 @@ typedef struct { gsr_color_range color_range; bool load_external_image_shader; + bool force_graphics_shader; } gsr_color_conversion_params; typedef struct { @@ -77,6 +78,7 @@ void gsr_color_conversion_deinit(gsr_color_conversion *self); void gsr_color_conversion_draw(gsr_color_conversion *self, unsigned int texture_id, vec2i destination_pos, vec2i destination_size, vec2i source_pos, vec2i source_size, vec2i texture_size, gsr_rotation rotation, gsr_source_color source_color, bool external_texture, bool alpha_blending); void gsr_color_conversion_clear(gsr_color_conversion *self); +void gsr_color_conversion_read_destination_texture(gsr_color_conversion *self, int destination_texture_index, int x, int y, int width, int height, unsigned int color_format, unsigned int data_format, void *pixels); gsr_rotation gsr_monitor_rotation_to_rotation(gsr_monitor_rotation monitor_rotation); diff --git a/include/egl.h b/include/egl.h index 8e7496c..0b6a034 100644 --- a/include/egl.h +++ b/include/egl.h @@ -141,8 +141,6 @@ typedef void(*__GLXextFuncPtr)(void); #define GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS 0x90EB #define GL_TEXTURE0 0x84C0 #define GL_TEXTURE1 0x84C1 -#define GL_CLAMP_TO_BORDER 0x812D -#define GL_TEXTURE_BORDER_COLOR 0x1004 #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020 #define GL_ALL_BARRIER_BITS 0xFFFFFFFF diff --git a/include/pipewire_video.h b/include/pipewire_video.h index 92622b8..b593630 100644 --- a/include/pipewire_video.h +++ b/include/pipewire_video.h @@ -65,6 +65,7 @@ typedef struct { struct spa_video_info format; int server_version_sync; bool negotiated; + bool renegotiated; bool damaged; struct { |