Commit Graph

56 Commits

Author SHA1 Message Date
Christopher Michael 98b52208ea Evas: If we are building wayland_egl and not gl_xlib, then we need to
add a package check for gl_eet or else the gl_common code will not
build.

Signed-off-by: Christopher Michael <devilhorns@revolution.(none)>

SVN revision: 78573
2012-10-28 08:26:26 +00:00
Rafael Antognolli d8cbc86825 evas/wayland_egl: Don't check and link against gl AND glesv2.
Only one of them is necessary, based on the gl_flavor_gles flag. Also
remove some extra checks and added link flags, since they are already
done by pkg-config.

SVN revision: 78555
2012-10-26 18:54:52 +00:00
Carsten Haitzler bb4ee2174c and remove 16bit engines/code as planned.
SVN revision: 77030
2012-09-24 04:13:59 +00:00
Carsten Haitzler cde875d438 and simplify gles suport to #ifdef GL_GLES :) we dont need sgx+6410
stuff anymore.



SVN revision: 77028
2012-09-24 03:33:43 +00:00
Carsten Haitzler 5c9c0852bb update all versions in @sincs, README's and configure.ac's etc. to
reflect a unified release version, for now 1.6.99.



SVN revision: 73498
2012-07-09 10:20:21 +00:00
Vincent Torri 952a6a407b forget that one
SVN revision: 72495
2012-06-19 17:11:14 +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
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
Youness Alaoui c21427071b Evas: Add a psl1ght engine for the PS3
SVN revision: 64779
2011-11-05 17:49:37 +00:00
Nicolas Aguirre bdfeb1df14 evas: Add gl_cocoa engine
SVN revision: 64653
2011-11-02 18:23:54 +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
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
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
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 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 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
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
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
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 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
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
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
Vincent Torri 449bdb7bc6 * use Requires.private field in evas.pc if pkg-config 0.22 is installed. We list in it the required packages needed to compile eet.
* remove uneeded flags that are in Libs.private (those from the packages that are listed in Requires.private) 

SVN revision: 42744
2009-09-27 19:57:01 +00:00
Cedric BAIL faf1a51fee * evas: Fix ticket #143 from Vincent Torri.
http://trac.enlightenment.org/e/ticket/143


SVN revision: 41565
2009-08-03 08:26:02 +00:00
Vincent Torri da292c1f29 * rename 'x11' to 'xlib' when it makes sense
* allow the build of evas without xlib installed (for OpenInkpot guys)
 * add big fat warning when at least a module is linked statically (try it !)

more patches will follow now (ecore, e, rage and ewl)
I let pyton and c++ bindings maintainer to do the rename


SVN revision: 41329
2009-07-14 21:16:08 +00:00
Vincent Torri ddc06185d2 Remove the static options of configure and add
a way to select it with --enable-foo by passing
'static'. Use at your own risks.

If I've messed something up, please report in that thread


SVN revision: 41160
2009-06-22 17:35:31 +00:00
Cedric BAIL 575b0579cd * evas: Move to Eina module and make it possible to build a libevas with
everything in it.

	Note: This patch break the module API, so make sure you recompile and install
	every thing.


SVN revision: 41055
2009-06-16 13:01:36 +00:00
Vincent Torri 7f98415206 add GDI engine.
todo: fullscreen and shape support


SVN revision: 40310
2009-04-23 03:20:51 +00:00