Commit Graph

142 Commits

Author SHA1 Message Date
Viktor Kojouharov ca0470e59f make this build again
SVN revision: 39576
2009-03-19 12:36:19 +00:00
Vincent Torri 8eb538126c remove trailing spaces
SVN revision: 39574
2009-03-19 07:59:59 +00:00
Cedric BAIL 9f3aac0837 * ecore_evas: Fix typo preventing live preview to work and add
sub_ecore_evas to SDL backend.



SVN revision: 39555
2009-03-18 17:12:52 +00:00
Cedric BAIL 8f9b260382 * ecore_evas_x: Remove now useless function.
SVN revision: 39506
2009-03-16 16:40:00 +00:00
Cedric BAIL 57e8d73fba Let me introduce you to Ecore_Input. The idea is to share as much as possible event
between all ecore graphic engine to ease porting of application and reduce the amount of
specific code per engine. This patch does just that.
	All your application should continu to work has previously, if it's not the case
please report any new behaviour regarding mouse and keyboard.


SVN revision: 39505
2009-03-16 16:24:43 +00:00
Carsten Haitzler 9911c70dff ECORE_EVAS_FPS_DEBUG now printfs useful data.
SVN revision: 39273
2009-02-28 07:54:47 +00:00
Cedric BAIL 3f767e7cf8 * ecore/src/lib/ecore_evas/ecore_evas_quartz.c,
* ecore/src/lib/ecore_evas/ecore_evas_fb.c,
	* ecore/src/lib/ecore_evas/ecore_evas_x.c,
	* ecore/src/lib/ecore_evas/ecore_evas_directfb.c,
	* ecore/src/lib/ecore_evas/ecore_evas_sdl.c: Prevent use of deleted object.



SVN revision: 38949
2009-02-05 10:45:52 +00:00
Vincent Torri 29b0f87503 uniformize the inclusion of config.h
SVN revision: 38865
2009-01-31 18:56:17 +00:00
Vincent Torri e18508b701 remove a bit the mess n ecore. It's just the first patch...
* add vim header
 * include config.h when necessary
 * fix the order of some include
 * move the standard header in ecore_private.h to the source files

I have recompiled all the efl and e17, and e17 seems to work fine with these changes.
If you encounter problems with that commit, let me know.


SVN revision: 38864
2009-01-31 18:33:39 +00:00
Carsten Haitzler 6fc7c79741 use new engine merge.
SVN revision: 38175
2008-12-17 08:16:21 +00:00
Cedric BAIL 642d8686de Remove ecore_hash and eina_hash use from ecore.
SVN revision: 38105
2008-12-11 13:55:47 +00:00
Gustavo Sverzut Barbieri 59c00da15a add some const.
SVN revision: 37318
2008-10-29 20:12:45 +00:00
Gustavo Sverzut Barbieri 9f45e76c20 Export driver as engine_name.
Also make sure it matches the names used by engines_get().



SVN revision: 37314
2008-10-29 19:31:05 +00:00
Carsten Haitzler f7283eb333 remove some debugging
SVN revision: 36960
2008-10-22 09:25:38 +00:00
Cedric BAIL 0780128787 Remove Evas_List from Ecore.
SVN revision: 36941
2008-10-21 15:54:55 +00:00
Carsten Haitzler a8125498b8 actually activating... use "2" (for pager) as this should normally activate
as opposed to just ask for attention


SVN revision: 35423
2008-08-10 02:01:17 +00:00
doursse ef61dbeb14 Big change in configure.in, ecore_x and ecore_evas. Everything compile nicely
after a make maintainer-clean, with xlib or xcb. e17 also has no problem.
Please report any problem. Thanks

 * put xlib and xcb specific code in their own directories inside ecore_x
 * fix xcb logic check in autotools and ecore_evas
 * update configure.in for detection of ecore_evas with xlib and xcb support,
   update ecore_evas accordingly. Note that e17 needs a little fix after that,
   it will come in a few minutes


