Re: [RFC wayland-protocols 1/1] unstable: add color management protocol

2019-02-13 Thread Sebastian Wick
On 2019-02-14 08:13, Nautiyal, Ankit K via wayland-devel wrote: Hi Sebastian, I am trying to extend Ole's color management protocol [1] to enable a client to pass HDR meta data. Added the modified protocol as weston protocol for the time being. [2] Thanks. That's useful. You have mention

Re: [RFC wayland-protocols 1/1] unstable: add color management protocol

2019-02-13 Thread Nautiyal, Ankit K via wayland-devel
Hi Sebastian, I am trying to extend Ole's color management protocol [1] to enable a client to pass HDR meta data. Added the modified protocol as weston protocol for the time being. [2] You have mention that the proposed protocol, ignores the HDR calibration/profiling, so do you suggest

Re: [RFC wayland-protocols 1/1] unstable: add color management protocol

2019-02-13 Thread Sebastian Wick
On 2019-02-14 05:55, Sharma, Shashank via wayland-devel wrote: Hello Sebastian, My comments inline. Regards Shashank -Original Message- From: wayland-devel [mailto:wayland-devel-boun...@lists.freedesktop.org] On Behalf Of Sebastian Wick Sent: Thursday, February 14, 2019 8:16 AM To:

Re: [RFC wayland-protocols 1/1] unstable: add color management protocol

2019-02-13 Thread Sebastian Wick
Thanks. I don't really know about all the standards so I'll just trust you on this. On 2019-02-14 05:47, Chris Murphy wrote: On Wed, Feb 13, 2019 at 7:55 PM Sebastian Wick wrote: + I suggest ICC spec language. 'ICC-absolute colorimetric' + 'media-relative colorimetric'

RE: [RFC wayland-protocols 1/1] unstable: add color management protocol

2019-02-13 Thread Sharma, Shashank via wayland-devel
Hello Sebastian, My comments inline. Regards Shashank > -Original Message- > From: wayland-devel [mailto:wayland-devel-boun...@lists.freedesktop.org] On > Behalf Of Sebastian Wick > Sent: Thursday, February 14, 2019 8:16 AM > To: wayland-devel@lists.freedesktop.org > Cc: Sebastian Wick

Re: [RFC wayland-protocols 1/1] unstable: add color management protocol

2019-02-13 Thread Chris Murphy
On Wed, Feb 13, 2019 at 7:55 PM Sebastian Wick wrote: > + I suggest ICC spec language. 'ICC-absolute colorimetric' > + 'media-relative colorimetric' > + I think this is 'deviceRGB' although it could be 'unknown'. Practically, it could only be unknown if the values

[RFC wayland-protocols 0/1] Color Management Protocol

2019-02-13 Thread Sebastian Wick
This is yet another color management protocol proposal. It ignores HDR and calibration/profiling on purpose. The general idea here is twofold: 1. clients can create color spaces from ICC profiles and attach them with a render intent to a wl_surface 2. clients can get feedback about which

[RFC wayland-protocols 1/1] unstable: add color management protocol

2019-02-13 Thread Sebastian Wick
This protocol allows clients to attach a color space and rendering intent to a wl_surface. It further allows the client to be informed which color spaces a wl_surface was converted to on the last presented. Signed-off-by: Sebastian Wick --- Makefile.am | 1 +

[PATCH v5 11/11] tests: use fdescfs at *BSD to count fds

2019-02-13 Thread Leonid Bobrov via wayland-devel
Signed-off-by: Leonid Bobrov --- tests/test-helpers.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tests/test-helpers.c b/tests/test-helpers.c index f0c5b28..137c0b8 100644 --- a/tests/test-helpers.c +++ b/tests/test-helpers.c @@ -47,6 +47,11 @@ #else

[PATCH v5 08/11] tests: add OS-specific tracing to runner

