Closed w0rm closed 5 years ago
This would be really useful for a project I am working on, is there any time-frame on this being merged/published? Thanks.
@shockham I can’t promise anything because all changes to Native should be discussed with Evan. So we should wait until we gather multiple things together.
@w0rm No worries, have vendored the branch into the project for the time being.
There is a need to read image from the canvas in JavaScript. Due to WebGL nature, you have to enable the preserveDrawingBuffer option in order to be able to do this reliably.
A sample use case might be recording a gif from the WebGL rendering. Originally requested for http://elmation.com in this reddit post but it is possible to do it without exposing gl context.