Date: Thu, 16 Mar 2023 09:26:30 +0300 From: Gleb Popov <arrowd@freebsd.org> To: Ed Maste <emaste@freebsd.org> Cc: freebsd-hackers <freebsd-hackers@freebsd.org> Subject: Re: splash(4) support in vt Message-ID: <CALH631=Vxx_Huc9Jf7iktzN5JxOksp75Z07SZvHndbwvan6Ocw@mail.gmail.com> In-Reply-To: <CAPyFy2BBH65SVOMxp09U1MSLJrHrQo4U_ymNznjFZSEKYmvX6g@mail.gmail.com> References: <CALH631=cz2SSdux6NaiHu3zRe=tEzKeG2=Fsy6j5xVUY0UsRkg@mail.gmail.com> <CAPyFy2BBH65SVOMxp09U1MSLJrHrQo4U_ymNznjFZSEKYmvX6g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 15, 2023 at 10:57=E2=80=AFPM Ed Maste <emaste@freebsd.org> wrot= e: > > > There are many individual tasks to be taken on; we need at least to > get the image displayed earlier in the boot process, support more than > just a 2-colour image, and support a user-provided (rather than > compiled-in) image. We probably also need some animation support (e.g. > a spinner). These tasks are all related but are mostly independent, so > could be taken on in any order. What is your priority on these? I think we'd need to start from getting more colors work. Our final goal is a GIF-animated splash. > > The Wiki page linked from the mailing list posting is > https://wiki.freebsd.org/MateuszPiotrowski/ImproveVtSplashScreenSupport, > and it has a basic introduction. Looking at the source, the current > logo is stored in sys/dev/vt/logo/logo_freebsd.c as a C array holding > a 257x219 bitmap. If you look at vt_fb_bitblt_bitmap (and similar > functions in other drivers) you can see that it loops over each pixel > where the image will be drawn, and sets it to either the foreground or > background color. Which is the reason it only supports 2-color images, I presume? Thanks for the links, I'll take a look!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631=Vxx_Huc9Jf7iktzN5JxOksp75Z07SZvHndbwvan6Ocw>