Signed-off-by: Jason Ekstrand
---
src/wayland-server.c | 25 +
src/wayland-server.h | 40
2 files changed, 33 insertions(+), 32 deletions(-)
diff --git a/src/wayland-server.c b/src/wayland-server.c
index 13b9dc8..3fe9dea 100644
--
This is the first step towards making wl_resource an opaque pointer type.
Signed-off-by: Jason Ekstrand
---
src/wayland-server.c | 44 ++--
src/wayland-server.h | 29 +++--
src/wayland-shm.c| 35 +++--
The implementation in this commit allows for one bit worth of flags. If
more flags are desired at a future date, then the wl_map implementation
will have to change but the wl_map API will not.
Signed-off-by: Jason Ekstrand
---
src/wayland-client.c | 12 ++--
src/wayland-private.h | 13
The original wl_map implementation did no checking to ensures that ids fell
on the correct side of the WL_SERVER_ID_START line. This meant that a
client could send the server a server ID and it would happily try to use
it. Also, there was no distinction between server-side and client-side in
wl_m
This commit series provides a path for making the wl_resource structure opaque
and special-casing wl_buffer.
The first patch in the series is a primarily a bugfix patch for wl_buffer and
is a good idea anyway.
The last patch in the series should not be applied until all direct wl_resource
accesse
Ignore these. Turns out I was trying to fix the wrong issue. New patches
to come
-- Jason Ekstrand
On Wed, May 29, 2013 at 10:06 PM, Jason Ekstrand wrote:
> This commit cleans up the internals of wl_map by splitting it into two
> wl_simple_maps. This both makes the internals cleaner and also