分享

对于Android的WebView启用WebGL的支持

 quasiceo 2016-08-02

对于Android的WebView启用WebGL的支持(Enabling WebGL support for Android WebView)

Android IT屋
问 题

I need to display WebGL graphics in my webview. Is there any way to modify Android WebView to enable WebGL. If yes, How?

解决方案

WebGL was not supported in WebViews before Android Lollipop. In KitKat, Android switched to Chromium as the native WebView implementation, but it is locked to Chromium 33, with no WebGL. In Lollipop, WebView is updated via the Play Store, and now supports WebGL. (source: https://developer./multidevice/webview/overview)

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:///#feat=transforms3d

本文地址:IT屋 ? Enabling WebGL support for Android WebView

问 题

我要在我的WebView显示WebGL的显卡。请问有什么办法可以修改的Andr??oid的WebView启用的WebGL。如果是,如何?

解决方案

不是Android的棒棒堂之前在支持WebGL的WebViews

。在奇巧,机器人切换到铬作为本征web视图的实现,但它已被锁定到铬33,没有WebGL的。在棒棒糖,web视图通过Play商店更新,现在支持WebGL的。 (来源: https://developer./multidevice/webview/overview

想扩展的WebView支持它几乎是不可能的。

您可能会考虑,有一件事是使用CSS 3D转换,而不是WebGL的,那些在Android ICS支持和转发,看到的 http:///#feat=transforms3d

本文地址:IT屋 ? 对于Android的WebView启用WebGL的支持

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多