ai / offscreen-canvas

Polyfill for OffscreenCanvas to move Three.js/WebGL/2D canvas to Web Worker
MIT License
335 stars 13 forks source link

Android WebView #15

Open rlaurente opened 4 years ago

rlaurente commented 4 years ago

Does this plugin work on android / ios webview ?

OffscreenCanvas and OffscreenCanvasRenderingContext2D functions are undefined in Android WebView as it doesn't support OffscreenCanvas. My goal is to use this in capacitor apps

Thanks

ai commented 4 years ago

I didn’t test it

armandov91 commented 4 years ago

@rlaurente did you tried this with ionic? Im interested in this also...using tensorflowjs with ionic but when going mobile only cpu backend available and well.. its very slow :)