Commit Graph

118 Commits

Author SHA1 Message Date
Chris Michael 72a3a4c787 Add function code for:
- ecore_evas_pixmap_visual_get
- ecore_evas_pixmap_colormap_get
- ecore_evas_pixmap_depth_get

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-11 10:49:25 +01:00
Chris Michael 769c8e5934 Add interface function definitions for:
- pixmap_visual_get
- pixmap_colormap_get
- pixmap_depth_get

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-11 10:49:25 +01:00
Chris Michael ceca31714a Add API declarations for new pixmap functions
- ecore_evas_pixmap_visual_get
- ecore_evas_pixmap_colormap_get
- ecore_evas_pixmap_depth_get

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-11 10:49:25 +01:00
Chris Michael b8124f8b32 Check for valid interface pixmap_get function before trying to call it.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-11 08:56:44 +01:00
Chris Michael 2dc165936d Update doxygen comments wrt constant changing of pixmap id
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-11 08:56:44 +01:00
Chris Michael c04814023b Add missing functions for pointer_warp and pointer_xy_get to engine
structure.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:02:40 +01:00
Chris Michael 0c66ca7c09 Fix missing return value in pointer warp function.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:02:40 +01:00
Chris Michael 362d89e05c Add ecore_evas_pointer_xy_get and ecore_evas_pointer_warp functions
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 10:56:02 +01:00
Chris Michael 5e988cc8cf Add pointer_xy_get and pointer_warp to engine functions
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 10:52:34 +01:00
Chris Michael 5c223328d4 Add ecore_evas_pointer_xy_get and ecore_evas_pointer_warp API functions
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 10:51:23 +01:00
Chris Michael 5f71c0afb1 Begone Vile Formatting !!!
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 10:01:38 +01:00
Chris Michael 6900d83095 Remove blank line
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 09:53:04 +01:00
Chris Michael 583c81bd96 Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 07:21:51 +01:00
Chris Michael babc9c64b7 Add gl functions for pixmap_new and pixmap_get variation
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 07:21:51 +01:00
Chris Michael 159232b593 Add code for ecore_evas_software_x11_pixmap_new/get functions.
Fix formatting in ecore_evas_window_get.

  NB: This will be used to create an ecore_evas that Renders to a
      Pixmap (not a window). As such, Some ecore_evas functions may
      not operate as expected when using this type of ecore_evas.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-05 10:44:18 +01:00
Chris Michael 1e8f6d3b45 Add interface function pointers for pixmap_get.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-05 10:44:18 +01:00
Chris Michael a2a2a1c8a2 Add typedef for Ecore_X_Pixmap if Ecore_X header is not included.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-05 10:44:18 +01:00
Chris Michael 25241a5138 Add API function declarations for ecore_evas (software and gl) that
can "render to pixmap".

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-05 10:44:18 +01:00
Sebastian Dransfeld 068f1ddc62 efl: formatting 2013-06-20 13:08:36 +02:00
Chris Michael 09376dae70 Fix formatting
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-17 23:22:19 +01:00
Chris Michael 6e54a050d8 Add pre_post_swap_callback_set to Wayland Interface for Ecore_Evas.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-06 04:42:57 +01:00
Chris Michael 97a425b52d Fix formatting.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-06 04:29:42 +01:00
Chris Michael 7aae76ac9b Add ecore_evas_drm private header.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-14 10:49:14 +01:00
Chris Michael dd364de99d Start on basic ecore_evas_drm code.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-14 10:49:14 +01:00
Rafael Antognolli cf9d3c90f5 Ecore/Evas: Add evas_event_input_multi_down/up().
These events (from multi-touch) also have information about the mouse
pointer position, so they must be translated by the framespace too.
2013-05-08 16:50:15 -03:00
Rafael Antognolli d8b0c6e1da ecore/evas events: Use evas_event_input_multi_move to report events.
Same as using evas_event_input_mouse_move.
2013-05-03 17:19:14 -03:00
Rafael Antognolli 4b9a80a063 ecore/evas events: Use evas_event_input_mouse_move to report events.
Ecore_Evas_Input should use this function to report mouse move events.
The previous used function should be used to refeed events, or to
artificially feed mouse move events to the canvas. Basically every other
feed_mouse_move use case that is not an event from the input system.
2013-05-03 16:45:33 -03:00
Rafael Antognolli 72bbf5b49b ecore_evas/wayland: Consider the frame/border for pointer position.
When the window is rotated, the logical pointer position is calculated
based on the window size (width or height) minus the current position,
depending on the rotation used. For wayland, we must add the window
decorations to the ecore_evas size, when doing this calculation.
2013-04-24 17:56:53 -03:00
Rafael Antognolli f12b3b94d0 ecore/ews: Make this engine be aware of the wayland frame object.
Its background object must be resized to the framespace, and left at
least one layer available for the frame object to be under it.
2013-04-19 12:57:50 -03:00
Cedric BAIL 2063e4353d efl: integrate eina_log_timing. 2013-03-27 21:43:45 +09:00
Cedric Bail a831609e63 ecore: include mman.h also when Evil is found.
I don't really like this patch. I think it would be nicer to have mmap
been correctly detected when Evil or Exotic is there, but at this point
I don't feel at ease with configure.ac.
2013-03-20 10:59:56 +09:00
Cedric Bail 9e745d4a2c efl: add macro to swap Windows and Unix path separators. 2013-03-19 15:15:46 +09:00
Daniel Willmann 116b775c30 ecore_evas: Mark unused variables as unused
Get rid of warnings introduced by commit a4593c

