More structured output for debug marks (equivalent to glPushDebugGroup)
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- typescript
调研方向
首先跟踪现有的 window.spector.setMarker 和 window.spector.clearMarker 入口点,并审查它们与 #170 的关系。将所请求的行为与 glPushDebugGroup 和 glPopDebugGroup 进行比较,然后确定嵌套组应如何显示在捕获的渲染视图中。完成的标准是调用方可以创建和关闭嵌套调试组,并将其作为可折叠条目进行检查。
由索引模型根据 Issue 内容生成。
描述
In desktop GL, there's glPushDebugGroup and glPopDebugGroup which work similar to window.spector.setMarker and window.spector.clearMarker.
However, the GL way of doing it is better, because it's structured. It's possible to contain one group in another one.
Most debugging tools will visualize these groups with foldable-log entries.
This makes it possible to get a high-level overview of each rendering step in a folded/collapsed list. Users can unfold/uncollapse individual entries, and do this recursively until they find the draw calls they care about.
With projects like https://github.com/maplibre/maplibre-gl-js (map rendering) there can be hundreds of layers (water, grass, roads, ..) on a map. With groups, one could collapse these layers. Within each layers, one could have other high-level entries like "data-upload" and "rendering".
For the desktop variant of mapbox (which maplibre is based on), this is already done with debug-groups.
In GPU or API emulators it's possible to represent guest-system graphics actions by a handful of host-system API calls. So grouping these together can provide a guest-API view. (Example: When porting an application, creating a group for Direct3D draw calls, which internally call OpenGL backend functions - in collapsed view, only the Direct3D API would be shown).
However, there are probably many other applications for this.
This would also be necessary for #170.
- 主要语言
- TypeScript
- 星标
- 1.6k
- 派生
- 193
- 平均合并
- 12 分钟
- 30 天内合并 PR
- 2
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
BabylonJS/Spector.js 的其他 Issue
-
Invalid RegularExpression causes failure on loading of script bundled with Spector.js on IOS <= 15未关闭
难度 2/5 1-3 小时 新手友好度 70/100
BabylonJS/Spector.js#419 ·
-
难度 4/5 3-5 天 新手友好度 35/100
BabylonJS/Spector.js#299 · 2 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
BabylonJS/Spector.js#277 · 5 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
BabylonJS/Spector.js#184 · 2 条评论 · 2 个 reaction ·
-
Add Remote Device Capture可能重新可做 @sebavan 于 3318 天前认领,目前没有进行中的 PR。 未关闭enhancement
BabylonJS/Spector.js#79 · 4 条评论 · 已指派 1 人 ·
查看 BabylonJS/Spector.js 的全部 Issue
相似的 Issue
-
Add: Alfa Dramas未关闭check:passed streams:add
难度 1/5 1 小时以内 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
moq-dev/moq#10463 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
ardia-browser/ardia#6391 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
liberation-data/desk#68 ·
维护者通常 1 天内回复
-
usability
难度 2/5 1-3 小时 新手友好度 88/100
inmanta/web-console#8165 ·
维护者通常 1 天内回复