Commit Graph

4932 Commits

Author SHA1 Message Date
Cedric BAIL 5d07e7691f evas: actually include Evas_GL.h in the tarball, just don't install it.
SVN revision: 65131
2011-11-13 13:10:31 +00:00
Carsten Haitzler 86b8de2f7e update NEWS file format for evas
SVN revision: 65123
2011-11-13 06:15:47 +00:00
ChunEon Park 0bc308dcd7 evas/evas_events - modified unsigned char -> Eina_Bool for some fields in the Evas_Key_Grab structure.
removed white spaces and fixed indent also



SVN revision: 65092
2011-11-12 08:06:30 +00:00
ChunEon Park 6dbe2c7443 evas/evas_event - evas_object_freeze_set for the key events.
SVN revision: 65091
2011-11-12 07:51:58 +00:00
ChunEon Park c5f717d2b0 evas/evas_event - trivial changes
modify indentation to look more clearly. 
use Eina_Bool 



SVN revision: 65089
2011-11-12 07:01:38 +00:00
ChunEon Park d908a5d876 evas - trivial changes.
SVN revision: 65087
2011-11-12 06:12:42 +00:00
Carsten Haitzler 507c8f9edb fill news for evas 1.1
SVN revision: 65060
2011-11-11 12:33:58 +00:00
Vincent Torri f0b1de83cc Evas: we want the opengl cocoa engine only on mac os x
SVN revision: 65059
2011-11-11 09:57:15 +00:00
Carsten Haitzler a4f94d2a09 fix nonnull val in jpeg loader proto.
SVN revision: 65056
2011-11-11 08:11:16 +00:00
Carsten Haitzler 0902d538a4 fix nonnull macro - errant ;
SVN revision: 65055
2011-11-11 08:07:03 +00:00
Carsten Haitzler 34988a54e4 ooh aznd other part of dyn img patch goes in.
SVN revision: 65053
2011-11-11 07:47:25 +00:00
Carsten Haitzler f6b826fde9 oops - typo in dyn image fix. fix!
SVN revision: 65052
2011-11-11 07:43:38 +00:00
Carsten Haitzler dcb34d789b handle refcounting of dyn img data to allow for get, get, set, set
pairs.



SVN revision: 65051
2011-11-11 07:36:15 +00:00
Carsten Haitzler edaeefa288 fix another evas map clip issue! hooray! never ending list!
SVN revision: 65044
2011-11-11 05:56:40 +00:00
Vincent Torri d103ed2551 Evas: use -pthread instead of -lpthread
SVN revision: 65030
2011-11-10 18:14:48 +00:00
Vincent Torri 6483e5c166 Evas: use -pthread instead of -lpthread
SVN revision: 65029
2011-11-10 18:02:43 +00:00
Vincent Torri 120d3d6ce0 Evas: use __always_inline__ and not always_inline
SVN revision: 65028
2011-11-10 17:39:35 +00:00
Tom Hacohen 52ca712a14 Evas font: Fix clang errors.
http://dev.enlightenment.fr/~discomfitor/evas-2011-11-09/report-qpiPpZ.html#EndPath

SVN revision: 65019
2011-11-10 12:11:17 +00:00
Jiyoun Park c049c0e12b remove white space and tab
SVN revision: 65009
2011-11-10 08:59:09 +00:00
EunMi Lee 1b00894c58 From: EunMi Lee <eunmi15.lee@samsung.com>
Subject: [E-devel] [Patch][Evas] Fix wrong location of
_evas_touch_point_remove()

I have a small patch to fix the wrong location of _evas_touch_point_remove().
_evas_touch_point_remove() should be called in the evas_event_feed_mouse_up(),
but it is called in the evas_event_feed_mouse_cancel() in the current code.
Would you apply attached patch?



SVN revision: 65005
2011-11-10 06:25:56 +00:00
Carsten Haitzler f10e5fd0c9 disable evas_gl for evas 1.1
SVN revision: 65003
2011-11-10 06:02:15 +00:00
Jiyoun Park 5d65b627a6 remove white space
SVN revision: 64979
2011-11-09 08:01:00 +00:00
Tom Hacohen 2bb72a2965 Evas textblock: Fix clang error.
Shouldn't ever happen, but whatever.
http://dev.enlightenment.fr/~discomfitor/evas-2011-11-08/report-Va2XPK.html#EndPath

SVN revision: 64978
2011-11-09 07:51:14 +00:00
Tom Hacohen 4b5e727023 Evas textblock: Fix clang error.
Shouldn't ever happen, but whatever.
http://dev.enlightenment.fr/~discomfitor/evas-2011-11-08/report-kOFp88.html#EndPath

