[cairo] [PATCH 1/3] observer: Export cairo_surface_is_observer function

Chris Wilson chris at chris-wilson.co.uk
Wed Aug 31 13:06:47 PDT 2011


On Wed, 31 Aug 2011 22:14:36 +0300 (EEST), M Joonas Pihlaja <jpihlaja at cc.helsinki.fi> wrote:
> 
> Why do you want to export the is_observer functions?

Similar to the other proxying surfaces (e.g. paginated) I made the
observer an interal type and for the observer to masquerade as the
observee for public interactions. So Rob is faced with the issue of how
to tell if the surface he has is suitable for querying. One answer could
be if the total elapsed time reported by the surface (or device) is 0,
then it is not worth querying any further...
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the cairo mailing list