Re: [RFC 10/14] bootsplash: Add animation support

2017-10-25 Thread Max Staudt
On 10/25/2017 07:20 PM, Randy Dunlap wrote: > On 10/25/17 05:45, Max Staudt wrote: >> @@ -117,17 +128,45 @@ static bool is_fb_compatible(struct fb_info *info) >> */ >> void bootsplash_render_full(struct fb_info *info) >> { >> +bool is_update = false; >> + >> mutex_lock(&splash_global.d

Re: [RFC 10/14] bootsplash: Add animation support

2017-10-25 Thread Randy Dunlap
On 10/25/17 05:45, Max Staudt wrote: > @@ -117,17 +128,45 @@ static bool is_fb_compatible(struct fb_info *info) > */ > void bootsplash_render_full(struct fb_info *info) > { > + bool is_update = false; > + > mutex_lock(&splash_global.data_lock); > > - if (!is_fb_compatible(info))

[RFC 10/14] bootsplash: Add animation support

2017-10-25 Thread Max Staudt
Each 'picture' in the splash file can consist of multiple 'blobs'. If animation is enabled, these blobs become the frames of an animation, in the order in which they are stored in the file. Note: There is only one global timer, so all animations happen at the same frame rate. It doesn't rea