mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-17 06:46:39 -04:00
scene: split output code in a separate file
wlr_scene.c is getting large. Let's split it in half.
This commit is contained in:
parent
af43d3b9e7
commit
e93c9026f6
4 changed files with 1151 additions and 1135 deletions
|
|
@ -5,6 +5,28 @@
|
|||
|
||||
struct wlr_scene *scene_node_get_root(struct wlr_scene_node *node);
|
||||
|
||||
void scene_node_get_size(struct wlr_scene_node *node, int *width, int *height);
|
||||
|
||||
void scene_node_opaque_region(struct wlr_scene_node *node, int x, int y, pixman_region32_t *opaque);
|
||||
|
||||
void scene_surface_set_clip(struct wlr_scene_surface *surface, struct wlr_box *clip);
|
||||
|
||||
void scale_region(pixman_region32_t *region, float scale, bool round_up);
|
||||
|
||||
void output_to_buffer_coords(pixman_region32_t *damage, struct wlr_output *output);
|
||||
|
||||
void scene_output_damage(struct wlr_scene_output *scene_output, const pixman_region32_t *damage);
|
||||
|
||||
void scene_buffer_set_texture(struct wlr_scene_buffer *scene_buffer, struct wlr_texture *texture);
|
||||
|
||||
void update_node_update_outputs(struct wlr_scene_node *node,
|
||||
struct wl_list *outputs, struct wlr_scene_output *ignore,
|
||||
struct wlr_scene_output *force);
|
||||
|
||||
typedef bool (*scene_node_box_iterator_func_t)(struct wlr_scene_node *node,
|
||||
int sx, int sy, void *data);
|
||||
|
||||
bool scene_nodes_in_box(struct wlr_scene_node *node, struct wlr_box *box,
|
||||
scene_node_box_iterator_func_t iterator, void *user_data);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue