Supress initial background clearing if using a full screen img
PATCH 1/1 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 <[email protected]>
--- psplash.c | 2 ++ 1 file changed, 2 insertions(+)
psplash.c +2 -0
@@ -292,9 +292,11 @@ main (int argc, char** argv)sd_notify (0 ,"READY=1" );#endif +#if !PSPLASH_IMG_FULLSCREEN /* Clear the background with #ecece1 */ psplash_fb_draw_rect (fb,0 ,0 , fb->width, fb->height,PSPLASH_BACKGROUND_COLOR ); +#endif /* Draw the Poky logo */ psplash_fb_draw_image (fb,
Signature · 1 line
2.26.2