[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Public WebGL] WEBGL_get_buffer_sub_data_async



This extension https://www.khronos.org/registry/webgl/extensions/WEBGL_get_buffer_sub_data_async/ has been introduced and elevated to draft without any public discussion.

In a nutshell it proposes a new WebGL2 function called getBufferSubDataAsync which returns a promise that will be called eventually with the buffer data.

I think there are several problems:
  1. The extension process states that "Extensions move through four states during their development: proposed, draft, community approved, and Khronos ratified"This extension never moved through the proposal stage.
  2. The extension introduces promises to the WebGL API. This requires a more fundamental discussion.
  3. A discussion if this extension is required if WebWorkers can access the same context as the main thread has not happened.
This extension should be in proposal status, and the necessary discussions should happen first.