Android 即时应用程序可以使用 OpenGL ES 3.0 吗?

Is it possible to use OpenGL ES 3.0 for Android Instant Apps?

我正在尝试将 OpenGL ES 3.0 用于 Android 即时应用程序,但是 GL_VERSION returns OpenGL ES 2.0 Instant Apps,这意味着它仅支持 OpenGL ES 2.0(并且2.0 分机)。

有什么方法可以使用OpenGL ES 3.0吗? 我试过 <uses-feature android:glEsVersion="0x00030000" android:required="true" /> 但没用。 或者有人知道任何关于 Android Instant Apps 运行时环境的官方文件吗?

如果我按预期使用 <uses-feature android:glEsVersion="0x00030000" android:required="true" />GL_VERSION returns OpenGL ES 3.2 v1.r12p1-03dev0.228ab63cced004f840e7dd47b762a1d0 将我的应用构建为普通 apk。

我正在使用 Samsung Galaxy S7 edge (Android 7.0) 进行测试。

找到 https://issuetracker.google.com/issues/132952558,引用:

OpenGL ES 1.0 is only partially supported for Instant Apps, we do not recommend you to use this.

OpenGL ES 2.0 is fully supported for Instant Apps.

Additionally, OpenGL ES 3.0 is not supported on pre-O Instant Apps.

This was previously documented somewhere, but not anymore, so we’re working on getting these details back in.