profile/ivi/evas.git
13 years agoand fix up lock goop to work right with improved eina lock goop. i
raster [Sun, 1 May 2011 13:25:23 +0000 (13:25 +0000)]
and fix up lock goop to work right with improved eina lock goop. i
hope i nixed this bug.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@59086 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agorevert some changces to try fix lock issues - they create other
raster [Sun, 1 May 2011 07:26:42 +0000 (07:26 +0000)]
revert some changces to try fix lock issues - they create other
nastier ones.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@59073 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agotry and remove lock deadlocks...
raster [Sun, 1 May 2011 06:58:36 +0000 (06:58 +0000)]
try and remove lock deadlocks...

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@59070 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Filter: Brightness: Fix clamp ranges, and don't double negate
nash [Sun, 1 May 2011 06:39:26 +0000 (06:39 +0000)]
Evas: Filter: Brightness: Fix clamp ranges, and don't double negate

Basically it's a clamp function...

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@59068 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: filter: brightness: software brightness filter.
nash [Sun, 1 May 2011 06:39:24 +0000 (06:39 +0000)]
evas: filter: brightness: software brightness filter.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@59067 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: filter: Use the correct fields in filter_set
nash [Sun, 1 May 2011 06:39:22 +0000 (06:39 +0000)]
evas: filter: Use the correct fields in filter_set

Strangely, not everything is a blur.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@59066 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoUse ARGB_JOIN everywhere in evas_filter.
nash [Sun, 1 May 2011 06:39:19 +0000 (06:39 +0000)]
Use ARGB_JOIN everywhere in evas_filter.

Now to re-apply brightness.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@59065 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoand try and reduce possible cache deadlocks/issues.
raster [Sun, 1 May 2011 06:26:41 +0000 (06:26 +0000)]
and try and reduce possible cache deadlocks/issues.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@59064 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agocould have a cache deadlock here as _sci_find is called from with
raster [Sun, 1 May 2011 06:24:02 +0000 (06:24 +0000)]
could have a cache deadlock here as _sci_find is called from with
already locked caches.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@59063 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agowhitespaces--
caro [Sun, 1 May 2011 06:06:56 +0000 (06:06 +0000)]
whitespaces--

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@59062 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoremove unneded lock+unlock
raster [Sun, 1 May 2011 04:44:56 +0000 (04:44 +0000)]
remove unneded lock+unlock

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@59060 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas text: Move the shadow calculations out of the loop.
tasn [Fri, 29 Apr 2011 19:26:56 +0000 (19:26 +0000)]
Evas text: Move the shadow calculations out of the loop.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@59047 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font-engine: Fixed rendering of empty text.
tasn [Thu, 28 Apr 2011 15:02:11 +0000 (15:02 +0000)]
Evas font-engine: Fixed rendering of empty text.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@59006 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font-engine: Document and cleanup the comments in font-query.
tasn [Thu, 28 Apr 2011 12:57:35 +0000 (12:57 +0000)]
Evas font-engine: Document and cleanup the comments in font-query.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@59002 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed a bug with drawing formats when clipped.
tasn [Thu, 28 Apr 2011 12:12:57 +0000 (12:12 +0000)]
Evas textblock: Fixed a bug with drawing formats when clipped.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@59001 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Added "password" tag - toggle password mode.
tasn [Thu, 28 Apr 2011 11:08:20 +0000 (11:08 +0000)]
Evas textblock: Added "password" tag - toggle password mode.

This lets you toggle the password mode inside the text. Especially
useful for implementing "show last char" in password entries.

Patch by Shilpaonkar Singh

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@59000 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed *_format_remove_pair to invalidate the text nodes.
tasn [Thu, 28 Apr 2011 08:18:44 +0000 (08:18 +0000)]
Evas textblock: Fixed *_format_remove_pair to invalidate the text nodes.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58991 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix formatting.
raster [Thu, 28 Apr 2011 06:59:11 +0000 (06:59 +0000)]
fix formatting.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58988 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Use strncmp instead of strncpy and strcmp.
tasn [Wed, 27 Apr 2011 14:59:22 +0000 (14:59 +0000)]
Evas textblock: Use strncmp instead of strncpy and strcmp.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58963 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font-engine: Remove dependency or harfbuzz being built with glib.
tasn [Wed, 27 Apr 2011 14:00:00 +0000 (14:00 +0000)]
Evas font-engine: Remove dependency or harfbuzz being built with glib.

