profile/ivi/evas.git
13 years agoalso conflict with gl2.h (gles2 headers)
raster [Tue, 3 May 2011 05:53:20 +0000 (05:53 +0000)]
also conflict with gl2.h (gles2 headers)

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

13 years agoformatting fix.
raster [Tue, 3 May 2011 03:24:36 +0000 (03:24 +0000)]
formatting fix.

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

13 years agoif you preload the same image more than once.. it may/will cause
raster [Tue, 3 May 2011 03:20:02 +0000 (03:20 +0000)]
if you preload the same image more than once.. it may/will cause
problems as target is inserter in cache image target list multiple
times. fix by only alloding preload request to go in once.

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

13 years agowrn--
raster [Tue, 3 May 2011 03:11:08 +0000 (03:11 +0000)]
wrn--

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

13 years agoEvas font-engine: Remove passing of strings to font_draw.
tasn [Mon, 2 May 2011 15:33:46 +0000 (15:33 +0000)]
Evas font-engine: Remove passing of strings to font_draw.

This is not needed anymore because we have working string objects.

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

13 years agoEvas font-draw: Fix word-cache to not need text.
tasn [Mon, 2 May 2011 15:33:38 +0000 (15:33 +0000)]
Evas font-draw: Fix word-cache to not need text.

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

13 years agoEvas textblock: Now that we cache fi, we don't need shaped_text anymore.
tasn [Mon, 2 May 2011 15:33:35 +0000 (15:33 +0000)]
Evas textblock: Now that we cache fi, we don't need shaped_text anymore.

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

13 years agoEvas textblock: Remove obsolete comment.
tasn [Mon, 2 May 2011 15:33:31 +0000 (15:33 +0000)]
Evas textblock: Remove obsolete comment.

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

13 years agoEvas textblock: We finally cache fi - remove related hacks.
tasn [Mon, 2 May 2011 15:33:27 +0000 (15:33 +0000)]
Evas textblock: We finally cache fi - remove related hacks.

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

13 years agoEvas bidi: Made fribidichar<->eina_unicode conversion a compile time test.
tasn [Mon, 2 May 2011 13:24:26 +0000 (13:24 +0000)]
Evas bidi: Made fribidichar<->eina_unicode conversion a compile time test.

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

13 years agoevas: don't use EINA_LOCK_INITIALIZER and improve eina_threads call.
cedric [Mon, 2 May 2011 11:28:47 +0000 (11:28 +0000)]
evas: don't use EINA_LOCK_INITIALIZER and improve eina_threads call.

Only call eina_threads_shutdown when thread are dead and not before.

Release and destroy thread lock before calling evas_async_events_process
as you should never have a lock taken in the main loop when calling it.

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

13 years agoEvas font-engine: Cache fi for all cases (even without harfbuzz).
tasn [Mon, 2 May 2011 09:28:00 +0000 (09:28 +0000)]
Evas font-engine: Cache fi for all cases (even without harfbuzz).

This is now possible, because we have a script querying function.

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

13 years agoEvas language: Split to script even if there's no Harfbuzz.
tasn [Mon, 2 May 2011 09:27:56 +0000 (09:27 +0000)]
Evas language: Split to script even if there's no Harfbuzz.

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

13 years agoEvas font-engine: Made *_unicode_funcs_get internal to font_ot.c
tasn [Mon, 2 May 2011 09:27:49 +0000 (09:27 +0000)]
Evas font-engine: Made *_unicode_funcs_get internal to font_ot.c

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

13 years agowarning-- for eina locks
raster [Mon, 2 May 2011 08:24:27 +0000 (08:24 +0000)]
warning-- for eina locks

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

13 years agoEvas language: Added a character script querying function.
tasn [Mon, 2 May 2011 07:28:07 +0000 (07:28 +0000)]
Evas language: Added a character script querying function.

This is added until there will be a library that does it; From my
understanding, there are already people working on such library.

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

13 years agoEvas language: Updated scripts according to Unicode 6.0
tasn [Mon, 2 May 2011 07:28:02 +0000 (07:28 +0000)]
Evas language: Updated scripts according to Unicode 6.0

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

13 years agoEvas language: Fix typos.
tasn [Mon, 2 May 2011 07:27:59 +0000 (07:27 +0000)]
Evas language: Fix typos.

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

13 years agoEvas textblock: Unified the wmax calculation into one place.
tasn [Mon, 2 May 2011 07:27:48 +0000 (07:27 +0000)]
Evas textblock: Unified the wmax calculation into one place.

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

13 years agomore docs.
raster [Mon, 2 May 2011 03:06:34 +0000 (03:06 +0000)]
more docs.

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

13 years agoimprove evas_gl docs a bit.
raster [Mon, 2 May 2011 02:43:10 +0000 (02:43 +0000)]
improve evas_gl docs a bit.

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

13 years agoFrom: "Sung W. Park" <sungwoo@gmail.com>
raster [Mon, 2 May 2011 02:14:00 +0000 (02:14 +0000)]
From: "Sung W. Park" <sungwoo@gmail.com>
Subject: evas_gl_api_get patch.

Here's a patch that simply overrides the GL functions for Evas_GL
except for two functions that I provide on my own.  It may have some symbol
resolving warnings but that'll all go away eventually when we do everything
via dlsym or getProcAddress.

You can apply the patch to the latest revision of evas.  (I've just
updated them) I'm also attaching a sample GLES program that uses
evas_gl_api_get. You don't need to link it to -lGL.

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

13 years agoadd LKDBUG. sorry - was trying to ekep other changes out of svn for
raster [Mon, 2 May 2011 00:45:16 +0000 (00:45 +0000)]
add LKDBUG. sorry - was trying to ekep other changes out of svn for
nowand didnt commit this bit.

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

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