Commit Graph

248 Commits

Author SHA1 Message Date
ChunEon Park f7f9341419 evas/evas_object_image - added EVAS_CALLBACK_IMAGE_RESIZE.
SVN revision: 76161
2012-09-05 04:20:42 +00:00
ChunEon Park 36df225438 evas/image - my fault. this shouldn't be commented.
SVN revision: 76126
2012-09-04 11:24:40 +00:00
ChunEon Park afc8644e36 evas/evas_object_image - use Eina_Bool
SVN revision: 76115
2012-09-04 08:56:46 +00:00
ChunEon Park c368c8c27b evas/evas_object_image - clean the code
SVN revision: 76114
2012-09-04 08:42:38 +00:00
ChunEon Park 7322487bd2 evas/gl - don't crushed up when failed to allocate surface.
SVN revision: 75748
2012-08-28 05:59:27 +00:00
Tom Hacohen 77997affda Evas: Revert "Evas: tabs --> spaces"
Lets wait until after the code freeze is over and people apply their
patches, otherwise it'll be hellish.
This reverts commit 75632

SVN revision: 75704
2012-08-26 07:04:46 +00:00
Vincent Torri 681fdbc351 Evas: tabs --> spaces
SVN revision: 75632
2012-08-23 15:48:37 +00:00
Cedric BAIL 3ec12202f9 evas: put back the test on dead object in the right way.
SVN revision: 75492
2012-08-21 08:41:02 +00:00
Carsten Haitzler df46cb5bd2 dont skip objects mark with elete_me flags. inf loop.
SVN revision: 75413
2012-08-18 12:44:01 +00:00
Carsten Haitzler 991377f05a imgs src set as null is ok - unset proxy.
SVN revision: 75403
2012-08-18 07:28:26 +00:00
Carsten Haitzler 38c85ab9ab actually imho these 2 are warning ones only.
SVN revision: 75395
2012-08-18 00:37:54 +00:00
ChunEon Park 3b66084b1b evas/image - I removed them to prevent going along with release.
please add them locally.



SVN revision: 75382
2012-08-17 11:06:23 +00:00
Mike Blumenkrantz 490fe3771a put aborts back, they were added for a reason.
SVN revision: 75379
2012-08-17 09:49:52 +00:00
ChunEon Park 8f54340beb evas/evas_object_image - removed aborts
SVN revision: 75348
2012-08-17 05:46:38 +00:00
Carsten Haitzler 6e0f9db089 lets not segv if src is null :)
SVN revision: 74978
2012-08-07 10:59:44 +00:00
Cedric BAIL 61c2345c55 evas: properly warn when linking object from different canvas.
SVN revision: 74968
2012-08-07 09:43:22 +00:00
ChunEon Park d8a799003c evas/image - trivial changes
SVN revision: 74204
2012-07-20 05:41:25 +00:00
Tom Hacohen b22564a2e5 Evas image: reset error after setting a proxy.
evas_object_image_file_set tries to load the file even if the file is NULL,
this in turn makes proxies always report about an error, although there
isn't really one.
I'm not sure whether evas_object_image_file_set should behave the way it
does, but I'm sure the proxy needs to reset the error anyway (because of
potential previous errors).

SVN revision: 74073
2012-07-18 14:09:53 +00:00
Cedric BAIL 7f1e95afc8 evas: fix evas map life cycle.
SVN revision: 73963
2012-07-17 09:09:45 +00:00
Cedric BAIL 1d415b796b evas: add more infrastructure to the prepare stage of pipe rendering.
NOTE: this improve some test by 10 to 15% some other are down by 5%.
Their is still more tunning and improvement possible now (Particularly
with Map), but it will do for now.


SVN revision: 73264
2012-07-04 09:39:23 +00:00
Christopher Michael 8689cb87a0 Evas: Merge evas_object_image changes from Tizen to upstream EFL.
SVN revision: 73198
2012-07-03 07:30:05 +00:00
Carsten Haitzler fc9218087d adjust default memprool alloc sizes. too big imho.
SVN revision: 72249
2012-06-17 01:32:10 +00:00
Cedric BAIL d636db3c66 evas: cache conversion from Evas_Map to RGBA_Map.
SVN revision: 72119
2012-06-14 09:58:16 +00:00
Mike Blumenkrantz a82974536d fix crash when adding an image to an engineless canvas
SVN revision: 72071
2012-06-13 08:20:28 +00:00
ChunEon Park 88c5f1df74 evas/map - fixed afterimage problem. now we don't need work-around code anymore.
SVN revision: 71549
2012-05-30 10:12:10 +00:00
Carsten Haitzler b249d37ce4 based on Raphael's idea of tmpdir env vars and such - but different.
still disables unlink on non-linux.



