The latest cairo port does not support accelerate composition, nor does 
it support hardware based primitive drawing. I think FireFox cairo d2d 
backend can be a good reference in the primitive drawing. However, 
accelerated composition seems to be more complicated because all 
resources I can find is the source code under graphics/ca where Apple 
have implemented the accelerated composition. Is there any document can 
help better understand the details? Thanks.<br>
<br>With Regards,<br><a href="mailto:vizshala@gmail.com" target="_blank">vizshala@gmail.com</a><br><br><div class="gmail_quote">2011/8/22 Ariya Hidayat <span dir="ltr"><<a href="mailto:ariya.hidayat@gmail.com">ariya.hidayat@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">> Is it possible we apply this rule to a more general web page, like the way<br>
> similar to what FireFox has adopted by using Direct2D on Windows port.<br>
<br>
</div>Yes, this is usually taken care at the platform graphics stack which a<br>
certain port is using. CoreGraphics, Skia, Qt's QPainter, and Cairo<br>
all have support (sometimes through a defined back-end) for<br>
hardware-accelerated primitive drawing.<br>
<br>
Some stuff I have written about this subject:<br>
<a href="http://www.sencha.com/blog/understanding-hardware-acceleration-on-mobile-browsers/" target="_blank">http://www.sencha.com/blog/understanding-hardware-acceleration-on-mobile-browsers/</a><br>
<a href="http://ariya.ofilabs.com/2011/06/your-webkit-port-is-special-just-like-every-other-port.html" target="_blank">http://ariya.ofilabs.com/2011/06/your-webkit-port-is-special-just-like-every-other-port.html</a><br>
<font color="#888888"><br>
<br>
<br>
--<br>
Ariya Hidayat, Passionate Technologist<br>
<a href="http://ariya.ofilabs.com" target="_blank">http://ariya.ofilabs.com</a><br>
</font></blockquote></div><br>