mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-07 13:29:55 -05:00
Split shell object out from compositor.c into its own file
This commit is contained in:
parent
25f0ba4be1
commit
4cca349349
4 changed files with 511 additions and 448 deletions
|
|
@ -141,6 +141,9 @@ struct wlsc_surface {
|
|||
int mapped;
|
||||
};
|
||||
|
||||
void
|
||||
wlsc_surface_update_matrix(struct wlsc_surface *es);
|
||||
|
||||
void
|
||||
notify_motion(struct wl_input_device *device,
|
||||
uint32_t time, int x, int y);
|
||||
|
|
@ -156,6 +159,15 @@ wlsc_compositor_finish_frame(struct wlsc_compositor *compositor, int msecs);
|
|||
void
|
||||
wlsc_compositor_schedule_repaint(struct wlsc_compositor *compositor);
|
||||
|
||||
void
|
||||
wlsc_input_device_set_pointer_image(struct wlsc_input_device *device,
|
||||
enum wlsc_pointer_type type);
|
||||
struct wlsc_surface *
|
||||
pick_surface(struct wl_input_device *device, int32_t *sx, int32_t *sy);
|
||||
|
||||
uint32_t
|
||||
get_time(void);
|
||||
|
||||
struct wl_buffer *
|
||||
wlsc_drm_buffer_create(struct wlsc_compositor *ec,
|
||||
int width, int height,
|
||||
|
|
@ -175,6 +187,19 @@ wlsc_drm_init(struct wlsc_compositor *ec, int fd, const char *filename);
|
|||
int
|
||||
wlsc_shm_init(struct wlsc_compositor *ec);
|
||||
|
||||
int
|
||||
wlsc_shell_init(struct wlsc_compositor *ec);
|
||||
|
||||
void
|
||||
shell_move(struct wl_client *client, struct wl_shell *shell,
|
||||
struct wl_surface *surface,
|
||||
struct wl_input_device *device, uint32_t time);
|
||||
|
||||
void
|
||||
shell_resize(struct wl_client *client, struct wl_shell *shell,
|
||||
struct wl_surface *surface,
|
||||
struct wl_input_device *device, uint32_t time, uint32_t edges);
|
||||
|
||||
struct wl_buffer *
|
||||
wl_buffer_create_drm(struct wlsc_compositor *compositor,
|
||||
struct wl_visual *visual);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue