[E-devel] [PATCH] ecore_evas_wayland: Fix incorrect handling of touch down event.

2012-11-28 Thread zhiwen . wu
From: Alex Wu zhiwen...@linux.intel.com Every touch down event should be converted into mouse in + mouse button. So we should let every mouse in event go in the _ecore_evas_wl_common_cb_mouse_in(), instead of preventing it by if (!ee-in). Besides that, the coordinates carried by mouse in event

[E-devel] [PATCH] evas/wayland_egl: Don't create EGLSurface for internal gl resource if we already have one in re-win.

2012-11-21 Thread zhiwen . wu
From: Alex Wu zhiwen...@linux.intel.com EGL 1.4 spec Section 3.5.1: If there is already an EGLSurface associated with win (as a result of a previous eglCreateWindowSurface call), then an EGL_BAD_ALLOC error is generated. So that this eglCreateWindowSurface() will fail if the egl driver is a

[E-devel] [PATCH] edje: backward-compatible to BLOCK_HANDLE select_mode.

2012-08-26 Thread zhiwen . wu
From: Alex Wu zhiwen...@linux.intel.com --- trunk/edje/src/bin/edje_cc_handlers.c |1 + 1 file changed, 1 insertion(+) diff --git a/trunk/edje/src/bin/edje_cc_handlers.c b/trunk/edje/src/bin/edje_cc_handlers.c index eb91ed4..b0b2c26 100644 --- a/trunk/edje/src/bin/edje_cc_handlers.c +++

[E-devel] [PATCH] ecore_wayland: Enable touch on wayland engine.

2012-08-21 Thread zhiwen . wu
From: root root@wzw-desktop.(none) --- trunk/ecore/src/lib/ecore_wayland/ecore_wl_input.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/trunk/ecore/src/lib/ecore_wayland/ecore_wl_input.c b/trunk/ecore/src/lib/ecore_wayland/ecore_wl_input.c index 4f7760b..0b6a693

[E-devel] [PATCH] evas/wayland_egl: Fix evas gl not work on wayland_egl engine.

2012-08-08 Thread zhiwen . wu
From: root root@tizen-Dell-System-XPS-L321X.(none) Bug report at: http://trac.enlightenment.org/e/ticket/1095 evas uses image objects as the gl rendering target. The engine should override the Evas_Func::image_native_set/get method to do engine-specific setup on image objects. This patch

[E-devel] [PATCH 0/3 v3] Add Copy and Paste support for wayland engine

2012-08-03 Thread zhiwen . wu
Changes for v2: 1. Get elementary entry cnp worked on wayland engine. 2. Rebase to commit http://svn.enlightenment.org/svn/e@74816 Changes from v1: 1. According to Robert's comments, in elm_cnp.c, add HAVE_ELEMENTARY_WAYLAND path to explicitly build against wayland engine, add runtime engine

[E-devel] [PATCH 1/3] ecore_wayland: Add Copy and Paste support

2012-08-03 Thread zhiwen . wu
From: Alex Wu zhiwen...@linux.intel.com Add a global Ecore_Wl_Dnd object to handle copy and paste. I think it is more appropriate to name this struct Ecore_Wl_Selection, which is responsible for both dnd and cnp. This patch just cover the copy and paste and not support clear clipboard, due to

[E-devel] [PATCH 2/3] elem_cnp: Add Copy and Paste support for wayland.

2012-08-03 Thread zhiwen . wu
From: Alex Wu zhiwen...@linux.intel.com Just support type of ELM_SEL_TYPE_CLIPBOARD. Use HAVE_ELEMENTARY_WAYLAND macro to build againt wayland engine, and use elm_win_wl_window_get() run-time engine check. --- trunk/elementary/src/lib/elm_cnp.c | 121 +++- 1 file

[E-devel] [PATCH 3/3] wayland: Add cnp functionality for elementary entry widget.

2012-08-03 Thread zhiwen . wu
From: Alex Wu zhiwen...@linux.intel.com --- trunk/ecore/src/lib/ecore_wayland/Ecore_Wayland.h |1 + trunk/ecore/src/lib/ecore_wayland/ecore_wl_dnd.c |9 + trunk/elementary/src/lib/elm_cnp.c|5 +++-- trunk/elementary/src/lib/elm_entry.c | 12

[E-devel] [PATCH] evas/elementary: Fix hoversel test segfault on wayland engine

