mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-06-13 14:32:57 -04:00
Revert previous 3 commits
As suggested by Felix Poisot, it's better to extend the `scene_node_source` rather than turn output based source into another scene based source.
This commit is contained in:
parent
8b95c20250
commit
07ff0a8b1e
2 changed files with 25 additions and 169 deletions
|
|
@ -12,12 +12,10 @@
|
|||
#include <pixman.h>
|
||||
#include <wayland-server-core.h>
|
||||
#include <wlr/render/drm_format_set.h>
|
||||
#include <wlr/backend.h>
|
||||
|
||||
struct wlr_scene_node;
|
||||
struct wlr_allocator;
|
||||
struct wlr_renderer;
|
||||
struct wlr_output_layout;
|
||||
|
||||
/**
|
||||
* A screen capture source.
|
||||
|
|
@ -81,24 +79,12 @@ struct wlr_ext_image_capture_source_v1_cursor {
|
|||
*/
|
||||
struct wlr_ext_output_image_capture_source_manager_v1 {
|
||||
struct wl_global *global;
|
||||
struct wl_display *display;
|
||||
struct wlr_scene *scene;
|
||||
struct wlr_output_layout *layout;
|
||||
|
||||
struct {
|
||||
struct wl_listener display_destroy;
|
||||
} WLR_PRIVATE;
|
||||
struct wlr_backend *headless_backend;
|
||||
};
|
||||
|
||||
void wlr_ext_output_image_capture_source_manager_v1_set_layout(
|
||||
struct wlr_ext_output_image_capture_source_manager_v1 *manager,
|
||||
struct wlr_output_layout *layout);
|
||||
|
||||
void wlr_ext_output_image_capture_source_manager_v1_set_scene(
|
||||
struct wlr_ext_output_image_capture_source_manager_v1 *manager,
|
||||
struct wlr_scene *scene);
|
||||
|
||||
/**
|
||||
* Interface exposing one screen capture source per foreign toplevel.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue