Commit Graph

494 Commits

Author SHA1 Message Date
Carsten Haitzler 210c5a9377 handle buffer allocation failure - null buffer.
SVN revision: 64125
2011-10-17 06:59:08 +00:00
Carsten Haitzler 194df9ef24 for gustavo -> ews matching changes.
SVN revision: 64081
2011-10-15 03:19:25 +00:00
Carsten Haitzler ee158e76fc 1. make inline image ee buffer non-alpha by default. thats the default
for all eee's. this was wrong.
2. make sure it sets back data when finished - check data in and check
it out.



SVN revision: 64069
2011-10-14 07:28:45 +00:00
Carsten Haitzler 2c08cfa53c add env var to disable compositor syncing for testing
SVN revision: 63979
2011-10-11 06:18:13 +00:00
Christopher Michael f06f66b0a9 Ecore_Evas: Fix building of ecore_evas when ews is disabled.
SVN revision: 63888
2011-10-06 20:54:46 +00:00
Gustavo Sverzut Barbieri fc1cf7e259 ews: do not allow resize the window using a mouse.
EWS is meant to run in FB or other systems without actual windows, but
as we test on X11 let's forbid to change the resolution.

One is still able to do it using ecore_evas_ews_setup().



SVN revision: 63860
2011-10-06 00:09:17 +00:00
Gustavo Sverzut Barbieri f51d00e4cf ecore_evas_ews: focus-out may be called during deletion.
SVN revision: 63857
2011-10-05 23:41:39 +00:00
Gustavo Sverzut Barbieri 5be92e7d21 ecore_evas_ews: apply modifiers to target evas.
SVN revision: 63855
2011-10-05 23:24:45 +00:00
Gustavo Sverzut Barbieri b136246078 ecore_evas_ews: fixed bug with rendering.
Ouch, did not notice the engines were hardcode to buffer engine, let's
make it generic to the render function of the engine.



