简体   繁体   English

我可以在运行时选择我的Android应用程序使用的OpenGL版本吗?

[英]Can I choose the OpenGL version my Android app uses at runtime?

Does Android support being able to choose which version of OpenGLES at runtime? Android是否支持能够在运行时选择哪个版本的OpenGLES?

Say I want to run my game on an old Android device that supports only 1.1 and a new Android device that has 2.0. 假设我想在仅支持1.1的旧Android设备和具有2.0的新Android设备上运行游戏。 Can I detect and then choose which version of OpenGLES to instantiate? 我可以检测然后选择要实例化的OpenGLES版本吗?

Might android:glEsVersion work as well from the Manifest? 清单清单中的android:glEsVersion也可以正常工作吗?

I use this to target 1.1.. 我以此为目标1.1 ..

<uses-feature android:required="true" android:glEsVersion="0x00010001" />

Or is the question more like, I want to write code that can use either version and change the code being used at runtime... 还是这个问题更像是,我想编写可以使用这两个版本的代码并更改运行时正在使用的代码...

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我的应用可以选择用户用于身份验证的生物识别类型吗? - Can my app choose the biometric type a user uses to authenticate? Android:如果我选择minSdkVersion = 4和targetSdkVersion =“19”然后在哪个sdk版本我的Android应用程序将被开发? - Android: If I choose minSdkVersion=4 and targetSdkVersion=“19” then in which sdk version my android app will be developed? 我应该选择哪个版本在我的android应用中显示google maps视图? - which version should I choose to show google maps view in my android app? Android - 如何将我的免费应用程序链接到专业版 - Android - How can I link my free app to the Pro version 如何使用Google日历用于我的Android应用程序的日期选择器? - How can I used the date picker that Google Calendar uses for my android app? Android OpenGL错误(在我的应用中不使用OpenGL) - Android OpenGL Error (not using OpenGL in my app) Android studio : 不能选择签名版 - Android studio : Can not choose signature version 如何检测用户首次下载哪个版本的Android应用? - How can I detect which version of my Android app my user first downloaded? 可以选择Android Studio Kotlin版本吗? - Can choose Android Studio kotlin version? 如何在android中使用过的使用功能电话的Google Play中过滤我的平板电脑版本的应用程序? - How to filter my tablet version app in google play whcih used uses-feature telephony in android?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM