This is an automated email from the git hooks/post-receive script.
git pushed a commit to reference refs/pull/97/head
in repository efl.
View the commit online.
commit 4ff488008ee1c5916382b7a16d6ceac991cc809a
Author: Vincent Torri <[email protected]>
AuthorDate: Wed Sep 24 07:01:44 2025 +0200
ecore_evas: remove psl1ght engine internal code
---
src/lib/ecore_evas/Ecore_Evas.h | 13 +------------
src/lib/ecore_evas/ecore_evas.c | 29 +----------------------------
src/lib/ecore_evas/ecore_evas_deprecated.c | 6 ++++++
3 files changed, 8 insertions(+), 40 deletions(-)
diff --git a/src/lib/ecore_evas/Ecore_Evas.h b/src/lib/ecore_evas/Ecore_Evas.h
index 7dd8a3e5be..70a40a0e44 100644
--- a/src/lib/ecore_evas/Ecore_Evas.h
+++ b/src/lib/ecore_evas/Ecore_Evas.h
@@ -99,7 +99,6 @@ extern "C" {
#define HAVE_ECORE_EVAS_SDL 1
//#define HAVE_ECORE_EVAS_WINCE 1 /* @deprecated */
//#define HAVE_ECORE_EVAS_EWS 1 /* @deprecated */
-#define HAVE_ECORE_EVAS_PSL1GHT 1
#define HAVE_ECORE_EVAS_WAYLAND_SHM 1
#define HAVE_ECORE_EVAS_WAYLAND_EGL 1
#define HAVE_ECORE_EVAS_DRM 1
@@ -127,7 +126,7 @@ typedef enum _Ecore_Evas_Engine_Type
ECORE_EVAS_ENGINE_SOFTWARE_16_WINCE, /* @deprecated */
ECORE_EVAS_ENGINE_OPENGL_SDL,
ECORE_EVAS_ENGINE_EWS, /* @deprecated */
- ECORE_EVAS_ENGINE_PSL1GHT,
+ ECORE_EVAS_ENGINE_PSL1GHT, /* @deprecated */
ECORE_EVAS_ENGINE_WAYLAND_SHM,
ECORE_EVAS_ENGINE_WAYLAND_EGL,
ECORE_EVAS_ENGINE_DRM,
@@ -2052,16 +2051,6 @@ EAPI Ecore_Evas *ecore_evas_cocoa_new(Ecore_Cocoa_Window *parent,
int w,
int h);
-/**
- * @brief Creates a new @c Ecore_Evas canvas bound to the Evas
- * @b psl1ght engine.
- *
- * @param name Deprecated.
- * @param w Width of the canvas, in pixels.
- * @param h Height of the canvas, in pixels.
- *
- * The psl1ght backend is used for the PS3 GameOS.
- */
EAPI Ecore_Evas *ecore_evas_psl1ght_new(const char* name, int w, int h) EINA_DEPRECATED;
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index 488c1661d8..a942f139eb 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -572,7 +572,7 @@ ecore_evas_engine_type_supported_get(Ecore_Evas_Engine_Type engine)
#endif
case ECORE_EVAS_ENGINE_EWS:
return EINA_FALSE;
- case ECORE_EVAS_ENGINE_PSL1GHT:
+ case ECORE_EVAS_ENGINE_PSL1GHT: /* @deprecated */
return EINA_FALSE;
case ECORE_EVAS_ENGINE_WAYLAND_SHM:
#ifdef BUILD_ECORE_EVAS_WAYLAND_SHM
@@ -884,12 +884,6 @@ _ecore_evas_constructor_fb(int x EINA_UNUSED, int y EINA_UNUSED, int w, int h, c
return ee;
}
-static Ecore_Evas *
-_ecore_evas_constructor_psl1ght(int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED, const char *extra_options EINA_UNUSED)
-{
- return NULL;
-}
-
static Ecore_Evas *
_ecore_evas_constructor_wayland_shm(int x, int y, int w, int h, const char *extra_options)
{
@@ -997,7 +991,6 @@ static const struct ecore_evas_engine _engines[] = {
{"software_ddraw", _ecore_evas_constructor_software_ddraw},
{"direct3d", _ecore_evas_constructor_direct3d},
{"opengl_cocoa", _ecore_evas_constructor_cocoa},
- {"psl1ght", _ecore_evas_constructor_psl1ght},
{"wayland_shm", _ecore_evas_constructor_wayland_shm},
{"wayland_egl", _ecore_evas_constructor_wayland_egl},
{"drm", _ecore_evas_constructor_drm},
@@ -4748,26 +4741,6 @@ ecore_evas_cocoa_new(Ecore_Cocoa_Window *parent, int x, int y, int w, int h)
return ee;
}
-EAPI Ecore_Evas *
-ecore_evas_psl1ght_new(const char* name, int w, int h)
-{
- Ecore_Evas *ee;
- Ecore_Evas *(*new)(const char*, int, int);
- Eina_Module *m = _ecore_evas_engine_load("psl1ght");
- EINA_SAFETY_ON_NULL_RETURN_VAL(m, NULL);
-
- new = eina_module_symbol_get(m, "ecore_evas_psl1ght_new_internal");
- EINA_SAFETY_ON_NULL_RETURN_VAL(new, NULL);
-
- ee = new(name, w, h);
- if (!_ecore_evas_cursors_init(ee))
- {
- ecore_evas_free(ee);
- return NULL;
- }
- return ee;
-}
-
/* new input model with eo:
* 1. pass all events from ecore_input_evas through
diff --git a/src/lib/ecore_evas/ecore_evas_deprecated.c b/src/lib/ecore_evas/ecore_evas_deprecated.c
index 1aa1b45c0f..46aa1cef26 100644
--- a/src/lib/ecore_evas/ecore_evas_deprecated.c
+++ b/src/lib/ecore_evas/ecore_evas_deprecated.c
@@ -208,3 +208,9 @@ EAPI void
ecore_evas_xrender_x11_extra_event_window_add(Ecore_Evas *ee EINA_UNUSED, Ecore_X_Window win EINA_UNUSED)
{
}
+
+EAPI Ecore_Evas *
+ecore_evas_psl1ght_new(const char* name EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED)
+{
+ return NULL;
+}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.