On Tue, 17 Apr 2007, Carsten Haitzler (The Rasterman) wrote:

> ecore_x_window_prop_properties_get(Ecore_X_Window win, int count, Ecore_X_Atom
> *properties, Ecore_X_Atom types, int sizes, unsigned char ***datas, int 
> **nums)
>
> that would fetch 'count' properties from a window in 1 round trip instead of
> 'count' round trips. ecore_x_window_prop_property_get_prefetch() i would
> simplify to sending the xcb request and then when it arrives produce an
> ECORE_X_REPLY_WINDOW_PROPERTY event - the event would contain the contents of
> the reply (when it comes in). the xlib implementation of that cal would do the
> round-trip property get and then post an event so you pay a round-trip cost
> anyway, but the reply it just deferred onto the end of the event queue.
>
> the above will not break current api, will give benefits in avoiding
> round-trips, and be simple to maintain and implement. apps would need to use
> the new calls to get a benefit - but that is to be expected. the point is -
> that if xcb doesn't exist - they still work just fine using xlib. no #ifdef's
> in apps.

and what about the case the xcb backend is used and the user does not use 
these new functions, but the old ones ?

Vincent

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to