[psplash][PATCH] Supress initial background clearing if using a full screen img


If a full screen image is used there is no need to clear the background
as it will just be drawn over again shortly.
This provides a small performance speed up when using full screen images.

Signed-off-by: Marc Reilly <marc@...>
psplash.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/psplash.c b/psplash.c
index 1a56629..ec2e419 100644
--- a/psplash.c
+++ b/psplash.c
@@ -292,9 +292,11 @@ main (int argc, char** argv)
sd_notify(0, "READY=3D1");
/* Clear the background with #ecece1 */
psplash_fb_draw_rect (fb, 0, 0, fb->width, fb->height,
/* Draw the Poky logo */
psplash_fb_draw_image (fb,=20

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.