[cairo-commit] src/cairo-quartz-surface.c
Brian Ewins
brianewins at kemper.freedesktop.org
Mon Mar 5 16:41:27 PST 2007
src/cairo-quartz-surface.c | 4 ----
1 files changed, 4 deletions(-)
New commits:
diff-tree e15bb8efe62a4d2ffd1df31b092ca1fdd2743e43 (from 393908c34dbf2484b811b84581984563a7115e38)
Author: Brian Ewins <Brian.Ewins at gmail.com>
Date: Tue Mar 6 00:40:56 2007 +0000
[quartz] remove unnecessary flushes
Removing calls to CGContextFlush; these were slowing down the
mac and on other platforms it is up to the client to flush
the surface.
diff --git a/src/cairo-quartz-surface.c b/src/cairo-quartz-surface.c
index f0149de..f78e2c0 100644
--- a/src/cairo-quartz-surface.c
+++ b/src/cairo-quartz-surface.c
@@ -485,8 +485,6 @@ SurfacePatternDrawFunc (void *info, CGCo
flip = TRUE;
}
- /* this is a 10.4 API, present in 10.3.9 */
- CGContextFlush (quartz_surf->cgContext);
img = CGBitmapContextCreateImage (quartz_surf->cgContext);
if (!img) {
@@ -839,8 +837,6 @@ _cairo_nquartz_surface_finish (void *abs
ND((stderr, "_cairo_nquartz_surface_finish[%p] cgc: %p\n", surface, surface->cgContext));
- CGContextFlush (surface->cgContext);
-
/* Restore our saved gstate that we use to reset clipping */
CGContextRestoreGState (surface->cgContext);
More information about the cairo-commit
mailing list