SDL3将使Wayland至少暂时违约
鉴于Wayland生态系统的某些方面支持状况不佳,双方就SDL 3.0是否应该恢复对Wayland而不是X11的偏好进行了几天的讨论,至少现在SDL 3.0默认支持Wayland。我们可能会在接近发行时重新审视它,看看这个跨平台游戏广泛使用的硬件/软件抽象库对用户的上游支持如何。
Valve Linux图形团队的Joshua Ashton试图将Wayland对X11的偏好恢复为SDL 3.0,因为一些已知的性能角落案例和一些围绕解决与玩家相关的问题的协议仍在上游定居,等待Wayland合成师的采用。这个合并请求在过去几天里引起了一阵风波,现在SDL维护者Sam Lantinga(同样来自Valve)对此事发表了评论。
Lantinga几分钟前就此事发表了评论:
“感谢大家的反馈!
听起来,Wayland的人意识到了这些问题,并在解决这些问题方面取得了进展。我将保留Wayland的默认值,因为他们正在这样做,所以人们更容易测试并向他们提供反馈。当我们接近完整版本时,我们将重新评估这一点。
@Joshua-Ashton,你能否创建影响这一点的单独问题,并在原始合并请求报告中创建一个任务列表,以便跟踪?
我现在要锁定这个话题,这样我们就可以专注于开发。”
So we'll see closer to the SDL 3.0 stable release whether the Wayland support at large for the Linux desktop is in good enough shape or if this next Simple DirectMedia Layer release will continue preferring the X11 (XWayland) route instead. SDL 3.0 is a significant update in general with many new APIs for game developers and other users of this abstraction layer.