Investigate more optimal way to implement CoreGraphics backend
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 重构
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- macos, rust
调研方向
首先检查现有的 CoreGraphics 后端和关联的 pull request #65,然后研究 IOSurface API 及其 framebuffer 和 pixel-format 约束。将建议的 front/back-buffer 方案与当前实现进行比较,并记录该方案是否可行,或者是否需要更好的方案。
由索引模型根据 Issue 内容生成。
描述
Apparently macOS (and iOS, https://github.com/rust-windowing/softbuffer/issues/43) has a framework called IOSurface for exchanging framebuffers and textures between processes, which sounds similar to the idea behind dmabufs on Linux. I think we should be use IOSurfaces for a front and back buffer, and use IOSurfaceGetBaseAddress to get a pointer to write into for no-copy presentation (https://github.com/rust-windowing/softbuffer/pull/65)? Assuming it can work with the right pixel format.
Or are there issues with this, or a better way?
- 主要语言
- Rust
- 星标
- 507
- 派生
- 85
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
rust-windowing/softbuffer 的其他 Issue
-
DS - X11
难度 3/5 1-2 天 新手友好度 48/100
rust-windowing/softbuffer#368 ·
-
`Buffer<'_>` shouldn't be `Send`可能已有人在做 @Guflly 于 72 天前认领。 未关闭bug DS - Android NDK
难度 4/5 3-5 天 新手友好度 35/100
rust-windowing/softbuffer#347 · 1 条评论 ·
-
Needs Design Work
难度 5/5 一周以上 新手友好度 25/100
rust-windowing/softbuffer#342 · 1 条评论 ·
-
enhancement question
难度 5/5 一周以上 新手友好度 25/100
rust-windowing/softbuffer#338 ·
-
Zero-copying on Android可能已有人在做 @MarijnS95 于 255 天前认领。 未关闭DS - Android NDK enhancement
难度 4/5 3-5 天 新手友好度 35/100
rust-windowing/softbuffer#318 · 2 条评论 ·
查看 rust-windowing/softbuffer 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
-
loongarch64: `unsupported linker arg: --no-rosegment` with rustc 1.100可能已有人在做 @monosans 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 62/100
rust-cross/cargo-zigbuild#503 ·
维护者通常 1 天内回复
-
bug good first issue
难度 2/5 1-3 小时 新手友好度 78/100
rust-lang/a-mir-formality#472 ·
维护者通常 1 天内回复
-
agent:iq3-xxs area: cli duplication enhancement priority: P3 ready-for-agent
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复