Commit Graph

922 Commits

Author SHA1 Message Date
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
Tom Hacohen 81b217f8c4 Evas font-engine: Fixed font fallback in the same script run.
SVN revision: 59777
2011-05-29 09:20:18 +00:00
Christopher Michael 943cd64c7f Evas: Png Loader: Fix shadow declaration of variable 'compress'.
SVN revision: 59718
2011-05-27 02:00:15 +00:00
Cedric BAIL 2600ac9160 evas: use Eina_File when possible.
SVN revision: 59645
2011-05-24 10:19:06 +00:00
Carsten Haitzler f854f1f275 fix glpipe optimization that stops the pipes from being used with many
maps



SVN revision: 59638
2011-05-24 06:51:47 +00:00
Vincent Torri 70c27550cf Evas: Fix compilation with libjpeg 8 on Windows.
SVN revision: 59609
2011-05-23 06:45:19 +00:00
Christopher Michael 8c2397f8c2 Evas: Add UNUSED to evas_engine function 'eng_image_load_error_get'
for data paramater (it is not used in the function).



SVN revision: 59547
2011-05-20 01:35:41 +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 59bc413e1f handle surf alloc failures.
SVN revision: 59524
2011-05-19 09:28:43 +00:00
Carsten Haitzler 3789e32040 check return of alloc surf for eet loader.
SVN revision: 59523
2011-05-19 09:25:31 +00:00
Carsten Haitzler 19b70919ad small fix - check surface alloc return and reurn alloc failure.
SVN revision: 59522
2011-05-19 09:22:35 +00:00
Carsten Haitzler 23c715b282 fixed issues on evas gl suport from sungwoo.
SVN revision: 59492
2011-05-18 09:49:58 +00:00
Vincent Torri f0cbd4add5 add some guards for non Windows headers and reorder
alphabetically some autotools stuff

SVN revision: 59393
2011-05-15 05:42:30 +00:00
Carsten Haitzler 9d945dd593 fix svg load WITH scaling - scale down size request broken. 2
different sizing methods.



SVN revision: 59329
2011-05-11 11:26:51 +00:00
Carsten Haitzler a5d62bdbcd Fix: egl mode in engine forgot to call pre/post swap callback. thanks
guanglim!



SVN revision: 59322
2011-05-11 09:14:59 +00:00
Cedric BAIL 21971b92a0 evas: fix xcb build.
SVN revision: 59302
2011-05-09 15:18:03 +00:00