Signed-off-by: Daniel Willmann <daniel@totalueberwachung.de>
2013-03-16 12:33:36 +00:00
Cedric Bail ba4db2c241 ecore_evas: follow naming of other modules for Windows to. 2013-03-16 15:54:18 +09:00
Cedric Bail a4593c1cdf ecore_evas: killing Glew and Direct3d, because someone already killed Kenny. 2013-03-16 15:50:01 +09:00
Cedric Bail 32661a5ac4 ecore_evas: re-order inclusion of header to fix compilation on Windows.
It is a very tricky things to get header order right on windows. Having that
order only in .c files simplify the work a lot. So let's try to do it with
Ecore_Evas after it rewrite and split into modules.
2013-03-12 15:58:43 +09:00
Jiyoun Park c5a8a6b5ff Add infrastructure to handle message between ecore and parent ecore in Ecore_Evas
I add new example related with this. (ecore_evas_extn_socket & plug example)
ecore extn use this infrasturcture, server app and client app can communicate each other
later, this can be used to contorl access message


SVN revision: 83942
2013-02-15 09:32:40 +00:00
Carsten Haitzler 7d624a5f4b change to code that was added during 1.8 dev.. so no need for
chlog/news...

dont ever unload (free) ecore-evas modules to avoid symbol problems.



SVN revision: 83885
2013-02-14 09:40:23 +00:00
Carsten Haitzler d1c6f7d937 don't know if this will help - but try quieten some valgrind
complaints... :/ (trying)



SVN revision: 83840
2013-02-12 06:49:42 +00:00
Jihoon Kim 8297e007ba fix typo in document about ecore_getopt_callback_ecore_evas_list_engines.
It's wrriten by Patryk Kaczmarek <patryk.k@samsung.com>


SVN revision: 83710
2013-02-07 07:45:04 +00:00
Mike McCormack 3642599e8f efl: Fix unused parameter warning
Signed-off-by: Mike McCormack <mike@atratus.org>

SVN revision: 83334
2013-01-25 21:30:48 +00:00
Rafael Antognolli 167c19ca29 efl/evas/examples: Remove framespace offset from example.
The example should not account for the framespace, since this is handled
inside ecore_evas already.

This change partially fix #1673.

SVN revision: 83041
2013-01-21 16:05:08 +00:00
Gustavo Sverzut Barbieri b1bc5aeb24 efl: simplify automake.
Instead of -I$(top_srcdir)... -I$(top_builddir)... and then do it for
the .la, use the EFL_ macros to generate the contents to be used in
automake files.

There is a nasty bit that libtool will parse Makefile*.am and will not
get _DEPENDENCIES from _LIBADD and _LDADD if these are in
@REPLACEMENT@. To solve this we must explicitly set _DEPENDENCIES. The
contents of this is almost the same as _LIBADD or _LDADD with the
"_INTERNAL_" replacement name.

