[sugar] Laptop display simulation: enhanced

Manu Cornet manu.cornet
Sat Aug 12 12:56:43 EDT 2006


Hi all!

Two weeks ago I sent a message about a color swizzling mode in Xephyr
[1]. The program emulated the color swizzling and the simple
antialiasing algorithm the DCON chip uses. The biggest problem was
that the display was not nearly bright enough and was not loyal to the
actual laptop display.

I'm glad to announce a new version of this "simulator" that solves
this problem (plus a few others). I had a lot of help on this from
David Turner, main author of Freetype, who masters this kind of
matters :)

Here is what the simulator looked like in the previous version:

http://www.manucornet.net/pub/olpc/swizzle_dark.png

and here is a screenshot of today's version:

http://www.manucornet.net/pub/olpc/swizzle_enhanced.png

David created a smart postprocessing mode (occurring after the AA +
swizzling) that restores the original image's brightness and corrects
some diagonal artifacts. I used this process in my Xephyr simulation
mode. The patch is available here:

http://www.manucornet.net/pub/olpc/xephyr_swizzle.diff

(you'll need to run automake before ./configure and compiling, since I
added a new source file).

I will soon update my project's wiki page to explain how this process works.

Cheers,
Manu

[1] http://www.mail-archive.com/devel@laptop.org/msg00072.html


More information about the Sugar-devel mailing list