SVN revision: 63853
2011-10-05 22:52:41 +00:00
Gustavo Sverzut Barbieri 27bd62e087 ecore_evas_ews: fix focus of inner canvas.
SVN revision: 63852
2011-10-05 22:51:37 +00:00
Gustavo Sverzut Barbieri 163272dc48 Welcome EWS - Ecore+Evas Single Process Windowing System.
EWS is a new Ecor_Evas engine that builds on top of other engines. It
will create a backing store Ecore_Evas and ecore_evas_ews_new()
windows are created in it as images, but transparent to the outside
users (similar to buffer's ecore_evas_object_image_new()).

It provides a basic windowing system, with a known background object
that can be changed to your pleasure, and issue Ecore_Events to notify
of new windows and changes like movement, etc. Then you can write a
simple window manager based on it. (See example, Elementary will
contain one as well).

Backing store is determined by your best engine (as in
ecore_evas_new()) or specified with ecore_evas_ews_engine_set() or
environment variable $ECORE_EVAS_EWS (format:
engine-namey:w:h:options). The size can be set with
ecore_evas_ews_setup().



SVN revision: 63848
2011-10-05 22:11:00 +00:00
Christopher Michael 63baac01f2 Ecore_Evas: Rename xcb cflags & libs variable to avoid pkg-config
confusion.



SVN revision: 63582
2011-09-24 06:20:47 +00:00
Christopher Michael fe35a0421b Ecore_Evas: Don't need the WindowAttributes variable unless we are an
argb window. 

(Sorry vtorri).



SVN revision: 63534
2011-09-22 09:26:02 +00:00
Vincent Torri b25413d367 whitespaces--
SVN revision: 63531
2011-09-22 06:02:26 +00:00
Christopher Michael dd77378588 Ecore_Evas: Rework ecore_evas_x_render function so it does not
allocate memory for list variables & rectangles unless we need to (ie:
If there are no evas_render_updates to do, then there is no need to
allocate extra list variables & rectangles).



SVN revision: 63528
2011-09-22 02:39:23 +00:00
Christopher Michael 0009c82081 Ecore_Evas: When doing rotation_set_internal, no need to fetch the
ecore_x_window_size here as the returned values are not used anyway,
so avoid the extra function call.



SVN revision: 63523
2011-09-21 21:01:15 +00:00
Christopher Michael 42d8b6b481 Ecore_Evas: No need to call ecore_x_window_move/resize is the canvas
is already at the required size or position.



SVN revision: 63522
2011-09-21 20:55:12 +00:00
Youness Alaoui 5714e384d7 Ecore: Allow ecore-evas-sdl to work with software-sdl-16 engine. Also removed dead code
SVN revision: 63253
2011-09-07 06:58:28 +00:00
Youness Alaoui ea4aa8f446 Ecore: Add the noframe extra option to the ecore-evas-sdl
SVN revision: 63252
2011-09-07 06:58:21 +00:00
Vincent Torri 5d63d386df use EINA_FALSE / EINA_TRUE
SVN revision: 62974
2011-08-29 21:47:07 +00:00
ChunEon Park c6bd24febb ecore_evas - patched by Gwanglim Lee <gl77.lee@samsung.com>
Hi all,

I've fixed a minor bug in the ecore_evas_gl_x11_pre_post_swap_callback_set API.
It wasn't setting a post_swap callback properly.

Please review it.

BR,




SVN revision: 62785
2011-08-25 08:14:21 +00:00
Lucas De Marchi 428c512599 ecore: silence warnings the right way
Setting a variable but not using it will trigger another warning on gcc >= 4.6.



SVN revision: 62717
2011-08-23 12:04:52 +00:00
Sebastian Dransfeld ea52155aeb ecore: Fix shadow warnings
SVN revision: 62562
2011-08-18 10:59:24 +00:00
Gustavo Lima Chaves 79f479c754 [ecore] Examples for the last batch of documentation
bumps.



SVN revision: 62152
2011-08-05 20:16:19 +00:00
Gustavo Lima Chaves 813e5e978a [ecore] Documentation for the following:
- ecore_evas_buffer_allocfunc_new
 - ecore_evas_buffer_new
 - ecore_evas_buffer_pixels_get
 - ecore_evas_manual_render
 - ecore_evas_object_image_new
 - ecore_evas_object_ecore_evas_get
 - ecore_evas_object_evas_get



SVN revision: 62151
2011-08-05 20:16:13 +00:00
Jonas M. Gastal 7de33b63a3 Ecore: ecore_evas window properties documentation.
These functions are not contemplated by examples because there is no
meaningfull example(just setting the flags doesn't won't help developers
in understading how to use them) and because their behavior is dependant
on the windowing system.



SVN revision: 62056
2011-08-03 14:39:01 +00:00
Jonas M. Gastal 92f409501d Ecore: ecore_evas basics documentation.
SVN revision: 62055
2011-08-03 14:38:32 +00:00
Jonas M. Gastal 62cd6116d1 Ecore: ecore_evas_object documentation.
SVN revision: 62016
2011-08-02 17:02:07 +00:00
Gustavo Lima Chaves 171186e10c [ecore] Documenting the following:
- ecore_evas_size_base_get
 - ecore_evas_size_base_set
 - ecore_evas_size_max_get
 - ecore_evas_size_max_set
 - ecore_evas_size_min_get
 - ecore_evas_size_min_set
 - ecore_evas_size_step_get
 - ecore_evas_size_step_set



SVN revision: 62012
2011-08-02 16:44:08 +00:00
Jonas M. Gastal 070ed98761 Ecore: ecore evas callbacks documentation.
SVN revision: 61998
2011-08-02 13:52:26 +00:00
Carsten Haitzler 48cb97bcec more error handling improvements
SVN revision: 61879
2011-07-29 06:21:43 +00:00
Carsten Haitzler bf5829a614 make sure we complain enough on stderr about enignes not being found
by ecore-evas. improved error handling, though not really a bug.



SVN revision: 61878
2011-07-29 06:20:55 +00:00
Christopher Michael ab5e8633df Ecore_Evas: Remove xlib (and xcb) specific calls for the software_x11
and opengl_x11 engines and replace with ecore_x calls.

NB: I did not touch software_16 or software_8 so we cannot yet remove
the XLib linking wrt ecore_evas. I leave that exercise to 'the old
man' as per our convo this morning...but this does put us one step
closer ;)



