mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-03 09:01:40 -05:00
surface: move impl to types/wlr_{sub,}compositor.c
This commit is contained in:
parent
4ec683ad1c
commit
36b5d5888c
5 changed files with 1433 additions and 1466 deletions
|
|
@ -1,20 +0,0 @@
|
|||
#ifndef TYPES_WLR_SURFACE_H
|
||||
#define TYPES_WLR_SURFACE_H
|
||||
|
||||
#include <wlr/types/wlr_surface.h>
|
||||
|
||||
struct wlr_renderer;
|
||||
|
||||
/**
|
||||
* Create a new surface resource with the provided new ID.
|
||||
*/
|
||||
struct wlr_surface *surface_create(struct wl_client *client,
|
||||
uint32_t version, uint32_t id, struct wlr_renderer *renderer);
|
||||
|
||||
/**
|
||||
* 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);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue