summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas/ecore_evas.c
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2019-04-25 16:56:40 +0900
committerHermet Park <hermetpark@gmail.com>2019-04-25 16:56:40 +0900
commit53599a8d399c21b467316033dd57907188339623 (patch)
tree79f5865b79b95a53040caf6097748d40105d7148 /src/lib/ecore_evas/ecore_evas.c
parent2e85c6ba344852242290bac55621a9d0e6e0829f (diff)
ecore wayland: expand internal interface to pass engine option list.
This is a prepartion patch to support msaa in wayland. ui window needs to deliver engine options (stencil, depth, msaa bits) to evas engine side, ecore_evas_wayland_egl should have the argument to pass.
Diffstat (limited to 'src/lib/ecore_evas/ecore_evas.c')
-rw-r--r--src/lib/ecore_evas/ecore_evas.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index 8f8a024..8602087 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -4462,7 +4462,7 @@ ecore_evas_wayland_egl_new(const char *disp_name, unsigned int parent,
4462 int x, int y, int w, int h, Eina_Bool frame) 4462 int x, int y, int w, int h, Eina_Bool frame)
4463{ 4463{
4464 Ecore_Evas *ee; 4464 Ecore_Evas *ee;
4465 Ecore_Evas *(*new)(const char *, Ecore_Window, int, int, int, int, Eina_Bool); 4465 Ecore_Evas *(*new)(const char *, Ecore_Window, int, int, int, int, Eina_Bool, const int*);
4466 Eina_Module *m = _ecore_evas_engine_load("wayland"); 4466 Eina_Module *m = _ecore_evas_engine_load("wayland");
4467 EINA_SAFETY_ON_NULL_RETURN_VAL(m, NULL); 4467 EINA_SAFETY_ON_NULL_RETURN_VAL(m, NULL);
4468 4468
@@ -4471,7 +4471,7 @@ ecore_evas_wayland_egl_new(const char *disp_name, unsigned int parent,
4471 4471
4472 if (parent) ERR("Wayland windows with parents not supported through legacy API"); 4472 if (parent) ERR("Wayland windows with parents not supported through legacy API");
4473 4473
4474 ee = new(disp_name, 0, x, y, w, h, frame); 4474 ee = new(disp_name, 0, x, y, w, h, frame, NULL);
4475 if (!_ecore_evas_cursors_init(ee)) 4475 if (!_ecore_evas_cursors_init(ee))
4476 { 4476 {
4477 ecore_evas_free(ee); 4477 ecore_evas_free(ee);
@@ -4503,17 +4503,17 @@ _wayland_shm_new(const char *disp_name, Ecore_Window parent,
4503 4503
4504Ecore_Evas * 4504Ecore_Evas *
4505_wayland_egl_new(const char *disp_name, Ecore_Window parent, 4505_wayland_egl_new(const char *disp_name, Ecore_Window parent,
4506 int x, int y, int w, int h, Eina_Bool frame) 4506 int x, int y, int w, int h, Eina_Bool frame, const int *opt)
4507{ 4507{
4508 Ecore_Evas *ee; 4508 Ecore_Evas *ee;
4509 Ecore_Evas *(*new)(const char *, Ecore_Window, int, int, int, int, Eina_Bool); 4509 Ecore_Evas *(*new)(const char *, Ecore_Window, int, int, int, int, Eina_Bool, const int *);
4510 Eina_Module *m = _ecore_evas_engine_load("wayland"); 4510 Eina_Module *m = _ecore_evas_engine_load("wayland");
4511 EINA_SAFETY_ON_NULL_RETURN_VAL(m, NULL); 4511 EINA_SAFETY_ON_NULL_RETURN_VAL(m, NULL);
4512 4512
4513 new = eina_module_symbol_get(m, "ecore_evas_wayland_egl_new_internal"); 4513 new = eina_module_symbol_get(m, "ecore_evas_wayland_egl_new_internal");
4514 EINA_SAFETY_ON_NULL_RETURN_VAL(new, NULL); 4514 EINA_SAFETY_ON_NULL_RETURN_VAL(new, NULL);
4515 4515
4516 ee = new(disp_name, parent, x, y, w, h, frame); 4516 ee = new(disp_name, parent, x, y, w, h, frame, opt);
4517 if (!_ecore_evas_cursors_init(ee)) 4517 if (!_ecore_evas_cursors_init(ee))
4518 { 4518 {
4519 ecore_evas_free(ee); 4519 ecore_evas_free(ee);