From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 18 19:18:54 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 645F6DEB for ; Tue, 18 Mar 2014 19:18:54 +0000 (UTC) Received: from freebsd.czest.pl (freebsd.czest.pl [212.87.224.105]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D0A7EFED for ; Tue, 18 Mar 2014 19:18:53 +0000 (UTC) Received: from freebsd.czest.pl (freebsd.czest.pl [212.87.224.105]) by freebsd.czest.pl (8.14.5/8.14.5) with ESMTP id s2IJH9I7087476; Tue, 18 Mar 2014 19:17:09 GMT (envelope-from wkoszek@freebsd.czest.pl) Received: (from wkoszek@localhost) by freebsd.czest.pl (8.14.5/8.14.5/Submit) id s2IJH9QB087475; Tue, 18 Mar 2014 19:17:09 GMT (envelope-from wkoszek) Date: Tue, 18 Mar 2014 19:17:08 +0000 From: "Wojciech A. Koszek" To: Seiya Nuta Subject: Re: GSoC'14 proposal: a new bootsplash screen Message-ID: <20140318191708.GB37327@FreeBSD.org> References: <038860B8-7034-4AA7-A8F8-1A7AB4D7FB1C@seiya.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <038860B8-7034-4AA7-A8F8-1A7AB4D7FB1C@seiya.me> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-0.4 required=5.0 tests=RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on freebsd.czest.pl X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (freebsd.czest.pl [212.87.224.105]); Tue, 18 Mar 2014 19:17:15 +0000 (UTC) Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Mar 2014 19:18:54 -0000 On Sun, Mar 16, 2014 at 08:59:49PM +0900, Seiya Nuta wrote: > Hi, everyone > > I am Seiya Nuta, a university student in Japan and I’m going to submit a GSoC proposal. > > I want to develop a new bootsplash mechanism to add animation such as progress bar. > It eases concern whether it works on boot and enhances the attractiveness of FreeBSD > to desktop users. > > I’m willing to work on this even if my proposal is not accepted so I would like you to tell > me your frank opinion about my proposal. > > My proposal is as follows: > > Description: > I propose a new bootsplash mechanism. Currently, we can enable bootsplash by adding few > options such as `splash_bmp_load' to /boot/loader.conf but it only displays an image > file. I worry whether it works well on boot so I assume we need a new bootsplash which can > display animation: progress bar, loading circle ball. Themes are kernel modules and draw > images in two ways: direct drawing and layered drawing. Direct drawing is same as > splash_bmp; only draw an image. Layered drawing is a new way; stack images and text. It > also enables technique like CSS sprite. > > Deliverables: > - Implementation of bootsplash direct drawing / layered drawing > - Makefile and scripts for creating bootsplash themes > - Example themes > > Test Plan: > #1: > - write code in VM on VirtualBox > - `make` and copy generated kernel and modules to /boot > - launch .vdi of the VM with QEMU on host OS > - check output and dmesg > #2: > - `make buildinstall` on a real machine. > - boot it > - check output and dmesg > > Schedule: > Work Period #1 > - (May 19 - May 25) implement direct drawing > - (May 26 - June 8) add changes to src/sys > - (June 9 - June 15) write Makefile and scripts for creating themes > - (June 16 - June 22) create and enjoy a flip book in bootsplash using direct drawing > Work Period #2 > - (June 23 - June 29) print characters in a framebuffer > - (June 30 - July 20) implement layered drawing > - (July 21 - July 27) support layered drawing in scripts for creating themes > - (July 28 - 'pencils down' date) create themes > Seiya Nuta, Can you please submit this proposal over Google Melange? It's much easier to do project review/rating/adjustments for GSoC there. Thanks, -- Wojciech A. Koszek wkoszek@FreeBSD.czest.pl http://FreeBSD.czest.pl/~wkoszek/