android webview支持webGl的研究

http://stackoverflow.com/questions/15395245/enabling-webgl-support-for-android-webview

WebGL is not supported even on the latest Android devices, and I don't believe it will be supported before Android switches to Chrome as the native WebView implementation.

Trying to extend WebView to support it is next to impossible.

One thing you might consider, is use CSS 3D transformations instead of WebGL, those are supported on Android ICS and forward, see http://caniuse.com/#feat=transforms3d

Android设备转向Chrom之前不支持WebGL,推荐使用CSS 3D替代WebGL的方案。

目前Android4.4KitKat内核就是4.4的。

WebGL is not supported in current Android webview, you can however use crosswalk-project which is a web runtime that supports WebGL and package it in a android app along with your WebGL app. The latest Intel XDK supports building Android apps with crosswalk runtime.

使用 Intel XDK 把crosswalk-project 运行环境编译进Android app中。

Although it is not possible to enable WebGL for Android WebView, there is an option to have native apps using WebGL for rendering using CocoonJS by Ludei (www.ludei.com). They even have a demo app in Google Play to show some known WebGL demos running even in Android 2.3 devices.

https://play.google.com/store/apps/details?id=com.ludei.demos.webgl

Even running on OUYA!

http://www.youtube.com/watch?v=ypyqkAo1jgo

www.ludei.com发布的CocoonJS即使在Android 2.3上也能实现WebGL。

你可能感兴趣的:(android webview支持webGl的研究)