[Fire HD 8 and HD 10 Original Android Development] psi78:
Has this rom full support/proper config of Opengl AEP? (android extension pack / https://developer.android.com/reference/android/opengl/GLES31Ext / https://www.khronos.org/registry/OpenGL/extensions/ANDROID/ANDROID_extension_pack_es31a.txt )

Or would it be even be possible to compile this rom using opengl es 3.2 drivers (which already include the AEP)? I'm not sure if suez's PowerVR GX6250 supports Opengl ES 3.2 on a hardware side though, i think it only supports 3.1.

I can see with apps like Simple Opengl-ES info ( https://play.google.com/store/apps/details?id=com.agung.apps.SimpleOpenGLESInfo) that the gpu driver of this rom supports Opengl ES 3.1 and the android extension pack.

There seems to be a system/build.prop or something on this rom which leads to a google playstore app like Gwent not meeting the requirements though.

The gwent website says the Android requirements are

Requires Android 7.0 or later using OpenGL ES 3.1 (+AEP) or 3.2.

Memory: 2 GB RAM

So in theory suez with this rom should meet the requirements now, but apparently for some reason google playstore says your device isn't compatible with this app (https://play.google.com/store/apps/details?id=com.cdprojektred.gwent&gl=US)

On the app side the Opengl requirement may be configured in the AndroidManifest.xml, as noted here:

OpenGL ES | Android Developers

developer.android.com

-----

"Adding this declaration causes Google Play to restrict your application from being installed on devices that do not support OpenGL ES 2.0. If your application is exclusively for devices that support OpenGL ES 3.0, you can also specify this in your manifest:

(...)

For OpenGL ES 3.1:

<!-- Tell the system this app requires OpenGL ES 3.1. -->

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

----

The system.prop of this suez rom contains the correct value there for the opengl es version 3.1 (/system/build.prop says "ro.opengles.version=196609" which is 30001 as a hex value)

but something seems to be missing, maybe the AEP property configuration?

The site https://developer.android.com/guide/topics/graphics/opengl says also:

"To verify that the platform version supports the AEP, use the hasSystemFeature(String) method, passing in FEATURE_OPENGLES_EXTENSION_PACK as the argument. The following code snippet shows an example of how to do so:

KotlinJava

var deviceSupportsAEP: Boolean =

packageManager.hasSystemFeature(PackageManager.FEATURE_OPENGLES_EXTENSION_PACK)

If the method returns true, AEP is supported."

PS: Also using aurora store for fdroid (instead of google playstore) with this suez rom leads to the gwent app being filtered out and doesn't work.

Installing Gwent on maverick/Fire HD 2019 (with Amazon stock rom/Android 9 and Google playstore installed by apk) works on the other hand, even as playstore says the device is uncertified. Maverick has a different gpu though (Mali-G72 MP3) and the stock rom drivers there support Opengl ES 3.2.

PPS: hmm, maybe it's also the Ram requirement, Maverick has 2GB of hardware memory with additional zram

Edit: i think the playstore checks for aep support if specified in an apps AndroidManifext.xml like this

<uses-feature android:name="android.hardware.opengles.aep"

android:required="true" />

as mentioned here

OpenGL ES | Android Developers

developer.android.com

So, not sure what's exactly needed for the rom to support that, a sample xml file is here: https://android.googlesource.com/pl...se/data/etc/android.hardware.opengles.aep.xml

a device makefile where it is mentioned for example here:

android-device-qti-msm8996/msm8996.mk at master · David112x/android-device-qti-msm8996

Qualcomm MSM8996 device-tree . Contribute to David112x/android-device-qti-msm8996 development by creating an account on GitHub.

github.com

"

#FEATURE_OPENGLES_EXTENSION_PACK support string config file

PRODUCT_COPY_FILES += \

frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml

"

Disclaimer: I'm not responsible for the content of the linked websites or any harm done to you or your devices.