WebGL in a WebView

44 views
Skip to first unread message

a.r...@gmx.de

unread,
May 8, 2014, 1:53:39 PM5/8/14
to androi...@googlegroups.com
Good evening!

WebViews created by AndroidScript seem not to support WebGL "out of the box" - while, e.g., Chrome does.

How can I configure WebGL for WebView controls?

The benefit would be: 3d graphics for AndroidScript!

Kind regards,

Andreas Rozek

Paul Hutson

unread,
May 8, 2014, 4:11:45 PM5/8/14
to androi...@googlegroups.com
Could you use something like three.js?

Paul

Dave Smart

unread,
May 8, 2014, 5:00:54 PM5/8/14
to androi...@googlegroups.com
Sorry Guys, WebGL is not supported in the KitKat WebView... You can blame Google for that. I'm told it should arrive in the next version of Android (hopefully).

Regards
David

a.r...@gmx.de

unread,
May 8, 2014, 11:26:21 PM5/8/14
to androi...@googlegroups.com
What a pity...

But still thanks for the info!

@Paul: even Three.js would need WebGL "under the hood" for better performance (although it also has a CanvasRenderer as a fallback solution, as far as I know)

Kind regards,

Andreas Rozek
Reply all
Reply to author
Forward
0 new messages