[E-devel] How to get the buffer of current evas

2011-06-21 Thread suxia li


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


Re: [E-devel] How to get the buffer of current evas

2011-06-21 Thread Atton Jonathan
Evas is optimized, now Evas does not use a buffer. Data are in the cloud !

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


Re: [E-devel] How to get the buffer of current evas

2011-06-21 Thread Vincent Torri



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

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


Re: [E-devel] How to get the buffer of current evas

2011-06-21 Thread suxia li
is there any way to get the data?

--- Original Message ---
Sender : Vincent Torrivto...@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


pnbsp;/ppnbsp;/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


Re: [E-devel] How to get the buffer of current evas

2011-06-21 Thread Vincent Torri



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 Torrivto...@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



pnbsp;/ppnbsp;/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


Re: [E-devel] How to get the buffer of current evas

2011-06-21 Thread suxia li
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?

--- Original Message ---
Sender : Vincent Torrivto...@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 Torrivto...@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


 pnbsp;/ppnbsp;/p


pnbsp;/ppnbsp;/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


Re: [E-devel] How to get the buffer of current evas

2011-06-21 Thread Vincent Torri



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 Torrivto...@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 Torrivto...@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



pnbsp;/ppnbsp;/p



pnbsp;/ppnbsp;/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


Re: [E-devel] How to get the buffer of current evas

2011-06-21 Thread suxia li
i want to get the current screen data,  and set it to an evas object image.

--- Original Message ---
Sender : Vincent Torrivto...@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 Torrivto...@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 Torrivto...@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


 pnbsp;/ppnbsp;/p


 pnbsp;/ppnbsp;/p


pnbsp;/ppnbsp;/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


Re: [E-devel] How to get the buffer of current evas

2011-06-21 Thread Nicolas Aguirre
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);

This function get the ecore_evas associated to an Evas ?

 ecore_evas_buffer_pixels_get(Ecore_Evas *ee);

I think that this function is for buffer engine only. IIRC it's what
is used for ethumb for example to generate thumbnail, you create un
evas buffer ans then you add you evas object, and finally you get
pixels of this bufffer engine to write back images on disk. But it's
only with engine buffer.

A way to do what you want, is using ecore_x function to get the whole
window content, as the E17 shot module do for the root window.
ecore_x_image_get and ecore_x_image_date_get might do what you want.

Maybe a better solution exists ? Guys other ideas ?



 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




-- 
Nicolas Aguirre
Mail: aguirre.nico...@gmail.com
Web: http://enna.geexbox.org
Blog: http://dev.enlightenment.fr/~captainigloo/

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


Re: [E-devel] How to get the buffer of current evas

2011-06-21 Thread The Rasterman
On Tue, 21 Jun 2011 07:53:51 + (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 Torrivto...@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 Torrivto...@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 Torrivto...@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
 
 
  pnbsp;/ppnbsp;/p
 
 
  pnbsp;/ppnbsp;/p
 
 
 pnbsp;/ppnbsp;/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