2021-03-30 10:17:15 +02:00
|
|
|
#ifndef TYPES_WLR_SURFACE_H
|
|
|
|
#define TYPES_WLR_SURFACE_H
|
|
|
|
|
|
|
|
#include <wlr/types/wlr_surface.h>
|
|
|
|
|
|
|
|
struct wlr_renderer;
|
|
|
|
|
|
|
|
/**
|
2021-03-30 10:19:29 +02:00
|
|
|
* Create a new surface resource with the provided new ID.
|
2021-03-30 10:17:15 +02:00
|
|
|
*/
|
|
|
|
struct wlr_surface *surface_create(struct wl_client *client,
|
|
|
|
uint32_t version, uint32_t id, struct wlr_renderer *renderer);
|
|
|
|
|
2021-06-29 13:41:47 +02:00
|
|
|
/**
|
|
|
|
* Create a new subsurface resource with the provided new ID.
|
|
|
|
*/
|
|
|
|
struct wlr_subsurface *subsurface_create(struct wlr_surface *surface,
|
|
|
|
struct wlr_surface *parent, uint32_t version, uint32_t id);
|
|
|
|
|
2021-03-30 10:17:15 +02:00
|
|
|
#endif
|