[Pharo-dev] About Athens and Cairo

Alexandre Bergel alexandre.bergel at me.com
Sat Dec 14 03:58:37 EST 2013


Hi!

I have some random questions about the Cairo binding supported by Athens.

 - the rendering is done by the graphic card isn’t it?

 - Once rendered, is the produced bitmap copied by the CPU in Pharo? With Roassal3d, we are facing a problem of performance because there is an unnecessary copy between the graphic card and the Form displayed by Pharo. I guess we have the same problem with Cairo.

 - Is there an example of clipping in Cairo?

 - Any idea how efficient the clipping is? I mean, will I gain a lot by not displaying elements located outside the visual part or should I leave the clipping do the job?

Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.







More information about the Pharo-dev mailing list