Hi Raster,

On Tue, Jan 8, 2013 at 11:57 PM, Carsten Haitzler <[email protected]> wrote:
> On Tue, 8 Jan 2013 22:04:01 -0200 Gustavo Sverzut Barbieri
> <[email protected]> said:
>
>> 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
>
> yeah - sorry - i see that now after a look - it's not JUSt the "i'm done"
> message. it's ALSO the "i'm done just generating pixels - please put them 
> now".
>
>> 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:
>
> yeah. i can see why you did it this way - it simplifies the x protocol problem
> possibilities. though it does hold back performance possibilities a bit. :)

Great, now I understand your concerns thinking we did the putimage in
the render thread. :-/ And I was thinking like Gustavo said, that we
had a race trying to get the pixmap from X which wasn't already there
because the render thread still haven't finished and woke up the main
thread to do the updates. Glad we understand what's happening now and
that's why I said we either wait until it's done or (if we can) we
drop off and "try later".

Thanks,

-- 
Ulisses Furquim
ProFUSION embedded systems
http://profusion.mobi
Mobile: +55 19 9250 0942
Skype: ulissesffs

------------------------------------------------------------------------------
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

Reply via email to