Harfbuzz needs unicode querying functions in order to work properly,
until there'll be a nice lib that does that (should be under dev) we have
to depend on an outside source. This commit uses new Harfbuzz API that
lets us not care about the unicode function provider and just let harfbuzz
to manage it on it's own.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58961 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Implement format invalidation points support.
tasn [Wed, 27 Apr 2011 12:41:26 +0000 (12:41 +0000)]
Evas textblock: Implement format invalidation points support.

This lets us only relayout what's needed also when inserting formats.
This means inserting <b> </> for example is now as fast as inserting any
other char and doesn't cause a complete relayout.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58958 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font-engine: Fixes last commit to not seg when not using OT.
tasn [Tue, 26 Apr 2011 14:20:45 +0000 (14:20 +0000)]
Evas font-engine: Fixes last commit to not seg when not using OT.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58936 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoRevert "BAD TASN!". Yeah, I'm evil.
tasn [Tue, 26 Apr 2011 14:20:41 +0000 (14:20 +0000)]
Revert "BAD TASN!". Yeah, I'm evil.

Following commit includes a fix.

This reverts commit 58933.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58935 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font-engine: Updated comments.
tasn [Tue, 26 Apr 2011 14:20:38 +0000 (14:20 +0000)]
Evas font-engine: Updated comments.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58934 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoBAD TASN!
raster [Tue, 26 Apr 2011 14:05:01 +0000 (14:05 +0000)]
BAD TASN!

ROLL BACK TODAYS CHANGES TO EVAS....

SEGV SEGV EVERYWHERE!

*SPANK*

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58933 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas Evas.h: Sync dox authors with AUTHORS file.
seoz [Tue, 26 Apr 2011 13:02:02 +0000 (13:02 +0000)]
Evas Evas.h: Sync dox authors with AUTHORS file.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58932 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoemail address of Thierry El Borgi
yoz [Tue, 26 Apr 2011 12:36:57 +0000 (12:36 +0000)]
email address of Thierry El Borgi

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58931 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font-engine: fix issue with using the wrong fi.
tasn [Tue, 26 Apr 2011 10:21:01 +0000 (10:21 +0000)]
Evas font-engine: fix issue with using the wrong fi.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58930 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomake generic loader 2 stage (head + data)
raster [Tue, 26 Apr 2011 09:41:07 +0000 (09:41 +0000)]
make generic loader 2 stage (head + data)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58927 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font-engine: use the cached fi instead of searching for it.
tasn [Tue, 26 Apr 2011 09:26:33 +0000 (09:26 +0000)]
Evas font-engine: use the cached fi instead of searching for it.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58926 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font-engine: Added a fixme.
tasn [Tue, 26 Apr 2011 09:14:23 +0000 (09:14 +0000)]
Evas font-engine: Added a fixme.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58925 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font-engine: Cache fi when using Harfbuzz.
tasn [Tue, 26 Apr 2011 09:14:02 +0000 (09:14 +0000)]
Evas font-engine: Cache fi when using Harfbuzz.

Soon I will also do it for all cases, but it's not possible at the
moment because we depend on harfbuzz for querying unicode properties.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58924 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofixme++
raster [Tue, 26 Apr 2011 08:45:21 +0000 (08:45 +0000)]
fixme++

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58923 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agouse correct hdr in shm open check.
raster [Tue, 26 Apr 2011 05:12:25 +0000 (05:12 +0000)]
use correct hdr in shm open check.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58917 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoadd generic image loader. allows for GPL loaders, unstable loaders and
raster [Tue, 26 Apr 2011 01:03:06 +0000 (01:03 +0000)]
add generic image loader. allows for GPL loaders, unstable loaders and
more. making a loader is a matter of a binary of a specific name and
evas passes certain input on the cmd-line and your binary produces
output on stdout (and also optionally additionally in a shm or tmp
file).

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58914 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: don't forget to init eina_threads when using threads.
cedric [Mon, 25 Apr 2011 17:11:58 +0000 (17:11 +0000)]
evas: don't forget to init eina_threads when using threads.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58908 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agooops - didnt mean to commit that. that was just an example.
raster [Mon, 25 Apr 2011 09:42:49 +0000 (09:42 +0000)]
oops - didnt mean to commit that. that was just an example.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58897 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFrom: "Sung W. Park" <sungwoo@gmail.com>
raster [Mon, 25 Apr 2011 08:41:36 +0000 (08:41 +0000)]
From: "Sung W. Park" <sungwoo@gmail.com>
Subject: [E-devel] [Review] [Patch] Evas - OpenGL on Evas: surface
texture creation patch

