Commit Graph

85 Commits

Author SHA1 Message Date
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
Carsten Haitzler 6f11d31651 missed an eet 1.4.0 min req.
SVN revision: 51163
2010-08-16 08:06:00 +00:00
Carsten Haitzler ffbe27b177 eina-1 -> eina
SVN revision: 51162
2010-08-16 08:04:47 +00:00
Carsten Haitzler 35447ef1d4 evas -> 1.0.0 alpha readied.
SVN revision: 51158
2010-08-16 06:58:07 +00:00
Alexander Kerner 0ec2a33a22 From: Alexander Kerner <alexander.kerner@googlemail.com>
Subject: [E-devel] 8bpp xcb evas engine

Hi all,

I've implemented the 8bpp grayscale evas engine. It is based on the 16bpp
engine. It would be nice if someone could review the code and maybe commit
into svn. The patches against evas and ecore are attached.



SVN revision: 50560
2010-07-28 00:16:06 +00:00
Vincent Torri 3a7d06b04d fix linking with mingw
SVN revision: 49819
2010-06-23 15:51:20 +00:00
Carsten Haitzler 9621532945 trga loader - snarfed 80% from imlib2. missing paletted mode (just
like the imlib2 one) but.. handles alpha correctly- unlike imlib2 and
manyother loaders.



SVN revision: 49330
2010-05-30 17:48:19 +00:00
Carsten Haitzler 6f6730eaf8 for shits and giggles... i wrote a bmp loader. i did look at the old
imlib2 bmp loader, but it was imcomplete compared to the bmp
standards, so i actually ended up reading the file format definitions
on line i could find and using lots of test images... wrote a new one.
you can at least view bmp files now. note - i found 1 bmp file that
claims to have an alpha channel (amask is non-empty) and then proceeds
to provide an image with pixels - all alpha 0. so its transparent when
it shouldnt be. beats me but looks like a broken bmp file to me when
it compes to specs.



SVN revision: 49324
2010-05-30 13:04:34 +00:00
Vincent Torri d0a0206be6 * link pthread and spinlock code instead of just compiling
* POSIX pthread spinlock may be unimplemented, so don't
   exit with an error if they are not available



SVN revision: 48540
2010-05-02 05:19:47 +00:00
Vincent Torri ba64a18e0f Some libc have a pthread that declares spinlock functions,
but does not define them. So the check now links the test code.



SVN revision: 48526
2010-05-01 20:38:28 +00:00
Mathieu Taillefumier 4c00d5e175 from: Mathieu Taillefumier <mathieu.taillefumier@fys.uio.no>
fix configure check for libpng14.



SVN revision: 47524
2010-03-28 02:10:37 +00:00
Vincent Torri 8ecccfe531 typo
SVN revision: 46947
2010-03-07 12:14:01 +00:00
Vincent Torri 66df28b48b when pthread is found, don't abort if spin lock is not found but not reqested
Patch by Albin Tonnerre


SVN revision: 46942
2010-03-07 12:06:32 +00:00
Vincent Torri bf056dd2df Fix Objective C compiler detection and Mac OS X header
files detection. It should work with and without an
Objective C compiler. The problem is a bug in the
AC_PROG_OBJC macro.

Patch by Ralf Wildenhues


SVN revision: 46890
2010-03-05 06:23:25 +00:00
Carsten Haitzler 8bd17b0d1d fix links to include xrender link
SVN revision: 46695
2010-03-01 14:22:31 +00:00
Vincent Torri 555709fa24 abort when pthread is requested but not found
patch by Albin Tonnerre



SVN revision: 46657
2010-02-28 17:28:43 +00:00
Vincent Torri c3915edab7 use efl_fnmatch m4 macro
SVN revision: 45853
2010-02-03 20:57:36 +00:00
Carsten Haitzler 2b06b06b33 dnl--
SVN revision: 45728
2010-01-30 03:19:51 +00:00
xcomputerman a61baea31e Various fixes to enable building SDL/OpenGLES
SVN revision: 45692
2010-01-29 06:12:35 +00:00
xcomputerman cdcc000942 Add OpenGL SDL engine
SVN revision: 45674
2010-01-29 02:31:37 +00:00
Vincent Torri b47b5659b4 update efl_path_max.m4
SVN revision: 45036
2010-01-11 07:11:37 +00:00
Gustavo Sverzut Barbieri 5c70219de3 PATH_MAX check, by Lutin.
SVN revision: 44886
2010-01-04 19:18:45 +00:00
Vincent Torri 721ce91ca8 Fix m4 quoting due to quoting change rules in autoconf 2.65.
Works with autoconf 2.63, 2.64 and 2.65

If there are problems with early versions, please answer in this thread

SVN revision: 44147
2009-12-03 00:22:33 +00:00
Carsten Haitzler 48848d8cbe whatevr the obj c lang push thing is... it breaks evas' build entirely on
normal linux. remove.



SVN revision: 43589
2009-11-09 16:29:10 +00:00
Raoul HECKY ed3898cf70 Fix Cocoa.h detection on MacOSX
SVN revision: 43586
2009-11-09 15:40:01 +00:00
Carsten Haitzler 8bd109e8ce update build for gles on s3c6410 testing
SVN revision: 43030
2009-10-12 03:31:24 +00:00
Carsten Haitzler a60f577446 some infra for starting to handle dest-alpha (rgba) windows in gl engine.
not sure shaped windows will ever be sanely possible.



SVN revision: 43015
2009-10-11 06:59:47 +00:00
Carsten Haitzler 1d869a9ab1 add --enable-gl-flavor-gles to force GLES flavor of GL instead of "standard"
GL which will be preferred if it is found. this is for situations where you
may have both GL and GLES.



SVN revision: 42994
2009-10-10 03:46:27 +00:00
Carsten Haitzler 37b66e806b new gl engine. no one uses it anyway. not 100% complete, but much better than
the old. and it ALSO does GLES2.0 as well asn GL.



SVN revision: 42982
2009-10-09 12:10:27 +00:00