Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

tinywl: use wlr_scene #3250

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions include/wlr/types/wlr_scene.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

struct wlr_output;
struct wlr_output_layout;
struct wlr_xdg_popup;

enum wlr_scene_node_type {
WLR_SCENE_NODE_ROOT,
Expand Down Expand Up @@ -298,4 +299,11 @@ bool wlr_scene_attach_output_layout(struct wlr_scene *scene,
struct wlr_scene_node *wlr_scene_subsurface_tree_create(
struct wlr_scene_node *parent, struct wlr_surface *surface);

/**
* Add a node displaying an xdg_popup and all of its sub-surfaces to the
* scene-graph.
*/
struct wlr_scene_node *wlr_scene_xdg_popup_create(
struct wlr_scene_node *parent, struct wlr_xdg_popup *popup);

#endif
Loading