KhronosGroup / KhronosGroup/WebGL

Update OESVertexArrayObject.js to handle deleted buffers issue

Open
#29 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
2.9k
Forks
703
Avg merge
2d 9h
Merged PRs (30d)
4

Description

sdk/demos/google/resources/OESVertexArrayObject.js is an attempt to emulate the OES_vertex_array_object extension 100% in JavaScript.

One thing that's missing is that it must not let buffers actually get deleted unless they are no longer referenced by any vertex array objects.

Contributor guide

Open the contributing guide

Research direction

Read sdk/demos/google/resources/OESVertexArrayObject.js and trace how buffers are referenced by vertex array objects and deleted. Done means the emulation prevents a buffer from being deleted while any vertex array object still references it, while allowing deletion once no references remain.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.