cginternals / cginternals/webgl-operate

Add facility for debugging webgl calls

Open
#92 0 comments 1 reaction 0 assignees View on GitHub
question
Dominant language
TypeScript
Stars
170
Forks
25
PR merge metrics
No merged PRs in 30d

Description

It would be good to have a possibility to register a callback for all webgl errors.
Khronos describes how that can be done: https://www.khronos.org/webgl/wiki/Debugging
They have a repo containing helpers https://github.com/KhronosGroup/WebGLDeveloperTools
Someone also put it on npm: https://github.com/vorg/webgl-debug

We could try to integrate their code, or write something similar ourselves.
We should try if Khronos' approach supports webgl2.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Khronos WebGL Debugging documentation and compare the WebGLDeveloperTools and vorg/webgl-debug repositories. Determine whether the described callback approach supports WebGL2, then identify how it could fit into this TypeScript WebGL framework. Done means a defined integration approach for registering callbacks on WebGL errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.