Commit Graph

49 Commits

Author SHA1 Message Date
Carsten Haitzler 4ed2e01591 remove xcb support in ecore_x and evas engines as per mailing list
as per mailing list discussion about dropping xcb support now. it
hasn't been complete for a long time, thus not recommented for being
turned on. as we are moving to a wayland world xcbmakes even less
sense. as agreed, time to clean up a bit and remove a distraction as
well as not well tested code. this also updates po's too.

@feature
2016-11-03 22:22:54 +09:00
Jean Guyomarc'h 60215a5c53 evas-gl_cocoa: migrate to gl_generic infrastructure
It has been a long journey, but here we are at last...
The infamous gl_cocoa engine has been migrated to the
gl_generic infrastructure. This should provide great
improvements and hopefully reduce side-channels b0rkage.

Fonts seems better, scrolling is smoother, expedite
does not segfault anymore... I haven't found a
regression with elementary_test, elementary_config,
terminology, expedite.
2016-08-25 23:29:27 +02:00
Chris Michael d48c95f158 efl: Bump required wayland version
This makes our wayland libraries require newest wayland release of 1.11

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-06-07 08:04:10 -04:00
Chris Michael ccb573ec7b evas-engines: Port evas drm engines to use Ecore_Drm2 library
This patch ports the evas drm and gl_drm engines to use the new
Ecore_Drm2 library

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-05-27 11:57:53 -04:00
Derek Foreman f59c52520d build: Bump wayland version dependency
Anything that needed wayland now needs wayland 1.10.0
2016-04-19 15:11:09 -04:00
Nicolas Aguirre 290fc88e3f evas: add eglfs evas module.
EGL Fullscreen is a module intended to support many proprietary GL driver that come
with custom API to create framebuffer/window. This one is starting by covering Android
with libhybris/hwcomposer. Later on, it should be able to support easily the Raspberry Pi
driver.

At this moment this does not work properly. Activate it at your own risk ! Do not report
bug if you don't know what you are doing :-) A backend for Ecore_Evas will come later on
along with a patch for Ecore_FB to use libinput. Finally a few patch should hopefully
enable this backend to work and compile more easily (relying on proper header detection
and dlopen/dlsym for access to proprietary function).

You can read more about the goal of this patch by reading our wiki at :
https://phab.enlightenment.org/w/boot2efl/

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-03-18 10:17:49 -07:00
Clément Bénier 652895ad4a evas: remove check for wayland-egl version.
wayland-egl minimal version currently checked is 9.2.0 which is the
Mesa version of wayland-egl. If wayland-egl is shipped with closed
source drivers or in case of libhybris, the wayland-egl.pc pontetially
contains a different value. This commit remove the check for the
version.

Signed-off-by: Nicolas Aguirre <aguirre.nicolas@gmail.com>
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-03-18 09:44:48 -07:00
Mike Frysinger f33a46ce17 use SDL2 everywhere
Some files were still including SDL-1 headers even though we only link
against SDL2 libs.

URL: https://bugs.gentoo.org/551882
Reported-by: Barnaby <badbit@me.com>
Reported-by: Romain Naour <romain.naour@openwide.fr>
2015-08-07 12:01:44 -04:00
Chris Michael cf1bd7e1ba evas_check_engine: Remove tests for specific version of EGL
Summary: As per cedric, remove tests for egl specific version(s) when
building wayland engines.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-08-04 11:38:21 -04:00
Nicolas Aguirre d990a7b12a Revert "Adds support of the eglfs module in the autotools config"
This reverts commit 3b2074aa71.
2015-08-03 14:34:57 +02:00
Florent Revest 3b2074aa71 Adds support of the eglfs module in the autotools config 2015-08-03 14:16:35 +02:00
Chris Michael 64d11ec806 efl: Move test for gl library to evas-gl-drm engine checks and Fix T2167
Summary: Since we won't need gl library unless we are building
evas-gl-drm engine, move the checks for with_opengl config option to
the gl_drm engine checking macro. Also, since gl_drm is ONLY supported
if we have --with-opengl=es configure option, let's error out with a
message if someone passes anything Other than with_opengl=es.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-22 09:20:30 -04:00
Mun, Gwan-gyeong d1b8d52e0e evas/gl_drm: add native surface for wayland_egl_client.
Reviewers: zmike, devilhorns, cedric, gwanglim

Reviewed By: cedric, gwanglim

Subscribers: jpeg, torori, cedric

Differential Revision: https://phab.enlightenment.org/D1507
2014-12-04 17:59:30 +09:00
Mun, Gwan-gyeong f5b8109397 evas: add evas gl-drm engine
Summary: This is the first step to introduce a gl-drm backend.

Test Plan: "ecore evas" create with ecore_evas_gl_drm_new(). It creates "ecore evas" with gl_drm evas backend.
@feature

Reviewers: raster, Hermet, cedric, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1187

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-08-21 12:04:53 +02:00
Manuel Bachmann 1b6616cb3a autotools: do not link with libGL if we have "wayland-egl" without "gl"
If we have "wayland-egl" and choose to use another engine than "gl"
("glesv2" with "--with-opengl=es" e.g.), then we are in a case where
linking with libGL is not necessary. This is especially useful on a
pure Wayland system.

Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-19 08:22:50 -04:00
Mun Gwan-gyeong ac4074c4fa evas-wayland-egl: Fix segmentation fault on dynamic loaded gl related functions.
Summary:
@fix
Segfault in wayland_egl engine is casused by illegal library linking.
Fix this by linking to GLESv2 and EGL libraries.

Test Plan: N/A

Reviewers: devilhorns, raster, cedric, Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1332
2014-08-15 09:24:20 -04:00
Gwanglim Lee c4a1d26832 build/drm: Fix broken build from scratch and add missing library dependency for evas_drm engine
Summary:
This patch fixes following two problems:

1. libevas.so library has a dependency with ecore_drm if '--enable-drm' configure
option is given. This problem is due to 'EFL_INTERNAL_DEPEND_PKG([EVAS], [ecore-drm])'
in m4/evas_check_engine.m4 file. A dependency with ecore_drm should be moved to evas
drm engine not libevas.so. And also this macro makes an error while installation of evas.
 $ make uninstall; ./configure --enable-drm; make && make install

2. missing ecore_drm dependency for evas drm engine.
USE_ECORE_DRM_LIBS macro should be used for building evas drm engine with ecore_drm
library. ECORE_DRM_LIBS macro doesn't have 'libecore_drm.la'. It is used for building
ecore_drm library.
@fix

Fixes T1473

Test Plan:
1. Remove EFL libraries in installation path: $ make uninstall
2. Configure with --enable-drm: $ ./autogen.sh --enable-drm
3. $ make && make install
4. Check module.so of evas drm engine whether it has a library dependency with ecore_drm
  $ readelf -a $EFL_GIT/src/modules/evas/engines/drm/.libs/module.so | grep NEEDED
  $ readelf -a $INSTALL_PATH/lib/evas/modules/engines/drm/v-1.11/module.so | grep NEEDED

Reviewers: stefan_schmidt, devilhorns, raster

Subscribers: cedric, torori

Differential Revision: https://phab.enlightenment.org/D1271
2014-08-05 15:29:56 +02:00
MinJeong Kim 43c9e896a7 build/drm: Fix missing ecore-drm for evas_drm engine
Summary:
With removing of pkgconfig checking on EVAS_CHECK_ENGINE for drm,
evas_drm engine need to setup libs including internal ecore-drm.
But, the evas_drm engine have missed ecore-drm libs because it have been
done after finishing setup library of evas.

This revision moves setup dependendency for ecore-drm into proper place.

Test Plan:
1. Build EFL with --enable-drm
2. ELM_ENGINE=drm E_WL_FORCE=wayland_shm enlightement_start

Reviewers: gwanglim, devilhorns, stefan_schmidt

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1249
2014-08-01 14:25:52 +02:00
Cedric BAIL 3c179cdb87 evas: move to SDL2 and use GL_Generic infrastructure. 2014-07-25 20:24:29 +02:00
Stefan Schmidt 6d08b96bd3 build/drm: Allow building from scratch by not using pkgconfig for internal libs
Using pkgconfig for internal libs turns out to be not a really good idea. It
works fine if you already have an efl install with the needed ecore-drm.pc
file but it will fail if you build from scratch.

