Deprecation proposal for `Module['ctx']`
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 38/100
- Issue 类型
- 重构
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- cpp, wasm
- 领域
- build-system, web-dev
调研方向
Read CONTRIBUTING.md’s “Deprecating settings and features” process, then inspect the Module['ctx'] assignments in libwebgl.js, libhtml5_webgl.js, and Browser.createContext in libbrowser.js. Begin with a global search for public repository usage; completion requires following the deprecation checklist through warnings, the waiting period, and removal, subject to the project deciding to delay or abort.
由索引模型根据 Issue 内容生成。
描述
Tracking issue for the deprecation and removal of Module['ctx']
Module['ctx'] was an undocumented legacy property populated by WebGL
context activation (libwebgl.js, libhtml5_webgl.js) and main-canvas
context creation (Browser.createContext in libbrowser.js). Because
GL.makeContextCurrent unconditionally assigned to the quoted
Module['ctx'] property, Closure Compiler could not dead-strip it,
adding a few bytes to every WebGL build.
The process for deprecating and removing features from emscripten is laid out
in https://github.com/emscripten-core/emscripten/blob/main/CONTRIBUTING.md#deprecating-settings-and-features.
At any point in the process we may decide to delay or abort the deprecation and close this issue.
Deprecation checklist:
- Open an issue (this)
- Perform global search for usage in public repos
- Send message to emscripten-discuss
- Add "deprecation" warning to emcc
- Wait at least 4 releases or 2 months
- Remove feature from codebase
- 主要语言
- C++
- 星标
- 27.8k
- 派生
- 3.6k
- 平均合并
- 1 天 3 小时
- 30 天内合并 PR
- 179
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
emscripten-core/emscripten 的其他 Issue
-
`other.test_cmake_cxx_import_std` fails on CMake 3.30–4.0.2 due to missing `CMAKE_EXPERIMENTAL_CXX_IMPORT_STD` UUIDs可能已有人在做 @subhaushsingh 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 85/100
emscripten-core/emscripten#28160 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
emscripten-core/emscripten#27994 · 2 条评论 ·
维护者通常 1 天内回复
-
LEGACY_GL_EMULATION: generated fixed-function fragment shaders use mediump — fp16 overflow where mediump is half precision可能已有人在做 @TheTomBritton 于 13 天前认领。 未关闭Desktop OpenGL emulation
难度 2/5 1-3 小时 新手友好度 78/100
emscripten-core/emscripten#27948 · 4 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
emscripten-core/emscripten#27906 · 1 条评论 ·
维护者通常 1 天内回复
-
run_python, run_python_compiler could readlink -f可能已有人在做 @kapouer 于 128 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
emscripten-core/emscripten#27211 · 1 条评论 ·
维护者通常 1 天内回复
查看 emscripten-core/emscripten 的全部 Issue
相似的 Issue
-
难度 1/5 1-3 小时 新手友好度 68/100
eic/TimeframeBuilder#102 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
AcademySoftwareFoundation/OpenImageIO#5662 ·
维护者通常 2 天内回复
-
python
难度 2/5 1-3 小时 新手友好度 67/100
OpenChemistry/avogadrolibs#3295 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 76/100
Tracktion/tracktion_engine#482 ·
维护者通常 1 天内回复