Commit Graph

937 Commits

Author SHA1 Message Date
Jiyoun Park 9cce5f3959 From: Jiyoun Park <jy0703.park@samsung.com>
Sometimes, gif loader can miss some previous frame.
In that case, display can be dirty.
If frame N loaded without N-1 make these problem.
I fixed this problem. 
And I modified wrong document.



SVN revision: 62712
2011-08-23 06:08:02 +00:00
Christopher Michael f7d1b738e6 Evas: Check for the presence of shm extension (in
evas_software_xcb_can_do_shm) first before trying to make calls to the
shm extension.



SVN revision: 62638
2011-08-20 22:15:44 +00:00
Christopher Michael 0fb55da5bc Evas: Iterating the pixmap formats from xcb_setup can be expensive,
so cache the found format for reuse so we don't have to keep iterating.



SVN revision: 62626
2011-08-20 10:59:53 +00:00
Christopher Michael 641c9c4ee8 Evas: Fix compiler warning wrt comparison of signed & unsigned.
Remove unused function.



SVN revision: 62625
2011-08-20 10:26:41 +00:00
Christopher Michael 6c477d5a0f Evas: When doing eng_output_free, even if there is no Render_Engine,
we still want to shutdown common_font & common_image anyway.



SVN revision: 62624
2011-08-20 10:19:17 +00:00
Christopher Michael 897011100f Evas: No need to 'find format for depth' everytime, just use the
buffer depth. Fix typo in error message. Add a missing
cache_image_drop call. When doing mask_set, use the proper variable
for the _create_gc function.



SVN revision: 62603
2011-08-19 22:53:04 +00:00
Carsten Haitzler 5f365281fd fix buffer over/underflow errors with jpeg mmap load. ugh. mmap adds
pains to loading.



SVN revision: 62584
2011-08-19 06:58:33 +00:00
Sebastian Dransfeld 402ff0f918 evas: Add missing return declaration
SVN revision: 62553
2011-08-18 07:35:02 +00:00
우승수 f34ac1e24a From: 우승수 <om101.woo@samsung.com>
Subject: [E-devel] [Patch] Map/Unmap image for zero-copy texture

this modifies the zero copy texture feature to map and unmap on get and put
data to allow the put to "flush gpu caches".



SVN revision: 62493
2011-08-16 07:06:36 +00:00
Daniel Juyung Seo 3277e6b5e0 evas: Fixed indentations with arbitrary files.
SVN revision: 62370
2011-08-12 03:50:57 +00:00
Carsten Haitzler 69e27edbe5 how about you actuallyl fix the code correctly rather than break it?
SVN revision: 62369
2011-08-12 02:34:34 +00:00
Mike Blumenkrantz 25a6b8c980 COMMITS: DO THEM PROPERLY!!!!1111
SVN revision: 62366
2011-08-11 23:18:34 +00:00
Mike Blumenkrantz 8e5ee9e2f5 COMPILE WARNINGS: FIX THEM!!!!!!11111
SVN revision: 62361
2011-08-11 21:35:17 +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 1dc2512897 efl: remove mman as we Eina_File now.
Patch from Vincent Torri.


SVN revision: 62244
2011-08-09 09:19:25 +00:00
Christopher Michael f7359f74c9 Evas: Make evas xcb engine match xlib engine almost exactly.
NB: Next is to fine-tooth the ecore code.



SVN revision: 62167
2011-08-06 03:32:27 +00:00
Christopher Michael c63715e01d Evas: Fix typo in Frame_Queuing check for xcb.
SVN revision: 61991
2011-08-02 12:15:33 +00:00
Carsten Haitzler 7239b6894f thanks jiyoun... for finding this... silly me... spank spank me.
SVN revision: 61935
2011-08-01 07:34:05 +00:00
Carsten Haitzler 7542b592c0 SOMEONE.... changed the evas jpeg loader to use a membuf src... like
eina_file.... and that SOMEONE didnt check to see if libjpeg always
calls the term func... lkike when decoding headers... when it DOESNT.
force the term func to be called whenever destroying the compress
anyway (and if its already done it'll savely just return and not free
anything)