We already have a m4 macro for these internal dependencies. Make use of it
for the evas drm engine depending on ecore-drm.

Fixes T1432
2014-07-18 15:32:52 +02:00
Stefan Schmidt b9da47eccf m4/evas_check_engine: Link evas drm engine to ecore-drm instead libdrm
We now longer use libdrm directly in the evas drm engine thus we switch
linking to ecore-drm.
2014-07-16 08:53:36 +02:00
Raoul Hecky 81f7d660c4 ecore_cocoa: Add missing opengl framework 2014-06-18 11:34:07 +02:00
Chris Michael cec005996d evas-drm: Fix requirements when building for drm hw accel
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-06 09:26:03 +00:00
Chris Michael 807f944696 Evas: Fix build issue when building without drm
@bugfix: Fix issue of building efl without drm or drm hw accel options

By default drm & drm hw acceleration is off as an option. This caused
a problem when passing no options to autogen due to a missing define.
This commit fixes that mess by only defining HAVE_DRM_HW_ACCEL If we
actually have the deps for it, rather than using an AM_CONDITIONAL as
it did previously.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 14:46:44 +00:00
Chris Michael 5fe4a20cf7 evas-drm: Add support for checking what GL library to use for drm hardware acceleration
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:11:47 +00:00
Chris Michael 97e6ea75de evas-drm: Fix up some m4 formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:09:32 +00:00
Chris Michael b2ad8e401b evas-drm: Check for drm hw accel support in the drm engine
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:09:08 +00:00
Daniel Kolesa bd7bcad640 evas: reverted 9d9ea2e 2014-02-12 13:27:01 +00:00
Chris Michael 9d9ea2e98c Fix typo in wayland_egl engine test macro
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-11 07:18:22 +00:00
Chris Michael 5ec3ba041d Require wayland libraries of at least 1.3.0
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-04 13:52:27 +00:00
Chris Michael 8f755af29f Require up-to-date versions of the wayland libraries for evas engine
support.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-07 07:46:43 +01:00
Chris Michael 27c593afa9 Add EVAS_CHECK_ENGINE_DEP_DRM to m4
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-29 11:54:26 +01:00
Christopher Michael 6f9d4f9fd4 Add wayland-client as a dependency for the evas wayland shm engine.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83210
2013-01-24 09:13:48 +00:00
Rafael Antognolli 4b552cb9f7 efl/evas: Use "with_opengl" option instead of "gl_flavor_gles".
The latter got replaced by the former one. This fix the building of some
GL engines when --with-opengl=es is used.

SVN revision: 83040
2013-01-21 16:05:02 +00:00
Gustavo Sverzut Barbieri db38bdd6de cosmetic: simplify and colorize features.
EFL_ADD_FEATURE(PKG, NAME, [VALUE]) will do an amazing work to produce
colored output in a standard way.

if value == yes, it's green and shows "+name"
if value == no, it's red and shows "-name"
else it shows cyan and shows "name=value"

if not provided, will use ${have_name:-${want_name}}



SVN revision: 82976
2013-01-18 13:48:14 +00:00
Gustavo Sverzut Barbieri 57090b2abb efl: improve X detection by Joel Klinghed.
* Split out ecore_imf_xim to do its own check

* Fixed problem with xcb's makekeys, no rule for
  $(top_builddir)/src/utils/ecore/makekeys$(EXEEXT) exists so make
  used an implicit rule (ignoring any cflags of course)

* Fixed gl_x11 engine to build with either Xlib or XCB (xcb flags were
  missing)

* Added EFL_FIND_X and replace any used of AC_PATH_X{,TRA}.  First
  looks for Xorg pkg-config files then if those arn't found it falls
  back to old AC_PATH_X. Also generalized common header and lib
  checks.  Could probably use some polishing (the AC_CACHE_VAL cruft
  especially) but this is what I have time for tonight.

Now X11 should be found on non-standard locations by means of xmkmf,
--x-includes/--x-libraries and also pkg-config.



SVN revision: 82475
2013-01-09 16:48:40 +00:00
Rafael Antognolli 317979226c evas/build: Fix gles detection for wayland-egl.
This is just a quick fix, that makes things work better for now. A
deeper change and fix of the checks and build system should be done
later.

