diff options
author | Alexander Orzechowski <orzechowski.alexander@gmail.com> | 2022-04-06 07:59:54 -0400 |
---|---|---|
committer | Alexander Orzechowski <orzechowski.alexander@gmail.com> | 2022-05-19 14:17:51 -0400 |
commit | 7e383c6a6ae0c794a0e52148d237e90e9e0d5dff (patch) | |
tree | 3eed05425c068e54f7c264460b6ccbbda16bde38 /include/wlr | |
parent | 933ff0e60c423721403b55295bd3d309b010bd8c (diff) |
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.
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_scene.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/wlr/types/wlr_scene.h b/include/wlr/types/wlr_scene.h index b48aeff8..c4b171e3 100644 --- a/include/wlr/types/wlr_scene.h +++ b/include/wlr/types/wlr_scene.h @@ -226,14 +226,6 @@ struct wlr_scene_node *wlr_scene_node_at(struct wlr_scene_node *node, */ 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. * |