Commit Graph

212 Commits

Author SHA1 Message Date
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
Cedric BAIL 3171f01b00 evas: remove a fixme by making the engine list dynamic.
SVN revision: 63481
2011-09-19 14:20:18 +00:00
Rafael Antognolli 92b98ad145 evas/canvas - Update the pointer to engine_data after pixels_get().
The "pixels" pointer was set in the beginning of evas_object_image_render(),
and never updated, even after pixels_get() changed the content of
o->engine_data.

This patch updates that pointer if it becomes different from engine_data.



SVN revision: 63090
2011-09-02 14:06:25 +00:00
Cedric BAIL 26ee52dd61 evas: add NV12 and MT12 colorspace.
MT12 is has documented in Linux videodev documentation
a 64 * 32 macro block tiled colorspace format used on
Samsung hardware.


SVN revision: 62967
2011-08-29 20:56:48 +00:00
Jiyoun Park 4b59fd460e From: Jiyoun Park <jy0703.park@samsung.com>
Subject: [E-devel] [Patch] evas gl engine's texture creation

Hello. 

1. _pool_tex_dynamic_new function, it didn’t set pt to NULL when secsym_eglCreateImage function failed.
In this case, it returns wrong pt pointer and it has possibility to make crash.
So I add free pt code and return NULL code into _pool_tex_dynamic_new function.

2. I modified eng_image_data_get of gl engine.

If Evas_GL_Image's texture creation failed and evas_gl_image's cache image was droped, 
Im->im can be NULL. So I add check code. 
Example: evas_gl_common_image_content_hint_set
     1) EVAS_IMAGE_CONTENT_HINT_DYNAMIC , it drop cache image
     2) if evas_gl_common_texture_dynamic_new failed
     3) then, im->im =NULL, im->tex=NULL
        In this situation, if application call's evas_object_image_data_get function, 
It make crash in evas_cache_image_load_data function.

3. I think function's related with evas_object's engine data have to be return NULL if it failed.
If function's returns null, evas object code can handle error more easily.  
But evas object's code was implemented differently each case. Does my suggestion right?
I add engine data null check code to evas_object_image based on upper consumtion.
If it is wrong , the patch code related with evas object image have to be removed.
If it is right , I will survey other evas object type also.  



SVN revision: 62775
2011-08-25 04:48:45 +00:00
Cedric BAIL efcceff953 evas: fix evas_object_image_data_convert.
SVN revision: 62722
2011-08-23 16:06:41 +00:00
Carsten Haitzler 0f2636921b warning--
SVN revision: 62647
2011-08-21 07:46:57 +00:00
Carsten Haitzler 6895455001 and clear out proxy region first.
SVN revision: 62632
2011-08-20 14:43:04 +00:00
Carsten Haitzler db56e7b36f fix proxy rendering!!!! ugh. i dont like the way i did it.. but its
quick and does the job.



SVN revision: 62631
2011-08-20 14:40:28 +00:00
Daniel Juyung Seo 22459ef0ea evas: Fixed 'unsed variables' warnings.
SVN revision: 62388
2011-08-12 15:01:12 +00:00
Jiyoun Park dae46003e7 From: Jiyoun Park <jy0703.park@samsung.com>
Subject: RE: [E-devel] [Patch] Animation gif feature patch

Animated gif suport in evas and api's to handle animated images and
frame flipping. from jy.



SVN revision: 62331
2011-08-11 06:04:08 +00:00
Cedric BAIL abffaa922d evas: wipe out cache in the right order.
SVN revision: 61956
2011-08-01 14:56:26 +00:00
Carsten Haitzler 00047ce6c6 fix cleaning up tmpf (new feature in 1.1 anyway) for memfile load in
some other situations like setting image data/colorspace etc.



SVN revision: 61836
2011-07-28 05:28:32 +00:00
ChunEon Park 614288feb3 evas/evas_object_image.c - reverted to previous
Sorry. Need to look more because of the pageflip. 



SVN revision: 61579
2011-07-22 06:08:04 +00:00
ChunEon Park e9ca4aa10e evas/evas_object_image - modified to keep the uv consistency with normal evas_object.
Although the uv range of normal object is be localized to the it's geometry, 

but the uv range of the image object is be localized it's image size but not geometry size. 

In that case, user should find out the objects type and set the uv value differently between normal and image

