On Tue, Jan 8, 2013 at 8:32 PM, Carsten Haitzler <[email protected]>wrote:
> On Tue, 8 Jan 2013 10:34:14 -0200 Gustavo Sverzut Barbieri > <[email protected]> said: > > > I'll reply later, but I guess we are creating a confusion on what could > be > > the problem and it should be much simpler than what you think. > > > > Software -X11 used by popups/shelves shouldn't matter as they go to X > > before coming to the compositor... Unless ther is a shortcut I don't > know. > > And we just XShmPutImage on the main thread. So should be fine. > > our putimage is not async? > it is async, but runs in the main thread, when it comes back. Please see trac.enlightenment.org/e/wiki/Evas_Async_And_E_Comp note that it is up to the engine to call this from thread or not. for software_x11 we choose to do not. Engine can base its decision on evas render_mode variable that is one of: EVAS_RENDER_MODE_ASYNC_INIT: async render, during queueing. engine may queue something to the thread. EVAS_RENDER_MODE_ASYNC_END: async render, after returns to main loop (we call it from here) EVAS_RENDER_MODE_SYNC: synchronous mode, do as before. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: [email protected] Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
