Just to make it clear what I think about this: This kind of thing is
something that really needs to be done, one way or another. :)

     Some time back, I thought about having the edje recalc function called
by smart class render-pre/post funcs, and these funcs I wanted to be called
by the obj's internal render-pre/post ones as this would be useful for creating
semi-custom, stateful, objs that rendered to image buffers (possibly native
surfaces). But I saw that there were problems with that due to the very kinds
of things you mention, the events system and possibly other things, as I
mentioned to Cedric once here.
     You could have an additional smart class func, say a "calculate" one and
then do as you suggest.. but the main issue here is whether this kind of smart
class specific approach is the "best" way to deal with this kind of general
issue.
     I've mentioned two other possible ways to deal with this in a more generic
manner - for example an ecore_evas based one akin to what's done with 
sub-canvases
(which is useful for those), or a more 'evas only' one akin to what you have 
here
but using user supplied callbacks. There are other possibilities.. evas could
expose an EVAS_RENDER_EVENT and have callbacks one can add for such, called 
prior
to the internal evas-render loop... and other possibilities.

     I don't know what might be best.. just that this is something needed but
that needs more thought, some experimenting, etc. Maybe raster, nathan, hisham,
and others can give more feedback on this - maybe your proposal *is* the best
way to deal with this general issue, but it won't hurt to consider other 
possible
ways if they have potentially wider applicability. :)


____________________________________________________________
Save on Security Cameras. Click Now!
http://thirdpartyoffers.juno.com/TGL2141/fc/Ioyw6i3mYHqcMZpeeI6GMYSingyLEJrtZoIkkvR1SLez1NqqHdCcVW/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to