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

Kay Sievers kay at vrfy.org
Sat Jan 18 19:59:21 PST 2014


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?

Kay


More information about the systemd-devel mailing list