Commit Graph

247 Commits

Author SHA1 Message Date
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 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
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
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
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
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
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
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
Doyun Kang 631f94a523 From: Doyun Kang <doyoun.kang@samsung.com>
Add support for shape input setting and modification (with
fixes/modifications and extensions added tomake it more complete).



SVN revision: 58621
2011-04-13 09:06:05 +00:00
Carsten Haitzler 4155a7df00 add new version of efl sync proto between comp and client.
SVN revision: 58220
2011-03-31 08:13:14 +00:00
Carsten Haitzler 1588a92819 ecore-evas: feature++ : support netm sync protocol for clients
SVN revision: 58198
2011-03-30 10:10:04 +00:00
Christopher Michael f9d65ac745 Ecore_Evas: Add UNUSED where missing.
When building ecore_evas for gl, some functions had unused parameters.
Add UNUSED to those.



SVN revision: 57196
2011-02-20 16:39:43 +00:00
Carsten Haitzler 75b46faa61 fix sync to send done messges but not wait for sync counter with gl
engine.



SVN revision: 56563
2011-01-31 06:21:57 +00:00
Carsten Haitzler 79a249e476 oh and i didnt realise - gl enigne can avoid sync as its swap based :)
SVN revision: 56108
2011-01-14 10:35:59 +00:00
Carsten Haitzler 1046621d6a and we were missing vsync set support in ecore-evas, but had indirect
support. fix.



SVN revision: 55755
2010-12-26 10:17:31 +00:00
Carsten Haitzler a332eaa36b and break api in ecore_input_evas - not used anyway except within
ecore. the api didn't allow for rotation of multitouch input. need to
fix. done.



SVN revision: 55367
2010-12-08 03:25:23 +00:00
Iván Briano 02dced207e Revert the changes on ecore_x, seems not needed and break composite
SVN revision: 53617
2010-10-19 13:56:17 +00:00
Iván Briano bab8d2d0cd Use event_win when it exists to match source of events
I don't expect anything to break, but if mouse or keyboard events suddenly
disappear, feel free to revert this patch while blaming cedric or discomfitor.



SVN revision: 53583
2010-10-18 21:50:41 +00:00
Carsten Haitzler 18f7762fc0 make sure we have undefed stuff
SVN revision: 53562
2010-10-18 05:09:30 +00:00
Carsten Haitzler 1cae896bba delay comp setup until show. (and unset on hide)
SVN revision: 53256
2010-10-11 06:28:01 +00:00
Cedric BAIL f728fbf8f7 * ecore: fix build without X.
SVN revision: 53015
2010-10-04 09:35:06 +00:00
Carsten Haitzler 44093c2bdc set client leader by default - support setting it explicitly from code
too. fix default win props too.



SVN revision: 52974
2010-10-02 01:56:23 +00:00
Vincent Torri 439168c6ff tab------------
SVN revision: 52896
2010-09-29 17:03:38 +00:00
Vincent Torri 62bcf9643e check the returned value of evas_engine_info_set()
SVN revision: 52894
2010-09-29 16:45:49 +00:00
Vincent Torri ce40390347 int --> Eina_Bool
please review it

SVN revision: 52730
2010-09-25 07:03:02 +00:00
Carsten Haitzler bcf7b03bae warnings--
SVN revision: 52459
2010-09-19 03:51:56 +00:00
Vincent Torri 5973521793 check returned value of evas_engine_info_set()
SVN revision: 52360
2010-09-17 06:14:08 +00:00
Carsten Haitzler 4f823dab67 fix first map bug handling to handle more than first window map.
SVN revision: 52200
2010-09-13 22:16:26 +00:00
Lucas De Marchi be1b6d32ef Fix common misspellings
Following misspellings were fixed:

alledgedly->allegedly
cant->can't
carefull->careful
consistant->consistent
currenly->currently
dependancy->dependency
descripters->descriptors
doesnt->doesn't
dosen't->doesn't
existant->existent
exmaple->example
inbetween->between
independant->independent
isnt->isn't
mroe->more
neccessary->necessary
occured->occurred
occurence->occurrence
parrallel->parallel
particualr->particular
preceeding->preceding
recieved->received
recieves->receives
seperate->separate
substraction->subtraction
succesfully->successfully
successfull->successful
sucess->success
supress->suppress
usefull->useful
witht->with



SVN revision: 51986
2010-09-08 11:23:42 +00:00
Carsten Haitzler 864fcb6c17 fix sync issue in 1 special event re-order case. booo!
SVN revision: 51609
2010-08-24 09:26:34 +00:00
Lucas De Marchi 5a8a8c9014 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Christopher Michael f8d86f6d7c Remove blank line & fix formatting of function params.
SVN revision: 51397
2010-08-19 14:41:24 +00:00
Carsten Haitzler 6308b452af oooh that broke comp - hmm this bears some investigaing. remove eating
of show/hide events for ee's



SVN revision: 50982
2010-08-11 05:18:58 +00:00
Carsten Haitzler 18c41d2e78 work around a gl driver bug
export ECORE_EVAS_GL_FIRST_MAP_BUG=1

if you end up with blank empty windows when using evas gl engine in them



SVN revision: 50981
2010-08-11 05:12:22 +00:00
Lucas De Marchi 0a4617ae38 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Alexander Kerner ba10bce434 From: Alexander Kerner <alexander.kerner@googlemail.com>
Subject: [E-devel] 8bpp xcb evas engine

Hi all,

I've implemented the 8bpp grayscale evas engine. It is based on the 16bpp
engine. It would be nice if someone could review the code and maybe commit
into svn. The patches against evas and ecore are attached.



SVN revision: 50561
2010-07-28 00:17:40 +00:00
Cedric BAIL fbe9064310 * ecore: Ecore callback really should return Eina_Bool.
SVN revision: 49829
2010-06-24 16:15:56 +00:00
Carsten Haitzler eaad0eb095 big patch from Samsung SAIT (Advanced research group) for async multi-frame
rendering. to turn on:

1.
configure with --enable-async-render
2.
export EVAS_RENDER_MODE=non-blocking
  
presto. necessitates some api swizzling (thus the expedite. ecore etc. changes)

the kind of results you get on a desktop:

http://www.rasterman.com/files/evas-async-vs-none.html



SVN revision: 49087
2010-05-21 07:10:45 +00:00
Christopher Michael 0cad792cb6 Fix typos ;)
SVN revision: 48958
2010-05-18 04:13:13 +00:00
Carsten Haitzler 194aa90d0c handle info_set failures.
SVN revision: 48957
2010-05-18 03:50:17 +00:00