Commit Graph

4001 Commits

Author SHA1 Message Date
Youness Alaoui 93d79aa509 Evas: Check for dlsym and disable gl engines if not found
SVN revision: 64091
2011-10-15 09:31:04 +00:00
Youness Alaoui 74c3fe766e 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.

SVN revision: 64086
2011-10-15 09:30:33 +00:00
Christopher Michael 3bb739d7fa Evas: Fix compiler warnings wrt uninitialized variables.
SVN revision: 64079
2011-10-15 01:02:55 +00:00
Mike McCormack 2d4cd8058a evas: Deal with harfbuzz API breakage
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 64057
2011-10-14 02:52:50 +00:00
Cedric BAIL e2d8b7892d evas: only draw the hole when it's needed.
SVN revision: 64047
2011-10-13 09:23:42 +00:00
Vincent Torri ce2cb9d8bf Evas: faster "lround"
SVN revision: 64036
2011-10-13 06:55:12 +00:00
Carsten Haitzler 3a59f00292 round negatives right.
SVN revision: 64035
2011-10-13 06:36:22 +00:00
Carsten Haitzler ff8767dbb4 lets just fal back to "stoopid" mode rounding for non-lround platforms
SVN revision: 64033
2011-10-13 06:15:28 +00:00
Mike McCormack ee5446fb13 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>

SVN revision: 64030
2011-10-13 02:22:29 +00:00
Carsten Haitzler ab7d9bdd84 fix use of invalid program id IF viewport changed - also disable
GLERR. this can really hurt performance.



SVN revision: 64027
2011-10-12 23:22:26 +00:00
Carsten Haitzler 4d5b4b2f24 fix gl pipeline problem with textures and map and the wrong program id
being set/restored.



SVN revision: 64014
2011-10-12 10:27:17 +00:00
Carsten Haitzler 6412cc1358 fixme--
SVN revision: 64013
2011-10-12 10:15:35 +00:00
Carsten Haitzler a7adef691a more sse3 bugs!
SVN revision: 64006
2011-10-12 03:28:53 +00:00
Carsten Haitzler 9e62992fe8 make more bug notes.
SVN revision: 64005
2011-10-12 02:59:44 +00:00
Carsten Haitzler 23df774e8d all vert shaders always highp on gles.
SVN revision: 64004
2011-10-12 02:54:06 +00:00
Carsten Haitzler b531487495 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.



SVN revision: 63986
2011-10-11 12:32:21 +00:00
Carsten Haitzler 2cf202ff51 disable buggy sse3 routine! test showed it in ello.
SVN revision: 63985
2011-10-11 11:51:54 +00:00
Carsten Haitzler f83bdbc136 fix off-by-one update region calc in map.
SVN revision: 63984
2011-10-11 11:30:37 +00:00
Carsten Haitzler 914a08e206 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.



SVN revision: 63978
2011-10-11 06:06:11 +00:00
Carsten Haitzler 0bfb70e48e oops - typo.
SVN revision: 63967
2011-10-11 01:51:49 +00:00
Carsten Haitzler 7597814df2 adapt to SEC direct texture access changes for the last time.
SVN revision: 63959
2011-10-10 10:08:29 +00:00
ChunEon Park af25636ab8 evas/evas_events - trivial changes
SVN revision: 63953
2011-10-10 08:52:08 +00:00
Vincent Torri 50cfcfc323 Evas: Add GL_EET_CFLAGS tp CPPFLAGS so that Eet.h is found. Patch by JGMiller, fix ticket #874
SVN revision: 63922
2011-10-08 07:16:36 +00:00
Carsten Haitzler 2f674f7059 be quiet about the EEK.
SVN revision: 63921
2011-10-08 05:33:47 +00:00
Carsten Haitzler 6fd17b839d Commit Neil's patch reported here:
http://trac.enlightenment.org/e/ticket/880



