On Tue, Aug 7, 2012 at 2:15 PM, Ander Conselvan de Oliveira
<conselv...@gmail.com> wrote:
> void
> wl_shm_mapping_set_resize_behavior(struct wl_shm_mapping *mapping,
>                                    enum wl_shm_mapping_resize_behavior
> behavior);
>
> Or maybe have that as flags for wl_shm_mapping_create(). But the former is a
> change that can be done in the future without breaking the API.

How about adding that enum as argument to _allocate() function? That
would give the user a little more control. Like: Alloc multiple small
buffers with WL_SHM_MAPPING_RESIZE_DOUBLE, then alloc a single bigger
buffer with WL_SHM_MAPPING_RESIZE_ADD_SIZE.

Thanks,
Andre
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to