From 934dd7b904f69ed3e2ce8b8f97d92d301d5ae7a3 Mon Sep 17 00:00:00 2001 From: Nikita Tokarchuk Date: Sat, 20 Jul 2024 21:48:33 +0200 Subject: [PATCH] Fix merge glitches --- desktop-shell/shell.c | 23 ----------------------- libweston/renderer-gl/fragment.glsl | 3 --- 2 files changed, 26 deletions(-) diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index d81d4b18..e4ea90f9 100644 --- a/desktop-shell/shell.c +++ b/desktop-shell/shell.c @@ -3619,29 +3619,6 @@ shell_fade_create_fade_out_view(struct shell_surface *shsurf, return view; } -static struct weston_view * -shell_fade_create_fade_out_view(struct shell_surface *shsurf, - struct weston_surface *surface) -{ - struct weston_view *view; - struct weston_output *woutput; - - view = weston_view_create(surface); - if (!view) - return NULL; - - woutput = get_focused_output(surface->compositor); - /* set the initial position and output just in case we happen to not - * move it around and just destroy it */ - weston_view_set_output(view, woutput); - weston_view_set_position(view, - shsurf->view->geometry.x, - shsurf->view->geometry.y); - view->is_mapped = true; - - return view; -} - static void shell_fade(struct desktop_shell *shell, enum fade_type type) { diff --git a/libweston/renderer-gl/fragment.glsl b/libweston/renderer-gl/fragment.glsl index 0d106f78..7de8d984 100644 --- a/libweston/renderer-gl/fragment.glsl +++ b/libweston/renderer-gl/fragment.glsl @@ -81,9 +81,6 @@ compile_const bool c_need_color_pipeline = c_color_pre_curve != SHADER_COLOR_CURVE_IDENTITY || c_color_mapping != SHADER_COLOR_MAPPING_IDENTITY; -compile_const bool c_need_color_pipeline = - c_color_pre_curve != SHADER_COLOR_CURVE_IDENTITY; - vec4 yuva2rgba(vec4 yuva) {