Remove bogus cairo_xlib_surface_flush impl that was doing an XSync; r=me

git-svn-id: svn://10.0.0.236/trunk@203006 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
vladimir%pobox.com
2006-07-18 19:14:37 +00:00
parent 8c2f643871
commit e613019d35

View File

@@ -1722,14 +1722,6 @@ _cairo_xlib_surface_get_font_options (void *abstract_surface,
*options = surface->screen_info->font_options;
}
static cairo_status_t
_cairo_xlib_surface_flush (void *abstract_surface)
{
cairo_xlib_surface_t *surface = abstract_surface;
XSync (surface->dpy, False);
return CAIRO_STATUS_SUCCESS;
}
static void
_cairo_xlib_surface_scaled_font_fini (cairo_scaled_font_t *scaled_font);
@@ -1756,7 +1748,7 @@ static const cairo_surface_backend_t cairo_xlib_surface_backend = {
_cairo_xlib_surface_get_extents,
NULL, /* old_show_glyphs */
_cairo_xlib_surface_get_font_options,
_cairo_xlib_surface_flush,
NULL, /* flush */
NULL, /* mark_dirty_rectangle */
_cairo_xlib_surface_scaled_font_fini,
_cairo_xlib_surface_scaled_glyph_fini,