profile/ivi/evas.git
13 years agoevas: simplify code at the same time.
cedric [Wed, 19 Oct 2011 09:04:18 +0000 (09:04 +0000)]
evas: simplify code at the same time.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64169 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agonono - we dont dirty images when we set data...
raster [Wed, 19 Oct 2011 08:59:29 +0000 (08:59 +0000)]
nono - we dont dirty images when we set data...

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64168 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFrom: Jiyoun Park <jy0703.park@samsung.com>
raster [Wed, 19 Oct 2011 06:36:28 +0000 (06:36 +0000)]
From: Jiyoun Park <jy0703.park@samsung.com>
Subject: Re: [E-devel] [Patch] Implement scale down decoding feature of bmp loader

I implement scale down decoding feature of bmp loader using down sample algorithm.
Desktop have low risk to go wrong memory problem during big image decoding,
but mobile device is different.

Raster said it is life (meet memory problem during big image decoding),
and it is enough to return decoding fail.

But I think it seems a bit harsh, because 2 or 3 bmp image (5000X5000 size: for example)
can cause application close because of memory lack.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64163 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font: Oops, hb_fonts should be per font instance, not source.
tasn [Tue, 18 Oct 2011 09:58:49 +0000 (09:58 +0000)]
Evas font: Oops, hb_fonts should be per font instance, not source.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64144 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFrom: Jiyoun Park <jy0703.park@samsung.com>
raster [Tue, 18 Oct 2011 09:10:26 +0000 (09:10 +0000)]
From: Jiyoun Park <jy0703.park@samsung.com>
Subject: [E-devel] [Patch] modify gl engine's animated function
related with cache entry

I modified the gl engine code related with animated images
This is very trivial.  Evas image object passes images to the engine.
In the software engine, it is a cache entry , but in the GL engine, it is
an Evas_GL Image. So I modified the gl engine code to get the cache entry
from the gl image.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64143 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofor now - revers eumni touch events patch until we get press state
raster [Tue, 18 Oct 2011 08:32:03 +0000 (08:32 +0000)]
for now - revers eumni touch events patch until we get press state
"getter" api patch. :)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64140 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFrom: "Sung W. Park" <sungwoo@gmail.com>
raster [Tue, 18 Oct 2011 08:13:23 +0000 (08:13 +0000)]
From: "Sung W. Park" <sungwoo@gmail.com>
Subject: Re: [E-devel] [E-Devel][Review][Patch] Evas GL Extensions + a
bug fix

Here's an initial attempt at the GL extensions issue for Evas GL.

I have been in discussion with a few EFL developers regarding how we should
provide extensions.  Essentially, there are two ways to go about doing this.

1. provide evas_gl_proc_address_get() function as it is done in other
glue layers

2. provide all the extension functions in the EVAS_GL_API struct.

#1 approach is how it's done in other glue layers and the driver implementor can
provide new extensions easily.  It is however pretty annoying to get the
function prototypes right and use the function pointers and etc.

#2 approach provides all the extension functions in the struct so it's
definitely easier to use.  Adding new extensions can be a pain as people may
have to wait for new version releases.

For now, we thought it was OK to just throw them in the struct as in
#2 and try it out.  So, I've implemented this approach.  As for the extensions,
I've basically included all the extensions in gl2ext.h as EvasGL currently
provides all the GLES 2.0 functions.   In order to display the right
information, I had to override glGetString() with GL_EXTENSIONS as parameter to properly
display the supported extensions.

Also, I've added a few EGL extensions that have been
modified for EvasGL use.  For example, eglCreateImage/eglDestroyImage has been
defined as folllows.

   EvasGLImage  (*evasglCreateImage) (int target, void* buffer, int*
                                         attrib_list); void
                                            (*evasglDestroyImage)
(EvasGLImage image);

const char *evas_gl_string_query() function was added to return a string of
supported EvasGL extensions.  So essentially, a user can search this string to see
if the desired extension is supported.  if it is, he can use the functions.  He can
always check if the function pointers are NULL as well.

Take a look at the pach and let me know what you think.

______________

While I was adding the extension code, I've added a few fixes/ changes
to the EvasGL.

