From 5564c361b5cc1f5ec4be3622d7f9be601e3c268a Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Tue, 3 Mar 2015 16:01:22 +0000 Subject: [PATCH] st/egl: Remove. Largely superseeded by src/egl, and WGL/GLX_EXT_create_context_es_profile extensions. Note this will break Android.mk with gallium drivers -- somebody familiar with that build infrastructure will need to update it to use gallium drivers through egl_dri2. v2: Remove the _EGL_BUILT_IN_DRIVER_GALLIUM define from src/egl/main/Android.mk; and update the src/egl/main/Sconscript to create a SharedLibrary, add versioning, create symlink - copy the bits from egl-static, per Emil Velikov. Reviewed-by: Emil Velikov v3: Disallow undefined symbols in libEGL.so. Update release notes --- docs/egl.html | 29 +- docs/relnotes/10.6.0.html | 1 + docs/sourcetree.html | 1 - src/egl/main/Android.mk | 2 - src/egl/main/SConscript | 12 +- src/egl/main/egldriver.c | 3 - src/gallium/Android.mk | 5 - src/gallium/Makefile.am | 2 - src/gallium/SConscript | 5 - src/gallium/state_trackers/egl/Android.mk | 55 - src/gallium/state_trackers/egl/Makefile.am | 111 -- .../state_trackers/egl/Makefile.sources | 57 -- src/gallium/state_trackers/egl/SConscript | 62 -- .../egl/android/native_android.cpp | 892 ---------------- .../state_trackers/egl/common/egl_g3d.c | 674 ------------- .../state_trackers/egl/common/egl_g3d.h | 132 --- .../state_trackers/egl/common/egl_g3d_api.c | 952 ------------------ .../state_trackers/egl/common/egl_g3d_api.h | 33 - .../state_trackers/egl/common/egl_g3d_image.c | 372 ------- .../state_trackers/egl/common/egl_g3d_image.h | 49 - .../egl/common/egl_g3d_loader.h | 51 - .../state_trackers/egl/common/egl_g3d_st.c | 321 ------ .../state_trackers/egl/common/egl_g3d_st.h | 47 - .../state_trackers/egl/common/egl_g3d_sync.c | 278 ----- .../state_trackers/egl/common/egl_g3d_sync.h | 48 - .../state_trackers/egl/common/native.h | 342 ------- .../state_trackers/egl/common/native_buffer.h | 75 -- .../state_trackers/egl/common/native_helper.c | 501 --------- .../state_trackers/egl/common/native_helper.h | 125 --- .../egl/common/native_modeset.h | 87 -- .../egl/common/native_wayland_bufmgr.h | 49 - .../egl/common/native_wayland_drm_bufmgr.c | 228 ----- .../egl/common/native_wayland_drm_bufmgr.h | 37 - src/gallium/state_trackers/egl/drm/modeset.c | 707 ------------- .../state_trackers/egl/drm/native_drm.c | 273 ----- .../state_trackers/egl/drm/native_drm.h | 160 --- .../state_trackers/egl/fbdev/native_fbdev.c | 552 ---------- .../state_trackers/egl/gdi/native_gdi.c | 428 -------- .../state_trackers/egl/null/native_null.c | 189 ---- .../state_trackers/egl/wayland/native_drm.c | 286 ------ .../state_trackers/egl/wayland/native_shm.c | 209 ---- .../egl/wayland/native_wayland.c | 465 --------- .../egl/wayland/native_wayland.h | 124 --- src/gallium/state_trackers/egl/x11/dri2.c | 1 - src/gallium/state_trackers/egl/x11/glcore.h | 179 ---- src/gallium/state_trackers/egl/x11/glxinit.c | 656 ------------ src/gallium/state_trackers/egl/x11/glxinit.h | 22 - .../state_trackers/egl/x11/native_dri2.c | 925 ----------------- .../state_trackers/egl/x11/native_x11.c | 63 -- .../state_trackers/egl/x11/native_x11.h | 39 - .../state_trackers/egl/x11/native_ximage.c | 587 ----------- .../state_trackers/egl/x11/x11_screen.c | 488 --------- .../state_trackers/egl/x11/x11_screen.h | 133 --- src/gallium/targets/egl-static/Android.mk | 81 -- src/gallium/targets/egl-static/Makefile.am | 210 ---- src/gallium/targets/egl-static/SConscript | 114 --- src/gallium/targets/egl-static/egl.c | 122 --- src/gallium/targets/egl-static/egl.sym | 6 - src/gallium/targets/egl-static/egl_pipe.c | 41 - src/gallium/targets/egl-static/egl_pipe.h | 36 - src/gallium/targets/egl-static/egl_st.c | 167 --- src/gallium/targets/egl-static/egl_st.h | 39 - src/gallium/targets/egl-static/st_GL.c | 37 - 63 files changed, 12 insertions(+), 12965 deletions(-) delete mode 100644 src/gallium/state_trackers/egl/Android.mk delete mode 100644 src/gallium/state_trackers/egl/Makefile.am delete mode 100644 src/gallium/state_trackers/egl/Makefile.sources delete mode 100644 src/gallium/state_trackers/egl/SConscript delete mode 100644 src/gallium/state_trackers/egl/android/native_android.cpp delete mode 100644 src/gallium/state_trackers/egl/common/egl_g3d.c delete mode 100644 src/gallium/state_trackers/egl/common/egl_g3d.h delete mode 100644 src/gallium/state_trackers/egl/common/egl_g3d_api.c delete mode 100644 src/gallium/state_trackers/egl/common/egl_g3d_api.h delete mode 100644 src/gallium/state_trackers/egl/common/egl_g3d_image.c delete mode 100644 src/gallium/state_trackers/egl/common/egl_g3d_image.h delete mode 100644 src/gallium/state_trackers/egl/common/egl_g3d_loader.h delete mode 100644 src/gallium/state_trackers/egl/common/egl_g3d_st.c delete mode 100644 src/gallium/state_trackers/egl/common/egl_g3d_st.h delete mode 100644 src/gallium/state_trackers/egl/common/egl_g3d_sync.c delete mode 100644 src/gallium/state_trackers/egl/common/egl_g3d_sync.h delete mode 100644 src/gallium/state_trackers/egl/common/native.h delete mode 100644 src/gallium/state_trackers/egl/common/native_buffer.h delete mode 100644 src/gallium/state_trackers/egl/common/native_helper.c delete mode 100644 src/gallium/state_trackers/egl/common/native_helper.h delete mode 100644 src/gallium/state_trackers/egl/common/native_modeset.h delete mode 100644 src/gallium/state_trackers/egl/common/native_wayland_bufmgr.h delete mode 100644 src/gallium/state_trackers/egl/common/native_wayland_drm_bufmgr.c delete mode 100644 src/gallium/state_trackers/egl/common/native_wayland_drm_bufmgr.h delete mode 100644 src/gallium/state_trackers/egl/drm/modeset.c delete mode 100644 src/gallium/state_trackers/egl/drm/native_drm.c delete mode 100644 src/gallium/state_trackers/egl/drm/native_drm.h delete mode 100644 src/gallium/state_trackers/egl/fbdev/native_fbdev.c delete mode 100644 src/gallium/state_trackers/egl/gdi/native_gdi.c delete mode 100644 src/gallium/state_trackers/egl/null/native_null.c delete mode 100644 src/gallium/state_trackers/egl/wayland/native_drm.c delete mode 100644 src/gallium/state_trackers/egl/wayland/native_shm.c delete mode 100644 src/gallium/state_trackers/egl/wayland/native_wayland.c delete mode 100644 src/gallium/state_trackers/egl/wayland/native_wayland.h delete mode 120000 src/gallium/state_trackers/egl/x11/dri2.c delete mode 100644 src/gallium/state_trackers/egl/x11/glcore.h delete mode 100644 src/gallium/state_trackers/egl/x11/glxinit.c delete mode 100644 src/gallium/state_trackers/egl/x11/glxinit.h delete mode 100644 src/gallium/state_trackers/egl/x11/native_dri2.c delete mode 100644 src/gallium/state_trackers/egl/x11/native_x11.c delete mode 100644 src/gallium/state_trackers/egl/x11/native_x11.h delete mode 100644 src/gallium/state_trackers/egl/x11/native_ximage.c delete mode 100644 src/gallium/state_trackers/egl/x11/x11_screen.c delete mode 100644 src/gallium/state_trackers/egl/x11/x11_screen.h delete mode 100644 src/gallium/targets/egl-static/Android.mk delete mode 100644 src/gallium/targets/egl-static/Makefile.am delete mode 100644 src/gallium/targets/egl-static/SConscript delete mode 100644 src/gallium/targets/egl-static/egl.c delete mode 100644 src/gallium/targets/egl-static/egl.sym delete mode 100644 src/gallium/targets/egl-static/egl_pipe.c delete mode 100644 src/gallium/targets/egl-static/egl_pipe.h delete mode 100644 src/gallium/targets/egl-static/egl_st.c delete mode 100644 src/gallium/targets/egl-static/egl_st.h delete mode 100644 src/gallium/targets/egl-static/st_GL.c diff --git a/docs/egl.html b/docs/egl.html index e77c2359dc1..704cd9a85bc 100644 --- a/docs/egl.html +++ b/docs/egl.html @@ -212,38 +212,15 @@ the X server directly using (XCB-)DRI2 protocol.

