mirror of
https://github.com/brl/mutter.git
synced 2025-01-27 11:59:12 +00:00
tests/wayland: Make create_shm_buffer() public
It will be needed in a following commit. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1055>
This commit is contained in:
parent
db2cf4b874
commit
fd7ee33337
@ -280,7 +280,7 @@ static const struct wl_buffer_listener buffer_listener = {
|
||||
handle_buffer_release
|
||||
};
|
||||
|
||||
static gboolean
|
||||
gboolean
|
||||
create_shm_buffer (WaylandDisplay *display,
|
||||
int width,
|
||||
int height,
|
||||
|
@ -40,6 +40,13 @@ int create_anonymous_file (off_t size);
|
||||
|
||||
WaylandDisplay * wayland_display_new (WaylandDisplayCapabilities capabilities);
|
||||
|
||||
gboolean create_shm_buffer (WaylandDisplay *display,
|
||||
int width,
|
||||
int height,
|
||||
struct wl_buffer **out_buffer,
|
||||
void **out_data,
|
||||
int *out_size);
|
||||
|
||||
void draw_surface (WaylandDisplay *display,
|
||||
struct wl_surface *surface,
|
||||
int width,
|
||||
|
Loading…
x
Reference in New Issue
Block a user