I hope the code will be result will be shorter and consistent as there
is less places to change when we add/remove dependencies.

Statistics are quite impressive (diffstat):
{{{
37 files changed, 663 insertions(+), 1599 deletions(-)
}}}



SVN revision: 82785
2013-01-14 22:36:23 +00:00
Gustavo Sverzut Barbieri 72eaa99676 ecore_evas async render watchdog.
it is very unlikely to be ecore_evas problem, but here it goes: a
watch dog that checks if they are stuck and resets if so.



SVN revision: 82657
2013-01-11 18:55:06 +00:00
Gustavo Sverzut Barbieri 85f8163c3e efl/ecore_evas: merge buffer into core, split extn apart.
buffer is lightweight and dependency for many engines, merge it back
into core.

extn is a module on its own, and it's the only one linking to
ecore_ipc, no need to add that to ecore_evas.

minor cosmetic changes to configure to make output consistent.



SVN revision: 82648
2013-01-11 16:57:21 +00:00
Gustavo Sverzut Barbieri 7b8f400381 efl/ecore_evas: avoid infinite loop building ews.
ews will load another engine inside it's constructor. If no module is
found, then it will loop back to itself. avoid that.



SVN revision: 82606
2013-01-11 04:21:02 +00:00
Gustavo Sverzut Barbieri 532284dbbe efl: forward typedef to avoid including useless headers.
do not include Ecore_Input.h just to get Ecore_Window and Ecore_Getopt
to get handful typedefs.

NOTE: why do we have the #ifdefs around these predefs? At least GCC does not warn if we typedef twice the same thing (if they are identical)



SVN revision: 82499
2013-01-10 02:18:10 +00:00
Gustavo Sverzut Barbieri 733425c62c efl: make libraries aware of EFL_RUN_IN_TREE.
this variable tells that the build is being done in tree and we should
not look at install locations.