SVN revision: 64977
2011-11-09 07:51:11 +00:00
Tom Hacohen 789b487da2 Evas textblock: Fixed 1 more clang error.
http://dev.enlightenment.fr/~discomfitor/evas-2011-11-08/report-XA8yiy.html#EndPath

SVN revision: 64976
2011-11-09 07:36:50 +00:00
Tom Hacohen 3fea444dce Evas font: Fixed a clang error and gcc compiler warnings.
http://dev.enlightenment.fr/~discomfitor/evas-2011-11-08/report-SsIayB.html#EndPath

SVN revision: 64975
2011-11-09 07:30:34 +00:00
Tom Hacohen 260f07ed81 Evas textblock: Fix clang complaint.
http://dev.enlightenment.fr/~discomfitor/evas-2011-11-08/report-FBRb3Q.html#EndPath

SVN revision: 64974
2011-11-09 07:19:09 +00:00
Carsten Haitzler deb93c0d4a to make up for not using xft.dpi anymore that was a fix essentially
to buffer engine rendering, allow env var for evas font dpi.



SVN revision: 64970
2011-11-09 05:58:19 +00:00
Tom Hacohen 5db25b11cb Evas textblock: Add ellipsis handling for format items.
Just cut before them.

SVN revision: 64817
2011-11-06 12:56:10 +00:00
Tom Hacohen 1b8ba7e17d Evas textblock: Fixed a bug with textblock ellipsis.
There was a possible segfault because we don't check if the current item
is a text item or a format item. I just removed the loop which triggered it
because it's not needed anyway, and now it works. Removing the loop also
let me remove some code that was only needed in the case of a loop.

SVN revision: 64816
2011-11-06 12:56:07 +00:00
Carsten Haitzler d12d08fd14 Ticket #824 - no readme.in's
SVN revision: 64802
2011-11-06 08:47:38 +00:00
Youness Alaoui c21427071b Evas: Add a psl1ght engine for the PS3
SVN revision: 64779
2011-11-05 17:49:37 +00:00
Vincent Torri 29c1292c7a forget that. That's the problem when dealing with
windows and linux in different repo...


SVN revision: 64768
2011-11-05 16:56:03 +00:00
Vincent Torri 3de60c77b4 Evas: fix use of __always_inline__ attribute
Fix multiple storage bug.
 * __forceinline is the equivalent of __always_inline__ on Windows. It has
   'extern' as storage, so static must not be used with it
 * use __always_inline__ and not always_inline as attribute value instead.
   No need to add storage class with __always_inline__ too.
 * static inline is fine


SVN revision: 64767
2011-11-05 16:51:13 +00:00
Cedric BAIL decb9b6377 evas: always retrieve the latest available pixels for a video.
SVN revision: 64755
2011-11-05 11:58:41 +00:00
Vincent Torri e7d87f2539 Evas: efl_attributes.m4
NEVER define a macro whose name is the name of the attribute, it breaks compilation on some platforms


SVN revision: 64749
2011-11-04 22:08:54 +00:00
Vincent Torri 22dffda1e7 Evas: efl_attribute.m4 : put definition in the prologue
SVN revision: 64748
2011-11-04 21:04:49 +00:00
Vincent Torri 4f307f62ce AM_PROG_CC_STDC is deprecated
SVN revision: 64742
2011-11-04 20:28:56 +00:00
Jiyoun Park fb44314af1 Currently, only software engine checks animation flag during rendering.
I add animation check code to gl engine.


SVN revision: 64704
2011-11-03 15:20:30 +00:00
Vincent Torri ba6be5b709 Evas: fix eina version check
SVN revision: 64664
2011-11-02 20:54:31 +00:00
Nicolas Aguirre 7f39765a08 evas: gl_cocoa fix installation of Evas_Engine_Gl_Cocoa header
SVN revision: 64663
2011-11-02 20:15:42 +00:00
Nicolas Aguirre 79eab0b7e7 evas: Add changelog and add my name to authors list.
SVN revision: 64659
2011-11-02 20:05:22 +00:00
Nicolas Aguirre 7c4cd009b5 evas: Add missing file
SVN revision: 64655
2011-11-02 18:34:22 +00:00
Nicolas Aguirre bdfeb1df14 evas: Add gl_cocoa engine
SVN revision: 64653
2011-11-02 18:23:54 +00:00
ChunEon Park f96e677847 evas - trivial changes.
SVN revision: 64595
2011-11-01 01:41:09 +00:00
ChunEon Park 9db17a253c evas - supplemented more cases for object_freeze_events completion.
SVN revision: 64564
2011-10-31 14:50:00 +00:00
ChunEon Park 160370b0e6 evas/evas_object_polygon - removed whitespaces and fixed indent.
SVN revision: 64561
2011-10-31 13:36:43 +00:00
ChunEon Park 169ffa5fcd evas/evas_object_polygon - fixed wrong.
SVN revision: 64553
2011-10-31 10:30:39 +00:00
ChunEon Park 52a4c4bc7c evas/evas_stack - just removed white spaces and fixed indentations
SVN revision: 64552
2011-10-31 10:16:18 +00:00
Vincent Torri 346eba9259 declare the variables at the beginning of the block
SVN revision: 64516
2011-10-30 05:02:05 +00:00
Mike Blumenkrantz 80b018b790 add missing variable from r64139
direct all spankies to raster and Sung W. Park


