NVIDIA EGLStream controller
- external
attach_eglstream_consumer(wl_surface: object<wl_surface>, wl_resource: object<wl_buffer>)
参数 | 类型 | 描述 |
|---|---|---|
| wl_surface | object<wl_surface> | wl_surface corresponds to the client surface associated with newly created eglstream |
| wl_resource | object<wl_buffer> | wl_resource corresponding to an EGLStream |
从给定的 wl_buffer 创建相应的服务器端 EGLStream 并附加消费者。
attach_eglstream_consumer_attribs(wl_surface: object<wl_surface>, wl_resource: object<wl_buffer>, attribs: array)
参数 | 类型 | 描述 |
|---|---|---|
| wl_surface | object<wl_surface> | wl_surface corresponds to the client surface associated with newly created eglstream |
| wl_resource | object<wl_buffer> | wl_resource corresponding to an EGLStream |
| attribs | array | Stream consumer attachment attribs List of attributes with consumer attachment data It contains key-value pairs compatible with intptr_t type. A key must be one of wl_eglstream_controller_attrib enumeration values. What a value represents is attribute-specific. |
从给定的 wl_buffer 创建相应的服务器端 EGLStream 并使用给定属性附加消费者。
attrib { present_mode, fifo_length }
参数 | 值 | 描述 |
|---|---|---|
| present_mode | 0 | 告诉服务器期望的呈现模式 |
| fifo_length | 1 | 告诉服务器在期望的 presentation_mode 为 fifo 时期望的 fifo 长度 |
合成器支持
Cage | COSMIC | GameScope | Hyprland | Jay | KWin | Labwc | Louvre | Mir | Muffin | Mutter | niri | phoc | river | Sway | Treeland | Wayfire | Weston | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| wl_eglstream_controller | x | x | x | x | x | x | x | x | x | 1 | x | x | x | x | x | x | x | x |
Copyright
Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
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 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.