SVN revision: 63920
2011-10-08 04:58:57 +00:00
Carsten Haitzler 4e4e7a03a4 fix cedric's nv12 shader! it worked by luck only. tex_y -> tex_c in
vert shdr



SVN revision: 63918
2011-10-08 03:04:16 +00:00
Carsten Haitzler 7c7f8803f5 try and make newgl work again... fail! why does glx hate me?
SVN revision: 63885
2011-10-06 15:05:32 +00:00
Carsten Haitzler 837165ed8a no no.. oops. i missed an error!
SVN revision: 63883
2011-10-06 13:46:06 +00:00
Carsten Haitzler bdbfbbd2d3 newgl work.. now.. why?
SVN revision: 63882
2011-10-06 13:45:14 +00:00
Carsten Haitzler 82b843d222 only use highp *IF* compiler supports it.
SVN revision: 63880
2011-10-06 13:25:18 +00:00
Mike McCormack e5c1e7cc4f evas: remove extra CR
SVN revision: 63867
2011-10-06 02:23:57 +00:00
Jim Kukunas 5d45544329 [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>



SVN revision: 63856
2011-10-05 23:41:01 +00:00
Cedric BAIL a33eccf6e2 evas: fix shader for nv12.
SVN revision: 63835
2011-10-05 10:16:25 +00:00
Carsten Haitzler 27431cacdd oh and compile script missing updates to make shd's... grrr. and nv12
shader bad!



SVN revision: 63832
2011-10-05 09:52:08 +00:00
WooHyun Jung fb371c8aa6 evas/evas_object_textblock : When cursor_mode is BEFORE, dir_cur->node
can be NULL. So modified the conditional state.


SVN revision: 63824
2011-10-05 07:29:06 +00:00
Carsten Haitzler 4ddeed5933 all shaders -> use high precision not medium to avoid rounding errors.
SVN revision: 63804
2011-10-04 11:21:22 +00:00
Cedric BAIL 8edb994133 evas: cleanup and reorder video function call to be more usable.
SVN revision: 63799
2011-10-04 09:34:01 +00:00
Cedric BAIL 7b33abd685 evas: forgotten commit with since.
SVN revision: 63798
2011-10-04 09:33:40 +00:00
EunMi Lee c6681aa189 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.




SVN revision: 63796
2011-10-04 07:30:22 +00:00
Carsten Haitzler 157224ffef 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!



SVN revision: 63785
2011-10-04 01:41:45 +00:00
Carsten Haitzler 620d2573f3 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!



SVN revision: 63775
2011-10-03 16:29:12 +00:00
Carsten Haitzler 2aed2cf20a isolate sse3 to only its own file, so it only uses -msse3 for that
SVN revision: 63762
2011-10-03 04:44:23 +00:00
Cedric BAIL d724205a6e evas: add basic support for video support.
SVN revision: 63758
2011-10-03 03:28:52 +00:00
Carsten Haitzler de8b0a1137 formatting - space++
SVN revision: 63743
2011-10-02 10:43:17 +00:00
Carsten Haitzler f054f04d08 bad cedric! broke gl engine!
SVN revision: 63729
2011-09-30 16:18:41 +00:00
Cedric BAIL 0d03abde6b evas: remove warning.
SVN revision: 63728
2011-09-30 15:54:26 +00:00
Cedric BAIL cc71e34616 evas: zero swizzeling code for Samsung platform.
SVN revision: 63727
2011-09-30 15:51:32 +00:00
Cedric BAIL 308cf81312 evas: correctly handle direct mapping of data for non RGBA case.
SVN revision: 63726
2011-09-30 15:43:51 +00:00
Josef Reidinger 37b04168d6 evas: fix make dist
Patch by: Josef Reidinger <jreidinger@suse.cz>



SVN revision: 63723
2011-09-30 13:33:40 +00:00
Jiyoun Park c231bf108b 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.




SVN revision: 63716
2011-09-30 07:10:40 +00:00