ext_image_capture_source_v1
-
# ext_image_capture_source_v1
The image capture source object is an opaque descriptor for a capturable resource. This resource may be any sort of entity from which an image may be derived. Note, because ext_image_capture_source_v1 objects are created from multiple independent factory interfaces, the ext_image_capture_source_v1 interface is frozen at version 1.Requests
-
void ext_image_capture_source_v1_destroy(struct ext_image_capture_source_v1* ext_image_capture_source_v1)Destroys the image capture source. This request may be sent at any time by the client.
-
-
# ext_output_image_capture_source_manager_v1
A manager for creating image capture source objects for wl_output objects.Requests
-
struct ext_image_capture_source_v1* ext_output_image_capture_source_manager_v1_create_source(struct ext_output_image_capture_source_manager_v1* ext_output_image_capture_source_manager_v1,struct wl_output* output)Creates a source object for an output. Images captured from this source will show the same content as the output. Some elements may be omitted, such as cursors and overlays that have been marked as transparent to capturing.
-
void ext_output_image_capture_source_manager_v1_destroy(struct ext_output_image_capture_source_manager_v1* ext_output_image_capture_source_manager_v1)Destroys the manager. This request may be sent at any time by the client and objects created by the manager will remain valid after its destruction.
-
-
# ext_foreign_toplevel_image_capture_source_manager_v1
A manager for creating image capture source objects for ext_foreign_toplevel_handle_v1 objects.Requests
-
struct ext_image_capture_source_v1* ext_foreign_toplevel_image_capture_source_manager_v1_create_source(struct ext_foreign_toplevel_image_capture_source_manager_v1* ext_foreign_toplevel_image_capture_source_manager_v1,struct ext_foreign_toplevel_handle_v1* toplevel_handle)Creates a source object for a foreign toplevel handle. Images captured from this source will show the same content as the toplevel.
-
void ext_foreign_toplevel_image_capture_source_manager_v1_destroy(struct ext_foreign_toplevel_image_capture_source_manager_v1* ext_foreign_toplevel_image_capture_source_manager_v1)Destroys the manager. This request may be sent at any time by the client and objects created by the manager will remain valid after its destruction.
-
Copyright Info
Copyright © 2022 Andri Yngvason
Copyright © 2024 Simon Ser
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice (including the next
paragraph) shall be included in all copies or substantial portions of the
Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.