cedric [Tue, 20 Jul 2010 12:10:40 +0000 (12:10 +0000)]
* evas: fix fribidi lock.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50380
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 20 Jul 2010 12:09:46 +0000 (12:09 +0000)]
* evas: font config access is not thread safe at all. Don't forget
to call FTLOCK/FTUNLOCK around each FT_* call.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50379
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 20 Jul 2010 12:07:51 +0000 (12:07 +0000)]
* evas: METRIC and WORD cache require stringshare use in thread, so
enable it.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50378
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 20 Jul 2010 09:32:28 +0000 (09:32 +0000)]
* evas: unbreak pipe rendering, that was a long break.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50374
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 19 Jul 2010 10:55:07 +0000 (10:55 +0000)]
* evas: ignore build file.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50364
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Sat, 17 Jul 2010 19:49:16 +0000 (19:49 +0000)]
Use eina_stringshare_replace rather than several _del & _add calls
(tested w/ no apparent adverse affects).
Fix some formatting.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50307
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 16 Jul 2010 22:52:04 +0000 (22:52 +0000)]
Fix invalid access if using async-render
Ouch, that was nasty! src/lib/cache/evas_cache_image.c was assuming
all Image_Entry were RGBA_Image (why?!?!?), thus doing the cast and
having mutexes and other to operate on garbage (possibly crashing due
segv). This happened to be the case with Soft16_Image used by
software_16 engines.
I'm not sure, but this may fix problems that people noticed with
async-render hanging their systems even if not explicitly enabled
during runtime.
I also found it quite strange the number of locks required by this
code! Clearly we could use macros to simplify and avoid bugs, but
maybe some atomic_inc/dec code should be used to remove half of the
mutexes in that code?
/me wonders what kinds of bug more we can expect from this code :-/
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50300
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 16 Jul 2010 22:47:31 +0000 (22:47 +0000)]
Fix soft16 preload by replicating Image_Entry::info.
Software 16bpp variants were crashing if using preload as the
Image_Entry that was used by preload did not keep the loader and
module information, since these were only set in the
Soft16_Image::source. Now we copy these members while the source is
live.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50299
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
etrunko [Thu, 15 Jul 2010 17:58:38 +0000 (17:58 +0000)]
Ability to disable NEON code in runtime
Just set the EVAS_CPU_NO_NEON environment var if you want to disable Neon.
The same is done for other specific CPU codes, such as MMX, MMX2, SSE, etc.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50271
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Wed, 14 Jul 2010 02:05:47 +0000 (02:05 +0000)]
Remove unneeded code with notnull.cocci script
The notnull.cocci script from Coccinelle finds places where you check if a
variable is NULL, but it's known not to be NULL. The check can be safely
removed. For example, this code would be caught by notnull:
if (!var) return;
if (var && var->fld) { ... }
It's needless to check again if var is not NULL because if it's in fact NULL,
it would have returned on the previous "if". This commit removes all the
trivial places where this pattern happens. Another patch will be generated for
the more complex cases.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50241
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 12 Jul 2010 02:47:02 +0000 (02:47 +0000)]
bitrot-- > work again (minus map features etc. tho)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50192
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 11 Jul 2010 23:56:40 +0000 (23:56 +0000)]
a more correct version of the dso fix.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50184
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
watchwolf [Fri, 9 Jul 2010 11:17:35 +0000 (11:17 +0000)]
the min size of the box is the sum of the items min size
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50156
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Fri, 9 Jul 2010 06:10:55 +0000 (06:10 +0000)]
Move Evas (and associated headers) to their own dir (ie: the 'eet.h'
move).
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50141
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Thu, 8 Jul 2010 03:21:33 +0000 (03:21 +0000)]
Remove NULL pointer dereference
Bug found by the "andand" semantic patch:
// The right argument of || or && is dereferencing something known to be NULL
//
// Confidence: High
// Copyright: (C) Gilles Muller, Julia Lawall, EMN, INRIA, DIKU. GPLv2.
// URL: http://coccinelle.lip6.fr/rules/andand.html
// Options:
@ expression@
expression E;
identifier fld;
@@
- !E &&
+ !E ||
<+...E->fld...+>
@ expression@
expression E;
identifier fld;
@@
- E ||
+ E &&
<+...E->fld...+>
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50118
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Mon, 5 Jul 2010 06:40:20 +0000 (06:40 +0000)]
Add more control over word-cache size. Also really fix my leak on international text.
The new wordcache option is an environment variable called:
EVAS_WORD_CACHE_MAX_WORDS
set this to a number between 1-500 to change the cache size.
Larger values (40+) fix regressions in a few of the expedite tests.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@50047
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Fri, 2 Jul 2010 08:31:12 +0000 (08:31 +0000)]
Don't check alloca, it's like checking the stack exists.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49991
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Fri, 2 Jul 2010 07:05:20 +0000 (07:05 +0000)]
Some fixes for internation support and word cache
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49990
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Fri, 2 Jul 2010 06:53:41 +0000 (06:53 +0000)]
Put a FIXME where someone doesn't understand alloca.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49989
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Fri, 2 Jul 2010 06:47:22 +0000 (06:47 +0000)]
Only use work and metric cacheing on 3 character or longer strings.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49988
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Fri, 2 Jul 2010 02:20:11 +0000 (02:20 +0000)]
Renable 'free' for word cache
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49986
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Fri, 2 Jul 2010 00:44:03 +0000 (00:44 +0000)]
Not pure, don't need to care about results.
Code with side effects is NOT pure. Cdoe where you can ignore the return
value because you care about the side effects should not have WARN_UNUSED...
Please only add such things when you've checked
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49984
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 1 Jul 2010 05:06:23 +0000 (05:06 +0000)]
no! include this!
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49961
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 1 Jul 2010 04:52:45 +0000 (04:52 +0000)]
ok - i think this can double-check if neon code can be compiled at all.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49960
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Thu, 1 Jul 2010 03:12:14 +0000 (03:12 +0000)]
Use macro to get container of inlist
Revove warning.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49959
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 30 Jun 2010 16:51:49 +0000 (16:51 +0000)]
evas: Removed the obsolete Arabic shaping as it's now done in FrBiDi (starting from version 0.19.2).
If you are having any problems with Arabic shaping please make sure you have FriBiDi version 0.19.2 installed at the time of compilation. If your distro doesn't have that version yet, make them upgrade, it's an year and a half old.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49949
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 30 Jun 2010 09:47:55 +0000 (09:47 +0000)]
* Evas: deprecating gradient API.
WARNING: I AM SORRY, BUT IF NO ONE IS PLANNING TO BECOME
THE EFFECTIVE MAINTAINER OF THAT PIECE OF CODE, I WILL
REMOVE IT NEXT WEEK.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49945
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Mon, 28 Jun 2010 05:21:34 +0000 (05:21 +0000)]
Neon fixes for text rendering
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49917
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Mon, 28 Jun 2010 05:21:05 +0000 (05:21 +0000)]
whitespace --
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49916
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Mon, 28 Jun 2010 05:14:36 +0000 (05:14 +0000)]
Suppress warnign about dropping const (AKA: C is stupid)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49914
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 27 Jun 2010 14:06:10 +0000 (14:06 +0000)]
and final post snap - next releasename
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49903
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 27 Jun 2010 13:45:27 +0000 (13:45 +0000)]
snap+release
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49899
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 27 Jun 2010 13:32:41 +0000 (13:32 +0000)]
Snapshot evas
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49891
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Fri, 25 Jun 2010 08:52:37 +0000 (08:52 +0000)]
Fic names of caching vars.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49854
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 23 Jun 2010 15:51:20 +0000 (15:51 +0000)]
fix linking with mingw
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49819
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
bdilly [Tue, 22 Jun 2010 14:01:50 +0000 (14:01 +0000)]
Add 3 missing symbols to escape strings
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49794
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 22 Jun 2010 00:06:40 +0000 (00:06 +0000)]
try no surf/context etc. on free in egl.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49790
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 21 Jun 2010 07:59:46 +0000 (07:59 +0000)]
use before freeing to make sure context is right
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49781
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 20 Jun 2010 06:32:05 +0000 (06:32 +0000)]
warnings--
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49765
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 18 Jun 2010 14:45:42 +0000 (14:45 +0000)]
* configure.ac: take inept translation a little bit into account.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49743
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Wed, 16 Jun 2010 09:02:09 +0000 (09:02 +0000)]
Some more Neon updates: 180 degress.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49692
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Mon, 14 Jun 2010 08:16:47 +0000 (08:16 +0000)]
Don't double declare len
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49663
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Mon, 14 Jun 2010 08:07:12 +0000 (08:07 +0000)]
Remoive extra #endif
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49662
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Mon, 14 Jun 2010 05:59:23 +0000 (05:59 +0000)]
Add experimental word and metric caching.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49661
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 11 Jun 2010 18:35:40 +0000 (18:35 +0000)]
Although evas_debug is flagged with "debug" in the name, messages are critical.
The evas_debug functions are just called from MAGIC_DEBUG errors, that
are quite critical, so messages should come out by default, and do
that loud with a CRITICAL warning.
Raster, cedric and others: now that we have Eina as a common
dependency between Evas and Ecore, maybe it is worth to unify the
debug system on top of Eina logging? It already provides "abort on
critical", runtime configurable log levels. I'd say the same about the
magic and safety checks themselves (eina_magic and eina_safety).
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49643
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Wed, 9 Jun 2010 18:22:47 +0000 (18:22 +0000)]
SVN_REPO_PATH envvar during autoconf to use svnversion in there.
Some systems, like the Gentoo, copy the svn contents somewhere before
doing the autoconf, this may result in lack of .svn and thus minor
version "0".
This patch introduces the $SVN_REPO_PATH to say where the svn checkout
containing the ".svn" directory is.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49594
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 9 Jun 2010 14:43:40 +0000 (14:43 +0000)]
it seems that gcc 4.5.0 on Windows does not like my function pointers
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49592
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 8 Jun 2010 06:08:17 +0000 (06:08 +0000)]
use function pointers
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49563
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 8 Jun 2010 05:39:46 +0000 (05:39 +0000)]
use (A)RGB_JOIN macro
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49562
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 6 Jun 2010 17:43:03 +0000 (17:43 +0000)]
restore after snap/release
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49540
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 6 Jun 2010 17:26:38 +0000 (17:26 +0000)]
Snapshot evas
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49532
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 6 Jun 2010 17:18:10 +0000 (17:18 +0000)]
as we use fopen ourself, no need to use the wrapping for win ce
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49527
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 6 Jun 2010 17:17:52 +0000 (17:17 +0000)]
post-snap anr release.. reset svn back.. this time for real.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49526
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 6 Jun 2010 16:42:31 +0000 (16:42 +0000)]
Snapshot evas
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49515
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 6 Jun 2010 16:23:16 +0000 (16:23 +0000)]
post release - move relname to pre-svn again.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49506
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 6 Jun 2010 16:07:58 +0000 (16:07 +0000)]
Snapshot evas
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49496
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Fri, 4 Jun 2010 16:00:28 +0000 (16:00 +0000)]
No reason to include the same header twice.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49449
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 4 Jun 2010 15:21:12 +0000 (15:21 +0000)]
* evas: make it possible to call unload_all from surface_alloc.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49448
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 4 Jun 2010 04:07:12 +0000 (04:07 +0000)]
clean up smart cb descriptions on del.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49438
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 4 Jun 2010 01:04:24 +0000 (01:04 +0000)]
change svnversion shell goop to nuke sed and just use tr to delete
unwanted goop.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49429
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 3 Jun 2010 14:02:46 +0000 (14:02 +0000)]
fix valgrind complaint - indeed corner case.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49414
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Thu, 3 Jun 2010 07:40:54 +0000 (07:40 +0000)]
Let git-svn users get the right revision number to be used as version.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49407
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 2 Jun 2010 09:15:01 +0000 (09:15 +0000)]
fix crash on null yuv.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49392
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
rui [Tue, 1 Jun 2010 20:01:23 +0000 (20:01 +0000)]
Support for new module loaders for BMP and TGA... if they should be enabled by default, please just move them to bcond_with instead of bcond_without
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49380
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 31 May 2010 03:40:48 +0000 (03:40 +0000)]
ooh and also lkd - just to be clean.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49346
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 31 May 2010 03:31:49 +0000 (03:31 +0000)]
now that header was a mess - and this wasnt using the same lock! bad
bad!
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49345
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 31 May 2010 03:12:45 +0000 (03:12 +0000)]
nopw svn revision works again.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49344
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 31 May 2010 01:59:22 +0000 (01:59 +0000)]
fix - if no svn tree, then it will pretend to be a release.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49343
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 31 May 2010 01:34:43 +0000 (01:34 +0000)]
distcheck!
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49342
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 30 May 2010 17:48:19 +0000 (17:48 +0000)]
trga loader - snarfed 80% from imlib2. missing paletted mode (just
like the imlib2 one) but.. handles alpha correctly- unlike imlib2 and
manyother loaders.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49330
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 30 May 2010 15:34:22 +0000 (15:34 +0000)]
on data load alloc surface only if dimensiosn match
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49329
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 30 May 2010 14:33:36 +0000 (14:33 +0000)]
oops - left over png thing.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49328
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 30 May 2010 13:04:34 +0000 (13:04 +0000)]
for shits and giggles... i wrote a bmp loader. i did look at the old
imlib2 bmp loader, but it was imcomplete compared to the bmp
standards, so i actually ended up reading the file format definitions
on line i could find and using lots of test images... wrote a new one.
you can at least view bmp files now. note - i found 1 bmp file that
claims to have an alpha channel (amask is non-empty) and then proceeds
to provide an image with pixels - all alpha 0. so its transparent when
it shouldnt be. beats me but looks like a broken bmp file to me when
it compes to specs.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49324
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 29 May 2010 07:24:43 +0000 (07:24 +0000)]
oops - broke module dirs!
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49277
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 29 May 2010 06:37:19 +0000 (06:37 +0000)]
move evas version inside extern c.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49274
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 29 May 2010 06:27:29 +0000 (06:27 +0000)]
remove semi-colon
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49270
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 29 May 2010 05:42:21 +0000 (05:42 +0000)]
evas version too.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49268
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
bdilly [Thu, 27 May 2010 21:03:53 +0000 (21:03 +0000)]
small fix in evas html escape table
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49240
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Mon, 24 May 2010 02:16:14 +0000 (02:16 +0000)]
Fix buggy arm ldr instruction.
The size suffixes are apparetly allowed only on neon instructions.
Thanks to Ben Zores for the bug report + testing.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49174
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 21 May 2010 16:50:25 +0000 (16:50 +0000)]
segv there in frame queue code. fix.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49107
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 21 May 2010 14:14:54 +0000 (14:14 +0000)]
make it easier to debug if it was enabled, and how :-)
minor style fixes.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49100
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 21 May 2010 07:44:07 +0000 (07:44 +0000)]
aaah yes - the flush will ... possibly delete the image - in fract almost
definitely as it got to 0 fref. unlocking the image is bad as it was just
deleted. do the delete (cache fluch) after unlock.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49089
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 21 May 2010 07:31:03 +0000 (07:31 +0000)]
unloading of loader module -> bad for sync preload it seems.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49088
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 21 May 2010 07:10:45 +0000 (07:10 +0000)]
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
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49087
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 20 May 2010 15:24:28 +0000 (15:24 +0000)]
be paranoid about gl context - reset it to "0" every frame.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49065
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 19 May 2010 13:00:08 +0000 (13:00 +0000)]
2 more symbosl not exported - there, but hidden if visibility hidde.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49004
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Wed, 19 May 2010 09:03:46 +0000 (09:03 +0000)]
BUILD_NEON, not BUILD_NEONx
/me kicks me for commiting debugging code.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49000
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Wed, 19 May 2010 08:52:29 +0000 (08:52 +0000)]
Neonized rotated 90 display for ARMs.
Share and enjoy.
See my previous neon related commit for more details.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@48999
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 18 May 2010 14:45:50 +0000 (14:45 +0000)]
fix symbols! oops.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@48980
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 18 May 2010 04:22:33 +0000 (04:22 +0000)]
handle gl init fialure correctly and dont mess up font init.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@48959
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 18 May 2010 03:49:59 +0000 (03:49 +0000)]
if shader compile fails - peroclate error back up to engine info_set so we
know gl engine is useless.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@48956
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Thu, 13 May 2010 20:24:06 +0000 (20:24 +0000)]
evas: Add return value
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@48820
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Thu, 13 May 2010 20:23:49 +0000 (20:23 +0000)]
evas: remove unused variables
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@48819
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 12 May 2010 03:27:34 +0000 (03:27 +0000)]
hmmmm gl-es doesnt like that texture2d thing. disable again.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@48774
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Mon, 10 May 2010 09:24:11 +0000 (09:24 +0000)]
Neon improvements for ARM Cortex.
Samsung Electronics just allowed me to release the first set of ARM neon
patches under the Evas licence. They are silently helping improve EFL and
this another product of their help.
These patches have been tested on a Cortex A8 and show consistent improvement
across the board. For expedite some tests up to 100% improvements, and
practical real world examples show that rendering limited applications show
similar improvements. For instance in one application from 17fps->30fps or
for another 40->63fps.
The patches are pure neon code (intrinsics tend to generate worse code). To
build under GCC you will need a recent GCC and the following C flags:
-mfloat-abi=softfp -mfpu=neon
I also recommend -O2 and -ffast-math.
If you have any problems please let me know.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@48733
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 9 May 2010 05:15:20 +0000 (05:15 +0000)]
gl engine now does rotates (0, 90, 180, 270), like software engines
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@48704
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 5 May 2010 16:17:23 +0000 (16:17 +0000)]
oops - call params in right order.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@48627
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 5 May 2010 11:36:21 +0000 (11:36 +0000)]
* evas: bring back object cache.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@48620
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 4 May 2010 15:58:10 +0000 (15:58 +0000)]
oooh you'd love to know why this is here.. won't you? :)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@48613
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 2 May 2010 05:19:47 +0000 (05:19 +0000)]
* link pthread and spinlock code instead of just compiling
* POSIX pthread spinlock may be unimplemented, so don't
exit with an error if they are not available
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@48540
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33