SVN revision: 82217
2013-01-04 17:19:43 +00:00
Gustavo Sverzut Barbieri caa2004b4c efl/ecore_evas: fix doxygen hierarchy.
SVN revision: 81835
2012-12-28 19:48:40 +00:00
Mike Blumenkrantz b2de05f49a all efl object deletion functions now take NULL without crashing or erroring
SVN revision: 81667
2012-12-24 09:35:56 +00:00
Vincent Torri a4f4aa00b3 fix returned value
SVN revision: 81323
2012-12-19 07:06:22 +00:00
Gustavo Sverzut Barbieri b5197eb128 efl/ecore_evas: be loud on errors.
SVN revision: 81302
2012-12-18 20:14:11 +00:00
Gustavo Sverzut Barbieri b6724ed9ce efl/ecore_evas: abort when object does not contain Ecore_Evas.
SVN revision: 81301
2012-12-18 20:10:48 +00:00
Gustavo Sverzut Barbieri be79115198 efl/ecore_evas: do not silently fail on incorrect interface.
SVN revision: 81300
2012-12-18 20:09:51 +00:00
Jonas M. Gastal e3ae81e65f efl: Created Ecore group and added existing Ecore groups to it.
SVN revision: 81293
2012-12-18 18:38:44 +00:00
Leandro Pereira 613659b1d8 ecore-evas: Async render
SVN revision: 81283
2012-12-18 16:27:26 +00:00
Carsten Haitzler 5898909947 ecore-evas moduels broke listing of modules... names all changed!
fix... the long ugly way! :(



SVN revision: 80788
2012-12-13 00:55:53 +00:00
Gustavo Sverzut Barbieri 892c64297e efl: begin (still partial!) to make an uniform choice of engines ecore/evas
still lots to do, but some improvements:

 - ecore_evas does not inherit pkg-config from modules since modules are SO

 - renamed internal ecore evas define from SOFTWARE_BUFFER to BUFFER,
   to make consistent.



SVN revision: 80473
2012-12-07 17:18:17 +00:00
Flavio Vinicius Alvares Ceolin 186156afbc ecore_evas: Removing warning about unused function
Now the engines are modules, the checking for the engine is not done
in the compile time anymore, so we're removing these checks.



SVN revision: 80389
2012-12-06 20:39:20 +00:00
Carsten Haitzler 7b7a611805 if you are going to use symbols implicitly from a module provided by a
lib.. you have to EAPI them!



SVN revision: 80283
2012-12-05 23:11:46 +00:00
Flavio Vinicius Alvares Ceolin ad7579c129 ecore_evas: Make the engines loadable modules
Implementing support for loadables modules. It makes the engines been
loaded when they are needed. It not breakes the api, so each engine
still has its own api.

The implementation basically is:

* Functions that creates Ecore_Evas, for example
  ecore_evas_software_x11_new, request to load its module and then get
  the module's function to create the Ecore_Evas.
* The other functions such as \(.*\)_window_get from the Ecore_Evas
  its interface and then call the appropriate method.
* As there is no unified interface to communicate with the engines
  (not break api problem), all interfaces were declared in
  ecore_evas_private.h
* Now the data necessary for each module is not declared in the
  Ecore_Evas_Engine structure, instead of this, the struct has a void
  pointer that is used by the modules.
* In this first moment engines as software_x11 and gl_x11 were put
  together in the same module, but obviously exporting all the things
  necessary.


SVN revision: 80280
2012-12-05 21:15:42 +00:00
Gustavo Sverzut Barbieri bb0e4d65ed efl/ecore_evas: move more removed/deprecated stuff to own file and mark.
x11-16, x11-8, xrender were also removed but not marked as EINA_DEPRECATED.

move those to ecore_evas_deprecated.c file.



SVN revision: 80255
2012-12-05 14:09:49 +00:00
Gustavo Sverzut Barbieri 1227340c12 efl/ecore_evas: move deprecated functions to separate file, mark them.
mark every deprecated function with EINA_DEPRECATED.

move them to a separate file so we can easily delete them in future.



SVN revision: 80253
2012-12-05 13:59:09 +00:00
Gustavo Sverzut Barbieri dfe93a7f0a directfb says bye...
After agreement in the mail list, core developers agree to remove this
engine that was not being supported for a long time.

Given that most operations Evas uses are not accelerated in DirectFB,
or at least hardware that exclusively supports DirectFB, it's better
for those people to just use Evas/Ecore software (buffer) rendering
and expose DirectFB's framebuffer as destination surface.



SVN revision: 80232
2012-12-05 12:24:01 +00:00
Gwanglim Lee 74cdf85ea9 From: Gwanglim Lee <gl77.lee@samsung.com>
Subject: Re: Re: Re: [E-devel] [RFC] Virtual desktop window profile

I've attached 4th patch. May the 4th be with you.

ecore patch has been merged with efl and all files are based on r80123.

Thanks & Regards,
Gwanglim

------- Original Message -------
Sender : Daniel Juyung Seo<seojuyung2@gmail.com>
Date : 2012-12-04 01:55 (GMT+09:00)
Title : Re: Re: [E-devel] [RFC] Virtual desktop window profile

It looks ok to me.
Sorry but can you re-generate the patch according to the recent ecore
merge to efl single tree?

Daniel Juyung Seo (SeoZ)


On Thu, Nov 29, 2012 at 12:29 AM, Gwanglim Lee <gl77.lee@samsung.com>
wrote:

Dear Raster and Daniel Juyung Seo,

I've attached 3rd patches and test_config according to your reviews.
These are based on r79782.

[elementary & ecore]
1. "profile,set" -> "profile,changed" - done
2. spaces after EINA_LIST_FOREACH - done
3. variable type - keep
4. author - done
5. removing deprecated marking in patch - done
6. add elm_win_available_profiles_get to test_config for the debugging
purpose - done

7. check whether a given profile is present in an available profiles.
otherwise window profile will be one of the item
    in available profiles. - newly added thing to the elm_win
    8. merge with EO - done. :(
    
    
    Any comments would be appreciated.
    


SVN revision: 80214
2012-12-05 06:48:46 +00:00
Cedric BAIL f03023b28b efl: Fix build of Ecore_Evas_Extn.
Patch by Robert David <robert.david.public@gmail.com>


SVN revision: 80206
2012-12-05 02:52:03 +00:00
Vincent Torri e861082271 ecore: backport #79818
SVN revision: 80010
2012-12-03 07:01:02 +00:00
Vincent Torri 7d6010b12c merge: add escape ecore, fix several bugs
SVN revision: 79995
2012-12-02 22:35:45 +00:00