SVN revision: 64514
2011-10-30 02:04:50 +00:00
Sung W. Park a3a5a85d92 From: "Sung W. Park" <sungwoo@gmail.com>
Subject: [E-devel] [E-Devel][Patch] Evas GL Color Format Enum change
(and ElmGLview changes accordingly)

I'm submitting a patch that changes the color format for Evas GL.

When I first wrote Evas_GL, I just had EVAS_GL_RGB_8 and EVAS_GL_RGBA_8 and etc
but it was misleading for some people.  It was more of a filler since I couldn't decide on
a name.  I'm finally changing it to make it more clear.



SVN revision: 64491
2011-10-28 11:08:23 +00:00
ChunEon Park 9785b53f28 evas - updated Changelog and @since for evas_object_freeze_events_set/get
Thank you Vincent. 



SVN revision: 64434
2011-10-27 13:19:52 +00:00
ChunEon Park 000aed92b8 evas - added new API evas_object_freeze_events_set/get
and will handle for the key events also soon. 



SVN revision: 64432
2011-10-27 10:36:09 +00:00
Carsten Haitzler ccf5af6c44 and fix evas map used as mapbuf with clipping and stuff! ugh! the
forever shifting bug! evas_render needs a rewrite



SVN revision: 64429
2011-10-27 09:39:18 +00:00
Tom Hacohen 962d8c85c8 Evas font: Removed double ;.
SVN revision: 64414
2011-10-26 14:33:51 +00:00
Carsten Haitzler ee86abe1ea fix clip-out issue after making mapped objs opque fix was in.
SVN revision: 64413
2011-10-26 13:33:25 +00:00
Carsten Haitzler e92b545bee we can't limit sizes on load because of "i'm just loading the header
to find out the size" tricks. :(



SVN revision: 64410
2011-10-26 08:33:41 +00:00
Carsten Haitzler 122a51f16a warning--
SVN revision: 64390
2011-10-25 12:25:15 +00:00
Carsten Haitzler d7c699670e warn--
SVN revision: 64389
2011-10-25 12:20:53 +00:00
Carsten Haitzler a75ecced08 warn--
SVN revision: 64388
2011-10-25 12:14:48 +00:00
Carsten Haitzler 4483c0ef6f warning--
SVN revision: 64387
2011-10-25 12:07:56 +00:00
Carsten Haitzler bc10321643 disable getting of xft.dpi - always been an option but it just leads
to inconsistent rendering.



SVN revision: 64386
2011-10-25 12:01:44 +00:00
Carsten Haitzler fb447485e8 oh dear.. lewft and right pixle duplication for interpolation had the
WRONG PIXELS!!! amazing it never crashed! fix fix! (also handle
opengls that doesnt support unpack row length)



SVN revision: 64377
2011-10-25 09:27:54 +00:00
ChunEon Park d12a0879d2 evas/evas_object_smart - trivial changes
SVN revision: 64375
2011-10-25 08:37:43 +00:00
EunMi Lee 8b5d185038 From: EunMi Lee <eunmi15.lee@samsung.com>
Subject: [E-devel] [Patch] [Evas] Patch to provide information of
touched points

Hello,
I made a new patch to get information of current touched point instead
of Touch Event.

I added touch_points (Eina_List) to the Evas structure and it maintains touched points on the evas.
New touched point is added to the touch_points when we get Mouse_Down and Multi_Down,
touched point is updated when we get Mouse_Move and Mult_Move,
and touched point is removed when we get Mouse_Up and Multi_Up.