SVN revision: 61743
2011-07-26 11:24:10 +00:00
Christopher Michael 4b87169132 Ecore_Evas: Use ecore_x function(s) for getting window attributes.
Some fixes for OpenGL wrt xcb (minor stuffs).

NB: We already use ecore_x for some things in here, so let's keep
duplicated code down to a minimum and resuse what we already have ;)



SVN revision: 61676
2011-07-25 09:29:09 +00:00
Vincent Torri 3e655d5e56 link xim module against ecore_x. This patch fixes compilation on mac os x
SVN revision: 61625
2011-07-24 00:23:34 +00:00
Christopher Michael 08aedd264a Ecore_Evas: Use an easier check for If existing ecore_evas is already
alpha. No need to do comparisons like this.



SVN revision: 61611
2011-07-23 17:37:04 +00:00
Christopher Michael da03bd6e66 Ecore_Evas: Fixes for working with the xcb engine. Fix some
formatting. Fix dst_rect being uninitialized. Remove 'prefetch &
fetch' calls as they are not used in the new xcb stuffs.



SVN revision: 61379
2011-07-14 15:40:53 +00:00
Carsten Haitzler f1b0e8d075 provide alpha set call for buffer canvas in ecore-evas. new feature
related to elm shot engine.



SVN revision: 61077
2011-07-06 10:21:16 +00:00
Ulrich Eckhardt 46cdaea3cb From: Ulrich Eckhardt <doomster@knuut.de>
Subject: [E-devel] XRender engine causes ecore build failure

while building ecore. The problem is that this engine was removed from evas 
but not yet completely from ecore. I was on IRC with Vincent Torri (vtorri) 
and Daniel Juyung Seo (SeoZ) and the consensus was to remove the code for the 
XRender engines, both the Xlib and XCB versions.

There is a switch over the different engine types, where there are still a few 
places left where XRender is handled, grep for "xrender" or "XRENDER" and you 
will find them. The question is whether to just return NULL in order to signal 
that this engine is not supported or to remove the whole thing. The latter 
could break binary compatibility, therefore I left those stubs in.



SVN revision: 60502
2011-06-20 06:58:33 +00:00
Vincent Torri 3914920d09 Ecore : ecore_evas : use correct temporary directory on Windows
SVN revision: 60468
2011-06-17 21:49:47 +00:00
Boris Faure e6119fa4d9 remove .cvsignore files
SVN revision: 60246
2011-06-12 21:38:37 +00:00
Carsten Haitzler 3862411f83 fix sdl ecore evas mixup when adding ecore evas geometry get
SVN revision: 59841
2011-05-31 11:18:28 +00:00
Lucas De Marchi 2f4bba5d15 ecore: fix misspellings
Misspellings found by codespell


SVN revision: 59821
2011-05-30 16:17:07 +00:00
Gustavo Sverzut Barbieri 89971de866 Ecore_Evas: introduce ecore_evas_screen_geometry_get()
This common interface allows engines to provide whole screen
information to users.

Right now just X is implemented and it queries the size of the default
screen. I hope this is fine.



SVN revision: 59761
2011-05-27 19:31:11 +00:00
Gustavo Sverzut Barbieri a2e1a187e6 let ecore_evas_ecore_evas_get() be safer.
SVN revision: 59759
2011-05-27 18:53:27 +00:00
Daniel Juyung Seo 6ef3841a37 Ecore: Removed trailing whitespaces.
SVN revision: 58753
2011-04-20 14:15:33 +00:00
Cedric BAIL 2bb86cbe4f ecore: fix build without Ecore_Evas_X.
SVN revision: 58689
2011-04-15 13:33:44 +00:00
Carsten Haitzler 8d5212d060 BUG!! fix buffer canvas modifier set setting! gah!
SVN revision: 58685
2011-04-15 11:01:15 +00:00
Carsten Haitzler 18ecece5f3 and oops.. fix my fox to coord xlations. working now.
SVN revision: 58630
2011-04-13 12:12:41 +00:00
Carsten Haitzler 9c4345a997 printf--
SVN revision: 58629
2011-04-13 12:06:17 +00:00