On Tue, 21 Jun 2011 07:53:51 +0000 (GMT) suxia li <suxia...@samsung.com> said:
basically, you can't. the data may not exist in any gettable form. it may be in 1bit monochrome, in greyscale, in rgb or rgba - it's totally abstracted and the buffer may simply not exist. in fact this is the case with all engines except for buffer. evas allocs tmp update buffers, renders updates and pushes them to the screen and then throws them out. it doesn't keep them. they no longer exist. as such the fact that u are trying to grab the canvas buffer already tells me you are probably doing something wrong as this is highly rare you want to do this and if you do a grab.. it can't be updated as the grab is static, so if the canvas is animating your grab stays still. it destroys the abstraction and update paths to do this kind of thing. there are things like proxy objects (image objects with source SET to another object that allow copies o that object and all its contents to be put somewhere else on screen and even get live updates from the original). > i want to get the current screen data, and set it to an evas object image. > > ------- Original Message ------- > Sender : Vincent Torri<vto...@univ-evry.fr> > Date : 六月 21, 2011 16:50 (GMT+09:00) > Title : Re: Re: Re: [E-devel] How to get the buffer of current evas > > > > On Tue, 21 Jun 2011, suxia li wrote: > > > oh, it use software_x11 engine, but i want to get the engine pixels(the > > buffer data of the canvas), do you know how to? > > what do you want to do, exactly ? > > Vincent > > > > > ------- Original Message ------- > > Sender : Vincent Torri<vto...@univ-evry.fr> > > Date : 六月 21, 2011 16:01 (GMT+09:00) > > Title : Re: Re: [E-devel] How to get the buffer of current evas > > > > > > > > On Tue, 21 Jun 2011, suxia li wrote: > > > >> is there any way to get the data? > > > > with the buffer engine of ecore_evas. Did you write a small test ? > > > > Vincent > > > >> > >> ------- Original Message ------- > >> Sender : Vincent Torri<vto...@univ-evry.fr> > >> Date : 六月 21, 2011 15:49 (GMT+09:00) > >> Title : Re: [E-devel] How to get the buffer of current evas > >> > >> > >> > >> On Tue, 21 Jun 2011, Atton Jonathan wrote: > >> > >>> Evas is optimized, now Evas does not use a buffer. Data are in the cloud ! > >> > >> but he is using the buffer engine with ecore_evas, so it should work. > >> Maybe a small test case would be helpful > >> > >> Vincent > >> > >>> > >>> 2011/6/21 suxia li <suxia...@samsung.com> > >>> > >>>> > >>>> > >>>> Hi, > >>>> Here i want to get the buffer of current evas, so i tried by the 2 API , > >>>> firstly get the ecore evas, then get the buffer pixels of current > >>>> Ecore_Evas, but the second API return NULL. is there any one help me on > >>>> this issue, thanks in advance. > >>>> > >>>> ecore_evas_ecore_evas_get??const Evas *e???? > >>>> ecore_evas_buffer_pixels_get??Ecore_Evas *ee???? > >>>> > >>>> Best Regards > >>>> > >>>> ------------------------------------------------------------------------------ > >>>> EditLive Enterprise is the world's most technically advanced content > >>>> authoring tool. Experience the power of Track Changes, Inline Image > >>>> Editing and ensure content is compliant with Accessibility Checking. > >>>> http://p.sf.net/sfu/ephox-dev2dev > >>>> _______________________________________________ > >>>> enlightenment-devel mailing list > >>>> enlightenment-devel@lists.sourceforge.net > >>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > >>>> > >>> > >>> > >>> > >>> -- > >>> Regards. > >>> ------------------------------------------------------------------------------ > >>> EditLive Enterprise is the world's most technically advanced content > >>> authoring tool. Experience the power of Track Changes, Inline Image > >>> Editing and ensure content is compliant with Accessibility Checking. > >>> http://p.sf.net/sfu/ephox-dev2dev > >>> _______________________________________________ > >>> enlightenment-devel mailing list > >>> enlightenment-devel@lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > >>> > >>> > >> <p> </p><p> </p> > >> > >> > > <p> </p><p> </p> > > > > > <p> </p><p> </p> > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel