Commit Graph

113 Commits

Author SHA1 Message Date
Vincent Torri 61656c2ecc Evas: use Esvg for svg rendering.
If Esvg is not found, librsvg is used (if found)

See README to see how to installe Esvg


SVN revision: 71180
2012-05-16 21:28:36 +00:00
Vincent Torri 5422bf5b85 Evas: fix shm_open() check (can be in libc or librt)
This works in linux and windows, and should fix shm_detection on BSD (including Mac)

 BSD, Mac and solaris users : please check that it compiles and shm_open is detected


SVN revision: 69612
2012-03-25 16:39:04 +00:00
Carsten Haitzler fed5f79433 and work more on getting release in shape - version requirements.
(god this is a pain in the butt)



SVN revision: 69484
2012-03-17 06:25:41 +00:00
Vincent Torri 99c074f23f Evas: check static inline functions, not just inline ones
SVN revision: 68448
2012-02-26 07:09:07 +00:00
Cedric BAIL cd9cb6abb5 evas: add Exotic support.
SVN revision: 68404
2012-02-24 11:21:57 +00:00
Cedric BAIL 0dbc99f33a evas: remove software SDL engine, use buffer engine directly.
NOTE: I would like to do the same with software SDL 16bits engine.
But as we don't have a buffer_16 backend, I am likely to just remove
it and use buffer conversion code to match a 16bits target. This
will come with a performance impact, that will make it useless. So
I am just tempted to completly remove it.


SVN revision: 68352
2012-02-23 16:25:07 +00:00
Christopher Michael 279a7c3c91 Evas (m4): Use simpler check for wayland egl. Don't reset
'gl_flavor_gles' when checking for sgx support (if we reset
gl_flavor_gles here, then the autofoo output always returns 'NO' for
gles.



SVN revision: 67572
2012-01-28 13:47:12 +00:00
Christopher Michael c0dd6f7975 Evas (wayland_egl): Fix egl detection in check_engine. (In theory, the
old version of this w/ the 3 includes Should be working, but I've
tested it on 2 machines now, and it fails on both with those lines in
there, so I am removing them).

Make wayland_egl engine Actually work and draw stuff now (too many
code changes to list them all separately). See http://i.imgur.com/i2eBE.png.




SVN revision: 67128
2012-01-12 09:01:37 +00:00
Christopher Michael 26fcca18b7 Evas: Add Wayland EGL engine (still experimental).
SVN revision: 66541
2011-12-26 23:13:52 +00:00
Christopher Michael 0fccea0dee Evas: Add a Wayland Shared Memory engine (similar to the buffer &
framebuffer engines). Add Evas framespace set/get functions.



SVN revision: 66223
2011-12-14 18:44:20 +00:00
Carsten Haitzler 9e655af267 update release candidate trees to their release version in preparation
for alpha



SVN revision: 65280
2011-11-16 05:34:37 +00:00
Vincent Torri d103ed2551 Evas: use -pthread instead of -lpthread
SVN revision: 65030
2011-11-10 18:14:48 +00:00
Vincent Torri 120d3d6ce0 Evas: use __always_inline__ and not always_inline
SVN revision: 65028
2011-11-10 17:39:35 +00:00
Youness Alaoui c21427071b Evas: Add a psl1ght engine for the PS3
SVN revision: 64779
2011-11-05 17:49:37 +00:00
Vincent Torri 29c1292c7a forget that. That's the problem when dealing with
windows and linux in different repo...


SVN revision: 64768
2011-11-05 16:56:03 +00:00
Vincent Torri 3de60c77b4 Evas: fix use of __always_inline__ attribute
Fix multiple storage bug.
 * __forceinline is the equivalent of __always_inline__ on Windows. It has
   'extern' as storage, so static must not be used with it
 * use __always_inline__ and not always_inline as attribute value instead.
   No need to add storage class with __always_inline__ too.
 * static inline is fine


SVN revision: 64767
2011-11-05 16:51:13 +00:00
Vincent Torri e7d87f2539 Evas: efl_attributes.m4
NEVER define a macro whose name is the name of the attribute, it breaks compilation on some platforms


SVN revision: 64749
2011-11-04 22:08:54 +00:00
Vincent Torri 22dffda1e7 Evas: efl_attribute.m4 : put definition in the prologue
SVN revision: 64748
2011-11-04 21:04:49 +00:00
Nicolas Aguirre bdfeb1df14 evas: Add gl_cocoa engine
SVN revision: 64653
2011-11-02 18:23:54 +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
Vincent Torri 06a765d5a1 Evas: big mistake in efl_attribute.m4. My bad
SVN revision: 63935
2011-10-09 19:28:40 +00:00
Jim Kukunas 937a5a91f1 evas: add common SSE3 blending functions/macro
mul_256_sse3
sub4_alpha_sse3
interp4_256_sse3
mul_sym_sse3
mul4_sym_sse3
mul3_sym_sse3

LOOP_ALIGNED_U1_A48_SSE3

__attribute__((always_inline)) is needed to coax GCC (< 4.6.0)
into inlining the common blend ops. Not inlining these functions
causes a steep performance penalty.

Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>



SVN revision: 63698
2011-09-30 02:35:45 +00:00
Vincent Torri 51781d7985 use another m4 macro for __atribute__
add check of gcc vector extension, requested by cedric


SVN revision: 63652
2011-09-29 06:26:03 +00:00
Youness Alaoui efea89b471 Evas: Allow independent static compilation of software_16_sdl engine
SVN revision: 63247
2011-09-07 06:53:28 +00:00
Tom Hacohen 6d082b5da7 Evas: Move the HAVE_TESTS define to the m4 macro.
Thanks to vtorri for the spanking.

SVN revision: 61245
2011-07-11 14:39:53 +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
Vincent Torri e9518f1521 Add unit tests + coverage support to evas, for Tasn.
unit tests : make check
coverage   : make coverage


SVN revision: 61167
2011-07-09 02:59:24 +00:00
Christopher Michael 1ebf2090d8 Evas: Fix up the check_engine macros for xcb engine & xlib changes.
SVN revision: 61137
2011-07-08 00:18:22 +00:00
Vincent Torri 17114374a9 improve linbpg detection
SVN revision: 59576
2011-05-22 08:53:31 +00:00
Jiyoun Park 56111d2b69 From: Jiyoun Park <jy0703.park@samsung.com>
Subject: [E-devel] [Patch] Evas gl shader use binary shader

I make patch related with evas gl binary shader.
 
The concept of binary shader is  compile shader only once.
 
Some people want to use binary shader because of performance issue.
 
In current evas gl engine, every application have to compile shader each
time. 

But I modify code , so only first running application need compile shader.

Other application use already compiled shader(binary shader)

 
The binary shader is made under HOME/.evas/gl_common_shaders directory. 

Binary shader is created according to GL vendor,GL renderer, GL version and
Module_arch.

The basic flow is
 
1.     First running application which use gl engine check binary shader
directory, but it can't find binary shader. 
2.     After compiling shader, It saves compiled shaders..
3.     Other application checks shader directory, it can use binary
shaders.
 
In mobile target, using binary shader, I can save 150ms. (that time, there
is 11 shaders).

If there is more shaders and more applications, this flow maybe save more
total time. 

(the above is now in, changelog coming, with change to using ~/.cache,
some formatting fixes, make ity do the desktop gl one right with the
retrievable hint parameter ont he program etc. - doesn't break desktop
gl at least. yay. a,so fixes to mke it compile at all).



SVN revision: 59167
2011-05-04 06:15:00 +00:00
Carsten Haitzler 0e57095d06 add generic image loader. allows for GPL loaders, unstable loaders and
more. making a loader is a matter of a binary of a specific name and
evas passes certain input on the cmd-line and your binary produces
output on stdout (and also optionally additionally in a shm or tmp
file).



SVN revision: 58914
2011-04-26 01:03:06 +00:00
Carsten Haitzler b3a893c78c oops - didnt mean to commit that. that was just an example.
SVN revision: 58897
2011-04-25 09:42:49 +00:00
Sung W. Park d12e4f28d4 From: "Sung W. Park" <sungwoo@gmail.com>
Subject: [E-devel] [Review] [Patch] Evas - OpenGL on Evas: surface
texture creation patch

I'm attaching a patch that addresses the awkward usage case. It's something
that didn't bother me initially but the more I look at it, i think
it's a little off. :-)

The initial version of the evas_gl that I've submitted had the
following use case.

   evasgl = evas_gl_new(e);
   sfc = evas_gl_surface_create(...);
   ctx = evas_gl_context_create(...);

// Make current triggers surface texture and FBO to be created
   evas_gl_make_current(evasgl, sfc, ctx);

// Then you can do a surface_get to retrieve the proper texture and set it
   evas_gl_native_surface_get(evasgl, sfc, &ns);
   evas_object_image_native_surface_set(img_obj, &ns);
   
   The unnatural thing about this use case is that you have to call the make_current
one time in order for evas_gl to generate a surface texture.  This is because
you need a context to create a texture.  Unfortunately, this makes the usage
case really awkward.

So, instead, I've decided to get rid of the need for calling the make_current
by generating a surface texture when evas_gl_surface_create() is called
by using the evas' gl context.  This works because the newly created context
shares resources with evas.  in fact, this is what i'm currently doing with surface
deletion anyway so I thought this solution was reasonable.

Here's how it looks after you get rid of the make_current:

   evasgl = evas_gl_new(e);
   sfc = evas_gl_surface_create(...);
   ctx = evas_gl_context_create(...);

   evas_gl_native_surface_get(evasgl, sfc, &ns);
   evas_object_image_native_surface_set(img_obj, &ns);

The patch is pretty small and straightforward.
            


SVN revision: 58892
2011-04-25 08:41:36 +00:00
Cedric BAIL 0cef5e41fe evas: add psd file format support.
Patch from Thierry el Borgi with some rework of myself.

NOTE: I don't have much file to test, so if some don't
contact us with those file and we will fix the loader
if needed.


SVN revision: 58873
2011-04-24 19:45:43 +00:00
Cedric BAIL dd38ffb274 evas: remove useless check.
SVN revision: 58365
2011-04-05 14:31:49 +00:00
Cedric BAIL 1b3b01cb4f evas: and now is the death of Qtopia engine.
SVN revision: 58362
2011-04-05 13:45:54 +00:00
Cedric BAIL 30f906aac9 evas: one more death: gl_glew !
SVN revision: 58360
2011-04-05 13:19:20 +00:00
Cedric BAIL cbad6075d7 evas: remove Evas Cairo backend.
SVN revision: 58359
2011-04-05 13:00:23 +00:00
Cedric BAIL ad5a2f59c6 evas: remove Evas Quartz backend.
SVN revision: 58358
2011-04-05 12:25:25 +00:00
Vincent Torri 9093a47081 formatting
SVN revision: 58099
2011-03-26 17:13:52 +00:00
Vincent Torri 9cc1e2a01d Evas: improve jpeg m4 macro check
Use AC_LANG_PROGRAM instead of AC_LANG_SOURCE


SVN revision: 58097
2011-03-26 17:09:44 +00:00
Carsten Haitzler 710630d074 Evas: add ico loader!
SVN revision: 57693
2011-03-11 15:07:25 +00:00
Lucas De Marchi 81cc0b0cd5 evas: make less noise when configuring
Remove the following warning during bootstrap:

configure.ac:790: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body

Reference:
http://www.flameeyes.eu/autotools-mythbuster/forwardporting/autoconf.html



SVN revision: 56861
2011-02-09 17:53:00 +00:00
Carsten Haitzler 75bb165f29 Thanks to samsung - added WBMP loader.
SVN revision: 56624
2011-02-01 09:38:48 +00:00
Michael Jennings dc3bd40b88 Portability fixes for autoconf. Please test and verify on
Debian/Ubuntu.

Don't build GIF support by default.



SVN revision: 56347
2011-01-29 01:29:21 +00:00
Carsten Haitzler c15f13d38a for svg loader.. look for cairo too. seems some rsvg's dont come with
it in their pkg config cflags/ldflags as a required dep.



SVN revision: 55249
2010-12-04 01:01:22 +00:00
Cedric BAIL 6de3f7e778 * evas: fix static build of GL SDL engine.
SVN revision: 54589
2010-11-16 13:09:14 +00:00
Carsten Haitzler 3aee5f8bc0 make gles autodetect work.
SVN revision: 53907
2010-10-27 00:00:52 +00:00
Carsten Haitzler b0053e86fd stricter header checking.
SVN revision: 53906
2010-10-26 23:37:28 +00:00
Carsten Haitzler 555d85033c more complete gl auto-checking in configure.ac
SVN revision: 53905
2010-10-26 23:31:58 +00:00