[gnome-shell] blur-effect: Don't paint background using actor opacity
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] blur-effect: Don't paint background using actor opacity
- Date: Wed, 12 Feb 2020 14:16:08 +0000 (UTC)
commit f6fa08fa7553ef232e9b8134d38cd9cc1589e4d8
Author: Jonas Dreßler <verdre v0yd nl>
Date: Fri Feb 7 10:10:58 2020 +0100
blur-effect: Don't paint background using actor opacity
The background should always be painted fully opaque, the opacity of the
actor does not change the one of the background.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/991
src/shell-blur-effect.c | 8 --------
1 file changed, 8 deletions(-)
---
diff --git a/src/shell-blur-effect.c b/src/shell-blur-effect.c
index 0022327467..881592027f 100644
--- a/src/shell-blur-effect.c
+++ b/src/shell-blur-effect.c
@@ -657,16 +657,8 @@ paint_background (ShellBlurEffect *self,
CoglFramebuffer *framebuffer;
float transformed_x = 0.f;
float transformed_y = 0.f;
- guint8 paint_opacity;
framebuffer = clutter_paint_context_get_framebuffer (paint_context);
- paint_opacity = clutter_actor_get_paint_opacity (self->actor);
-
- cogl_pipeline_set_color4ub (self->background_fb.pipeline,
- paint_opacity,
- paint_opacity,
- paint_opacity,
- paint_opacity);
clutter_actor_get_transformed_position (self->actor,
&transformed_x,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]