weston_output_capture ↗
Copyright
Copyright 2020, 2022 Collabora, Ltd. 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.
- weston_capture_v1 — image capture factory
- weston_capture_source_v1 — image capturing source
weston_output_capture
weston_capture_v1
Version 2
- destroy — unbind image capture factory
- error
- source
- create — create an object for capturing output images
Compositor Support
Version 2
weston 15.0.1
image capture factory
The global interface exposing Weston screenshooting functionality intended for single shots.
This is a privileged inteface.
weston_output_capture
weston_capture_source_v1
Version 2
- error
- destroy — cancel the capture, and destroy
- capture — capture an image
- format — pixel format for a buffer
- size — dimensions for a buffer
- complete — capture has completed
- retry — retry image capture with a different buffer
- failed — capture failed
- formats_done — sending formats is complete
image capturing source
An object representing image capturing functionality for a single source. When created, it sends the initial events if and only if the output still exists and the specified pixel source is available on the output.