SVN revision: 61914
2011-07-30 01:13:29 +00:00
Christopher Michael b3469dd413 Evas: Remove rectangle free's (no, it's not a leak) ;)
Add missing Asyn Push code (tho it's disabled anyway). 
Use shmget like xlib did and create with 0777 permissions.
Add a Sync call if try_shm == 2.
Add checks for frame_queuing & low libext version safety.




SVN revision: 61895
2011-07-29 14:41:18 +00:00
Leandro Pereira 00e0fe6dbe evas: ecore_evas_buffer_new(bla, *very large number*) would crash on memset
Instead of zeroing out each line of the buffer, zero out the whole buffer "at once".



SVN revision: 61714
2011-07-25 22:42:54 +00:00
Christopher Michael 068b3a9c65 Evas: Fix 'variable undeclared': I assume we wanted the xr rectangle
there ? ;)

NB: Fixes building w/ xcb.



SVN revision: 61685
2011-07-25 10:37:43 +00:00
Carsten Haitzler e413884dac fix latent onebuf code (was never used before)
SVN revision: 61684
2011-07-25 10:30:20 +00:00
Cedric BAIL 5cbc6350ba evas: add software YUY2 colorspace converter.
NOTE: will shortly learn how to write the corresponding shader and add it soon.


SVN revision: 61548
2011-07-21 10:36:05 +00:00
ChunEon Park 5440167a6d evas/evas_engine - patched by Seung-Soo Woo <om101.woo@samsung.com>
Dear all,

eng_image_stride_get() of gl backend get fault stride value.
In case of using dynamic image, it get from dyn.w*4.
But, dyn.stride was already got from secsym_eglGetImageAttribSEC() in _pool_tex_dynamic_new().
dyn.stride can be changed according to DDK.
So, the stride needs to get from dyn.stride.

Please find enclosed file.

Thanks.



SVN revision: 61463
2011-07-18 05:32:06 +00:00
ChunEon Park cf4ed126c4 [E-devel] [Patch] evas_gl_shader patch for get_program_binary extension
from gl77.lee@samsung.com

Dear all,

I attached a patch of evas_gl_shader.

I've removed a comment which is creating dummy shader when using GL_OES_get_program_binary extension.
Mr. Haegeun Park who is in charge of GPU driver fixed get_program_binary bug in the SGX driver.
There's no need to create dummy shaders any longer.

And I've added link status checking code to validate the binary object.

Please review this patch.

Thanks.



SVN revision: 61309
2011-07-13 00:56:12 +00:00
ChunEon Park 6852dc4971 evas/evas_engine - patched by Seung-Soo Woo.
Dear all,

There is a below issue.

Problem : Evas gl engine call eglWaitNative() and eglWaitGL() before/after eglSwapBuffers().
The sync APIs are not call only in case of SGX_DDK.
Resolution : It is necessary to check MALI string too.

So, I fixed it.
Please find enclosed file.

Thanks.



SVN revision: 61226
2011-07-11 06:29:20 +00:00
Jiyoun Park 81098de5a6 evas: fix _evas_jpeg_membuf_src_skip bug
If file was corrupted , the size value of app frame is bigger than real file
size.

For example, if somebody change file using editor, the file start with (FF
D8 FF E0 FF DB ..).

But real file size can be small than (FF DB).

In that case, _evas_jpeg_membuf_src_skip set src->pub.bytes_in_buffer to
negative value, it make crash later.

Signed-off-by: Jiyoun Park <jy0703.park@samsung.com>

SVN revision: 61222
2011-07-11 02:29:16 +00:00
Christopher Michael 2148b1d2f6 Evas: Remove dependency on xcb-aux and add code to find the visual
based on id, as we were only using one function from there.



