mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 20:49:27 +00:00
Remove bogus cairo_xlib_surface_flush impl that was doing an XSync; r=me
This commit is contained in:
parent
5e966bd8aa
commit
6c18057e95
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user