SVN revision: 35188
2008-07-23 10:00:01 +00:00
doursse d569f393d6 put guards around config.h, remove trailing spaces
SVN revision: 35104
2008-07-14 10:06:34 +00:00
Carsten Haitzler 542e51691b ecore_evas activate call.. uses netwm one... eek. need to add xcb.
SVN revision: 34949
2008-06-30 08:39:36 +00:00
Carsten Haitzler 2423c1e22c disable clearing of startup_id
SVN revision: 34947
2008-06-30 01:16:38 +00:00
Eric Schuele c543df064c On occasion we see ee->prop.title == NULL. This will safeguard.
SVN revision: 34881
2008-06-21 02:44:38 +00:00
codewarrior 8e2e1a40a3 Set title again after we destroy the X window when setting alpha on and off.
SVN revision: 34876
2008-06-19 21:03:17 +00:00
Carsten Haitzler 188e5b5bf0 use the cancel on a mouse out with grab
SVN revision: 34608
2008-05-19 04:15:34 +00:00
Carsten Haitzler c1441e1c3a e:
1. configure/build changes to allow cross-compiling painlessly
2. pager module namespace changes - this was still dirty afdter the namespace
cleanup, so clean it up
3. add a powersave subsystem - doesnt have an "automatic" way to turn on and
off right now, this i think is best provided by modules (that do things like
monitor acpi status's (eg close lid of laptop), AC power status etc. etc.
this allows e to nicely defer "power" expensive actions to avoid disk
spinups etc.
4. move to use the new ecore poller system  - discussed long ago as part of
power management/saving issues. now it exists
5. add a canvas idle flush call that helsp cope with the new shm greedy
software x11 engine stuff
6. use the new powersave subsystem where appropriate
7. fix non-zeroed/initted memory access in e_fm_main
8. fix mem leak for e menus
9. remove ipc handlers for changed/removed config values
10. use animaotr not timer for menu scrolls - then menu scrolls obey the fps
config
11. fix up timer/poll happienss of cursor idle stuff
12. remove avoid damage from popups for now - causing problems
13. change battery and temp readouts to b e shorter so they fit
14. pager can emit signals on focus change for mini-windows now
15. temperature module now uses a slave process and uses stdin/out to talk to
it and get output - this makes e smoother as in my expereicne i found getting
the temp on my laptop actually took like 200ms so e "hang" for 200ms while
reading the acpi files - so now the subprocess does it and just writesa back
to e when it gets it.

ecore:
1. add ecore_pollers. see the documentation on them in doxygen comments :)
2. fix timers to only go off when they have to - bug there that made e's
select time out a LOT more than it needed to. defensive coding hid the
problem. now fixed. e should be much more power friendly now.
3. formatting/niceness in ecore_exe stuff
4. some comments on comments with SIGIO ideas vs. select
5. add call to be able to add an idle enterer at the start of the list of
them, not just the end (as has been the default)
6. fix ecore_evas to support auto evas idler calls after 0.5 secs of idle in
all canvases - and to do it right
7. if argb destination - set the shape EVENT shape (to mask out events in
transparent regions much like shape does withotu translucency)
8. in ecore_x add support for the event shape

evas:
1. fix cache to work properly and not just always fill up (as it seemed to
like to think cahce useage dropped below 0 when it didnt and thus just
over-fill)
2. software x11 engine now ONLY uses shm segments - no ximages over the
socket. this ximage hack was there to avoid the 2 round trips involved in
setting up an shm image - now i mitigated that wih an shm image cache pool.
it keeps shm images around and repurposes them for new update regions if
appropriate. this means many fewer shm creates (about 1/100th the number) and
since we recycle the memory less 0 memory page filling by the kernel - in the
end, i recorded about a 10-20% speedup over the old software x11 engine.
simple tests i have seen up to 120% speedups. idle flush now does something -
it frees all the cached shm segments. it has a hard-coded limit of 4mb worth
of shm segments (or 32 segments - whichever comes first) to keep around. once
can never complain much about speedups methinks :). also evas will defer sync
until the NEXT frame is written - this means evas can calculate the next
frame of data while x dma's/copies the images to the screen at the same time
(if you hve a dual core or multi-cpu machnike or your xserver is able to use
DMA to copy image data to the screen/video ram then this should see a decent
speedup).


SVN revision: 33448
2008-01-11 07:33:57 +00:00
andrunko 46ed68191b Fixed undefined symbol when BUILD_ECORE_EVAS_X11 is not set.
SVN revision: 32919
2007-11-30 17:12:27 +00:00
andrunko 502b766d66 Added Ecore_IMF module.
Added Ecore_IMF module. This module enables different input methods to be
used with Ecore. Input methods modules can be created using the Ecore_IMF
interface.
Added ecore_evas_window_get method to allow input methods to request
the window related to a given Ecore_Evas when available.


SVN revision: 32775
2007-11-19 18:27:11 +00:00
Sebastian Dransfeld b8c6905eb0 ECORE_X doesn't have anything to do with ecore_evas_x.
TODO: Split the idea of ECORE_EVAS_X11 and the basic software engine.


SVN revision: 32403
2007-11-06 07:21:08 +00:00
Sebastian Dransfeld 1d02ffac0f Rename GL to X11_GL, as there might come other GL engines.
Use PKG_CHECK_EXISTS to check for evas engines.
Only check for ecore_evas_x engines if we build ecore_x.


