Please bring back X11DRV_GET_DRAWABLE (winex11.drv, needed by nine)

未关闭
#161 2 条评论 7 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
c

调研方向

首先检查提交 96b82203f192eade6910f4ac2ecb188e27d22feb,以及 X11DRV_GET_DRAWABLE 周围的 winex11.drv 代码。检查 gallium nine 期望如何访问 X drawable,然后确定恢复此函数是否与 standalone nine 集成相匹配;完成的标准是 nine 可以在不直接访问 Wine 内部结构的情况下与 Proton 一起工作。

由索引模型根据 Issue 内容生成。

描述

Hey there.

Despite what the original commit removing the function said, it's not unused:

https://github.com/ValveSoftware/wine/commit/96b82203f192eade6910f4ac2ecb188e27d22feb

Indeed it's used by ... gallium nine.

Having gallium nine work with proton has been something requested many times by users:
https://github.com/iXit/wine-nine-standalone/issues/131

Since wine devs didn't want nine do be part of the wine package, nine cannot access wine internal structures. Since we don't present through gl or vk, nine needs to get the X drawable somehow. And that's exactly what this function enables nine to do.
I don't see any other way nine could work without this function (or a remplacement one, but let's keep the code similar with the main wine tree, right ?)
I don't think adding back the function hurts anything, so...

主要语言
C
星标
2.1k
派生
564
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ValveSoftware/wine 的其他 Issue

查看 ValveSoftware/wine 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。