I'm attaching a patch that addresses the awkward usage case. It's something
that didn't bother me initially but the more I look at it, i think
it's a little off. :-)

The initial version of the evas_gl that I've submitted had the
following use case.

   evasgl = evas_gl_new(e);
   sfc = evas_gl_surface_create(...);
   ctx = evas_gl_context_create(...);

// Make current triggers surface texture and FBO to be created
   evas_gl_make_current(evasgl, sfc, ctx);

// Then you can do a surface_get to retrieve the proper texture and set it
   evas_gl_native_surface_get(evasgl, sfc, &ns);
   evas_object_image_native_surface_set(img_obj, &ns);

   The unnatural thing about this use case is that you have to call the make_current
one time in order for evas_gl to generate a surface texture.  This is because
you need a context to create a texture.  Unfortunately, this makes the usage
case really awkward.

So, instead, I've decided to get rid of the need for calling the make_current
by generating a surface texture when evas_gl_surface_create() is called
by using the evas' gl context.  This works because the newly created context
shares resources with evas.  in fact, this is what i'm currently doing with surface
deletion anyway so I thought this solution was reasonable.

Here's how it looks after you get rid of the make_current:

   evasgl = evas_gl_new(e);
   sfc = evas_gl_surface_create(...);
   ctx = evas_gl_context_create(...);

   evas_gl_native_surface_get(evasgl, sfc, &ns);
   evas_object_image_native_surface_set(img_obj, &ns);

The patch is pretty small and straightforward.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58892 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agowarnings--
raster [Mon, 25 Apr 2011 02:36:14 +0000 (02:36 +0000)]
warnings--

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58884 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agolets have a Makefile.am shall we?
raster [Mon, 25 Apr 2011 02:28:42 +0000 (02:28 +0000)]
lets have a Makefile.am shall we?

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58882 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: use eina_lock.
cedric [Sun, 24 Apr 2011 20:25:34 +0000 (20:25 +0000)]
evas: use eina_lock.

NOTE: now when preload and ecore_thread are not running all lock
are disabled inside evas.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58878 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: remove a few shadow variable.
cedric [Sun, 24 Apr 2011 20:21:07 +0000 (20:21 +0000)]
evas: remove a few shadow variable.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58874 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: add psd file format support.
cedric [Sun, 24 Apr 2011 19:45:43 +0000 (19:45 +0000)]
evas: add psd file format support.

Patch from Thierry el Borgi with some rework of myself.

NOTE: I don't have much file to test, so if some don't
contact us with those file and we will fix the loader
if needed.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58873 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agohmmm actually this wasn't the cause. but someone definitely broke something here...
discomfitor [Sat, 23 Apr 2011 22:37:42 +0000 (22:37 +0000)]
hmmm actually this wasn't the cause. but someone definitely broke something here...

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58846 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agookay who's the joker that broke evas build? freetype 9.3.0 is definitely not a valid...
discomfitor [Sat, 23 Apr 2011 22:32:06 +0000 (22:32 +0000)]
okay who's the joker that broke evas build? freetype 9.3.0 is definitely not a valid dependency :/

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58845 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agonash -> i fixed your mask rendering. interesting you only mask *IF*
raster [Sat, 23 Apr 2011 02:02:45 +0000 (02:02 +0000)]
nash -> i fixed your mask rendering. interesting you only mask *IF*
you have 1:1 scaling. you could do this with scaled imaged (and
unscaled masks) with ease. both smooth and nearest.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58838 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agocomments for nash
raster [Sat, 23 Apr 2011 01:22:17 +0000 (01:22 +0000)]
comments for nash

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58837 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agowrn-- -> my bad.
raster [Sat, 23 Apr 2011 00:35:42 +0000 (00:35 +0000)]
wrn-- -> my bad.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58836 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoan initial test at trying pixman instead of evas software rendering.
raster [Fri, 22 Apr 2011 11:47:14 +0000 (11:47 +0000)]
an initial test at trying pixman instead of evas software rendering.
results... in comments. disabled atm unless u --enable it. only
replaces 1 operation in 2 cases.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58824 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Added a temp fix for repch until implemented nicely.
tasn [Thu, 21 Apr 2011 15:34:44 +0000 (15:34 +0000)]
Evas textblock: Added a temp fix for repch until implemented nicely.

