Wiki page about-wayland changed with summary [] by Raster

This commit is contained in:
Carsten Haitzler 2021-12-27 03:43:47 -08:00 committed by www-data
parent f779b48411
commit dbf780a4ca
1 changed files with 8 additions and 40 deletions

View File

@ -60,15 +60,6 @@ EFL is currently tracking Wayland master and will not function with the 0.85 rel
* Supports Wayland Copy-N-Paste
* Supports Wayland Drag-N-Drop
[**Enlightenment 0.18**]
* Complete support for rendering Wayland Client applications inside the existing X11 Compositor
* Provides a Wayland Shell for use by Wayland Client applications
[**Enlightenment 0.19**]
* Complete support for rendering Wayland Client applications inside the existing X11 Compositor
* Provides a Wayland Shell for use by Wayland Client applications (both wl_shell and xdg_shell are supported)
* Experimental support for running Wayland-Only (without X11) is undergoing heavy testing.
----
=== Building Wayland Support ===
@ -77,52 +68,29 @@ The following instructions assume that you have Wayland/Weston installed as per
These steps assume that you have the environment variables set as per the above building instructions.
**NOTE**: If you are using an Intel video card, and wish to also have the Enlightenment X11 Compositor be able to render using OpenGL, then you should build Mesa (from the above instructions) with the //--enable-osmesa// and //--enable-glx-tls// options. This will also require a kernel >= 3.6 for full support. If you are using an Intel video card, you should also be using a kernel >= 3.9.2 or you Will experience various bugs and crashes with the latest Wayland.
[**Compiling EFL**]
To compile EFL with Wayland support, you should compile EFL as you normally would, and enable the desired below options:
* --enable-wayland
* -Dwl=true
* To enable building the Evas Wayland Shared-Memory Engine
* --enable-egl --with-opengl=es
* To enable building support for the Evas Wayland EGL Engine
* --enable-drm
* To enable building support for the Evas DRM Engine
* --enable-gl-drm
* To enable building support for the Evas GL DRM Engine
* -Ddrm=true
* To enable drm/kms display support (in the console/framebuffer)
[**Compiling Elementary**]
Elementary requires no special options to support Wayland however it IS required that EFL was built with Wayland support in order to render Elementary applications inside a Wayland compositor (such as Weston)
[**Compiling Enlightenment 0.18**]
[**Compiling Enlightenment**]
To compile Enlightenment with Wayland Client support, you should compile Enlightenment as you normally would, and enable the desired below options:
* --enable-wayland-clients
* -Dwl=true
* To enable build support for the Enlightenment Compositor to render Wayland Clients
* --enable-wayland-egl
* To enable build support for the Enlightenment Compositor to render Wayland Clients using EGL
[**Compiling Enlightenment 0.19**]
To compile Enlightenment with Wayland Client support, you should compile Enlightenment as you normally would, and enable the desired below options:
* --enable-wayland-clients
* To enable build support for the Enlightenment Compositor to render Wayland Clients
* --enable-wayland-egl
* To enable build support for the Enlightenment Compositor to render Wayland Clients using EGL
* To build the Experimental Wayland-Only version, please see the README.wayland file located here: [[https://git.enlightenment.org/core/enlightenment.git/tree/README.wayland]]
----
=== Running ===
For applications that use Ecore_Evas directly set the environment variable **ECORE_EVAS_ENGINE** to either //wayland_egl// or //wayland_shm// depending on whether you wish to use the SHM based interface with software rendering or use EGL.
For Elementary apps (almost all EFL apps) just set the **ELM_DISPLAY=wl** environment variable.
For applications that use Elementary set the environment variable **ELM_DISPLAY** to //wl//. If you wish to run Elementary applications using the Shared Memory Engine, then also export **ELM_ACCEL**=//none//. If you wish to run Elementary applications using the Wayland EGL engine, then export **ELM_ACCEL**=//opengl//.
For Enlightenment simply log into any VT/TTY console and run **enlightenment_start**.
For Wayland Client applications running inside the Enlightenment X11 Compositor, no special variables need be set (however you should be sure to restart Enlightenment After following the above build instructions)
**NOTE**: Support for rendering Wayland Clients inside the Enlightenment X11 Compositor Does require that the **XDG_RUNTIME_DIR** environment variable to be set. If it is not set by your distribution, please consult documentation for your distribution on the proper way to set it. If none is set, then the Enlightenment X11 Compositor will use /tmp by default.
**XDG_RUNTIME_DIR** environment variable to be set. If it is not set by your distribution, please consult documentation for your distribution on the proper way to set it. If none is set, then the Enlightenment X11 Compositor will use /tmp by default.