[Xorg-driver-geode] Cairo's slow rendering on XO-1 (was: olpcgames - mainloop bug help)

Wade Brainerd wadetb at gmail.com
Mon Jun 28 07:10:12 PDT 2010


I developed a couple of activities using Cairo that I later ported to
other drawing solutions.

One is Bounce (a three dimensional Pong game).

git://git.sugarlabs.org/bounce/mainline.git

I didn't tag it, but commit 7b7abf5 was the last version using cairo.
I'll likely port this to Sugargame when I find time.


Another is Yay! Bee See, an alphabet program for younger children.

git://dev.laptop.org/users/wadeb/yay-bee-see

I've been working on porting this to Sugargame too, and adding editing
features (e.g. the ability to replace the images and sounds for each
letter, and to save to the journal)


For a time, Typing Turtle used cairo to render its keyboard with
overlaid hand SVGs.

git://git.sugarlabs.org/typing-turtle/mainline.git

The last version to use cairo was v5.  I switched to caching bitmap
images of each key and the hand overlays to make the keyboard keep up
while typing at a reasonable pace.


All of these would probably make a pretty good cairo performance tests
on XO-1.


-Wade

On Mon, Jun 28, 2010 at 5:17 AM, Peter Robinson <pbrobinson at gmail.com> wrote:
> On Mon, Jun 28, 2010 at 10:13 AM, Dov Grobgeld <dov.grobgeld at gmail.com> wrote:
>> Not sure this is relevant, but I have found that for software rendering
>> (without hardware acceleration) agg (anti-grain graphics) is a lot faster
>> than cairo. At least it was when I benchmarked them a couple of years ago.
>> See: http://www.antigrain.com/  .
>
> There's been a lot of changes and improvements in cairo using HW accel
> since then.
>
> Peter
>
>> On Mon, Jun 28, 2010 at 12:03, Bert Freudenberg <bert at freudenbergs.de>
>> wrote:
>>>
>>> On 28.06.2010, at 09:21, Sascha Silbe wrote:
>>>
>>> > Excerpts from Mart Raudsepp's message of Mon Jun 28 06:37:31 +0200 2010:
>>> >
>>> >> Currently we (primarily two AMD employees, not so much me) are
>>> >> concentrating on fixing some of the awful bugs (many of which get
>>> >> triggered only by a newer xorg-server version), such as misrendering
>>> >> with HwAccel and rotation issues. After those are hopefully fixed soon,
>>> >> some attention will probably start to go on hardware acceleration
>>> >> performance, as the current situation is indeed rather sad:
>>> >> http://people.freedesktop.org/~leio/geode/perf/
>>> >
>>> > Awesome (that somebody is going to work on it), thanks!
>>> >
>>> > Sascha
>>>
>>>
>>> Yay indeed!
>>>
>>> - Bert -
>>>
>>>
>>> _______________________________________________
>>> Devel mailing list
>>> Devel at lists.laptop.org
>>> http://lists.laptop.org/listinfo/devel
>>
>>
>> _______________________________________________
>> Devel mailing list
>> Devel at lists.laptop.org
>> http://lists.laptop.org/listinfo/devel
>>
>>
> _______________________________________________
> Devel mailing list
> Devel at lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>


More information about the Xorg-driver-geode mailing list