1. glDeletBuffers bug
- When I wad destroying evasgl context, I was deleting the context FBO with
glDeleteBuffers instead of glDeleteFramebuffers. This code in effect was
deleting BOs in other contexts and we had some funky behaviors as a
result.  The
bug has been fixed.

2. make_current
- I've made some changes to the make current code and also added a resource
context to the engine data.  the resource context is used for creating surface
texture/ fbos when surface/ context is created.  Before, i was using evas'
context but thought it'd be a good idea to use a separate context.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64139 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font: Cache Harfbuzz font structure for fonts we use.
tasn [Mon, 17 Oct 2011 14:24:49 +0000 (14:24 +0000)]
Evas font: Cache Harfbuzz font structure for fonts we use.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64136 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Beautify the DRAW_FORMAT_DASHED macro a bit.
tasn [Mon, 17 Oct 2011 12:18:57 +0000 (12:18 +0000)]
Evas textblock: Beautify the DRAW_FORMAT_DASHED macro a bit.

Patch by Shilpa Singh.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64135 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoRevert "evas: Deal with harfbuzz API breakage"
tasn [Mon, 17 Oct 2011 12:18:53 +0000 (12:18 +0000)]
Revert "evas: Deal with harfbuzz API breakage"

Sorry mate, but they broke API without bumping version, that's why I
didn't do this myself. You should probably add your version of harfbuzz.

This reverts commit 64057.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64134 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Cleaned up DRAW_FORMAT/_DASHED macros.
tasn [Mon, 17 Oct 2011 10:43:42 +0000 (10:43 +0000)]
Evas textblock: Cleaned up DRAW_FORMAT/_DASHED macros.

Fixed compiler warnings.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64132 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Added dashed underline support.
tasn [Mon, 17 Oct 2011 10:43:08 +0000 (10:43 +0000)]
Evas textblock: Added dashed underline support.

Patch by Shilpa Singh

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64131 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agosorry. we can't depend on svnrev in versions. wish we could. we can't :(
raster [Mon, 17 Oct 2011 05:22:08 +0000 (05:22 +0000)]
sorry. we can't depend on svnrev in versions. wish we could. we can't :(

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64121 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agosvn:ignore
discomfitor [Sun, 16 Oct 2011 15:48:29 +0000 (15:48 +0000)]
svn:ignore

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64117 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agosvn:ignore
discomfitor [Sun, 16 Oct 2011 15:46:28 +0000 (15:46 +0000)]
svn:ignore

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64116 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agorequire recent eina
discomfitor [Sun, 16 Oct 2011 15:45:28 +0000 (15:45 +0000)]
require recent eina

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64115 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Check for dlsym and disable gl engines if not found
kakaroto [Sat, 15 Oct 2011 09:31:04 +0000 (09:31 +0000)]
Evas: Check for dlsym and disable gl engines if not found

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64091 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Remove a useless ifdef that was causing dead code.
kakaroto [Sat, 15 Oct 2011 09:30:33 +0000 (09:30 +0000)]
Evas: Remove a useless ifdef that was causing dead code.
You can't compile a gl_common .c file based on whether or not the SDL
header was included. The .c file will result in only one .o and since
the Evas_Engine_Sdl.h is not included by evas_gl_context.c itself, then
that ifdef will never be true.
gl_common should request a callback function pointer from the evas engine
for doing symbol resolution. This needs a refactor.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64086 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Fix compiler warnings wrt uninitialized variables.
devilhorns [Sat, 15 Oct 2011 01:02:55 +0000 (01:02 +0000)]
Evas: Fix compiler warnings wrt uninitialized variables.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64079 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: Deal with harfbuzz API breakage
mike_m [Fri, 14 Oct 2011 02:52:50 +0000 (02:52 +0000)]
evas: Deal with harfbuzz API breakage

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64057 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: only draw the hole when it's needed.
cedric [Thu, 13 Oct 2011 09:23:42 +0000 (09:23 +0000)]
evas: only draw the hole when it's needed.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64047 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: faster "lround"
caro [Thu, 13 Oct 2011 06:55:12 +0000 (06:55 +0000)]
Evas: faster "lround"

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64036 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoround negatives right.
raster [Thu, 13 Oct 2011 06:36:22 +0000 (06:36 +0000)]
round negatives right.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64035 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agolets just fal back to "stoopid" mode rounding for non-lround platforms
raster [Thu, 13 Oct 2011 06:15:28 +0000 (06:15 +0000)]
lets just fal back to "stoopid" mode rounding for non-lround platforms

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64033 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: Use clists to store the render recalculation list
mike_m [Thu, 13 Oct 2011 02:22:29 +0000 (02:22 +0000)]
evas: Use clists to store the render recalculation list

Rather than trying to avoid removing the list element that is
currently being processed, keep two lists and move elements
to the processed list before recalculating them.

Remove items from the list head only, and always append them
to the tail.

Use the fact that an item can be removed from a clist without
needing to know which list it is in.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64030 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix use of invalid program id IF viewport changed - also disable
raster [Wed, 12 Oct 2011 23:22:26 +0000 (23:22 +0000)]
fix use of invalid program id IF viewport changed - also disable
GLERR. this can really hurt performance.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64027 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix gl pipeline problem with textures and map and the wrong program id
raster [Wed, 12 Oct 2011 10:27:17 +0000 (10:27 +0000)]
fix gl pipeline problem with textures and map and the wrong program id
being set/restored.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64014 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofixme--
raster [Wed, 12 Oct 2011 10:15:35 +0000 (10:15 +0000)]
fixme--

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64013 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore sse3 bugs!
raster [Wed, 12 Oct 2011 03:28:53 +0000 (03:28 +0000)]
more sse3 bugs!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64006 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomake more bug notes.
raster [Wed, 12 Oct 2011 02:59:44 +0000 (02:59 +0000)]
make more bug notes.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64005 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoall vert shaders always highp on gles.
raster [Wed, 12 Oct 2011 02:54:06 +0000 (02:54 +0000)]
all vert shaders always highp on gles.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64004 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agosome nasty hackery to get affine transform mapping to be "pixel
raster [Tue, 11 Oct 2011 12:32:21 +0000 (12:32 +0000)]
some nasty hackery to get affine transform mapping to be "pixel
perfect" with 90 degree rotations. i really should have actually
special cased them, for for now i made the generic routine try and punt
out the right numbers.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63986 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agodisable buggy sse3 routine! test showed it in ello.
raster [Tue, 11 Oct 2011 11:51:54 +0000 (11:51 +0000)]
disable buggy sse3 routine! test showed it in ello.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63985 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix off-by-one update region calc in map.
raster [Tue, 11 Oct 2011 11:30:37 +0000 (11:30 +0000)]
fix off-by-one update region calc in map.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63984 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agouse lround() for map coord rounding to avoid silly things like
raster [Tue, 11 Oct 2011 06:06:11 +0000 (06:06 +0000)]
use lround() for map coord rounding to avoid silly things like
15.999999999999999998 rounding down to 15... whihc leads to
sometimes... odd off-by-1 expected results.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63978 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agooops - typo.
raster [Tue, 11 Oct 2011 01:51:49 +0000 (01:51 +0000)]
oops - typo.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63967 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoadapt to SEC direct texture access changes for the last time.
raster [Mon, 10 Oct 2011 10:08:29 +0000 (10:08 +0000)]
adapt to SEC direct texture access changes for the last time.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63959 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas/evas_events - trivial changes
hermet [Mon, 10 Oct 2011 08:52:08 +0000 (08:52 +0000)]
evas/evas_events - trivial changes

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63953 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: big mistake in efl_attribute.m4. My bad
caro [Sun, 9 Oct 2011 19:28:40 +0000 (19:28 +0000)]
Evas: big mistake in efl_attribute.m4. My bad

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63935 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Add GL_EET_CFLAGS tp CPPFLAGS so that Eet.h is found. Patch by JGMiller, fix...
caro [Sat, 8 Oct 2011 07:16:36 +0000 (07:16 +0000)]
Evas: Add GL_EET_CFLAGS tp CPPFLAGS so that Eet.h is found. Patch by JGMiller, fix ticket #874

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63922 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agobe quiet about the EEK.
raster [Sat, 8 Oct 2011 05:33:47 +0000 (05:33 +0000)]
be quiet about the EEK.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63921 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoCommit Neil's patch reported here:
raster [Sat, 8 Oct 2011 04:58:57 +0000 (04:58 +0000)]
Commit Neil's patch reported here:

http://trac.enlightenment.org/e/ticket/880

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63920 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix cedric's nv12 shader! it worked by luck only. tex_y -> tex_c in
raster [Sat, 8 Oct 2011 03:04:16 +0000 (03:04 +0000)]
fix cedric's nv12 shader! it worked by luck only. tex_y -> tex_c in
vert shdr

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63918 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agotry and make newgl work again... fail! why does glx hate me?
raster [Thu, 6 Oct 2011 15:05:32 +0000 (15:05 +0000)]
try and make newgl work again... fail! why does glx hate me?

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63885 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agono no.. oops. i missed an error!
raster [Thu, 6 Oct 2011 13:46:06 +0000 (13:46 +0000)]
no no.. oops. i missed an error!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63883 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agonewgl work.. now.. why?
raster [Thu, 6 Oct 2011 13:45:14 +0000 (13:45 +0000)]
newgl work.. now.. why?

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63882 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoonly use highp *IF* compiler supports it.
raster [Thu, 6 Oct 2011 13:25:18 +0000 (13:25 +0000)]
only use highp *IF* compiler supports it.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63880 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: remove extra CR
mike_m [Thu, 6 Oct 2011 02:23:57 +0000 (02:23 +0000)]
evas: remove extra CR

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63867 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago[PATCH] evas: fix typo in LOOP_ALIGNED_U1_A48_SSE3
lucas [Wed, 5 Oct 2011 23:41:01 +0000 (23:41 +0000)]
[PATCH] evas: fix typo in LOOP_ALIGNED_U1_A48_SSE3
The old version works because in every function in which
this macro is used ``l'' is the length and ``d'' is the
destination. This patch prevents future headaches when
those constraints no longer hold.

Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63856 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: fix shader for nv12.
cedric [Wed, 5 Oct 2011 10:16:25 +0000 (10:16 +0000)]
evas: fix shader for nv12.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63835 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agooh and compile script missing updates to make shd's... grrr. and nv12
raster [Wed, 5 Oct 2011 09:52:08 +0000 (09:52 +0000)]
oh and compile script missing updates to make shd's... grrr. and nv12
shader bad!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63832 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas/evas_object_textblock : When cursor_mode is BEFORE, dir_cur->node
woohyun [Wed, 5 Oct 2011 07:29:06 +0000 (07:29 +0000)]
evas/evas_object_textblock : When cursor_mode is BEFORE, dir_cur->node
can be NULL. So modified the conditional state.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63824 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoall shaders -> use high precision not medium to avoid rounding errors.
raster [Tue, 4 Oct 2011 11:21:22 +0000 (11:21 +0000)]
all shaders -> use high precision not medium to avoid rounding errors.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63804 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: cleanup and reorder video function call to be more usable.
cedric [Tue, 4 Oct 2011 09:34:01 +0000 (09:34 +0000)]
evas: cleanup and reorder video function call to be more usable.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63799 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: forgotten commit with since.
cedric [Tue, 4 Oct 2011 09:33:40 +0000 (09:33 +0000)]
evas: forgotten commit with since.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63798 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFrom: EunMi Lee <eunmi15.lee@samsung.com>
raster [Tue, 4 Oct 2011 07:30:22 +0000 (07:30 +0000)]
From: EunMi Lee <eunmi15.lee@samsung.com>
Subject: [E-devel] [Patch] Evas touch event patch.

Nice to meet you.
I'm Eunmi Lee, developing mobile web browser and working on WebKit EFL port.
I need new type of event for touch, so I've made patch to add
EVAS_CALLBACK_TOUCH event to the evas.

I will explain history of this patch.
Currently, many web applications and sites use TouchEvent and they can
do everything(scrolling, zooming and so on) like native application
using TouchEvent.
So, I'm also want to provide TouchEvent for web in the WebKit EFL port,
but I got a problem during making TouchEvent because EFL's touch
event's structure (Mouse, Multi Event) is different from Web
TouchEvent's one.

Let me explain about Web TouchEvent firstly.
Web TouchEvent is consist of type and touch points list simply.
There are 3 kinds of type.
TouchStart: Happens every time a finger is placed on the screen.
TouchEnd: Happens every time a finger is removed from the screen.
TouchMove: Happens as a finger already placed on the screen is moved
across the screen.
for example, we can make (1 finger starts to touch), (2 fingers are
moving), (1 finger is released duirng 3 fingers are moving) and so on.
You can see the detailed information in the following url:
http://www.sitepen.com/blog/2008/07/10/touching-and-gesturing-on-the-iphone

However, EFL's touch event is consist of six kinds of type :
MOUSE_DOWN, MOUSE_UP, MOUSE_MOVE, MULTI_DOWN, MULTI_UP, MULTI_MOVE.
So, I have to make a converter to make web touch event from EFL's
touch event.
You can reference attatched image file : evas_touch_event.png.

To tell the truth, converting code is not a big one.
But, I want to reduce this additional job and make code simple.
In the WebKit QT port, they don't have to make converting code for
TouchEvent,
because they have QTouchEvent, it has type and touchPoints list and
they can be mapped to Web TouchEvent one by one.
I think iPhone and Android also have such kind of event.

That's all why I want to add new touch event type to the evas.

about my patch:
- EVAS_CALLBACK_TOUCH event is added
- touch_points Eina_List is added to the Evas structure to maintain
current touch lists.
- process MOUSE/MULTI UP, DOWN, MOVE to make TOUCH event.

It is my first time to modify eves codes and actually I don't know too
much about evas.
So, I will be grateful if you send any feedback and comments.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63796 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agojiyoun bug! you didnt fix the hkey string properly.. you set the last
raster [Tue, 4 Oct 2011 01:41:45 +0000 (01:41 +0000)]
jiyoun bug! you didnt fix the hkey string properly.. you set the last
2 chars to o? where ? is "undefined". you set the same string char to
/ then o. fix!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63785 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoso... gcc was optimizing the test out... that sucks! fix. make sure gcc
raster [Mon, 3 Oct 2011 16:29:12 +0000 (16:29 +0000)]
so... gcc was optimizing the test out... that sucks! fix. make sure gcc
doesnt know what to do with optimizing and actually compiles the code!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63775 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas/configure.ac - fixed typo.
hermet [Mon, 3 Oct 2011 05:06:11 +0000 (05:06 +0000)]
evas/configure.ac - fixed typo.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63764 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoisolate sse3 to only its own file, so it only uses -msse3 for that
raster [Mon, 3 Oct 2011 04:44:23 +0000 (04:44 +0000)]
isolate sse3 to only its own file, so it only uses -msse3 for that

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63762 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: add basic support for video support.
cedric [Mon, 3 Oct 2011 03:28:52 +0000 (03:28 +0000)]
evas: add basic support for video support.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63758 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agook. sse3 OFF for 32bit builds. as we cant guarantee the compiler and
raster [Sun, 2 Oct 2011 11:29:03 +0000 (11:29 +0000)]
ok. sse3 OFF for 32bit builds. as we cant guarantee the compiler and
arch does sse3. the wasy sse3 is done makes this stupidly ugly. so too
bad for 32bit builds - no sse3 for u unless u specifically enable at
build time and then u have a binary that never runs on pre-sse3 chips.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63745 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoNO - SSE3... add -msse3.... NO! NEVER!
raster [Sun, 2 Oct 2011 10:57:26 +0000 (10:57 +0000)]
NO - SSE3... add -msse3.... NO! NEVER!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63744 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoformatting - space++
raster [Sun, 2 Oct 2011 10:43:17 +0000 (10:43 +0000)]
formatting - space++

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63743 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agobad cedric! broke gl engine!
raster [Fri, 30 Sep 2011 16:18:41 +0000 (16:18 +0000)]
bad cedric! broke gl engine!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63729 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: remove warning.
cedric [Fri, 30 Sep 2011 15:54:26 +0000 (15:54 +0000)]
evas: remove warning.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63728 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: zero swizzeling code for Samsung platform.
cedric [Fri, 30 Sep 2011 15:51:32 +0000 (15:51 +0000)]
evas: zero swizzeling code for Samsung platform.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63727 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: correctly handle direct mapping of data for non RGBA case.
cedric [Fri, 30 Sep 2011 15:43:51 +0000 (15:43 +0000)]
evas: correctly handle direct mapping of data for non RGBA case.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63726 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: fix make dist
lucas [Fri, 30 Sep 2011 13:33:40 +0000 (13:33 +0000)]
evas: fix make dist

Patch by: Josef Reidinger <jreidinger@suse.cz>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63723 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFrom: Jiyoun Park <jy0703.park@samsung.com>
raster [Fri, 30 Sep 2011 07:10:40 +0000 (07:10 +0000)]
From: Jiyoun Park <jy0703.park@samsung.com>

Subject: [E-devel] [Patch] support Animation gif's disposal mode

I make patch support animation gif disposal mode.

Before, gif loader only decode & render based on previous frame.

This patch can support "do not dispose mode" & "restore background
mode".

So It solve after image problem of restore background mode.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63716 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix ambiguous docs and add notes about premultiplied coloring books
discomfitor [Fri, 30 Sep 2011 06:05:33 +0000 (06:05 +0000)]
fix ambiguous docs and add notes about premultiplied coloring books

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63715 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoinclude config.h - it isnt included.. otherwise we'd have had redefine
raster [Fri, 30 Sep 2011 06:04:53 +0000 (06:04 +0000)]
include config.h - it isnt included.. otherwise we'd have had redefine
warnings....

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63714 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix warning
caro [Fri, 30 Sep 2011 04:14:30 +0000 (04:14 +0000)]
fix warning

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63710 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agounneeded checks
caro [Fri, 30 Sep 2011 04:04:28 +0000 (04:04 +0000)]
unneeded checks

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63708 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoadd Jim Kukunas as authors
caro [Fri, 30 Sep 2011 03:50:30 +0000 (03:50 +0000)]
add Jim Kukunas as authors

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63707 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoyou know.... i was reviewing this patch this morning and i found
raster [Fri, 30 Sep 2011 03:29:03 +0000 (03:29 +0000)]
you know.... i was reviewing this patch this morning and i found
several problems with it... but SOMEONE... (lucas) committed it
without even so much as replying to the list saying he was going to...
:)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63705 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: enable SSE3 blend functions
lucas [Fri, 30 Sep 2011 02:37:12 +0000 (02:37 +0000)]
evas: enable SSE3 blend functions

Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63704 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: add SSE3 _op_blend_pixel_mask blend functions
lucas [Fri, 30 Sep 2011 02:37:02 +0000 (02:37 +0000)]
evas: add SSE3 _op_blend_pixel_mask blend functions
_op_blend_p_mas_dp_sse3
_op_blend_pas_mas_dp_sse3
_op_blend_rel_p_mas_dp_sse3

Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63703 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: add SSE3 op_blend_pixel_color blend functions
lucas [Fri, 30 Sep 2011 02:36:51 +0000 (02:36 +0000)]
evas: add SSE3 op_blend_pixel_color blend functions
_op_blend_p_c_dp_sse3
_op_blend_pan_c_dp_sse3
_op_blend_p_can_dp_sse3
_op_blend_pan_can_dp_sse3
_op_blend_p_caa_dp_sse3
_op_blend_pan_caa_dp_sse3
_op_blend_rel_p_c_dp_sse3

Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63702 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: add SSE3 op_blend_pixel blend functions
lucas [Fri, 30 Sep 2011 02:36:30 +0000 (02:36 +0000)]
evas: add SSE3 op_blend_pixel blend functions
_op_blend_p_dp_sse3
_op_blend_pas_dp_sse3
_op_blend_rel_p_dp_sse3
_op_blend_rel_pan_dp_sse3

Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63701 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: add SSE3 op_blend_mask_color blend functions
lucas [Fri, 30 Sep 2011 02:36:15 +0000 (02:36 +0000)]
evas: add SSE3 op_blend_mask_color blend functions
_op_blend_mas_c_dp_sse3
_op_blend_mas_can_dp_sse3
_op_blend_rel_mas_c_dp_sse3

Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63700 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: add SSE3 op_blend_color blend functions
lucas [Fri, 30 Sep 2011 02:36:01 +0000 (02:36 +0000)]
evas: add SSE3 op_blend_color blend functions
_op_blend_c_dp_sse3
_op_blend_rel_c_dp_sse3

Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63699 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: add common SSE3 blending functions/macro
lucas [Fri, 30 Sep 2011 02:35:45 +0000 (02:35 +0000)]
evas: add common SSE3 blending functions/macro
mul_256_sse3
sub4_alpha_sse3
interp4_256_sse3
mul_sym_sse3
mul4_sym_sse3
mul3_sym_sse3

LOOP_ALIGNED_U1_A48_SSE3

__attribute__((always_inline)) is needed to coax GCC (< 4.6.0)
into inlining the common blend ops. Not inlining these functions
causes a steep performance penalty.

Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63698 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: add SSE3 support
lucas [Fri, 30 Sep 2011 02:35:31 +0000 (02:35 +0000)]
evas: add SSE3 support
Readme entry
configure --[enable/disable]-cpu-sse3
processor capability test

Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63697 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: fix make dist
yoz [Thu, 29 Sep 2011 15:13:27 +0000 (15:13 +0000)]
evas: fix make dist

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63669 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: oops forgot that.
cedric [Thu, 29 Sep 2011 09:48:13 +0000 (09:48 +0000)]
evas: oops forgot that.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63664 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: handle exif rotation information directly inside evas jpeg loader.
cedric [Thu, 29 Sep 2011 09:02:30 +0000 (09:02 +0000)]
evas: handle exif rotation information directly inside evas jpeg loader.

Patch by Jiyoun Park <jy0703.park@samsung.com>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63659 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agouse another m4 macro for __atribute__
caro [Thu, 29 Sep 2011 06:26:03 +0000 (06:26 +0000)]
use another m4 macro for __atribute__
 add check of gcc vector extension, requested by cedric

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63652 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas Evas.h: Fixed typo.
seoz [Wed, 28 Sep 2011 09:14:40 +0000 (09:14 +0000)]
evas Evas.h: Fixed typo.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63640 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoand another commit in an attempt to fix mouse grabs + event callbacks
raster [Mon, 26 Sep 2011 02:45:06 +0000 (02:45 +0000)]
and another commit in an attempt to fix mouse grabs + event callbacks
to be consistent

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63607 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agonew attempt to fix the hidden object event thing without breaking
raster [Sun, 25 Sep 2011 04:43:02 +0000 (04:43 +0000)]
new attempt to fix the hidden object event thing without breaking
dnd... this makes for consistent behavior. :)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63599 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agooops - and dont need to sub the rgabbed count - i missed that it was
raster [Sat, 24 Sep 2011 07:46:37 +0000 (07:46 +0000)]
oops - and dont need to sub the rgabbed count - i missed that it was
already done above. no bug there. move on.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63586 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoas suspected... this breaks drag and drop! :( revert.
raster [Sat, 24 Sep 2011 04:01:36 +0000 (04:01 +0000)]
as suspected... this breaks drag and drop! :( revert.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63577 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agotry this for fixing grab count when callbacks play with further events
raster [Fri, 23 Sep 2011 06:37:03 +0000 (06:37 +0000)]
try this for fixing grab count when callbacks play with further events
in the in list copy (like moving, resizing, hiding etc. them).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63554 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix grab event counter miss.
raster [Fri, 23 Sep 2011 06:19:20 +0000 (06:19 +0000)]
fix grab event counter miss.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63553 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas_object_smart - trivial changes.
hermet [Wed, 21 Sep 2011 10:56:23 +0000 (10:56 +0000)]
evas_object_smart - trivial changes.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63514 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas/evas_events - just removed white spaces.
hermet [Wed, 21 Sep 2011 10:35:03 +0000 (10:35 +0000)]
evas/evas_events - just removed white spaces.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63511 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed an issue when deleting A from <a><a>A</a></a>.
tasn [Tue, 20 Sep 2011 08:05:50 +0000 (08:05 +0000)]
Evas textblock: Fixed an issue when deleting A from <a><a>A</a></a>.

Reported by WooHyun. Thanks a lot, great catch, also told me where and what
the issue is exactly.

Also added a test to verify this works.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63493 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoactually no - wrong pixman... remove if.
raster [Tue, 20 Sep 2011 05:45:00 +0000 (05:45 +0000)]
actually no - wrong pixman... remove if.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63487 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agosoftware xcb cvant build without pixman... fix autofoo
raster [Tue, 20 Sep 2011 05:28:20 +0000 (05:28 +0000)]
software xcb cvant build without pixman... fix autofoo

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63486 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33