Cedric BAIL [Thu, 24 Jan 2013 01:38:12 +0000 (01:38 +0000)]
efl/eina: don't over align when the structure is already aligned.
SVN revision: 83189
Cedric BAIL [Thu, 24 Jan 2013 01:37:20 +0000 (01:37 +0000)]
efl/eina: let us know where that wrong Eina_Magic was in memory.
SVN revision: 83188
Christopher Michael [Wed, 23 Jan 2013 11:12:52 +0000 (11:12 +0000)]
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
Christopher Michael [Wed, 23 Jan 2013 11:07:59 +0000 (11:07 +0000)]
Free the previously allocated rectangle is we do not need it.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83162
Christopher Michael [Wed, 23 Jan 2013 11:07:55 +0000 (11:07 +0000)]
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
Christopher Michael [Wed, 23 Jan 2013 10:55:04 +0000 (10:55 +0000)]
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
Stefan Schmidt [Wed, 23 Jan 2013 10:19:47 +0000 (10:19 +0000)]
Revert changes to the generated images.mk file
SVN revision: 83148
Carsten Haitzler [Wed, 23 Jan 2013 10:07:31 +0000 (10:07 +0000)]
ummm this really fubars stuff up cedric.. revert. put it back when u
have figured things out. :)
SVN revision: 83143
Stefan Schmidt [Wed, 23 Jan 2013 09:51:53 +0000 (09:51 +0000)]
efl/ecore(xcb: Port leak fix from xlib to xcb backend
SVN revision: 83136
Stefan Schmidt [Wed, 23 Jan 2013 09:51:47 +0000 (09:51 +0000)]
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
Stefan Schmidt [Wed, 23 Jan 2013 09:09:57 +0000 (09:09 +0000)]
efl: Switch from deprecated eina_unicode_utf8_get_next to eina_unicode_utf8_next_get
SVN revision: 83130
ChunEon Park [Wed, 23 Jan 2013 07:41:00 +0000 (07:41 +0000)]
ecore - ECORE_CALLBACK_DONE is right contextually.
SVN revision: 83125
Carsten Haitzler [Tue, 22 Jan 2013 23:52:40 +0000 (23:52 +0000)]
disanle AM_PROG_AR... see comment in configure.ac
SVN revision: 83113
Carsten Haitzler [Tue, 22 Jan 2013 23:48:04 +0000 (23:48 +0000)]
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
Carsten Haitzler [Tue, 22 Jan 2013 23:41:50 +0000 (23:41 +0000)]
at least for me.. somehting keeps changing imnages.mk .. because it
has to olittle stuff in it... i am not sure this shoul dbe in svn?
SVN revision: 83111
Carsten Haitzler [Tue, 22 Jan 2013 23:31:43 +0000 (23:31 +0000)]
oops - minor "never wil happen" leak - free rect.
SVN revision: 83110
Gustavo Sverzut Barbieri [Tue, 22 Jan 2013 22:18:21 +0000 (22:18 +0000)]
fix cserve2 module dependencies.
they use evas, not the same libraries as evas.
SVN revision: 83106
Gustavo Sverzut Barbieri [Tue, 22 Jan 2013 21:58:25 +0000 (21:58 +0000)]
try to simplify internal library dependency.
Just use the lib/name/libname.la as libtool should be responsible to
emit dependencies to compiler when it evaluates.
This should reduce over-linking, also reducing the compile lines in
our verbose builds ;-)
NOTE: this seems to work on Fedora 18 (which also bitch about DSO), so
hopefully works on Debian and Ubuntu (and elsewhere).
Please revert if breaks builds!
SVN revision: 83105
Daniel Willmann [Tue, 22 Jan 2013 19:00:08 +0000 (19:00 +0000)]
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
José Roberto de Souza [Tue, 22 Jan 2013 13:34:34 +0000 (13:34 +0000)]
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
José Roberto de Souza [Tue, 22 Jan 2013 13:34:25 +0000 (13:34 +0000)]
efl/edbus: Init ecore on test suites
Patch by: José Roberto de Souza <zezsouza@gmail.com>
SVN revision: 83081
Cedric BAIL [Tue, 22 Jan 2013 10:59:14 +0000 (10:59 +0000)]
efl: another easy to kill, almost 5% in memory save per Evas_Object_Image.
SVN revision: 83073
Cedric BAIL [Tue, 22 Jan 2013 10:47:47 +0000 (10:47 +0000)]
efl: remove a forgotten deprecated call.
SVN revision: 83069
Cedric BAIL [Tue, 22 Jan 2013 09:58:36 +0000 (09:58 +0000)]
efl: remove useless code.
SVN revision: 83065
Mike Blumenkrantz [Tue, 22 Jan 2013 08:01:13 +0000 (08:01 +0000)]
rebase dns.c against upstream
SVN revision: 83058
Sung Park [Tue, 22 Jan 2013 07:00:12 +0000 (07:00 +0000)]
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
Cedric BAIL [Tue, 22 Jan 2013 03:56:00 +0000 (03:56 +0000)]
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
Cedric BAIL [Tue, 22 Jan 2013 03:52:55 +0000 (03:52 +0000)]
efl: simplify logic of eina_cow.
SVN revision: 83051
Cedric BAIL [Tue, 22 Jan 2013 02:14:57 +0000 (02:14 +0000)]
efl: not sure of that one, but remove use of eina_safety_check in inline function.
SVN revision: 83050
Cedric BAIL [Tue, 22 Jan 2013 02:14:07 +0000 (02:14 +0000)]
efl: missing deprecated user.
SVN revision: 83049
Cedric BAIL [Tue, 22 Jan 2013 02:00:55 +0000 (02:00 +0000)]
efl: deprecate eina_unicode_utf8_get_next, add eina_unicode_utf8_next_get.
SVN revision: 83048
Rafael Antognolli [Mon, 21 Jan 2013 16:05:12 +0000 (16:05 +0000)]
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
Rafael Antognolli [Mon, 21 Jan 2013 16:05:08 +0000 (16:05 +0000)]
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
Rafael Antognolli [Mon, 21 Jan 2013 16:05:02 +0000 (16:05 +0000)]
efl/evas: Use "with_opengl" option instead of "gl_flavor_gles".
The latter got replaced by the former one. This fix the building of some
GL engines when --with-opengl=es is used.
SVN revision: 83040
Cedric BAIL [Mon, 21 Jan 2013 09:37:14 +0000 (09:37 +0000)]
efl: inline eina_unicode_utf8_get_next.
SVN revision: 83035
Cedric BAIL [Mon, 21 Jan 2013 09:36:19 +0000 (09:36 +0000)]
efl: group more map stuff in the same sub structure.
SVN revision: 83034
Jihoon Kim [Mon, 21 Jan 2013 07:12:39 +0000 (07:12 +0000)]
edje_entry: fix warning by clang
SVN revision: 83033
Carsten Haitzler [Mon, 21 Jan 2013 04:31:39 +0000 (04:31 +0000)]
fix ximage get error sync problem.
SVN revision: 83029
Cedric BAIL [Mon, 21 Jan 2013 03:51:58 +0000 (03:51 +0000)]
efl: cleanup Evas_Object_Protected_Data.
SVN revision: 83028
Carsten Haitzler [Mon, 21 Jan 2013 03:37:46 +0000 (03:37 +0000)]
oops - forgot to force 24bpp to 32bpp in drm swapper.
SVN revision: 83027
Cedric BAIL [Mon, 21 Jan 2013 03:12:39 +0000 (03:12 +0000)]
efl: use new eina_cow macro to clean stuff a little.
SVN revision: 83026
Cedric BAIL [Mon, 21 Jan 2013 03:11:29 +0000 (03:11 +0000)]
efl: add eina_cow helper macro.
SVN revision: 83025
Gustavo Sverzut Barbieri [Mon, 21 Jan 2013 00:22:35 +0000 (00:22 +0000)]
some clang warning cleanups i forgot to commit
SVN revision: 83024
Gustavo Sverzut Barbieri [Sun, 20 Jan 2013 14:25:34 +0000 (14:25 +0000)]
fix bug spotted by clang
SVN revision: 83017
Gustavo Sverzut Barbieri [Sun, 20 Jan 2013 14:25:11 +0000 (14:25 +0000)]
fix bug spotted by clang
SVN revision: 83016
Gustavo Sverzut Barbieri [Sun, 20 Jan 2013 14:24:39 +0000 (14:24 +0000)]
fix bug spotted by clang.
SVN revision: 83015
Cedric BAIL [Sun, 20 Jan 2013 11:02:48 +0000 (11:02 +0000)]
efl: fix leak in eina_cow.
Patch by Paulo Alcantara <pcacjr@zytor.com>.
SVN revision: 83014
Aharon Hillel [Sun, 20 Jan 2013 08:43:29 +0000 (08:43 +0000)]
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
Gustavo Sverzut Barbieri [Sat, 19 Jan 2013 15:46:57 +0000 (15:46 +0000)]
relax that test.
seems autoconf is stupid and cannot agree on a single variable to
store stuff, if you give ./configure CXX=bla it will change
everything.
Relax the test and just use CXX, if it's set, believe it's usable.
SVN revision: 83008
Gustavo Sverzut Barbieri [Sat, 19 Jan 2013 14:59:39 +0000 (14:59 +0000)]
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
Gustavo Sverzut Barbieri [Sat, 19 Jan 2013 14:14:21 +0000 (14:14 +0000)]
remove useless AM_CONDITIONAL
SVN revision: 83006
Jihoon Kim [Sat, 19 Jan 2013 06:18:31 +0000 (06:18 +0000)]
ecore_imf: fix typo in ecore_imf_example.c
SVN revision: 83002
Gustavo Sverzut Barbieri [Fri, 18 Jan 2013 23:00:57 +0000 (23:00 +0000)]
fix ecore_evas modules build broken by r82976.
Many thanks to billiob that was persistent enough to make me look at
it while I was calling it "impossible". That stupid variable was being
used in ecore_check_module.m4 :-(
SVN revision: 82999
Gustavo Sverzut Barbieri [Fri, 18 Jan 2013 19:50:00 +0000 (19:50 +0000)]
make clean should also delete gcda files from lcov
SVN revision: 82998
Gustavo Sverzut Barbieri [Fri, 18 Jan 2013 19:44:19 +0000 (19:44 +0000)]
fix one more build break due DSO (now gcov-related).
SVN revision: 82997
Gustavo Sverzut Barbieri [Fri, 18 Jan 2013 19:33:02 +0000 (19:33 +0000)]
fix c++ check on some platforms.
i guess it was automake change (1.11 x 1.13)
SVN revision: 82996
Gustavo Sverzut Barbieri [Fri, 18 Jan 2013 19:30:44 +0000 (19:30 +0000)]
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
Gustavo Sverzut Barbieri [Fri, 18 Jan 2013 19:15:14 +0000 (19:15 +0000)]
fix report of test command summary
SVN revision: 82994
Gustavo Sverzut Barbieri [Fri, 18 Jan 2013 18:54:44 +0000 (18:54 +0000)]
Use -Wl,--no-copy-dt-needed-entries to force DSO everywhere.
-Wl,--no-copy-dt-needed-entries (previously known as --no-add-needed)
will tell the linker to not recursively copy DT_NEEDED from one
library. This is the new behavior some distros are wisely using, so
let's force it everywhere.
* http://wiki.debian.org/ToolChain/DSOLinking
* http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking
SVN revision: 82992
Gustavo Sverzut Barbieri [Fri, 18 Jan 2013 18:51:16 +0000 (18:51 +0000)]
fix flags and libs ordering.
linker (ld) is that kind of tool that argument order matters, if you
-Wl,--as-needed, it will be worth just for libraries following
it. Then we need to use EFL_LDFLAGS before everything else, otherwise
it end being useless.
SVN revision: 82991
Tom Hacohen [Fri, 18 Jan 2013 16:57:57 +0000 (16:57 +0000)]
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
Tom Hacohen [Fri, 18 Jan 2013 16:13:34 +0000 (16:13 +0000)]
Eo tests: Run all the eo testing suites.
SVN revision: 82988
Tom Hacohen [Fri, 18 Jan 2013 16:13:30 +0000 (16:13 +0000)]
Eo tests: Fix function overrides test to not test some things when NDEBUG is used.
SVN revision: 82987
Stefan Schmidt [Fri, 18 Jan 2013 15:45:49 +0000 (15:45 +0000)]
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
Gustavo Sverzut Barbieri [Fri, 18 Jan 2013 15:25:00 +0000 (15:25 +0000)]
optimize check for compiler and linker flags.
do it once with all flags and just test individual if fails. Saves
dozen of compiler/linker runs.
SVN revision: 82983
Gustavo Sverzut Barbieri [Fri, 18 Jan 2013 14:45:44 +0000 (14:45 +0000)]
fix DSO spotted by stefan
SVN revision: 82982
Stefan Schmidt [Fri, 18 Jan 2013 14:32:08 +0000 (14:32 +0000)]
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
Gustavo Sverzut Barbieri [Fri, 18 Jan 2013 13:51:34 +0000 (13:51 +0000)]
whenever doing external modules and similar, use .pc module_arch.
SVN revision: 82977
Gustavo Sverzut Barbieri [Fri, 18 Jan 2013 13:48:14 +0000 (13:48 +0000)]
cosmetic: simplify and colorize features.
EFL_ADD_FEATURE(PKG, NAME, [VALUE]) will do an amazing work to produce
colored output in a standard way.
if value == yes, it's green and shows "+name"
if value == no, it's red and shows "-name"
else it shows cyan and shows "name=value"
if not provided, will use ${have_name:-${want_name}}
SVN revision: 82976
Boris Faure [Fri, 18 Jan 2013 13:01:36 +0000 (13:01 +0000)]
efl: export vmin/vmic in edje.pc
It is used to know where to install external modules.
SVN revision: 82974
Jihoon Kim [Fri, 18 Jan 2013 08:08:30 +0000 (08:08 +0000)]
edje entry: remove ecore_imf_context_reset in mouse up event because it's useless.
SVN revision: 82967
Cedric BAIL [Fri, 18 Jan 2013 05:26:46 +0000 (05:26 +0000)]
efl: add infrastructure to handle broken X/driver/touchscreen.
SVN revision: 82964
Ulisses Furquim [Thu, 17 Jan 2013 22:14:05 +0000 (22:14 +0000)]
evas/async_render: fix refcount handling of scaled image entries
SVN revision: 82961
Henrique Dante de Almeida [Thu, 17 Jan 2013 22:08:52 +0000 (22:08 +0000)]
edbus: Fix list element deletion on _interface_free
SPANK demarchi
Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>
SVN revision: 82952
Gustavo Sverzut Barbieri [Thu, 17 Jan 2013 20:58:07 +0000 (20:58 +0000)]
clean some whitelines from already lengthly configure file.
SVN revision: 82951
Gustavo Sverzut Barbieri [Thu, 17 Jan 2013 20:36:52 +0000 (20:36 +0000)]
god... it was using localtime, so should we when we test.
SVN revision: 82950
Gustavo Sverzut Barbieri [Thu, 17 Jan 2013 20:31:06 +0000 (20:31 +0000)]
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
Gustavo Sverzut Barbieri [Thu, 17 Jan 2013 20:22:23 +0000 (20:22 +0000)]
remove unused result warning
SVN revision: 82948
Gustavo Sverzut Barbieri [Thu, 17 Jan 2013 20:11:51 +0000 (20:11 +0000)]
eina tests pass, enable them again.
SVN revision: 82947
Gustavo Sverzut Barbieri [Thu, 17 Jan 2013 20:10:15 +0000 (20:10 +0000)]
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
Gustavo Sverzut Barbieri [Thu, 17 Jan 2013 19:44:13 +0000 (19:44 +0000)]
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
Gustavo Sverzut Barbieri [Thu, 17 Jan 2013 19:30:54 +0000 (19:30 +0000)]
fix magic check tests
SVN revision: 82944
Gustavo Sverzut Barbieri [Thu, 17 Jan 2013 19:13:24 +0000 (19:13 +0000)]
eina/tests: fix some warnings and use better ck macros.
SVN revision: 82943
Gustavo Sverzut Barbieri [Thu, 17 Jan 2013 18:55:32 +0000 (18:55 +0000)]
don't mix private and public libraries dependencies.
when I fixed eina's dependency on -lpthread I used all the libraries
eina links to. But we should just do with -lpthread as it's a public
dependency... that was in eina.pc.in and I missed.
Now we have EFL_ADD_PUBLIC_LIBS() that will register for
requirements_public_libs_name and use internally when eina is used.
This should also fix the problem by Arvind with gcrypt.
SVN revision: 82942
Gustavo Sverzut Barbieri [Thu, 17 Jan 2013 17:00:18 +0000 (17:00 +0000)]
disable edbus tests that requires a daemon.
demarchi should fix this after his honeymoon :-P
SVN revision: 82941
Tom Hacohen [Thu, 17 Jan 2013 16:58:23 +0000 (16:58 +0000)]
Evas text test: Fixed the test to work with Clang.
Apparently L'' doesn't work there.
SVN revision: 82940
Gustavo Sverzut Barbieri [Thu, 17 Jan 2013 16:47:36 +0000 (16:47 +0000)]
try to fix --with-crypto=gnutls due libcrypt-config usage.
Seems AC_PATH_GENERIC() wasn't present somewhere, then I'm adding the
AM_PATH_LIBGCRYPT() provided by libcrypt (I need to include it in m4/
otherwise it will fail for people doing ./autogen.sh without libgcrypt
installed).
It works on my machine, but `libgcrypt-config --libs` output is just
"-lgcrypt -lgpg-error", including no -L.
SVN revision: 82939
Leandro Pereira [Thu, 17 Jan 2013 14:32:05 +0000 (14:32 +0000)]
evas/engines/gl_sdl: Build and warning fixes.
SVN revision: 82937
Leandro Pereira [Thu, 17 Jan 2013 14:31:34 +0000 (14:31 +0000)]
evas_render: Measure time spent while rendering in sync and async modes
SVN revision: 82936
Carsten Haitzler [Thu, 17 Jan 2013 11:10:27 +0000 (11:10 +0000)]
a few spots missed for sync with async thread.
SVN revision: 82932
Cedric BAIL [Thu, 17 Jan 2013 10:29:31 +0000 (10:29 +0000)]
efl: let's be nice on NULL.
SVN revision: 82930
Daniel Willmann [Thu, 17 Jan 2013 10:29:19 +0000 (10:29 +0000)]
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
Cedric BAIL [Thu, 17 Jan 2013 10:28:18 +0000 (10:28 +0000)]
efl: let's use text_prop cache properly.
Now evas_object_textgrid_render account for 1% of the benchmark.
SVN revision: 82928
Cedric BAIL [Thu, 17 Jan 2013 09:38:49 +0000 (09:38 +0000)]
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
Cedric BAIL [Thu, 17 Jan 2013 07:21:06 +0000 (07:21 +0000)]
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
Cedric BAIL [Thu, 17 Jan 2013 06:51:35 +0000 (06:51 +0000)]
efl: Add Eina_Cow_Data...
SVN revision: 82923
Jihoon Kim [Thu, 17 Jan 2013 05:32:17 +0000 (05:32 +0000)]
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
Cedric BAIL [Thu, 17 Jan 2013 04:06:22 +0000 (04:06 +0000)]
efl: this function are used in evas canvas object.
SVN revision: 82917
Cedric BAIL [Thu, 17 Jan 2013 02:36:09 +0000 (02:36 +0000)]
efl: disable for now the libgcrypt check so thinks build.
SVN revision: 82916
Cedric BAIL [Thu, 17 Jan 2013 02:35:29 +0000 (02:35 +0000)]
efl: revert r82914 which was a revert of r82909.
SVN revision: 82915