SVN revision: 71386
2012-05-24 05:07:22 +00:00
Cedric BAIL 377cc2368a evas: remove EVAS_FRAME_QUEUING.
NOTE: This should be part of evas_render itself and not
delegated to the engine. So cleaning things to make it easier
during evas_render rewrite.


SVN revision: 70503
2012-04-26 09:53:03 +00:00
Tom Hacohen 77112d59fd Evas image: Add const to the obj parameter.
Patch by Daniel Zaoui.

SVN revision: 70433
2012-04-24 11:01:53 +00:00
Carsten Haitzler f853b3613b remove umask. mkstemp does it. :)
SVN revision: 69012
2012-03-07 18:22:52 +00:00
Carsten Haitzler d38630875c to be paranoid - ensure umask for mkstemp allows no other uids oir
grps access.



SVN revision: 68910
2012-03-07 09:05:47 +00:00
Carsten Haitzler c29416e0d8 fix update region handling with scaling.
SVN revision: 68303
2012-02-23 06:07:37 +00:00
Sung Park 9afd5b3f3f Added Direct Rendering to Evas' window instead of an FBO in Evas_GL.
This optimization is significant for rendering to a large surface 
because it'l save an extra copy overhead as well as an extra rendering pass.

To enable it, you can give EVAS_GL_OPTIONS_DIRECT hint in the surface
config options_bits. The following conditions have to be met in order
for evas to render directly into the Evas' window. If they are not met, the 
engine will fallback to rendering to an FBO as it normally does. 

conditions: 
1.) All the GL calls have to be called using the pixel_get_callback function.
This is necessary for the evas object order to be maintained.
2.) Alpha must be disabled on the image ojbect that renders evas_gl.
3.) No rotation allowed.

One way to override above condition is to set EVAS_GL_DIRECT_OVERRIDE=1 but 
there is no guarantee in its behavior.

Currently, this optimization is added for gl_x11 engine only. 




SVN revision: 67388
2012-01-20 12:29:14 +00:00
Sebastian Dransfeld c9abcf691d evas: Remove unused variables
SVN revision: 67302
2012-01-18 23:33:33 +00:00
Michael BOUCHAUD 33eb1e5e79 evas: Add api to know if an evas_object_image could support region
SVN revision: 66170
2011-12-13 16:58:20 +00:00
Cedric BAIL f4ea278a71 evas: less warning.
SVN revision: 66115
2011-12-12 13:42:24 +00:00
Cedric BAIL c05f9ebabc evas: use the right message command when usefull.
SVN revision: 66030
2011-12-08 13:29:02 +00:00
Cedric BAIL 6bb99f243c evas: don't randomly move code around !
SVN revision: 65916
2011-12-05 16:50:40 +00:00
Mike Blumenkrantz ca4485f21d always have the file which includes config.h first!
SPANK SPANK SPANK cedric!


SVN revision: 65912
2011-12-05 15:38:55 +00:00
Cedric BAIL ad7e82bae0 evas: use already existing macro.
SVN revision: 65906
2011-12-05 14:32:10 +00:00
Cedric BAIL 792e7bffed evas: more fine grained system detection.
SVN revision: 65903
2011-12-05 14:00:53 +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
Cedric BAIL decb9b6377 evas: always retrieve the latest available pixels for a video.
SVN revision: 64755
2011-11-05 11:58:41 +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 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
Cedric BAIL ce3a658ef7 evas: coorectly dirty YUV data.
SVN revision: 64254
2011-10-21 14:06:42 +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
Cedric BAIL e2d8b7892d evas: only draw the hole when it's needed.
SVN revision: 64047
2011-10-13 09:23:42 +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
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 d724205a6e evas: add basic support for video support.
SVN revision: 63758
2011-10-03 03:28:52 +00:00