[cairo] [patch] XCopyArea fast path
graydon hoare
graydon at redhat.com
Tue May 18 07:51:08 PDT 2004
hi,
this patch adds a fast path to the xlib backend to call XCopyArea when
it detects a "surface showing" operation with no mask and a SRC
compositing operator. this is handy when doing double buffered drawing
with cairo, as I can have cairo composite the final "image".
to accomodate this change, two macros for reasoning about cairo fixed
point values were moved from cairo_gstate.c to cairoint.h, and the xlib
clipping function was augmented to set the drawable's clip as well as
the previously-set picture clip.
ok to commit?
-graydon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cairo-xcopyarea.patch
Type: text/x-patch
Size: 5324 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20040518/28ba67a1/cairo-xcopyarea.bin
More information about the cairo
mailing list