On Thu, 17 Jan 2013 00:23:45 -0200 Ulisses Furquim <ulis...@profusion.mobi>
said:

> Hi Cedric,
> 
> On Wed, Jan 16, 2013 at 11:57 PM, Cedric BAIL <cedric.b...@free.fr> wrote:
> >
> > On Thu, Jan 17, 2013 at 7:32 AM, Enlightenment SVN
> > <no-re...@enlightenment.org> 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.
> 
> Really, we should start by it being just a cache and not a cache that
> also draws. :-/ And yes, we can rewrite without regression one just
> need time.

there is no way to know what the scalecache should have generated unless u are
rendering.. then u know src+dst geometry... and then it figures out frequency
of use of that src+dst geom pair and THEN generates a pre-scaled version and
shortcuts the scale-op if it meets some criteria.

i have been mulling caching in general though - and i think we need to stand
back and make a more general cache thing either way... as really what we are
always doing is looking upa  key - key is aome src data/file handle (maybe)
PLUS some modified time PLUSe src params (load options.. maybe src region+dest
region scaling or transforms) and so on... its really just a big binary
"key"... :) we have too many disparate caches in evas.. well in edje too. i'm
thinking breaking things out into a "i do caching and nothing else" library/api
(eina?) would be good. this would ALSO then back onto cserve2 to handle such a
cache being SHARED... :)

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


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

Reply via email to