Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NfZAN-0000te-F2 for mharc-grub-devel@gnu.org; Thu, 11 Feb 2010 08:33:11 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfZAL-0000tS-7a for grub-devel@gnu.org; Thu, 11 Feb 2010 08:33:09 -0500 Received: from [140.186.70.92] (port=37044 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfZA6-0000mz-DH for grub-devel@gnu.org; Thu, 11 Feb 2010 08:33:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NfZ9O-0002QE-G3 for grub-devel@gnu.org; Thu, 11 Feb 2010 08:32:10 -0500 Received: from mail-fx0-f215.google.com ([209.85.220.215]:58447) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NfZ9O-0002Q2-7u for grub-devel@gnu.org; Thu, 11 Feb 2010 08:32:10 -0500 Received: by fxm7 with SMTP id 7so1325544fxm.8 for ; Thu, 11 Feb 2010 05:31:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to :content-type; bh=uXaiEunryvsd2liPB+AfosppUEQtFP7F5Z1qvCbxfTE=; b=gXAeYzgJOVcn3r0a0vuc9ScuIV40fYdngS2MJDHfYHQUpN8wt88Pnio9g1vGJAPYa9 3n1g57m4GXAiGI9AED/f6JoYtPlmpft827WrIivghirk215eUq4ztKF5APR6DQxOhwad Dn2RE/JC1U3rXO0Lh+H9PVvBxJWgCopVkLoAY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; b=Mf2bs0Sz6pvXPyANSNXEYBErVOngNkjinxYRksNVyM3X1BiV/yjsBq/76ATJ8heQv7 H4B73yyhQo/8GyQfU9hkseRfMqxpp3kkwPqyoyH1C42xMpgfdapG0mKHzFD4YDncrIqB PtNBg8E27buQIHk8FPH/LDP8pzFRNljEzEwn4= MIME-Version: 1.0 Sender: hramrach@gmail.com Received: by 10.239.189.7 with SMTP id r7mr207565hbh.116.1265895079177; Thu, 11 Feb 2010 05:31:19 -0800 (PST) In-Reply-To: <1264500247.3195.22.camel@EK> References: <4B585690.8090602@gmail.com> <1264160815.29881.61.camel@EK> <4B5EB1A5.5040200@gmail.com> <1264500247.3195.22.camel@EK> From: Michal Suchanek Date: Thu, 11 Feb 2010 14:30:59 +0100 X-Google-Sender-Auth: 80a24e7000c7bd16 Message-ID: To: The development of GNU GRUB Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Antialiased fonts patch. X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2010 13:33:09 -0000 On 26 January 2010 11:04, Evgeny Kolesnikov wrote: > Hi, > >> At first I was completely against antialiasing support because of >> performance impact. But it being optional decreases the later. However >> there is one problem: your patch relies on text_layer to be RGBA8888 >> which was a mistake. RGBA8888 for text layer is vastly inefficient >> especially on 16-bit framebuffer and CPUs with small cache. I had plans >> to switch it to indexed color. Do you really need 8bits and 4 aren't >> enough? > > I use 8-bit in order to give GRUB ability to look and feel exactly > as other parts of OS, so yes, 8 bits are required. If one can't allow Grub will never look and feel exactly as the OS unless you import GTK/QT, its themes, freetype, ... > this for his system - he can use 1-bit fonts. I don't really care about > such situation just because other parts of desktop on such a system will > be awful too. In fact I think that 4bit antialiasing should suffice. 16 tones of the same color should be more than enough for most cases. Still I am not sure that it will make the rendering really faster than 8bit AA. Only testing on various real hardware can possibly answer the question if and when one of the methods is faster. I would even expect that none is overall faster and that system exist where either is. Thanks Michal