On Thursday, January 17, 2013, Cedric BAIL wrote: > On Thu, Jan 17, 2013 at 10:57 AM, Cedric BAIL > <cedric.b...@free.fr<javascript:;>> > wrote: > > On Thu, Jan 17, 2013 at 7:32 AM, Enlightenment SVN > > <no-re...@enlightenment.org <javascript:;>> wrote: > >> Log: > >> evas/async_render: fix scalecache integration > >> > >> Note: scalecache is really crazy stuff, we should rewrite it or get > rid of it. > > > > Ah ah ah ! Yet another crazy beast created by our evil overlord, but > > we can't get rid of it as it is a huge speed improvement. As for > > rewriting it, will not be an easy task without generating regression. > > And I can now confirm you that this make the async renderer into a > very good shape. Expedite with async now get a 10% speed increase > overall. Some test are still problematic, the one related with text > style (we should use a variant of the multi call here, same text_prop, > slightly offseted position, different color), the one with many object > (suffer a 10% slow down). > > I think that text style issue should be easy to fix. For the case with > many objects, the only way is to push less information on the queue > somehow, not sure how. >
We apply cutouts in the main thread and push individual rectangles to thread. So one obj may spawn multiple regions. To fix this we need to review all cutout to be referenced (hard, because we have some declared as static in functions). Another is to create a result array and send this to a "multiple" variant... That would need a copy and yet another engine call for everything (map, rect, image and font, because the one we use for text grid is different... But maybe just in the common engine, not the virtuals) Overall I believe it's not worth, the great feature of async is reducing the time spent on the main thread. Acidx measured this and should send results soon, we have more uniform and reduced time of "render" in the main thread, so apps have more time to do their stuff. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel