cedric [Fri, 21 Oct 2011 14:06:42 +0000 (14:06 +0000)]
evas: coorectly dirty YUV data.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64254
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 21 Oct 2011 12:03:41 +0000 (12:03 +0000)]
hmm gles doesnt have internal format fetching.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64253
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 21 Oct 2011 10:25:35 +0000 (10:25 +0000)]
and NOW fix obscure object handling properly.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64252
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
hermet [Fri, 21 Oct 2011 10:10:47 +0000 (10:10 +0000)]
evas/evas_inline - indent!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64251
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 21 Oct 2011 10:03:17 +0000 (10:03 +0000)]
note on detecting texture alloc fail. need to percolate that back
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64250
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 21 Oct 2011 10:00:03 +0000 (10:00 +0000)]
and disable invalidate optimization
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64249
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 21 Oct 2011 09:59:13 +0000 (09:59 +0000)]
debug for future. for now found the problem.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64248
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
hermet [Fri, 21 Oct 2011 09:53:26 +0000 (09:53 +0000)]
evas/evas_events - trivial changes
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64247
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 21 Oct 2011 08:58:00 +0000 (08:58 +0000)]
have evas engine also to update rect math so we can exclude useless
updates when obscured objects change
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64246
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 21 Oct 2011 08:17:14 +0000 (08:17 +0000)]
add call to get maximum image size (eg max texture size)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64244
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 21 Oct 2011 06:10:15 +0000 (06:10 +0000)]
if image biger than max texture size... report allocation errors.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64241
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 21 Oct 2011 05:50:05 +0000 (05:50 +0000)]
nicer formatting of async events
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64240
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
hermet [Thu, 20 Oct 2011 12:21:41 +0000 (12:21 +0000)]
evas/evas_events.c - removed duplicated lines
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64198
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
hermet [Thu, 20 Oct 2011 11:02:22 +0000 (11:02 +0000)]
evas/evas_events - removed useless lines since we support multi downs
but looks bad to keep the only one point in evas.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64197
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 19 Oct 2011 09:50:55 +0000 (09:50 +0000)]
we dont need the dirty at the end either.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64173
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 19 Oct 2011 09:04:34 +0000 (09:04 +0000)]
From: Jiyoun Park <jy0703.park@samsung.com>
Subject: [E-devel] [Patch] Add scale down decoding feature to evas png loader
I add scale down decoding feature to evas png loader. 5515X3986 size png image need 80~90M memory,
but scale down(scale num=2) option can reduce memory to 25~30M.
I use down sample method for scale down.
(there is more efficient algorithm for scale down, I'll add this to my
todo list)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64170
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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