wow... Looks like I need to dig in more to study more stuff :( Is it possible to reduce code size to about 400~700KB after all this?
On Wed, May 1, 2013 at 5:56 PM, Carsten Haitzler <ras...@rasterman.com>wrote: > On Tue, 30 Apr 2013 09:31:43 -0300 Gustavo Sverzut Barbieri > <barbi...@profusion.mobi> said: > > > Hi, > > > > > > On Tue, Apr 30, 2013 at 8:57 AM, Carsten Haitzler <ras...@rasterman.com > >wrote: > > > > > On Tue, 30 Apr 2013 18:03:21 +0800 hYde <hyde....@gmail.com> said: > > > > > > > Since my BIOS has only about 8MB of space, I take Evas + Edje. > > > > > > you'll need ecore, eet and eina too then. (well some of ecore). > > > > > > that's why I explicitly removed Edje. Edje pulls too much, and will not > > aggregate that much value for the BIOS case (show menu and similar). Of > > course it would be nice to have a complete environment with Elementary > and > > all, but I don't think it's doable without LOTS of effort, so stick with > > Evas first -- particularly pre-Eina Evas. > > well you still need eina anyway. so edje adds eet and ecore (ecore, > ecore-imf, > ecore-file, ecore-evas, ecore-input, ecore-evas). these ecores are fairly > small, and ecore-evas pulls in ecore-con and ecore-ipc. > > there likely will be the need for ecore anyway for a mainloop etc. so i'd > guess > it doesnt end up too bad, and relying on eet as a way of nicely > encapsulating > data into a single file will be helpful. lossy compression for images with > alpha (that jeg doesnt do and png doesnt do) will save you space too if > you use > such image data much. so in the end i am not sure it will be too bad. > elementary thought makes things a whole new level. > > > > > May I ask what is pre-merge? > > > > > > efl 1.7.x ... from efl 1.8 we have a single build tree and we have > upped > > > our > > > dependencies. 1.8 is not out yet.. but release is scheduled for end of > may. > > > > > > Yes, but I'd strongly encourage to find out the Evas version before Eina > > was introduced. Then you don't need Eina, just Evas types that were built > > in (saves a lib to care and some Kb in the final image). > > > > With Evas all you need is to create an engine similar to "FB", give Evas > > the framebuffer (pixels) to paint and that's it. If you can configure > your > > FB, then it should be pretty simple to get it running. You can copy > > Expedite's model, that is basically a loop: > > while (1) { > > event = get_event(); > > if (event) process_event(event); > > evas_render_updates(evas); > > } > > > > from process_event() you can arrange your objects as you wish (create, > > move, resize...), evas_render_updates() will take care to draw them to > > output. Eventually you'd have to ask the FB to update itself, depends on > > your setup. > > > > If you need to strip the libraries, I'd recommend to remove the following > > chunks from Evas: > > - Gradients: it was removed in current Evas, but the pre-Eina still > > contained it with lots of useless code; > > - Textblock: if you don't need text markup or multi-line text, you can > > remove this and lots of code. > > > > And of course choose the minimum set of engines and options, I'm not sure > > the bootloader can use MMX/SSE, then you can compile out those with > > ./configure flags. > > > > > > NOTE: which hardware are you using this? It seems like a nice hobby > project > > I'd help on weekends, but I'd need to have a way to test :-) > > > > > > -- > > Gustavo Sverzut Barbieri > > http://profusion.mobi embedded systems > > -------------------------------------- > > MSN: barbi...@gmail.com > > Skype: gsbarbieri > > Mobile: +55 (19) 9225-2202 > > > ------------------------------------------------------------------------------ > > Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET > > Get 100% visibility into your production application - at no cost. > > Code-level diagnostics for performance bottlenecks with <2% overhead > > Download for free and get started troubleshooting in minutes. > > http://p.sf.net/sfu/appdyn_d2d_ap1 > > _______________________________________________ > > enlightenment-users mailing list > > enlightenment-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > > > > > -- > ------------- Codito, ergo sum - "I code, therefore I am" -------------- > The Rasterman (Carsten Haitzler) ras...@rasterman.com > > ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users