Commit Graph

4783 Commits

Author SHA1 Message Date
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