Re: seat_get_touch not being called

2012-12-04 Thread Pekka Paalanen
On Mon, 3 Dec 2012 20:45:14 + Keller Alexander-B42067 b42...@freescale.com wrote: I have been trying to get my touchscreen inputs to work on Wayland, and everytime the screen is touched I get an error saying couldn't find resource. I get that error because my seat-touch-resource_list is

[no subject]

2012-12-04 Thread Rob Bradford
This patch should be squashed with Move matrix.[ch] to shared ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

[PATCH] build: Move matrix building to non-Cairo shared library

2012-12-04 Thread Rob Bradford
From: Rob Bradford r...@linux.intel.com The rebase seemed to break this. --- shared/Makefile.am | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/shared/Makefile.am b/shared/Makefile.am index 90d8ed6..faf073d 100644 --- a/shared/Makefile.am +++ b/shared/Makefile.am @@

[PATCH v2 weston 0/7] Server side wl_buffer.release

2012-12-04 Thread Pekka Paalanen
Hi Kristian, this is the rebased and modifed version of the server side wl_buffer.release series. Changes since v1: - rebased - added struct weston_buffer_reference to consolidate the destroy handler functions - shm flush on destroy is now a separate patch instead of in the gl patch -

[PATCH v2 weston 1/7] compositor: do not release if re-attaching buffer

2012-12-04 Thread Pekka Paalanen
If a client called wl_surface.attach with the same wl_buffer as previously, the compositor would mistakenly send a release on that buffer. This will cause problems only when clients start to properly use the wl_buffer.release event. Do not send wl_buffer.release if the same buffer is attached

[PATCH v2 weston 2/7] compositor: do not flush shm buffer on destroy

2012-12-04 Thread Pekka Paalanen
The protocol does not require us to flush_damage() on wl_buffer destruction. In fact, by the time the server receives this request, the client may have already clobbered the buffer's storage, so we could be reading undefined data. Instead, just forget about the buffer. The protocol already says,

[PATCH v2 weston 3/7] compositor: introduce weston_buffer_reference

2012-12-04 Thread Pekka Paalanen
The wl_buffer reference counting API has been inconsistent. You would manually increment the refcount and register a destroy listener, as opposed to calling weston_buffer_post_release(), which internally decremented the refcount, and then removing a list item. Replace both cases with a single

[PATCH v2 weston 5/7] compositor: add early wl_buffer.release

2012-12-04 Thread Pekka Paalanen
A client can reliably avoid allocating a second buffer per surface, if the compositor sends the wl_buffer.release event before the frame callback. To enable clients' single-buffering, release the wl_buffer early if possible. Otherwise clients will double-buffer. Releasing early is not possible,

[PATCH v2 weston 7/7] compositor: move texture_damage into renderer private

2012-12-04 Thread Pekka Paalanen
Only the gl_renderer uses this field. Signed-off-by: Pekka Paalanen ppaala...@gmail.com --- src/compositor.c |3 --- src/compositor.h |1 - src/gl-renderer.c | 15 +-- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/src/compositor.c b/src/compositor.c

[PATCH weston 1/2] clients: destroy wl_registry on exit

2012-12-04 Thread Pekka Paalanen
Plug an insignificant memory leak in demo programs that bother to clean up at all. Signed-off-by: Pekka Paalanen ppaala...@gmail.com --- clients/simple-egl.c |1 + clients/simple-shm.c |1 + clients/window.c |1 + 3 files changed, 3 insertions(+), 0 deletions(-) diff --git

Re: Wayland and Weston 1.0

2012-12-04 Thread Jan Engelhardt
On Wednesday 2012-10-24 13:51, Pekka Paalanen wrote: A few folks around me, and myself included, have pondered... It would seem that wayland and its possible compositors all require 3D support, which may require, if no accelerating GPU is installed, the use of software rendering when doing

Re: [PATCH 2/3] editor: add support for invoke_action

2012-12-04 Thread Pekka Vuorela
On 04.12.2012 00:10, Jan Arne Petersen wrote: From: Jan Arne Petersen jpeter...@openismus.com Call invoke_action request when a currently composed word is clicked. Signed-off-by: Jan Arne Petersen jpeter...@openismus.com --- clients/editor.c | 52

Re: [PATCH 1/5] text: add pre-edit styling support to protocol

2012-12-04 Thread Pekka Vuorela
On 30.11.2012 18:01, Jan Arne Petersen wrote: From: Jan Arne Petersen jpeter...@openismus.com Also add a separate preedit-cursor event and add a commit argument to preedit-string to allow to support commit on reset. Fix editor and keyboard example to adapt to the protocol changes. [...] diff

Re: [PATCH 1/3] text: Add content type support to text protocol