SVN revision: 82182
2013-01-04 16:00:38 +00:00
Gustavo Sverzut Barbieri c6e0c95883 efl: almost final ecore/evas/ecore-evas options integration.
Many changes in this commit, but overall it should work. If not let me
know.

 * ECORE_CHECK_X_EXTENSION() will now fail if Xlib extension is not found.

 * remove usage of ECORE_EVAS_CHECK_MODULE(), using the simplified
   ECORE_EVAS_MODULE()

 * EVAS_CHECK_ENGINE() will not declare an option anymore.

 * fixed --with-x11 and --with-opengl regarding defaults.

 * fixed typo in EVAS_STATIC_BUILD_SOFTWARE_X11 -> XLIB conditional

 * simplified Xi2 and Xgestures support under --enable-gesture. Let me
   know if these should be checked separately.

 * remove every other X extension option, they are all forced by
   now. If no major showstopper appears with this we may remove all
   the #ifdef in the code!

If there is something broken, let me know.

Next on the list for the weekend is to finish the option checks for
SDL, Wayland-EGL, Cocoa and similar.



SVN revision: 80505
2012-12-07 23:16:43 +00:00
Gustavo Sverzut Barbieri 6988d2685b efl/evas: fix m4 typos that prevented xcb from getting proper libs/cflags
SVN revision: 80504
2012-12-07 22:51:40 +00:00
Gustavo Sverzut Barbieri cc2e0f63d4 efl: always be strict on dependency checking.
SVN revision: 80498
2012-12-07 20:08:28 +00:00
Gustavo Sverzut Barbieri 892c64297e efl: begin (still partial!) to make an uniform choice of engines ecore/evas
still lots to do, but some improvements:

 - ecore_evas does not inherit pkg-config from modules since modules are SO

 - renamed internal ecore evas define from SOFTWARE_BUFFER to BUFFER,
   to make consistent.



SVN revision: 80473
2012-12-07 17:18:17 +00:00
Gustavo Sverzut Barbieri dfe93a7f0a directfb says bye...
After agreement in the mail list, core developers agree to remove this
engine that was not being supported for a long time.

Given that most operations Evas uses are not accelerated in DirectFB,
or at least hardware that exclusively supports DirectFB, it's better
for those people to just use Evas/Ecore software (buffer) rendering
and expose DirectFB's framebuffer as destination surface.



SVN revision: 80232
2012-12-05 12:24:01 +00:00
Vincent Torri 9e8e98f736 Evas: fix static gl engines compilation, and maybe others too
SVN revision: 80085
2012-12-03 16:54:10 +00:00
Vincent Torri 7d6010b12c merge: add escape ecore, fix several bugs
SVN revision: 79995
2012-12-02 22:35:45 +00:00
Rafael Antognolli 5f4b30568b evas/wayland: set engine flags, instead of loader flags.
This was probably a typo.

SVN revision: 78969
2012-11-07 16:00:34 +00:00
Rafael Antognolli 0d19a3b349 Evas: build gl_xlib and gl_xcb even when gles flavor is selected.
SVN revision: 78968
2012-11-07 13:31:31 +00:00
Vincent Torri e47bd2a9a5 merge: evas
* remove magic debug output in evas part
 * always use version for pc file, it's actually safe
 * fix compilation of gl-sdl
 * avoid circular dependency of libevas on itself


SVN revision: 78935
2012-11-05 23:48:30 +00:00
Vincent Torri 8091219f10 merge: evas fixes
* gl engines were checking for eet module, which does not
   exist when we install first the efl package.
 * fix pkgconfig values for static linking
 * add Evas output to configure


SVN revision: 78918
2012-11-05 09:25:44 +00:00
Vincent Torri c15e9c6575 merge: and now Evas
I've tested make -j 3 install and it works nicely

I've tested expedite with software and opengl xlib,
and it works. Not tested other engines, so please
report any problems (engines or other) on the ML.

TODO: examples and tests, I'll add them later

ISSUE: Eina_Unicode size check. It indirectly depends on
       eina_config.h, which is created at the end of the
       configure script. So its size is always 0. I don't
       know how that size is used, so I can't do a lot,
       for now.


SVN revision: 78895
2012-11-04 11:51:42 +00:00