This fix is just until we finally split to scripts and cache fi all
the time, i.e in all the possible paths (regular, fribidi and harfbuzz).

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58806 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Fix typos from 'old mans' recent commit sot hings build again
devilhorns [Thu, 21 Apr 2011 15:21:40 +0000 (15:21 +0000)]
Evas: Fix typos from 'old mans' recent commit sot hings build again
wrt xcb.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58804 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas harfbuzz: Adjust evas to work with Harfbuzz >= 3.0
tasn [Thu, 21 Apr 2011 14:04:53 +0000 (14:04 +0000)]
Evas harfbuzz: Adjust evas to work with Harfbuzz >= 3.0

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58802 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Clean repch code a bit. No logic changes.
tasn [Thu, 21 Apr 2011 14:04:46 +0000 (14:04 +0000)]
Evas textblock: Clean repch code a bit. No logic changes.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58801 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoadd in lots of ptr checks to sw-x11 outbut code... this may only
raster [Thu, 21 Apr 2011 12:33:35 +0000 (12:33 +0000)]
add in lots of ptr checks to sw-x11 outbut code... this may only
happen if we ran out of mem and mallocs failed... but we can avoid a
crash.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58797 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFrom: "Sung W. Park" <sungwoo@gmail.com>
raster [Thu, 21 Apr 2011 09:23:42 +0000 (09:23 +0000)]
From: "Sung W. Park" <sungwoo@gmail.com>

(part of the evas-gl work)

the patch basically checks to see if the current context is evas' gl context
and if it is, it'll call evas_gl_common_context_flush().  I think this
is the proper

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58786 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoand tho the header has that func.. evas doesn't. remove it. seems this
raster [Thu, 21 Apr 2011 09:18:45 +0000 (09:18 +0000)]
and tho the header has that func.. evas doesn't. remove it. seems this
api wasnt removed from the public h before release. it can't have
worked anyway so not a break.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58785 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font-engine: Fixed kerning issue and a major rendering bug.
tasn [Thu, 21 Apr 2011 08:47:16 +0000 (08:47 +0000)]
Evas font-engine: Fixed kerning issue and a major rendering bug.

Kerning: We are walking the string visually so we don't need to do
anything special for kerning when in rtl, freetype works with "left" and
"right" which we automatically get.

Rendering bug: Cedric found that in some cases there were missing
characters. This was caused because I forgot to convert the kerning from
16.6 fixed point to int.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58783 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoneon asm is not working. even after some typo fixes.
raster [Thu, 21 Apr 2011 08:18:38 +0000 (08:18 +0000)]
neon asm is not working. even after some typo fixes.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58782 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: filter: Remove warning from evil type things.
nash [Thu, 21 Apr 2011 06:26:49 +0000 (06:26 +0000)]
Evas: filter: Remove warning from evil type things.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58780 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix some nasty image cache issues i've found like double-frees, leaks
raster [Thu, 21 Apr 2011 06:24:27 +0000 (06:24 +0000)]
fix some nasty image cache issues i've found like double-frees, leaks
etc. etc. in corner-cases. it also re-factors the image cache code to
be much more manageable and understandable with cache/list management
doing the right thing in the internal calls.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58779 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Mask: Add the part where evas actually uses the mask in GL.
nash [Thu, 21 Apr 2011 06:22:06 +0000 (06:22 +0000)]
Evas: Mask: Add the part where evas actually uses the mask in GL.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58778 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agowarning--
raster [Thu, 21 Apr 2011 06:21:51 +0000 (06:21 +0000)]
warning--

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58777 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Filter: Avoid a double free.
nash [Thu, 21 Apr 2011 06:01:59 +0000 (06:01 +0000)]
Evas: Filter: Avoid a double free.

I just don't know why.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58776 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Filter: Don't leak keys either.
nash [Thu, 21 Apr 2011 06:01:56 +0000 (06:01 +0000)]
Evas: Filter: Don't leak keys either.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58775 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Filter: More aggresively avoid allocing filter data.
nash [Thu, 21 Apr 2011 06:01:53 +0000 (06:01 +0000)]
Evas: Filter: More aggresively avoid allocing filter data.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58774 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Filter: No need to allocate on a getter.
nash [Thu, 21 Apr 2011 06:01:50 +0000 (06:01 +0000)]
Evas: Filter: No need to allocate on a getter.