The each touch point has coordinate, id and state information as follows:
id - identifier. 0 for Mouse Event and device id for Multi Event. coordinate - (x, y) coordinate of point.
state - state of point. type is Evas_Touch_Point_State enum.
(EVAS_TOUCH_POINT_DOWN, EVAS_TOUCH_POINT_UP, EVAS_TOUCH_POINT_MOVE,
EVAS_TOUCH_POINT_STILL, EVAS_TOUCH_POINT_CANCEL)

There are 4 new APIs to get touch point's information as follows:
unsigned int evas_touch_point_list_count(Evas *e);
void evas_touch_point_list_nth_xy_get(Evas *e, unsigned int n, Evas_Coord *x, Evas_Coord *y);
int evas_touch_point_list_nth_id_get(Evas *e, unsigned int n);
Evas_Touch_Point_State evas_touch_point_list_nth_state_get(Evas *e, unsigned int n);

I added APIs to get each information instead of exposing whole
structure to make it easy to expand in the future as you mentioned in
the below e-mail :)



SVN revision: 64373
2011-10-25 05:03:50 +00:00
ChunEon Park 8658d955ce Evas - Modified field names in Evas structure to be more clear.
SVN revision: 64371
2011-10-25 02:26:51 +00:00
Vincent Torri fe2e2a1787 emacs users don't like trailing white spaces
SVN revision: 64319
2011-10-23 06:59:40 +00:00
Carsten Haitzler ce882f55ae annoy vim users with spaces at the start of blank lines. :)
SVN revision: 64317
2011-10-23 03:51:41 +00:00
Mike McCormack c9dcb7dc5f evas: Fix a warning
CC     evas_cserve_tool.o
evas_cserve_main.c: In function ‘message’:
evas_cserve_main.c:993:14: warning: braces around scalar initializer
evas_cserve_main.c:993:14: warning: (near initialization for ‘lopt.degree’)
evas_cserve_main.c:993:14: warning: excess elements in scalar initializer
evas_cserve_main.c:993:14: warning: (near initialization for ‘lopt.degree’)
evas_cserve_main.c:993:14: warning: excess elements in scalar initializer
evas_cserve_main.c:993:14: warning: (near initialization for ‘lopt.degree’)
evas_cserve_main.c:993:14: warning: excess elements in scalar initializer
evas_cserve_main.c:993:14: warning: (near initialization for ‘lopt.degree’)

Signed-off-by: Mike McCormack <mikem@ring3k.org>

SVN revision: 64310
2011-10-22 23:33:23 +00:00
Vincent Torri 01c03642a2 Evas: bump libpng version to 1.2.10.
libpng 1.2.8 does not have the symbol png_set_expand_gray_1_2_4_to_8.
It seems that 1.2.10 has no problem, so we check for libpng >= 1.2.10
and we drop libpng 1.0.*


SVN revision: 64303
2011-10-22 19:39:56 +00:00
Carsten Haitzler 3cf77b0b30 and fix chglog and @since for max img size api
SVN revision: 64290
2011-10-22 05:42:48 +00:00
Carsten Haitzler 9e08e27995 and zero out previous rect info on clear.
SVN revision: 64289
2011-10-22 03:56:36 +00:00
Carsten Haitzler c52bc1cdb9 and fix tiler to do full resolution. yes - more mem, some more
overhead, but fewer bugs.



SVN revision: 64288
2011-10-22 03:36:39 +00:00
Carsten Haitzler 62106ea76a oh dear. debugging snuck in in my other fixes. remove.
SVN revision: 64287
2011-10-22 02:40:52 +00:00
Carsten Haitzler 30517bc67c oh this one was a doosey to find. objects still having map applied BUT
map is the same as a normal display (no mapping at all) are not
considered opaque. fix!



SVN revision: 64264
2011-10-21 17:14:03 +00:00
Rafael Antognolli 78410d7e8f evas/fb: use virtual sizes to describe the fb mode geometry.
This was causing the fb engine to draw incorrectly when the virtual size
was different from the size (xres != xres_virtual). For example, it
happens an additional monitor is plugged into a notebook.
Patch for SiT.