-
egl_gallium
-
- -

This driver is based on Gallium3D. It supports all rendering APIs and -hardware supported by Gallium3D. It is the only driver that supports OpenVG. -The supported platforms are X11, DRM, FBDEV, and GDI.

- -

This driver comes with its own hardware drivers -(pipe_<hw>) and client API modules -(st_<api>).

- -
-

Packaging

The ABI between the main library and its drivers are not stable. Nor is -there a plan to stabilize it at the moment. Of the EGL drivers, -egl_gallium has its own hardware drivers and client API modules. -They are considered internal to egl_gallium and there is also no -stable ABI between them. These should be kept in mind when packaging for -distribution.

- -

Generally, egl_dri2 is preferred over egl_gallium -when the system already has DRI drivers. As egl_gallium is loaded -before egl_dri2 when both are available, egl_gallium -is disabled by default.

+there a plan to stabilize it at the moment.

Developers

-

The sources of the main library and the classic drivers can be found at -src/egl/. The sources of the egl state tracker can -be found at src/gallium/state_trackers/egl/.

+

The sources of the main library and drivers can be found at +src/egl/.

Lifetime of Display Resources

diff --git a/docs/relnotes/10.6.0.html b/docs/relnotes/10.6.0.html index bf29ebbad0f..abb50cd4763 100644 --- a/docs/relnotes/10.6.0.html +++ b/docs/relnotes/10.6.0.html @@ -60,6 +60,7 @@ TBD. diff --git a/docs/sourcetree.html b/docs/sourcetree.html index 4c93f6341e5..a5c50cf43ff 100644 --- a/docs/sourcetree.html +++ b/docs/sourcetree.html @@ -133,7 +133,6 @@ each directory.