Christopher Michael
082f2c8f83
Add engine idle flush code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83263
2013-01-24 09:18:03 +00:00
Christopher Michael
b5ac8fe948
Add engine output flush code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83262
2013-01-24 09:17:56 +00:00
Christopher Michael
a3559d4c88
Add code for engine redraws push.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83261
2013-01-24 09:17:51 +00:00
Christopher Michael
4c04c1bb54
Add engine output redraws clear code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83260
2013-01-24 09:17:47 +00:00
Christopher Michael
866576b89b
Add engine output redraws rectangle del code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83259
2013-01-24 09:17:40 +00:00
Christopher Michael
7de14722fe
Add engine output redraws rectangle add code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83258
2013-01-24 09:17:37 +00:00
Christopher Michael
25e5af9ae6
Add engine tile size set function code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83257
2013-01-24 09:17:34 +00:00
Christopher Michael
6eda15c183
Add eng_output_resize code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83256
2013-01-24 09:17:30 +00:00
Christopher Michael
3dcaec35b5
Add code to the eng_output_free function to do any cleanup.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83255
2013-01-24 09:17:26 +00:00
Christopher Michael
ae0076c929
Create engine context if missing and return success.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83254
2013-01-24 09:17:23 +00:00
Christopher Michael
a2e3bfc356
Reassign engine data output
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83253
2013-01-24 09:17:19 +00:00
Christopher Michael
8fa451f2db
If we have an existing render engine already, then free the existing
...
output buffer, create a new one, and assign render engine functions.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83252
2013-01-24 09:17:15 +00:00
Christopher Michael
f72dfd4c31
Try to create the new Render_Engine on initial engine setup.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83251
2013-01-24 09:17:11 +00:00
Christopher Michael
034721bcd8
Add check to make sure output buffer creation worked.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83250
2013-01-24 09:17:00 +00:00
Christopher Michael
8a7ba73169
Add code to create the output buffer of the render engine and set the
...
render_engine functions.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83249
2013-01-24 09:16:55 +00:00
Christopher Michael
0fdbf94c23
Add initial swapper code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83248
2013-01-24 09:16:52 +00:00
Christopher Michael
7e13dc5459
Add initial header file for swapper.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83247
2013-01-24 09:16:49 +00:00
Christopher Michael
1d3cfce8a7
Remove include for evas_outbuf.h
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83246
2013-01-24 09:16:46 +00:00
Christopher Michael
f76eb06874
Add initial swap buffer code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83245
2013-01-24 09:16:42 +00:00
Christopher Michael
82e807115f
Add initial swap buffer header file.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83244
2013-01-24 09:16:39 +00:00
Christopher Michael
9b9fdf840b
Set tilebuffer tile size in engine setup.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83243
2013-01-24 09:16:36 +00:00
Christopher Michael
fe75b1bf24
Try to create new tilebuffer in engine setup.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83242
2013-01-24 09:16:22 +00:00
Christopher Michael
f0a6c5ca26
During engine setup, try to allocate a new Render_Engine structure.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83241
2013-01-24 09:16:19 +00:00
Christopher Michael
753aa3d487
Add base function for engine output setup.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83240
2013-01-24 09:16:15 +00:00
Christopher Michael
b1cadea6c5
Add local function prototype for engine output setup.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83239
2013-01-24 09:16:12 +00:00
Christopher Michael
b17b417b73
Add test for 'swapping' (ie: buffering).
...
NB: This env variable is going to change for the wayland engine(s).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83238
2013-01-24 09:16:09 +00:00
Christopher Michael
5296f0c2cd
Add some evas_common init functions if we have not previously
...
initialized this engine before.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83237
2013-01-24 09:16:06 +00:00
Christopher Michael
7cd113ea47
Test for valid engine output to see if we need to create it.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83236
2013-01-24 09:16:03 +00:00
Christopher Michael
1e41dcd37f
Try to get the Evas public data from eo.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83235
2013-01-24 09:15:59 +00:00
Christopher Michael
98e58d34a1
Try to cast the passed in info to our engine info.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83234
2013-01-24 09:15:56 +00:00
Christopher Michael
57bb76834d
Try to free the allocated engine info structure.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83233
2013-01-24 09:15:53 +00:00
Christopher Michael
80f8fcfeeb
Return our allocated engine info structure.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83232
2013-01-24 09:15:49 +00:00
Christopher Michael
f3d29d891b
Fill in some default properties for our engine info.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83231
2013-01-24 09:15:15 +00:00
Christopher Michael
c13e0e7b5f
Try to allocate our engine info structure.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83230
2013-01-24 09:15:12 +00:00
Christopher Michael
3cdf6d6a50
Tell the Evas_Module about our functions and return success.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83229
2013-01-24 09:15:08 +00:00
Christopher Michael
77a205eac8
Define which functions this engine will override from the
...
software_generic functions.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83228
2013-01-24 09:15:05 +00:00
Christopher Michael
aa1bd96e2d
Copy the inherited functions into our local variable so we can
...
override some functions.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83227
2013-01-24 09:15:00 +00:00
Christopher Michael
1dbfd6c541
Try to inherit functions from the software_generic engine.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83226
2013-01-24 09:14:57 +00:00
Christopher Michael
145e8f8ced
On module open, create our log domain
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83225
2013-01-24 09:14:54 +00:00
Christopher Michael
6340706c3f
Unregister the module log domain on shutdown of the engine.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83224
2013-01-24 09:14:50 +00:00
Christopher Michael
e91f12c8e9
Add skeleton code for evas module open/close, etc.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83223
2013-01-24 09:14:46 +00:00
Christopher Michael
bc8f383098
Add skeleton code for evas engine functions.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83222
2013-01-24 09:14:31 +00:00
Christopher Michael
318eb79973
Add variable(s) for engine function overrides.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83221
2013-01-24 09:14:27 +00:00
Christopher Michael
440c4b72e0
Add prototypes for evas engine functions.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83220
2013-01-24 09:14:22 +00:00
Christopher Michael
12320fcb5e
Add variable for log domain.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83219
2013-01-24 09:14:19 +00:00
Christopher Michael
0579a8b82c
Add Render_Engine structure.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83218
2013-01-24 09:14:16 +00:00
Christopher Michael
a76b0245b9
Add initial evas_engine C file.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83217
2013-01-24 09:14:13 +00:00
Christopher Michael
fd10050f53
Add intial Outbuf structure.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83216
2013-01-24 09:14:10 +00:00
Christopher Michael
158fe19edb
Add enum for render mode (double, triple, etc).
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83215
2013-01-24 09:14:07 +00:00
Christopher Michael
7e85b84098
Add Outbuf Depth enum.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83214
2013-01-24 09:14:04 +00:00
Christopher Michael
9d1d8f4c63
Add initial evas_engine header file.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83213
2013-01-24 09:14:00 +00:00
Christopher Michael
1577c5913e
Add initial Evas_Engine_Wayland_Shm header file and remove legacy
...
'dest' field from engine info structure.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83212
2013-01-24 09:13:57 +00:00
Christopher Michael
0b5e371bc7
Remove old wayland shm engine code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83211
2013-01-24 09:13:54 +00:00
Sung Park
0c7425a0aa
Add EVAS_GL_DIRECT_MEM_OPT to enable on-demand fallback memory
...
allocation policy for EvasGL direct rendering.
Also made some variable name changes and some other minor fixes.
SVN revision: 83199
2013-01-24 04:51:51 +00:00
Cedric BAIL
5d335bb50b
efl/eina: it's really an error, thanks Ulisses.
...
SVN revision: 83198
2013-01-24 03:54:47 +00:00
Cedric BAIL
efa613597d
efl/eina: one more typo.
...
SVN revision: 83197
2013-01-24 03:04:05 +00:00
Cedric BAIL
eff597ea1e
eina: fix some warning.
...
SVN revision: 83196
2013-01-24 02:58:00 +00:00
Cedric BAIL
b1d856bc8b
efl/eina: detect when freeing pointer inside an allocated memory.
...
SVN revision: 83195
2013-01-24 02:44:14 +00:00
Cedric BAIL
3cfd345a91
efl/eina: simplify mempool logic.
...
SVN revision: 83194
2013-01-24 02:23:59 +00:00
Cedric BAIL
f64ab2c8dd
efl/evas: revert the revert, and indeed the bug was somewhere else.
...
SVN revision: 83193
2013-01-24 01:50:57 +00:00
Cedric BAIL
be0f7fcaa0
efl/evas: don't over write when not needed.
...
SVN revision: 83192
2013-01-24 01:43:03 +00:00
Cedric BAIL
05b4d1b3cd
efl/eina: improve Eina_Cow.
...
- Add valgrind macro arround Eina_Cow internal data.
- Add a #define for Eina_Magic on Eina_Cow returned pointer.
- Fix a bug done during free on a mempool data (Need to improve
mempool to catch this one more easily next time).
SVN revision: 83191
2013-01-24 01:42:20 +00:00
Cedric BAIL
d282e075ef
efl/eina: don't over align when the structure is already aligned.
...
SVN revision: 83189
2013-01-24 01:38:12 +00:00
Cedric BAIL
65344d7a7f
efl/eina: let us know where that wrong Eina_Magic was in memory.
...
SVN revision: 83188
2013-01-24 01:37:20 +00:00
Christopher Michael
8ce1afd62f
leak--
...
If we do not have a private palette here, we free the buffer and
return NULL, However we never free'd the xob that was allocated
previously.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83163
2013-01-23 11:12:52 +00:00
Christopher Michael
8aead73fe5
Free the previously allocated rectangle is we do not need it.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83162
2013-01-23 11:07:59 +00:00
Christopher Michael
c4b536e500
Do not allocate Outbuf_Region if we do not need it (leak--).
...
- If the output buffer has a 'onebuf' and we are going to return
that, then we do not need to allocate an Outbuf_Region.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83161
2013-01-23 11:07:55 +00:00
Christopher Michael
b07683009a
leak--. If we are returning NULL on buffer_new, then free any allocated xob
...
structure.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83158
2013-01-23 10:55:04 +00:00
Carsten Haitzler
07c3ce0bbe
ummm this really fubars stuff up cedric.. revert. put it back when u
...
have figured things out. :)
SVN revision: 83143
2013-01-23 10:07:31 +00:00
Stefan Schmidt
f57257b3ec
efl/ecore(xcb: Port leak fix from xlib to xcb backend
...
SVN revision: 83136
2013-01-23 09:51:53 +00:00
Stefan Schmidt
4cc93b9f2c
efl/ecore_x: Fix leak of data.
...
If we fail we still have the malloced data. Free it in this case. Bot
commit for devilhors.
SVN revision: 83135
2013-01-23 09:51:47 +00:00
Stefan Schmidt
b9d18d770b
efl: Switch from deprecated eina_unicode_utf8_get_next to eina_unicode_utf8_next_get
...
SVN revision: 83130
2013-01-23 09:09:57 +00:00
ChunEon Park
fd23523a02
ecore - ECORE_CALLBACK_DONE is right contextually.
...
SVN revision: 83125
2013-01-23 07:41:00 +00:00
Carsten Haitzler
64c4f34bc0
sorry - have to revert this as this brings the efl tree build to a
...
grinding halt - it wasn't great before.. but now it's totally broken. :(
e.g.:
/bin/bash ../libtool --tag=CC --mode=link ccache gcc -std=gnu99
-O2 -g -pipe -march=native -fvisibility=hidden -ffast-math -W -Wall
-Wextra -Wno-shadow -Wno-unused-but-set-parameter -o bin/eet/eet
bin/eet/bin_eet_eet-eet_main.o -fvisibility=hidden -fdata-sections
-ffunction-sections -Wl,--gc-sections -fno-strict-aliasing
-Wl,--as-needed -Wl,--no-copy-dt-needed-entries lib/eet/libeet.la
libtool: link: ccache gcc -std=gnu99 -O2 -g -pipe -march=native
-fvisibility=hidden -ffast-math -W -Wall -Wextra -Wno-shadow
-Wno-unused-but-set-parameter -o bin/eet/.libs/eet
bin/eet/bin_eet_eet-eet_main.o -fvisibility=hidden -fdata-sections
-ffunction-sections -Wl,--gc-sections -fno-strict-aliasing
-Wl,--as-needed -Wl,--no-copy-dt-needed-entries lib/eet/.libs/libeet.so
/usr/bin/ld: bin/eet/bin_eet_eet-eet_main.o: undefined reference to
symbol 'eina_iterator_next'
/usr/bin/ld: note: 'eina_iterator_next' is defined in DSO
/usr/local/lib/libeina.so.1 so try adding it to the linker command line
/usr/local/lib/libeina.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
SVN revision: 83112
2013-01-22 23:48:04 +00:00
Carsten Haitzler
5e8f9c0689
oops - minor "never wil happen" leak - free rect.
...
SVN revision: 83110
2013-01-22 23:31:43 +00:00
Gustavo Sverzut Barbieri
f7106d372a
fix cserve2 module dependencies.
...
they use evas, not the same libraries as evas.
SVN revision: 83106
2013-01-22 22:18:21 +00:00
Daniel Willmann
fecf68a886
efl: Unbreak evas gif-loader animation support
...
Always returning -1 for the frame duration does not have the desired
effect. Fix the logic checking whether eina_file_open has succeeded.
Animated GIFs play way too fast without this.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 83100
2013-01-22 19:00:08 +00:00
José Roberto de Souza
ba63fa7ed2
efl/edbus: Fix edbus_name_owner_changed() when bus name is not on bus
...
If we pass the last argument as TRUE, that means user want to know the actual
bus id of the bus name and if the bus name is not registered it never notify
the user.
This bug was insert when fixing another one, because of that there more code
here to fix the previous bug too.
Patch by: José Roberto de Souza <zezsouza@gmail.com>
SVN revision: 83082
2013-01-22 13:34:34 +00:00
José Roberto de Souza
623a73d1ed
efl/edbus: Init ecore on test suites
...
Patch by: José Roberto de Souza <zezsouza@gmail.com>
SVN revision: 83081
2013-01-22 13:34:25 +00:00
Cedric BAIL
36bdaab9c2
efl: another easy to kill, almost 5% in memory save per Evas_Object_Image.
...
SVN revision: 83073
2013-01-22 10:59:14 +00:00
Cedric BAIL
c0e62fb818
efl: remove a forgotten deprecated call.
...
SVN revision: 83069
2013-01-22 10:47:47 +00:00
Cedric BAIL
4d8dffc411
efl: remove useless code.
...
SVN revision: 83065
2013-01-22 09:58:36 +00:00
Mike Blumenkrantz
10a10310e8
rebase dns.c against upstream
...
SVN revision: 83058
2013-01-22 08:01:13 +00:00
Sung Park
d606adf10d
Applied on-demand memory allocation policy for Evas GL Surface
...
for direct rendering optimization. For direct rendering in EvasGL,
it falls back to FBO rendering if the conditions are not met. Before,
the fallback resources were created in the beginning but now they are
created and destroyed on need base.
SVN revision: 83057
2013-01-22 07:00:12 +00:00
Cedric BAIL
3070dfac2d
efl: move Evas_Object map data to there own Eina_Cow pointer.
...
NOTE: Overall speedup of 7%. No benchmark on memory consumption yet
as they are still running ask me directly to get the number later
today.
SVN revision: 83052
2013-01-22 03:56:00 +00:00
Cedric BAIL
94b31ce5da
efl: simplify logic of eina_cow.
...
SVN revision: 83051
2013-01-22 03:52:55 +00:00
Cedric BAIL
a102b14686
efl: not sure of that one, but remove use of eina_safety_check in inline function.
...
SVN revision: 83050
2013-01-22 02:14:57 +00:00
Cedric BAIL
d32ee023e3
efl: missing deprecated user.
...
SVN revision: 83049
2013-01-22 02:14:07 +00:00
Cedric BAIL
336e0c5e38
efl: deprecate eina_unicode_utf8_get_next, add eina_unicode_utf8_next_get.
...
SVN revision: 83048
2013-01-22 02:00:55 +00:00
Rafael Antognolli
43894851a7
efl/ecore_evas/wayland: Report the requested window width x height.
...
Before this commit, when using any of the wayland backends, if the user
requested an ecore_evas window of width x height, the reported size of
the window would include the frames width and height.
Now the requested size is stored on the ecore_evas and reported when
ecore_evas_geometry_get() is used, although the ecore_evas is still
created with additional space for the frame area.
This is one of the reasons causing bug #1673 .
SVN revision: 83042
2013-01-21 16:05:12 +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
Cedric BAIL
066543089d
efl: inline eina_unicode_utf8_get_next.
...
SVN revision: 83035
2013-01-21 09:37:14 +00:00
Cedric BAIL
3e7e37630f
efl: group more map stuff in the same sub structure.
...
SVN revision: 83034
2013-01-21 09:36:19 +00:00
Jihoon Kim
56c020fbba
edje_entry: fix warning by clang
...
SVN revision: 83033
2013-01-21 07:12:39 +00:00
Carsten Haitzler
87fdbd56e0
fix ximage get error sync problem.
...
SVN revision: 83029
2013-01-21 04:31:39 +00:00
Cedric BAIL
380aea9e91
efl: cleanup Evas_Object_Protected_Data.
...
SVN revision: 83028
2013-01-21 03:51:58 +00:00
Carsten Haitzler
01739d4cc1
oops - forgot to force 24bpp to 32bpp in drm swapper.
...
SVN revision: 83027
2013-01-21 03:37:46 +00:00
Cedric BAIL
5ae84c97ce
efl: use new eina_cow macro to clean stuff a little.
...
SVN revision: 83026
2013-01-21 03:12:39 +00:00
Cedric BAIL
5bd8b33906
efl: add eina_cow helper macro.
...
SVN revision: 83025
2013-01-21 03:11:29 +00:00
Gustavo Sverzut Barbieri
df701d8ca2
some clang warning cleanups i forgot to commit
...
SVN revision: 83024
2013-01-21 00:22:35 +00:00
Gustavo Sverzut Barbieri
0f528092f8
fix bug spotted by clang
...
SVN revision: 83017
2013-01-20 14:25:34 +00:00
Gustavo Sverzut Barbieri
8d2b64ed3b
fix bug spotted by clang
...
SVN revision: 83016
2013-01-20 14:25:11 +00:00
Gustavo Sverzut Barbieri
1486f40f9b
fix bug spotted by clang.
...
SVN revision: 83015
2013-01-20 14:24:39 +00:00
Cedric BAIL
41b70693b7
efl: fix leak in eina_cow.
...
Patch by Paulo Alcantara <pcacjr@zytor.com>.
SVN revision: 83014
2013-01-20 11:02:48 +00:00
Aharon Hillel
dad5336272
eet: eet_connection.c fixed memory allocation Changed the usage of alloca() to malloc() to support big-mem-alloc This was required to support Clouseau
...
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>
SVN revision: 83010
2013-01-20 08:43:29 +00:00
Gustavo Sverzut Barbieri
ee3575e8c8
fix missing linkage with -lrt for shm_open users.
...
strange that nobody except hdante noticed this before, but it was
missing linkage with -lrt in libemotion (due generic being static) and
ecore_evas/extn.
SVN revision: 83007
2013-01-19 14:59:39 +00:00
Jihoon Kim
787ee80d0a
ecore_imf: fix typo in ecore_imf_example.c
...
SVN revision: 83002
2013-01-19 06:18:31 +00:00
Gustavo Sverzut Barbieri
15af942bf7
make clean should also delete gcda files from lcov
...
SVN revision: 82998
2013-01-18 19:50:00 +00:00
Gustavo Sverzut Barbieri
c6358ff322
fix evas_cserve2 utils linkage and includes.
...
they are basic eina apps, not evas (use EINA_CFLAGS), they just use
evas_cs2.h for types and enums.
they also must link with eina.
SVN revision: 82995
2013-01-18 19:30:44 +00:00
Tom Hacohen
21a6a84667
Eo: Changed NDEBUG to EO_DEBUG.
...
This was stupid from the start, but now it casuse even more issues.
We'll have to just add a configure option to it when the time comes.
SVN revision: 82989
2013-01-18 16:57:57 +00:00
Tom Hacohen
7b9e24bef4
Eo tests: Run all the eo testing suites.
...
SVN revision: 82988
2013-01-18 16:13:34 +00:00
Tom Hacohen
37efa5efd7
Eo tests: Fix function overrides test to not test some things when NDEBUG is used.
...
SVN revision: 82987
2013-01-18 16:13:30 +00:00
Stefan Schmidt
506a7bc1fe
efl/imf test: Remove unused modules varibale.
...
If you copy and paste functions make sure you adjust for all variables you use. :)
SVN revision: 82984
2013-01-18 15:45:49 +00:00
Gustavo Sverzut Barbieri
ab07b8bd5f
fix DSO spotted by stefan
...
SVN revision: 82982
2013-01-18 14:45:44 +00:00
Stefan Schmidt
4d7909ae3a
efl/eina tests: Allow libcheck 0.9.8 usage.
...
This commit is for all the poor souls that see no need to update their system
each day with everything the world may offer just to be sure they have the
latest. This commit is for people that like the idea of having something
working when it did so the day before. Kudos fot Tom for pointing out the
function.
SVN revision: 82980
2013-01-18 14:32:08 +00:00
Jihoon Kim
24079fcf54
edje entry: remove ecore_imf_context_reset in mouse up event because it's useless.
...
SVN revision: 82967
2013-01-18 08:08:30 +00:00
Cedric BAIL
8ad3a398ae
efl: add infrastructure to handle broken X/driver/touchscreen.
...
SVN revision: 82964
2013-01-18 05:26:46 +00:00
Ulisses Furquim
34cc6a1b15
evas/async_render: fix refcount handling of scaled image entries
...
SVN revision: 82961
2013-01-17 22:14:05 +00:00
Henrique Dante de Almeida
de6fa1ea64
edbus: Fix list element deletion on _interface_free
...
SPANK demarchi
Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>
SVN revision: 82952
2013-01-17 22:08:52 +00:00
Gustavo Sverzut Barbieri
b830048a64
god... it was using localtime, so should we when we test.
...
SVN revision: 82950
2013-01-17 20:36:52 +00:00
Gustavo Sverzut Barbieri
69650dd84c
eeze: remove warning and add a bit more test.
...
it's basically not testing anything, just calling the API :-( Added
some tests that check if the listed type is of that type (mouse,
touchpad, joystick).
SVN revision: 82949
2013-01-17 20:31:06 +00:00
Gustavo Sverzut Barbieri
09e5bc40ef
remove unused result warning
...
SVN revision: 82948
2013-01-17 20:22:23 +00:00
Gustavo Sverzut Barbieri
1a0afcbee4
eina tests pass, enable them again.
...
SVN revision: 82947
2013-01-17 20:11:51 +00:00
Gustavo Sverzut Barbieri
5f8c760406
fix eina_binshare_add_length() using EINA_PURE.
...
Amazingly this was caught by a test (eina_binshare_small) that was
failing... Who said we didn't had test?! :-P
SVN revision: 82946
2013-01-17 20:10:15 +00:00
Gustavo Sverzut Barbieri
14ff8920a6
eina/tests: fix and improve eina value tests.
...
improve: use ck_assert_str_eq() instead of fail_unless(strcmp() == 0),
it's shorter and will print a proper error message on failure.
fix: timeval changed from seconds to asctime(), cope with that.
fix: hash tests now search for substrings and thus are not prone to
algorithm changes. the format is pretty simple to avoid false results.
SVN revision: 82945
2013-01-17 19:44:13 +00:00
Gustavo Sverzut Barbieri
9768d40f85
fix magic check tests
...
SVN revision: 82944
2013-01-17 19:30:54 +00:00
Gustavo Sverzut Barbieri
94f2f63228
eina/tests: fix some warnings and use better ck macros.
...
SVN revision: 82943
2013-01-17 19:13:24 +00:00
Gustavo Sverzut Barbieri
c757cba26f
disable edbus tests that requires a daemon.
...
demarchi should fix this after his honeymoon :-P
SVN revision: 82941
2013-01-17 17:00:18 +00:00
Tom Hacohen
6aa4eb7d86
Evas text test: Fixed the test to work with Clang.
...
Apparently L'' doesn't work there.
SVN revision: 82940
2013-01-17 16:58:23 +00:00
Leandro Pereira
7d9edad225
evas/engines/gl_sdl: Build and warning fixes.
...
SVN revision: 82937
2013-01-17 14:32:05 +00:00
Leandro Pereira
f52f44e7a2
evas_render: Measure time spent while rendering in sync and async modes
...
SVN revision: 82936
2013-01-17 14:31:34 +00:00
Carsten Haitzler
56a9ccefb5
a few spots missed for sync with async thread.
...
SVN revision: 82932
2013-01-17 11:10:27 +00:00
Cedric BAIL
c8ff22bf5b
efl: let's be nice on NULL.
...
SVN revision: 82930
2013-01-17 10:29:31 +00:00
Daniel Willmann
4010d3cefe
ecore_audio tests: Use the correct libcheck functions
...
Undefined symbols are not nice to have
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 82929
2013-01-17 10:29:19 +00:00
Cedric BAIL
58291fb022
efl: let's use text_prop cache properly.
...
Now evas_object_textgrid_render account for 1% of the benchmark.
SVN revision: 82928
2013-01-17 10:28:18 +00:00
Cedric BAIL
b395af5e7a
efl: stupid micro optimization.
...
This single test accounted for 1% of my terminology benchmark.
I am considering moving evas_string_char_next_get and
eina_unicode_utf8_get_next to become inline as their function
entry/exit point account for 3% of the same benchmark.
The biggest win would be to get rid of the memcpy _termpty_text_copy
that account for 16%.
In the micro optimization part, we also still do to much malloc
in font_draw_prepare as we don't recycle the array there and account
for 3% of the benchmark in malloc/free there. In the same ballpark
_text_save_top account for 2% of the time in malloc/free.
In that same benchmark, evas_object_textgrid_render account for 5%
where 4% of its time is spend in evas_common_font_draw_prepare. At this
point I am not sure that rewriting textgrid is gona help us at all. We
will win almost as much by just inlining the get_next things in evas
and eina for a minute of development time.
SVN revision: 82927
2013-01-17 09:38:49 +00:00
Cedric BAIL
4c828392da
efl: roll in first use of Eina_Cow for Evas_Object.proxy.
...
Expedite biggest test memory win 100KB, average 10KB.
No slow down in proxy test (+/-3%). Speed up in most other
case (average speed up is +5%), likely due to much more
cache hit.
Elementary test show a win between 100KB to 600KB depending
on the test you are considering.
Now, you can see how I intend to use Eina_Cow and the expected
win we can have from it. I don't intend to do more for the
rest of the week so you have time to comment.
SVN revision: 82924
2013-01-17 07:21:06 +00:00
Cedric BAIL
515282006f
efl: Add Eina_Cow_Data...
...
SVN revision: 82923
2013-01-17 06:51:35 +00:00
Jihoon Kim
7d237bcf01
edje entry: cursor position and location will be passed when it's really changed in case of mouse down, move, and up event.
...
SVN revision: 82922
2013-01-17 05:32:17 +00:00
Cedric BAIL
6e9c28c147
efl: this function are used in evas canvas object.
...
SVN revision: 82917
2013-01-17 04:06:22 +00:00
Ulisses Furquim
d8b2bce148
evas/async_render: fix scalecache integration
...
Note: scalecache is really crazy stuff, we should rewrite it or get rid of it.
SVN revision: 82912
2013-01-16 22:32:39 +00:00
Lucas De Marchi
ae8761f809
edbus: omit InterfacesAdded/InterfacesRemoved signal if we can
...
If we add and remove the interfaces in the same mainloop iteration,
there's no point in sending the signals at all. Let's just omit them
since it's likely because the rest of the intialization for having them
failed.
SVN revision: 82907
2013-01-16 21:18:07 +00:00
Lucas De Marchi
57ac8b0b95
edbus: Fix reply to GetManagedObjects containing bogus interface
...
If ther interface was just added on this mainloop iteration we shouldn't
put it in the reply to GetManagedObjects because we still didn't send
the InterfacesAdded signal for that interface.
SVN revision: 82906
2013-01-16 21:18:02 +00:00
Lucas De Marchi
3c308503ea
edbus: fix attaching object manager if user registered it himself
...
SVN revision: 82905
2013-01-16 21:17:57 +00:00
Lucas De Marchi
36e57ca7b2
edbus: simplify and fix ObjectManager
...
Give the object that originated the signal to use in the idler for
changes in ther interfaces. This greatly simplifies the code,
particularly while removing.
Fix some issues in the previous implementations. There are some races
and corner cases that need to be taken into account in ObjectManager:
- Adding and removing an interface in the same mainloop iteration. We
were previously sending only the signal InterfacesRemoved
- When we dettach an object manager we need to flush its signals
- Since now we store the iface_{added,removed} in the object in which
they happen we also need to flush out signals when attaching an
ObjectManager, but let the previous ObjectManager send the signals
- When we free an Object also flush the changes. Previously we were
omitting the signal.
There are still some places to fix and some improvements to be made. I
let some TODOs and FIXMEs there.
SVN revision: 82903
2013-01-16 21:17:45 +00:00
Lucas De Marchi
15cbe4a60d
edbus: rename and yodafy functions
...
SVN revision: 82902
2013-01-16 21:17:06 +00:00
Gustavo Sverzut Barbieri
fadeb72831
eeze's mount shouldn't be optional.
...
eeze is just used on linux, where libmount exists and then we
shouldn't make this an option so we can rely on eeze's mount being
there.
(the code keeps the #ifdef's for a while, in case we need to revert that later)
SVN revision: 82901
2013-01-16 21:05:19 +00:00
Gustavo Sverzut Barbieri
869966a136
fix sdl warning and cosmetic change.
...
fix warning on unsigned x signed type comparison.
cosmetic: use EINA_C_ARRAY_LENGTH().
SVN revision: 82897
2013-01-16 19:47:51 +00:00
Gustavo Sverzut Barbieri
4d310f96ff
fix --enable-sdl compilation.
...
Patch by Arvind R.
SVN revision: 82896
2013-01-16 19:47:03 +00:00
Gustavo Sverzut Barbieri
cf1699fe22
each module install headers in their own directory.
...
SVN revision: 82895
2013-01-16 19:28:30 +00:00