2012-08-01 Thread zhiwen . wu
From: Alex Wu zhiwen...@linux.intel.com Bug report at http://trac.enlightenment.org/e/ticket/1235 The hoversel widget has a hover object internally to prompt item list. Once user click at the prompted area, the hover will dispear. Internally, the function stack like this: _on_hover_clicked()--

[E-devel] [PATCH 0/2 v2] Add Copy and Paste support for wayland engine

2012-08-01 Thread zhiwen . wu
Changes from v1: 1. According to Robert's comments, in elm_cnp.c, add HAVE_ELEMENTARY_WAYLAND path to explicitly build against wayland engine, add runtime engine checking. 2. Rebase to the latest code. The following changes since commit 9551f66bed1fb7dab7fdcadb175077ed2d34b783: [elm]

[E-devel] [PATCH 1/2 v2] ecore_wayland: Add Copy and Paste support

2012-08-01 Thread zhiwen . wu
From: Alex Wu zhiwen...@linux.intel.com Add a global Ecore_Wl_Dnd object to handle copy and paste. I think it is more appropriate to name this struct Ecore_Wl_Selection, which is responsible for both dnd and cnp. This patch just cover the copy and paste and not support clear clipboard, due to

[E-devel] [PATCH 2/2 v2] elem_cnp: Add Copy and Paste support for wayland.

2012-08-01 Thread zhiwen . wu
From: Alex Wu zhiwen...@linux.intel.com Just support type of ELM_SEL_TYPE_CLIPBOARD. Use HAVE_ELEMENTARY_WAYLAND macro to build againt wayland engine, and use elm_win_wl_window_get() run-time engine check. --- trunk/elementary/src/lib/elm_cnp.c | 121 +++- 1 file

[E-devel] [PATCH 0/2] This patch set add Copy and Paste support for wayland backend.

2012-07-26 Thread zhiwen . wu
Ecore_Wayland: Test for a valid surface before we try to process the pointer_enter event. (2012-07-26 07:23:32 +) Alex Wu (2): ecore_wayland: Add Copy and Paste support elem_cnp: Add Copy and Paste support for

[E-devel] [PATCH 2/2] elem_cnp: Add Copy and Paste support for wayland.

2012-07-26 Thread zhiwen . wu
From: Alex Wu zhiwen...@linux.intel.com Just support type of ELM_SEL_TYPE_CLIPBOARD. If not define HAVE_ELEMENTARY_X, the wayland path will be built. --- trunk/elementary/src/lib/elm_cnp.c | 119 +++- 1 file changed, 117 insertions(+), 2 deletions(-) diff --git

[E-devel] [PATCH] evas/wayland_egl: Fix segfault when doing alpha setting in elmentary.

2012-07-23 Thread zhiwen . wu
From: Alex Wu zhiwen...@linux.intel.com When calling elm_win_alpha_set(), the global EGLContext object keep unchanged, but the new EGLSurface object subjects to the new EGLConfig with changed alpha_size. This makes eng_window_new() failed and hence free the Render_Engine object

[E-devel] [PATCH] evas/wayland_egl: Fix segfault when doing alpha setting in elementary.

2012-07-16 Thread zhiwen . wu
From: Alex Wu zhiwen...@linux.intel.com The current wayland_egl engine uses a global singleton EGLContext object to render context. All Evas_GL_Wl_Window objects, which wraps EGLSurface, share this object, so we have no chance to differentiate the frame buffer configuration for each EGLSurface.

[E-devel] [PATCH] evas_engine: Fix == repo for wayland_egl

2012-06-26 Thread zhiwen . wu
From: Alex Wu zhiwen...@linux.intel.com --- src/modules/engines/wayland_egl/evas_engine.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/engines/wayland_egl/evas_engine.c b/src/modules/engines/wayland_egl/evas_engine.c index 48c0f99..a61f711 100644 ---

[E-devel] [PATCH] Wayland: Fix not add input.

2012-05-23 Thread zhiwen . wu
From: Alex Wu zhiwen...@linux.intel.com wl_seat adopation patch didn't change the interface name from wl_input_device to wl_seat at global object listener handler, so that no input will be added. --- src/lib/ecore_wayland/ecore_wl.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[E-devel] [PATCH] Wayland: Port ecore to the wl_seat

2012-05-21 Thread zhiwen . wu
From: Alex Wu zhiwen...@linux.intel.com This commit tracks the changes in wayland input protocol from wl_input_device to wl_seat. --- src/lib/ecore_wayland/Ecore_Wayland.h |6 +- src/lib/ecore_wayland/ecore_wl_input.c | 133 +--