react-native-dom icon indicating copy to clipboard operation
react-native-dom copied to clipboard

Modularize view rendering to support alternative/parallel renderers (such as WebGL)

Open vincentriemer opened this issue 6 years ago • 2 comments

vincentriemer avatar Dec 01 '17 17:12 vincentriemer

Nice work on react-native-dom! I've been spending some time digging into WebGL UI rendering for WebVR, and when the time comes to consider it for RNDom this might be a good project to review. This is my fork, the original project has been set aside by the author, but I intend to continue developing it:

https://github.com/gfodor/react-surface

It uses PIXI.js to basically draw primitive surface elements which are akin to RN Views. Probably could provide a reasonable starting point if PIXI seems like a reasonable renderer to use for RNDom's WebGL target.

gfodor avatar May 30 '18 22:05 gfodor

I did some experimenting with PIXI and while it's really nice it's also really heavy. I think when we do eventually go down this route it'll require a far more focused & lean renderer, and for all we know it may be a larger win to build something from the upcoming WebGPU spec instead of WebGL.

vincentriemer avatar Jun 02 '18 13:06 vincentriemer