2019-02-13 Thread Leonid Bobrov via wayland-devel
Signed-off-by: Leonid Bobrov --- configure.ac| 3 +++ tests/test-runner.c | 22 +- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b8f30e4..19ac93c 100644 --- a/configure.ac +++ b/configure.ac @@ -92,6 +92,9 @@

[PATCH v5 10/11] tests: use OpenBSD replacement for proc

2019-02-13 Thread Leonid Bobrov via wayland-devel
Signed-off-by: Leonid Bobrov --- Makefile.am | 1 + configure.ac | 12 tests/test-helpers.c | 33 +++-- 3 files changed, 44 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 6eefc73..44b58c4 100644 ---

[PATCH v5 05/11] core: define SO_PEERCRED if it's not defined

2019-02-13 Thread Leonid Bobrov via wayland-devel
Signed-off-by: Leonid Bobrov --- src/wayland-os.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wayland-os.h b/src/wayland-os.h index 86685e0..08b38bd 100644 --- a/src/wayland-os.h +++ b/src/wayland-os.h @@ -41,6 +41,9 @@ wl_os_event_create_cloexec(void); int

[PATCH v5 07/11] server: add *BSD credentials support

2019-02-13 Thread Leonid Bobrov via wayland-devel
Signed-off-by: Leonid Bobrov --- configure.ac | 2 ++ src/wayland-server.c | 35 +++ src/wayland-shm.c| 10 ++ 3 files changed, 47 insertions(+) diff --git a/configure.ac b/configure.ac index 414bc92..b8f30e4 100644 --- a/configure.ac +++

[PATCH v5 03/11] client: define EPROTO if it's not defined

2019-02-13 Thread Leonid Bobrov via wayland-devel
Signed-off-by: Leonid Bobrov --- src/wayland-client.h | 4 1 file changed, 4 insertions(+) diff --git a/src/wayland-client.h b/src/wayland-client.h index 9f70fa3..690c446 100644 --- a/src/wayland-client.h +++ b/src/wayland-client.h @@ -39,4 +39,8 @@ #include "wayland-client-core.h"

[PATCH v5 04/11] core: add kqueue support

2019-02-13 Thread Leonid Bobrov via wayland-devel
Signed-off-by: Leonid Bobrov --- Makefile.am | 3 +- configure.ac | 23 +- doc/doxygen/Makefile.am | 3 +- src/{event-loop.c => event-loop-epoll.c} | 6 +- src/event-loop-kqueue.c | 800

[PATCH v5 06/11] tests: support waitpid()

2019-02-13 Thread Leonid Bobrov via wayland-devel
Signed-off-by: Leonid Bobrov --- configure.ac| 4 tests/test-compositor.c | 25 +++-- tests/test-runner.c | 29 - 3 files changed, 55 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index

[PATCH v5 01/11] tests: fix main symbol duplication

2019-02-13 Thread Leonid Bobrov via wayland-devel
So far I got these errors before patching: libtool: link: cc -o .libs/headers-test -pthread -Wall -Wextra -Wno-unused-parameter -g -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden -O2 -pipe tests/headers-test.o tests/headers-protocol-test.o tests/headers-protocol-core-test.o

[PATCH v5 02/11] configure: detect libdl and librt

2019-02-13 Thread Leonid Bobrov via wayland-devel
Signed-off-by: Leonid Bobrov --- Makefile.am | 6 +++--- configure.ac | 16 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index f47d055..489f581 100644 --- a/Makefile.am +++ b/Makefile.am @@ -71,7 +71,7 @@ nodist_include_HEADERS =

[PATCH v5 09/11] shm: use workaround if mremap() is not available

2019-02-13 Thread Leonid Bobrov via wayland-devel
Signed-off-by: Leonid Bobrov --- configure.ac | 4 src/wayland-shm.c | 30 ++ 2 files changed, 34 insertions(+) diff --git a/configure.ac b/configure.ac index 19ac93c..65cc543 100644 --- a/configure.ac +++ b/configure.ac @@ -95,6 +95,10 @@