[cairo] [PATCH] XCB: implement surface_flush

Jamey Sharp jamey at minilop.net
Mon Jul 31 10:06:37 PDT 2006


For the record: Given later discussion on the list and Ian's comments to
me in person, I'm not applying this patch and no equivalent patch should
be applied.

--Jamey

On Tue, Jun 20, 2006 at 07:36:57AM -0700, Ian Osgood wrote:
> --- a/src/cairo-xcb-surface.c
> +++ b/src/cairo-xcb-surface.c
> @@ -1064,6 +1064,14 @@ _cairo_xcb_surface_get_extents (void		  
>      return CAIRO_STATUS_SUCCESS;
>  }
>  
> +static cairo_status_t
> +_cairo_xcb_surface_flush (void *abstract_surface)
> +{
> +    cairo_xcb_surface_t *surface = abstract_surface;
> +    XCBFlush (surface->dpy);
> +    return CAIRO_STATUS_SUCCESS;
> +}
> +
>  static const cairo_surface_backend_t cairo_xcb_surface_backend = {
>      CAIRO_SURFACE_TYPE_XCB,
>      _cairo_xcb_surface_create_similar,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/cairo/attachments/20060731/23c8f858/attachment.pgp


More information about the cairo mailing list