Re: [PATCH v2] Add a new field for compositors to store the gamma encoding of wl_buffers.

2012-10-01 Thread John Kåre Alsaker
busy_count and gamma is only used by compositors. Nothing in the wayland libraries uses these, so they are not defined there. We should probably add a pointer for the compositor to allocate further state too without having to use a map for that. On Mon, Oct 1, 2012 at 9:42 AM, Pekka Paalanen wrot

Re: [PATCH v2] Add a new field for compositors to store the gamma encoding of wl_buffers.

2012-10-01 Thread Pekka Paalanen
On Sun, 30 Sep 2012 01:39:14 +0200 John Kåre Alsaker wrote: > --- > src/wayland-server.h | 1 + > src/wayland-shm.c| 3 +-- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/wayland-server.h b/src/wayland-server.h > index 45cc61c..9fa754f 100644 > --- a/src/wayland-ser

[PATCH v2] Add a new field for compositors to store the gamma encoding of wl_buffers.

2012-09-29 Thread John Kåre Alsaker
--- src/wayland-server.h | 1 + src/wayland-shm.c| 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wayland-server.h b/src/wayland-server.h index 45cc61c..9fa754f 100644 --- a/src/wayland-server.h +++ b/src/wayland-server.h @@ -180,6 +180,7 @@ struct wl_buffer {