SVN revision: 64259
2011-10-21 16:21:09 +00:00
Cedric BAIL ce3a658ef7 evas: coorectly dirty YUV data.
SVN revision: 64254
2011-10-21 14:06:42 +00:00
Carsten Haitzler a4bb9db2fa hmm gles doesnt have internal format fetching.
SVN revision: 64253
2011-10-21 12:03:41 +00:00
Carsten Haitzler a9cee095f1 and NOW fix obscure object handling properly.
SVN revision: 64252
2011-10-21 10:25:35 +00:00
ChunEon Park 47592b586f evas/evas_inline - indent!
SVN revision: 64251
2011-10-21 10:10:47 +00:00
Carsten Haitzler f8f5ad72ef note on detecting texture alloc fail. need to percolate that back
SVN revision: 64250
2011-10-21 10:03:17 +00:00
Carsten Haitzler ed5360c648 and disable invalidate optimization
SVN revision: 64249
2011-10-21 10:00:03 +00:00
Carsten Haitzler f95a1783a7 debug for future. for now found the problem.
SVN revision: 64248
2011-10-21 09:59:13 +00:00
ChunEon Park 40a6a331bb evas/evas_events - trivial changes
SVN revision: 64247
2011-10-21 09:53:26 +00:00
Carsten Haitzler 11409eb48e have evas engine also to update rect math so we can exclude useless
updates when obscured objects change



SVN revision: 64246
2011-10-21 08:58:00 +00:00
Carsten Haitzler 1541b0e97e add call to get maximum image size (eg max texture size)
SVN revision: 64244
2011-10-21 08:17:14 +00:00
Carsten Haitzler f63b1d9ecd if image biger than max texture size... report allocation errors.
SVN revision: 64241
2011-10-21 06:10:15 +00:00
Carsten Haitzler 4587fbb802 nicer formatting of async events
SVN revision: 64240
2011-10-21 05:50:05 +00:00
ChunEon Park a331fe3bca evas/evas_events.c - removed duplicated lines
SVN revision: 64198
2011-10-20 12:21:41 +00:00
ChunEon Park 0d616af28e evas/evas_events - removed useless lines since we support multi downs
but looks bad to keep the only one point in evas. 



SVN revision: 64197
2011-10-20 11:02:22 +00:00
Carsten Haitzler a396da70de we dont need the dirty at the end either.
SVN revision: 64173
2011-10-19 09:50:55 +00:00
Jiyoun Park 0028add9c6 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)



SVN revision: 64170
2011-10-19 09:04:34 +00:00
Cedric BAIL 519750e778 evas: simplify code at the same time.
SVN revision: 64169
2011-10-19 09:04:18 +00:00
Carsten Haitzler 6f3529fe65 nono - we dont dirty images when we set data...
SVN revision: 64168
2011-10-19 08:59:29 +00:00
Jiyoun Park a1e7fa3103 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.   



SVN revision: 64163
2011-10-19 06:36:28 +00:00
Tom Hacohen eca175dbe5 Evas font: Oops, hb_fonts should be per font instance, not source.
SVN revision: 64144
2011-10-18 09:58:49 +00:00
Jiyoun Park bfbd9abf9d 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.



SVN revision: 64143
2011-10-18 09:10:26 +00:00
Carsten Haitzler f1bdb3a902 for now - revers eumni touch events patch until we get press state
"getter" api patch. :)



SVN revision: 64140
2011-10-18 08:32:03 +00:00
Sung W. Park c1cc0a7ed2 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.



SVN revision: 64139
2011-10-18 08:13:23 +00:00
Tom Hacohen 4906d50afc Evas font: Cache Harfbuzz font structure for fonts we use.
SVN revision: 64136
2011-10-17 14:24:49 +00:00
Tom Hacohen 387bff89fb Evas textblock: Beautify the DRAW_FORMAT_DASHED macro a bit.
Patch by Shilpa Singh.

SVN revision: 64135
2011-10-17 12:18:57 +00:00
Tom Hacohen 58602fb861 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.

SVN revision: 64134
2011-10-17 12:18:53 +00:00
Tom Hacohen f1f954185a Evas textblock: Cleaned up DRAW_FORMAT/_DASHED macros.
Fixed compiler warnings.

SVN revision: 64132
2011-10-17 10:43:42 +00:00
Tom Hacohen ea9f23ad28 Evas textblock: Added dashed underline support.
Patch by Shilpa Singh

SVN revision: 64131
2011-10-17 10:43:08 +00:00
Carsten Haitzler 46f9ad78bb sorry. we can't depend on svnrev in versions. wish we could. we can't :(
SVN revision: 64121
2011-10-17 05:22:08 +00:00
Mike Blumenkrantz 7c683d0b0c require recent eina
SVN revision: 64115
2011-10-16 15:45:28 +00:00
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 06a765d5a1 Evas: big mistake in efl_attribute.m4. My bad
SVN revision: 63935
2011-10-09 19:28:40 +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
ChunEon Park 69fc731318 evas/configure.ac - fixed typo.
SVN revision: 63764
2011-10-03 05:06:11 +00:00