Just return the default.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58773 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Filter: Use some ARGB joins.
nash [Thu, 21 Apr 2011 06:01:48 +0000 (06:01 +0000)]
Evas: Filter: Use some ARGB joins.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58772 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Fix broken [ARGB]_VAL macros.
nash [Thu, 21 Apr 2011 02:30:34 +0000 (02:30 +0000)]
Evas: Fix broken [ARGB]_VAL macros.

And no one ever noticed til now?

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58770 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Filter: Remove last vestiges of alpha/red/green/blue macros
nash [Thu, 21 Apr 2011 02:30:32 +0000 (02:30 +0000)]
Evas: Filter: Remove last vestiges of alpha/red/green/blue macros

Using the [ARGB]_VAL ones intead.  Also means need to change to use pointer
instead of array syntax to the all macro.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58769 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Filter: Fix filter length assignment.
nash [Wed, 20 Apr 2011 14:44:32 +0000 (14:44 +0000)]
Evas: Filter: Fix filter length assignment.

Fun fact... this works on 64 bit systems... well mine anyway, but falls over
in a horrible mess on 32bit systems.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58763 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Filter: Whitespace fixes
nash [Wed, 20 Apr 2011 14:44:29 +0000 (14:44 +0000)]
Evas: Filter: Whitespace fixes

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58762 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Filter: Handle memory alloc error a little more gracefully
nash [Wed, 20 Apr 2011 14:44:26 +0000 (14:44 +0000)]
Evas: Filter: Handle memory alloc error a little more gracefully

In this case, just set the filter type to none.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58761 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas bidi: Fixed spelling errors: NATURAL -> NEUTRAL (Macro name).
tasn [Wed, 20 Apr 2011 14:35:37 +0000 (14:35 +0000)]
Evas bidi: Fixed spelling errors: NATURAL -> NEUTRAL (Macro name).

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58760 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font: Removed a deprecated macro.
tasn [Wed, 20 Apr 2011 14:21:00 +0000 (14:21 +0000)]
Evas font: Removed a deprecated macro.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58759 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font: Removed LOGICAL_WALK and updated last_up_to_pos accondingly.
tasn [Wed, 20 Apr 2011 14:20:57 +0000 (14:20 +0000)]
Evas font: Removed LOGICAL_WALK and updated last_up_to_pos accondingly.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58758 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas text/textblock: Change item size calculation to use advance again.
tasn [Wed, 20 Apr 2011 14:20:54 +0000 (14:20 +0000)]
Evas text/textblock: Change item size calculation to use advance again.

We don't need to do any tricks anymore because size calculation is now
very fast, as fast as the tricks we did, so it's best to just do what
we really want to do.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58757 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font-engine: Cache pen position instead of advance.
tasn [Wed, 20 Apr 2011 14:20:51 +0000 (14:20 +0000)]
Evas font-engine: Cache pen position instead of advance.