2012-12-04 Thread Jan Arne Petersen
On 12/03/2012 09:26 PM, Pekka Vuorela wrote: On ma, 2012-12-03 at 15:15 +0100, Jan Arne Petersen wrote: From: Jan Arne Petersen jpeter...@openismus.com Support content types in text protocol. Content is defined by a hint bitmask and a purpose field. +++ b/protocol/text.xml @@ -83,8 +83,42

Re: [PATCH 1/5] text: add pre-edit styling support to protocol

2012-12-04 Thread Jan Arne Petersen
On 12/04/2012 09:51 PM, Pekka Vuorela wrote: On 30.11.2012 18:01, Jan Arne Petersen wrote: From: Jan Arne Petersen jpeter...@openismus.com Also add a separate preedit-cursor event and add a commit argument to preedit-string to allow to support commit on reset. Fix editor and keyboard example

Re: [PATCH 2/3] editor: add support for invoke_action

2012-12-04 Thread Jan Arne Petersen
On 12/04/2012 09:34 PM, Pekka Vuorela wrote: On 04.12.2012 00:10, Jan Arne Petersen wrote: +[...] + +if (state == WL_POINTER_BUTTON_STATE_PRESSED) +text_model_invoke_action(entry-model, + button, + cursor - entry-cursor); + Click

[PATCH weston 1/9] Add test protocol definition

2012-12-04 Thread U. Artie Eoff
From: U. Artie Eoff ullysses.a.e...@intel.com Signed-off-by: U. Artie Eoff ullysses.a.e...@intel.com --- protocol/Makefile.am | 3 ++- protocol/wayland-test.xml | 55 +++ tests/.gitignore | 3 +++ tests/Makefile.am | 9

[PATCH weston 2/9] tests: Implement test protocol as a weston plugin extension.

2012-12-04 Thread U. Artie Eoff
From: U. Artie Eoff ullysses.a.e...@intel.com The weston test extension, called weston-test.so, can be loaded from the modules configuration option on the command line or in the .ini file. Clients can bind to the wl_test interface to interact with the weston test extension. Signed-off-by: U.

[PATCH weston 4/9] tests: Add weston-test-runner for weston test extension tests

2012-12-04 Thread U. Artie Eoff
From: U. Artie Eoff ullysses.a.e...@intel.com Wayland's test-runner uses a forking method to run each test in its own address space. This technique works well, thus, do the same technique for Weston test extension tests. Signed-off-by: U. Artie Eoff ullysses.a.e...@intel.com ---

[PATCH weston 3/9] tests: Rename weston-test to weston-tests-env

2012-12-04 Thread U. Artie Eoff
From: U. Artie Eoff ullysses.a.e...@intel.com Renamed weston-test test environment script to weston-tests-env to avoid ambiguity with weston-test.c (the weston test extension). Signed-off-by: U. Artie Eoff ullysses.a.e...@intel.com --- tests/Makefile.am | 4 ++-- tests/weston-test | 4

[PATCH weston 5/9] tests: Add weston test client helper methods

2012-12-04 Thread U. Artie Eoff
From: U. Artie Eoff ullysses.a.e...@intel.com Add client boiler plate methods to simplify writing tests that use the weston test extension. Signed-off-by: U. Artie Eoff ullysses.a.e...@intel.com --- tests/weston-test-client-helper.c | 488 ++

[PATCH weston 6/9] tests: Allow weston-tests-env to process different test types

2012-12-04 Thread U. Artie Eoff
From: U. Artie Eoff ullysses.a.e...@intel.com The weston-tests-env script needs to be able to handle weston test extension style tests as well as module style tests. Signed-off-by: U. Artie Eoff ullysses.a.e...@intel.com --- tests/Makefile.am | 2 +- tests/weston-tests-env | 123

[PATCH weston 8/9] tests: Convert event-test to new test interface

2012-12-04 Thread U. Artie Eoff
From: U. Artie Eoff ullysses.a.e...@intel.com Signed-off-by: U. Artie Eoff ullysses.a.e...@intel.com --- tests/.gitignore | 1 + tests/Makefile.am | 9 +- tests/event-test.c | 527 +++-- 3 files changed, 272 insertions(+), 265 deletions(-)

[PATCH weston 7/9] tests: Convert keyboard-test to new test interface

2012-12-04 Thread U. Artie Eoff
From: U. Artie Eoff ullysses.a.e...@intel.com Signed-off-by: U. Artie Eoff ullysses.a.e...@intel.com --- tests/.gitignore | 1 + tests/Makefile.am | 31 +-- tests/keyboard-test.c | 139 +++--- 3 files changed, 68 insertions(+), 103

[PATCH weston 9/9] tests: Convert button-test to new test interface

2012-12-04 Thread U. Artie Eoff
From: U. Artie Eoff ullysses.a.e...@intel.com Signed-off-by: U. Artie Eoff ullysses.a.e...@intel.com --- tests/.gitignore| 1 + tests/Makefile.am | 14 -- tests/button-test.c | 128 +--- 3 files changed, 32 insertions(+), 111