why they do that?



SVN revision: 61577
2011-07-22 05:24:16 +00:00
Carsten Haitzler 17a27a3763 use eina mmap safety.
SVN revision: 60982
2011-07-04 09:44:11 +00:00
Christopher Michael a96a4c12a0 Evas: Make sure we return a value from image_load_orientation_get.
SVN revision: 60052
2011-06-07 22:09:18 +00:00
Cedric BAIL 260718c700 evas: add evas_object_image_load_orientation_set, evas_object_image_load_orientation_get.
SVN revision: 60040
2011-06-07 13:39:13 +00:00
Carsten Haitzler 5d2bd283c3 disable evas filter code. buggy. doesn't work right.
SVN revision: 59898
2011-06-02 10:40:43 +00:00
Christopher Michael cee78bdc1f Evas: Initialize some variables to zero (to remove compiler warnings).
SVN revision: 59569
2011-05-21 22:28:13 +00:00
Carsten Haitzler 88b59a9bb6 fix proxy sourcing of smart obj that updates.
SVN revision: 59536
2011-05-19 13:01:44 +00:00
Carsten Haitzler 4dd1d5cf62 fix load of data to ACTUALLY set the load error in evas's image
objects. including preload.



SVN revision: 59529
2011-05-19 11:19:22 +00:00
Carsten Haitzler 5b2a35392b fix bug in new proxy code (no need for changelog as its a new feature
thats not released yet) wher using proxy via map doesnt let you use uv
coords right as its ALWAYs filling/scaling only due to not using
source image size and proxy size right.



SVN revision: 59519
2011-05-19 05:52:47 +00:00
Carsten Haitzler eb5208f2f0 aaaaah fix my fix for preloading multi-target entry stuff to call per
preload target again (fix shortcut)



SVN revision: 59143
2011-05-03 09:10:10 +00:00
Carsten Haitzler c31c015c68 formatting fix.
SVN revision: 59141
2011-05-03 03:24:36 +00:00
Carsten Haitzler 57e07025d4 if you preload the same image more than once.. it may/will cause
problems as target is inserter in cache image target list multiple
times. fix by only alloding preload request to go in once.



SVN revision: 59140
2011-05-03 03:20:02 +00:00
Carsten Haitzler f7b637ca03 fix formatting.
SVN revision: 58988
2011-04-28 06:59:11 +00:00
Carsten Haitzler b44bf7f8ff filter: handle malloc failers without crashing.
SVN revision: 58752
2011-04-20 08:28:40 +00:00
Carsten Haitzler ce8297e04b more formatting fixes after filter commit.
SVN revision: 58748
2011-04-20 08:09:30 +00:00
Carsten Haitzler 6720d96208 and fix more filter messups. o->fitler will be leaked on obj deletion
as there was no cleanup.. and the method of exposing
evas_filter_key_get() was so out of step with any other code i have
ever seen.. letalong evas... fix.



SVN revision: 58747
2011-04-20 08:06:59 +00:00
Brett Nash ba45fbee9e Evas: Filter: Add evas_object_image filter changes.
This is where the actual filtering takes place.  Kinda important to make it
work.

SVN revision: 58729
2011-04-19 06:16:21 +00:00
Carsten Haitzler 01146b8343 fix map update bug. :)
SVN revision: 58656
2011-04-14 10:47:40 +00:00
Carsten Haitzler 09069b6172 doxy move to header.
SVN revision: 58477
2011-04-08 07:26:20 +00:00
Brett Nash a4ff4f7fa3 Evas: proxy: more agressive pre_rendering of stuff
so both for smarts and non-smart objects.  once again thanks to tom/tasn.

SVN revision: 58019
2011-03-23 09:08:36 +00:00
Brett Nash 24d20d5a88 evas: proxy: do prerender if not done.
thanks to tom (tasn) for finding this for me.

SVN revision: 58017
2011-03-23 08:49:01 +00:00
Brett Nash fc2c613bec Evas: PRoxy: First pass at punching through hidden clips.
SVN revision: 58009
2011-03-23 01:37:14 +00:00
Carsten Haitzler 3d26ace1c7 evas: add memory image loader api. ask not how it works or i shall
disembowel you. ktnxbi.



SVN revision: 57736
2011-03-14 10:53:37 +00:00