mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-24 06:59:45 -05:00
wlr_scene: Make wlr_scene_render_output private
This function sidesteps damage tracking and output awareness on buffers/surfaces. This function isn't a great fit for the API. Let's also inline the function and simplify it.
This commit is contained in:
parent
933ff0e60c
commit
7e383c6a6a
2 changed files with 9 additions and 35 deletions
|
|
@ -225,14 +225,6 @@ struct wlr_scene_node *wlr_scene_node_at(struct wlr_scene_node *node,
|
|||
* Create a new scene-graph.
|
||||
*/
|
||||
struct wlr_scene *wlr_scene_create(void);
|
||||
/**
|
||||
* Manually render the scene-graph on an output. The compositor needs to call
|
||||
* wlr_renderer_begin before and wlr_renderer_end after calling this function.
|
||||
* Damage is given in output-buffer-local coordinates and can be set to NULL to
|
||||
* disable damage tracking.
|
||||
*/
|
||||
void wlr_scene_render_output(struct wlr_scene *scene, struct wlr_output *output,
|
||||
int lx, int ly, pixman_region32_t *damage);
|
||||
/**
|
||||
* Handle presentation feedback for all surfaces in the scene, assuming that
|
||||
* scene outputs and the scene rendering functions are used.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue