NVIDIA EGLStream controller


attach_eglstream_consumer(wl_surface: object<wl_surface>, wl_resource: object<wl_buffer>)
参数
类型
描述
wl_surfaceobject<wl_surface>
wl_surface corresponds to the client surface associated with newly created eglstream
wl_resourceobject<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_surfaceobject<wl_surface>
wl_surface corresponds to the client surface associated with newly created eglstream
wl_resourceobject<wl_buffer>
wl_resource corresponding to an EGLStream
attribsarray
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 并使用给定属性附加消费者。

present_mode { dont_care, fifo, mailbox } 
参数
描述
dont_care0
让服务器决定呈现模式
fifo1
使用 fifo 呈现模式
mailbox2
使用 mailbox 模式
流呈现模式

参数
描述
present_mode0
告诉服务器期望的呈现模式
fifo_length1
告诉服务器在期望的 presentation_mode 为 fifo 时期望的 fifo 长度
流消费者附加属性


合成器支持

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_controller
x
x
x
x
x
x
x
x
x
1
x
x
x
x
x
x
x
x

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.

Footer

© 2026 Wayland Explorer

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

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