SVN revision: 61171
2011-07-09 13:48:39 +00:00
Iván Briano 541012930b Fix building gl_xlib as a static module
SVN revision: 61164
2011-07-09 01:47:01 +00:00
Christopher Michael 88d1949180 Evas: Commit new XCB engine code for Evas.
NB: XCB Engine is currently disabled by default as it's not considered
'complete' yet and is of little use to users/devs at the moment
without the needed ecore_x & E changes.



SVN revision: 61139
2011-07-08 00:21:17 +00:00
Christopher Michael 5b771c43f5 Evas: Fix building of gl engine w/ new autofoo stuffs.
SVN revision: 61138
2011-07-08 00:19:06 +00:00
Carsten Haitzler 2bff72b07a actually handle -1 pointer return from shmat correctly. man. i cant
believe the code has checked for NULL all these years rather than -1!!



SVN revision: 61036
2011-07-05 09:54:57 +00:00
Carsten Haitzler 17a27a3763 use eina mmap safety.
SVN revision: 60982
2011-07-04 09:44:11 +00:00
Cedric BAIL 2759f47524 evas: raise level of warning.
SVN revision: 60758
2011-06-28 14:26:22 +00:00
Carsten Haitzler 7e9a7c59df actually - we dont need to clear at all. rely on engine alpha
returning right value and let evas_render do it.



SVN revision: 60748
2011-06-28 08:11:07 +00:00
Carsten Haitzler 5e6d04feaf fix clear of gl buffer for alpha dest gl engine rendering
SVN revision: 60724
2011-06-27 08:35:59 +00:00
Christopher Michael af78dafc91 Evas: Pass 'make distcheck' for gl_common.
SVN revision: 60607
2011-06-22 20:32:43 +00:00
Vincent Torri 18d1e68924 whitespaces--------
SVN revision: 60426
2011-06-17 07:47:28 +00:00
Jiyoun Park 8729820393 From: Jiyoun Park <jy0703.park@samsung.com>
Subject: [E-devel] [Patch] Evas_image_load_gif bug fix

I found if gif file didn't have colormap, evas make segmentation fault. 
So I add null check code of the gif color map . 



SVN revision: 60337
2011-06-15 09:34:16 +00:00
Tom Hacohen 80a5464888 Evas: Fixed some annoying Wshadow warnings.
SVN revision: 60305
2011-06-14 14:04:07 +00:00
Carsten Haitzler 6b8645a8b4 from sungwoo <- fix gl context setup with evas_gl when working between
windows.



SVN revision: 60257
2011-06-13 06:03:00 +00:00
Boris Faure e6119fa4d9 remove .cvsignore files
SVN revision: 60246
2011-06-12 21:38:37 +00:00
Christopher Michael 01c5c9f340 Evas: GL_X11 engine: Do not set UNUSED on variables that we actually
use and remove some extra whitespace between functions.



SVN revision: 60153
2011-06-09 19:25:21 +00:00
Cedric BAIL 1e62ad24a3 evas: use Eina_File for JPEG loader.
SVN revision: 60039
2011-06-07 13:34:18 +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
Carsten Haitzler 3fa85660f8 fix gl engine make current impl (for ne evas gl stuff so no chlog
needed)  to handle make current return value right



SVN revision: 59834
2011-05-31 07:10:37 +00:00
Lucas De Marchi 10237c5b56 evas: fix misspellings
Misspellings found by codespell



SVN revision: 59822
2011-05-30 16:45:08 +00:00
Tom Hacohen a8ddf9b1f8 Evas engines: Adjust all the rest of the engines to use Evas_Font_Set.
SVN revision: 59784
2011-05-29 13:56:23 +00:00
Tom Hacohen 60aa86a0ef Evas font-engine: Added two font opaque types.
Added Evas_Font_Instance and Evas_Font_Set which correspond to
RGBA_Font_Int and RGBA_Font. This is very important for strict type
checking which we now finally have.

This commit does not include logic changes, only casting and changing
types of pointers to the opaque pointer types.

SVN revision: 59782
2011-05-29 13:00:54 +00:00