Commit Graph

36 Commits

Author SHA1 Message Date
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
Vincent Torri 5953f89d21 remove the gliz engine:
* it never really worked
 * glitz is not maintained anymore (latest snapshot in january 2005)


SVN revision: 39672
2009-03-24 10:21:34 +00:00
Vincent Torri f45226d6fe AC_CHECK_HEADERS is not correctly used in evas_check_engine.m4.
The behavior of AC_CHECK_HEADERS is a bit strange: If one has
2 header files foo.h and bar.h and foo.h exists while bar.h
does not, then:

1) with

have headers="no"
AC_CHECK_HEADERS([foo.h bar.h], [have_headers="yes"])

the value of have_headers is "yes"

2) with

AC_CHECK_HEADERS([foo.h bar.h], [have_headers="yes"], [have_headers="no"])

the value of have_headers is "no"




SVN revision: 39479
2009-03-14 17:24:53 +00:00
Vincent Torri b626953fc6 typo in header file name
SVN revision: 39476
2009-03-14 16:42:52 +00:00
Vincent Torri c989841ab6 * src/modules/engines/direct3d/:
fast direct3d engine written by Dmitriy Mazovka. You rock !

 * m4/evas_check_engine.m:
 * m4/evas_check_loader.m4:
   use m4_popdef for each macro (otherwise, fail if aclocal is too old)

 * src/lib/canvas/evas_font_dir.c:
   include evas_common.h and evas_private.h after Eet.h and Evil.h
   so that EAPI is correctly defined



SVN revision: 38244
2008-12-20 13:22:46 +00:00
Iván Briano a7d321651c Correct descriptions for the engines options. Thanks ashikase.
SVN revision: 37796
2008-11-25 01:52:13 +00:00
Vincent Torri a659951ced * use the m4 macro EVAS_CHECK_ENGINE to check if an engine is available or not
* group the want_* variables related to engines and loaders at the beginning
   of configure.ac
 * use -no-undefined directly instead of a flag checked wrt the host
 * some clean up in Makefile.am files

Please report any problem


SVN revision: 37784
2008-11-24 06:18:31 +00:00