NVIDIA EGLStream

wl_eglstream

版本 1

参数
描述
bad_alloc0
分配错误
bad_handle1
句柄错误
bad_attribs2
属性错误
bad_address3
IP 地址错误
handle_type { fd, inet, socket } 
参数
描述
fd0
文件描述符
inet1
Inet 连接
socket2
Unix 套接字
流句柄类型

参数
描述
inet_addr0
Inet IPv4 地址
inet_port1
IP 端口
y_inverted2
图像 Y 反转位
流创建属性



create_stream(id: new_id<wl_buffer>, width: int, height: int, handle: fd, type: int, attribs: array)
参数
类型
描述
idnew_id<wl_buffer>
New ID
widthint
Stream framebuffer width
heightint
Stream framebuffer height
handlefd
Handle for the stream creation
typeint
Handle type
attribsarray
Stream extra connection attribs
List of attributes with extra connection data

It contains key-value pairs compatible with intptr_t type. A key must be one of wl_eglstream_display_attrib enumeration values. What a value represents is attribute-specific.

从给定句柄创建 wl_buffer

创建对应于给定句柄的 wl_buffer。属性列表可用于定义额外的 EGLStream 连接数据(如 inet 地址/端口)。 服务器可以使用 wl_buffer 中编码的信息创建其 EGLStream 句柄。

swap_interval(stream: object<wl_buffer>, interval: int)
参数
类型
描述
streamobject<wl_buffer>
wl_buffer corresponding to an EGLStream
intervalint
new swap interval
更改 EGLStream 消费者的交换间隔

设置给定 EGLStream 消费者的交换间隔。交换间隔在服务器端被静默限制在有效范围内。

caps(caps: int)
参数
类型
描述
capsint
Capabilities mask
服务器能力事件

在绑定 wl_eglstream_display 时发送能力事件。 它允许服务器通告其支持的功能,以便客户端知道哪些是安全可用的。

swapinterval_override(swapinterval: int, stream: object<wl_buffer>)
参数
类型
描述
swapintervalint
Server swap interval override value
streamobject<wl_buffer>
wl_buffer corresponding to an EGLStream
服务器交换间隔覆盖事件

当客户端通过 swap_interval() 请求交换间隔设置,且存在覆盖使该请求被忽略时,将发出 swapinterval_override 事件。 swapinterval_override 事件将提供覆盖值,以便客户端知晓。

参数
描述
stream_fd1
使用 FD 的流连接
stream_inet2
流 inet 连接
stream_socket4
流 unix 连接
wl_eglstream_display 能力代码

此枚举值应作为位掩码使用。


合成器支持

Cage
Cage
0.2.0
COSMIC
COSMIC
1.0.0~beta.8
GameScope
GameScope
3.15.14
Hyprland
Hyprland
0.52.1
Jay
1.12.0
KWin
KWin
6.6
Labwc
Labwc
0.9.2
Louvre
Louvre
2.14.1
Mir
Mir
2.26
Muffin
Muffin
6.6.0
Mutter
Mutter
49.2
niri
niri
25.11
phoc
phoc
0.52
river
river
0.3.13
Sway
Sway
1.11
Treeland
Treeland
0.8.0
Wayfire
Wayfire
0.9.0
Weston
Weston
14.0.2
wl_eglstream_display
x
x
x
x
x
x
x
1
x
x
x
x
x
x
x
x
x
x

Copyright (c) 2014-2019, 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.

Footer

© 2026 Wayland Explorer

本网站与 Wayland 官方项目无任何关联。网站所有内容均根据 Wayland 协议 XML 文件自动生成。

本网站使用的 Visual Studio Code - Codicons 遵循 CC BY 4.0 许可。