]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
two-step: fix drawing of background image
authorRay Strode <rstrode@redhat.com>
Sun, 22 Mar 2015 04:42:22 +0000 (21:42 -0700)
committerRay Strode <rstrode@redhat.com>
Thu, 26 Mar 2015 01:53:33 +0000 (21:53 -0400)
The background image is tiled to cover the entire screen, so
we must pass a fill area that covers the screen or sampling
will be wrong. But we must also pass a clip area or we will
have expensive overdraw.

https://bugs.freedesktop.org/show_bug.cgi?id=84482

src/plugins/splash/two-step/plugin.c

index 0899acee96b8e0916d13976a9190f9e2d82fed41..fbba26e99b5f34f2f0ba94f1997b4def75a3b697 100644 (file)
@@ -875,7 +875,7 @@ draw_background (view_t             *view,
         if (view->background_image != NULL) {
                 uint32_t *data;
                 data = ply_image_get_data (view->background_image);
-                ply_pixel_buffer_fill_with_argb32_data (pixel_buffer, &area, data);
+                ply_pixel_buffer_fill_with_argb32_data (pixel_buffer, NULL, data);
         }
 
         if (plugin->watermark_image != NULL) {