We only really use adavnce for calculating the pen position, so it makes more
sense to just cache the pen_position instead and calculate advance from
that if ever needed.
This means size/advance calculations are now O(1) because we don't need to
walk the strings anymore.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58756 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font-engine: Fix drawing of replacement char when not using Harfbuzz.
tasn [Wed, 20 Apr 2011 14:20:48 +0000 (14:20 +0000)]
Evas font-engine: Fix drawing of replacement char when not using Harfbuzz.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58755 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofilter: handle malloc failers without crashing.
raster [Wed, 20 Apr 2011 08:28:40 +0000 (08:28 +0000)]
filter: handle malloc failers without crashing.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58752 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agolets properly document filter calls and return sane values
raster [Wed, 20 Apr 2011 08:24:56 +0000 (08:24 +0000)]
lets properly document filter calls and return sane values

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58751 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoand lets have getters for setters shall we - if we go implement 1 of
raster [Wed, 20 Apr 2011 08:20:36 +0000 (08:20 +0000)]
and lets have getters for setters shall we - if we go implement 1 of
them.. lets implement alll shall we?

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58750 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoand fix filter api to be consistent with evas.. letalone all of efl.
raster [Wed, 20 Apr 2011 08:13:33 +0000 (08:13 +0000)]
and fix filter api to be consistent with evas.. letalone all of efl.
VERB AT END!!!! (get/set/whatever)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58749 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore formatting fixes after filter commit.
raster [Wed, 20 Apr 2011 08:09:30 +0000 (08:09 +0000)]
more formatting fixes after filter commit.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58748 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoand fix more filter messups. o->fitler will be leaked on obj deletion
raster [Wed, 20 Apr 2011 08:06:59 +0000 (08:06 +0000)]
and fix more filter messups. o->fitler will be leaked on obj deletion
as there was no cleanup.. and the method of exposing
evas_filter_key_get() was so out of step with any other code i have
ever seen.. letalong evas... fix.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58747 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore bad code - why pass in void * image and data? sero point.. and it
raster [Wed, 20 Apr 2011 08:05:23 +0000 (08:05 +0000)]
more bad code - why pass in void * image and data? sero point.. and it
totally is out of step with the rest of the api for gl_common.. that
alone would tell you "dont so that". ugh. more filter fixes.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58746 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agooh god. more warning fixes...
raster [Wed, 20 Apr 2011 08:01:04 +0000 (08:01 +0000)]
oh god. more warning fixes...

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58745 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore fixme fixes of filter
raster [Wed, 20 Apr 2011 07:35:18 +0000 (07:35 +0000)]
more fixme fixes of filter

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58744 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agostart fixing shader mess. at least add mask compile to scripts. need
raster [Wed, 20 Apr 2011 07:12:51 +0000 (07:12 +0000)]
start fixing shader mess. at least add mask compile to scripts. need
to do filters.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58743 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix filter code to move docs to Evas.h
raster [Wed, 20 Apr 2011 07:08:48 +0000 (07:08 +0000)]
fix filter code to move docs to Evas.h

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58742 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agooh dear... way too many warnings. added a whole bunch of fixme's too
raster [Wed, 20 Apr 2011 01:22:08 +0000 (01:22 +0000)]
oh dear... way too many warnings. added a whole bunch of fixme's too
for later.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58740 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: export evas_filter_software_get() (used in software_generic engine)
caro [Tue, 19 Apr 2011 21:37:32 +0000 (21:37 +0000)]
Evas: export evas_filter_software_get() (used in software_generic engine)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58736 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font-engine: fix a segfault with empty strings.
tasn [Tue, 19 Apr 2011 20:27:34 +0000 (20:27 +0000)]
Evas font-engine: fix a segfault with empty strings.

Thanks to Nicolas Aguirre (captainigloo) for the catch.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58734 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Filter: Add evas_object_image filter changes.
nash [Tue, 19 Apr 2011 06:16:21 +0000 (06:16 +0000)]
Evas: Filter: Add evas_object_image filter changes.

This is where the actual filtering takes place.  Kinda important to make it
work.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58729 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Filters:
nash [Tue, 19 Apr 2011 05:47:56 +0000 (05:47 +0000)]
Evas: Filters:

More work, proudly supported by Samsung.  Filters!

So now you can apply a whole host of cheesy visual effects to objects at
runtime.  This is the first commit, there are a couple of more to come as I
tweak the filters, and fix blur with GL[1].

Please direct bugs to me nash@nash.id.au.

[1] You'd think shaders would be good at this.. but no, generic blur and GL
are like trying to get an apple product to work with Linux.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58726 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Filter: Add the shaders - nice and safe change here.
nash [Tue, 19 Apr 2011 05:47:51 +0000 (05:47 +0000)]
Evas: Filter: Add the shaders - nice and safe change here.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58725 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Work around for mask issues
nash [Tue, 19 Apr 2011 05:47:47 +0000 (05:47 +0000)]
Evas: Work  around for mask issues

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58724 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Fix nasty blank space after return and before semicolon.
devilhorns [Mon, 18 Apr 2011 16:31:12 +0000 (16:31 +0000)]
Evas: Fix nasty blank space after return and before semicolon.

NB: Nothing functional, just formatting.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58708 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed an invalid read.
tasn [Sun, 17 Apr 2011 08:38:29 +0000 (08:38 +0000)]
Evas textblock: Fixed an invalid read.

In some cases an invalid read would occur. This was because we didn't
handle node merging appropriately.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58701 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofailure case more efficient
raster [Fri, 15 Apr 2011 09:32:28 +0000 (09:32 +0000)]
failure case more efficient

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58683 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix image double-deref/free when not meant to happen
raster [Fri, 15 Apr 2011 07:49:25 +0000 (07:49 +0000)]
fix image double-deref/free when not meant to happen

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@58682 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33