[cairo] Hardware acceleration

Talguy talguy385 at gmail.com
Sat May 22 13:54:27 PDT 2010


Yea that is what I have been doing for my rewrite.  What does blit mean.

Talguy

On Fri, May 21, 2010 at 3:57 PM, Thomas Dempton <t.dempton at yahoo.com> wrote:

> Cairo is by default hardware-accelerated, however certain operations can be
> better accelerated by hardware compared to others.
> A good strategy is to cache whatever possible in native cairo-surfaces, and
> blit that surfaces when you neet to display it.
>
> So,  instead of e.g. drawing 100 similar shapes, render the shape one time
> into an ARGB surface and blit that 100 times.
>
> ------------------------------
> *From:* Talguy <talguy385 at gmail.com>
> *To:* Cairo Mailing List <cairo at cairographics.org>
> *Sent:* Fri, May 21, 2010 7:59:54 PM
> *Subject:* [cairo] Hardware acceleration
>
> I am using cairomm to build a realtime application onto of minimal ubuntu.
> Is cairomm by default hardware accelerated or do I have to enable an option
> to make it so.  I have been improving my drawing procedures but would like
> to give my application every advantage that it can get so that I can run it
> at 30 - 40 fps.
>
> Talguy
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20100522/e0014524/attachment.html>


More information about the cairo mailing list