SVN revision: 32383
2007-11-05 20:23:39 +00:00
Sebastian Dransfeld cb090a2c1d comments
SVN revision: 32374
2007-11-05 18:31:05 +00:00
tilman 75bd5e8902 Ecore now checks whether the composite extension is available before trying to open an ARGB window.
SVN revision: 31986
2007-10-06 08:37:34 +00:00
Carsten Haitzler 6a9f664bea avoid damage now has an enum (compatible with the old way at ABI though), so
you can either handle it via exposes, or native system methods (bg pixmaps)


SVN revision: 31944
2007-10-03 06:31:05 +00:00
Carsten Haitzler b51a8f26ad enable and disable draw ok onlyu on visibility changes.
SVN revision: 31860
2007-09-29 01:52:13 +00:00
Carsten Haitzler 7a7607d656 ok fixed visibility event. now it works as planned.
SVN revision: 31832
2007-09-27 15:43:08 +00:00
Carsten Haitzler e8a3ed6312 trying to optimise expose draws - i think i fixed a double-draw bug.
SVN revision: 31831
2007-09-27 15:31:00 +00:00
Gustavo Sverzut Barbieri ac9e3d7412 Do not set color of cursor object.
We should not set the color of cursor objects, it damages things like
rectangles and polygons.


SVN revision: 31820
2007-09-26 15:41:50 +00:00
Gustavo Sverzut Barbieri e04b782d50 Change Ecore_Evas to work with Evas_Object as cursor.
WARNING: this breaks the API, if you rely on ecore_evas_cursor_get(), you
need to get the "Evas_Object *" instead of the filename.

Now the code is smaller and we can handle any object, including Edje.

Patch by Cedric BAIL.


SVN revision: 31818
2007-09-26 14:40:02 +00:00
Carsten Haitzler 4b3c2c81af well that was wrong! fix!
SVN revision: 31647
2007-09-08 04:51:16 +00:00
Gustavo Sverzut Barbieri 4a4a0b0f4c Software 16 X11 now does rotation.
SVN revision: 31215
2007-08-07 19:09:53 +00:00
Gustavo Sverzut Barbieri 59d7929e73 Ecore_Evas now supports software_16_x11 engine.
SVN revision: 30424
2007-06-21 22:49:36 +00:00
Carsten Haitzler aa68331c2a add idle flush support - 0.5 secs of no rendering gets the engine to flush
all floating data.


SVN revision: 30358
2007-06-17 03:41:43 +00:00
Carsten Haitzler d825b13440 delete all ev handlers
SVN revision: 30208
2007-06-03 07:07:27 +00:00
tilman 1b5c08f276 fixed alpha_set for xrender-xcb
SVN revision: 29968
2007-05-12 14:15:34 +00:00
tilman 5dfbd6c396 refactored _alpha_set a bit
SVN revision: 29967
2007-05-12 14:13:19 +00:00
tilman f036a36c22 grab the cookies before we try to evaluate them
SVN revision: 29953
2007-05-11 18:53:35 +00:00
tilman f6558699c2 check for xcb engines in _alpha_set.src/lib/ecore_evas/ecore_evas_x.c
SVN revision: 29952
2007-05-11 18:13:01 +00:00
Carsten Haitzler e2742227ad printf--
SVN revision: 29548
2007-04-16 01:35:55 +00:00
Carsten Haitzler 98acf4c416 remove debug printf
SVN revision: 29504
2007-04-14 06:51:43 +00:00
Carsten Haitzler c09e4641cd noooo. fixie fixie.
SVN revision: 29503
2007-04-14 04:20:23 +00:00
doursse 61543a8933 Here is ecore_x with XCB backend.
* The XCB backend is disabled by default during the
   configuration. To enable it, add --enable-ecore-x-xcb. See the
   messages that configure displays when it finishes.
 * The way XCB is detected, and used in src/lib/ecore_x/Makefile.am
   should be improved
 * Any program that uses ecore_evas does not need to be modified.
   Any program that uses ecore_x may need some changes. That is,
   adding some functions (_prefetch and _fetch ones). No other
   change is needed. See the documention of any _get functions, as
   these are the ones that need those functions.
 * There are some missing parts, especially everything that involves
   the keyboard, as porting Xlib functions related to strings (utf8
   stuff, XKeysymToString, etc...) is an horror. So keyboard events
   are not working yet.
 * I tried to write as much documentation as I could. But there is
   certainly some missing doc here and there.

there are certainly other things that I have forgotten.

Improvements of that backend:
 * the creation of an ecore_evas is faster. Especially when done over
   an ssh connection (on my computer, 7-10s with Xlib, 1.5s with XCB,
   over an ssh)
 * A Window Manager should be more responsive. But it's not tomorrow
   that e17 will use it :)

Have fun !


SVN revision: 29500
2007-04-13 17:15:19 +00:00
Sebastian Dransfeld 44c6d3add9 Don't use an idler to delete the evas. This wont work during ecore main
loop shutdown.


SVN revision: 29365
2007-04-05 06:53:41 +00:00