[systemd-devel] [PATCH v2 6/8] add GOP mode setting and splash drawing support

Ylinen, Mikko mikko.ylinen at intel.com
Wed Jan 22 03:42:12 PST 2014


On Sun, Jan 19, 2014 at 5:59 AM, Kay Sievers <kay at vrfy.org> wrote:

> On Fri, Jan 17, 2014 at 12:18 PM, Ylinen, Mikko <mikko.ylinen at intel.com>
> wrote:
>
> >> Could we first try to optimize the BMP loader? Also, could you share
> >> your test image so I can have a look?
> >
> >
> > We've simply used the web page logo [1] exported using Gimp:
> >
> > $ identify gummiboot-icon3.bmp
> > gummiboot-icon3.bmp BMP 295x245 295x245+0+0 8-bit DirectClass 218KB
> 0.000u
> > 0:00.000
>
> Unfortunately that doesn't say much. What color-depth is it? Do you
> also use an alpha channel?
>
> Gimp automatically imports the alpha channel from the SVG background
> layer. With alpha, it is the slowest of the options we have, we have
> to calculate every byte by merging the original with the pict and
> store it back.
>
> This is the one in the gummiboot git tree:
>   $ identify test/splash.bmp
>   test/splash.bmp BMP 295x245 295x245+0+0 8-bit sRGB 289KB 0.000u 0:00.000
> It's 32bit/pixel, with an alpha channel.
>
> It's a bit larger, your pict is 24 bit?


I verified the numbers and used test/splash.bmp as the source image.
Looks like test/splash.bmp only adds 10ms more compared with BGRX.

My original BMP is 24bit, no alpha. As far as I can tell this is the same
as test/splash.bmp but without alpha channel.

-- Mikko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140122/e7bb47da/attachment-0001.html>


More information about the systemd-devel mailing list