On 27/01/2017 17:30, Emilio Pozuelo Monfort wrote:
From: Pekka Paalanen <pekka.paala...@collabora.co.uk>

Pick the color 0xCC336699 as AARRGGBB, as if blended on black. This is
the color used with developing the sub-surface shot tests.

No other big reason than it should not be black to have better chances
of catching blending problems.

Signed-off-by: Pekka Paalanen <pekka.paala...@collabora.co.uk>

Good idea:
Reviewed-by: Quentin Glidic <sardemff7+...@sardemff7.net>

Thanks,


---
  tests/weston-test-desktop-shell.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/weston-test-desktop-shell.c 
b/tests/weston-test-desktop-shell.c
index 2cf2271e..de844251 100644
--- a/tests/weston-test-desktop-shell.c
+++ b/tests/weston-test-desktop-shell.c
@@ -204,7 +204,7 @@ wet_shell_init(struct weston_compositor *ec,
        if (dts->background_view == NULL)
                goto out_surface;
- weston_surface_set_color(dts->background_surface, 0.0, 0.0, 0.0, 1);
+       weston_surface_set_color(dts->background_surface, 0.16, 0.32, 0.48, 1.);
        pixman_region32_fini(&dts->background_surface->opaque);
        pixman_region32_init_rect(&dts->background_surface->opaque, 0, 0, 2000, 
2000);
        pixman_region32_fini(&dts->background_surface->input);



--

Quentin “Sardem FF7” Glidic
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to