From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NfPGD-0008Tw-5b for mharc-grub-devel@gnu.org; Wed, 10 Feb 2010 21:58:33 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfPGB-0008TE-82 for grub-devel@gnu.org; Wed, 10 Feb 2010 21:58:31 -0500 Received: from [199.232.76.173] (port=45893 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfPGA-0008T5-T4 for grub-devel@gnu.org; Wed, 10 Feb 2010 21:58:30 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NfPGA-0005ud-5R for grub-devel@gnu.org; Wed, 10 Feb 2010 21:58:30 -0500 Received: from mail-bw0-f219.google.com ([209.85.218.219]:35983) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NfPG9-0005uX-Qe for grub-devel@gnu.org; Wed, 10 Feb 2010 21:58:30 -0500 Received: by bwz19 with SMTP id 19so670749bwz.8 for ; Wed, 10 Feb 2010 18:58:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=eBOYq+RmL6fKHAvybzjbd4y9leQCcVsRpdi4gSSkkLg=; b=Naq9G4DL9MkcpaGM4KSE5umrCWgmVx07GN9P2u2vY5gw1o0oUZNBWY9L6s3ujCu17l zcvC7DaeAaS2fAtJ96dZVyphdzd1nbls9ueDiPuom5Fb0wTnQHo/Zz9IuEC1K+30L9s2 U+GhXDb/Mmu9nq+ZnbdoSxXOpL8evEawBr5QY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=fSKbAudm1/oUm0Ygi/mLlzyEgH2BsvfBqfpTFPYfaM2r9cFV2aMb4XlUvYx65DUuXI bMrZ3yk3OD5lLSXNsNjKjiBQ4RqY1wqAVuPJRn/bEpcHEZoLuz7rV0Xpe58E5y0JMFQM ZJmzLgCDAb/mqfQyfhKBxjpbL7VhWocrztYX8= Received: by 10.204.141.69 with SMTP id l5mr772286bku.64.1265857108786; Wed, 10 Feb 2010 18:58:28 -0800 (PST) Received: from debian.bg45.phnet (gprs27.swisscom-mobile.ch [193.247.250.27]) by mx.google.com with ESMTPS id 16sm849011bwz.7.2010.02.10.18.58.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 10 Feb 2010 18:58:27 -0800 (PST) Message-ID: <4B737247.3090804@gmail.com> Date: Thu, 11 Feb 2010 03:58:15 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: The development of GNU GRUB , Evgeny Kolesnikov References: <4B585690.8090602@gmail.com> <1264160815.29881.61.camel@EK> <4B5EB1A5.5040200@gmail.com> <1264500247.3195.22.camel@EK> In-Reply-To: <1264500247.3195.22.camel@EK> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigB3B2CD7893783C1989E3E42B" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: 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 02:58:31 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB3B2CD7893783C1989E3E42B Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Any news on this one? > So I can suggest to make division: 1-bit & indexed text layer vs > 8(32)-bit & RGBA layer. First is for speed, second (and third)=20 > is for beauty. Doing it half-way will be nor fast nor appealing. > > And yes, I'm interested in doing it in most effective way: blitter, > optimizations etc., just give me the direction. > =20 Basically the general idea is to make whatever is looped through is as fast as possible and to decrease the number of iterations. E.g: put conditions outside of the loops, use 32-bit accesses instead of 8-bit ones (don't forget to check that uint32_t is 4-byte aligned) and don't use higher quality buffer if you're going to blit it on lower quality. Last rule isn't respected in grub2 (unfortunately). Of course exceptions to rules can be discussed especially in eye-candy mode I would prefer to make new version magic PFF3 and add a flag field in version =3D 3 and GRUB_FONT_8_BIT would be the first flag. This allows further expandability by orthogonality. I started reviewing your patch but it turned out that it's a patch bewtween some kind of your local versions. Could you send a patch against trunk? --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigB3B2CD7893783C1989E3E42B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iF4EAREKAAYFAktzck4ACgkQNak7dOguQglcDgD8DYKoE6j7GM8rJ/bAOxp/CYmQ skFS999cOhWeySlhRpQA/RzlqjWlRWajgiyUdcZCa20zOUIeQvCY3GK+ZEpwOYXe =6isE -----END PGP SIGNATURE----- --------------enigB3B2CD7893783C1989E3E42B--