Dolphin, the GameCube and Wii emulator - Forums
android extension pack appearing as OpenGL ES 3.1 extension. - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support)
+--- Forum: Android (https://forums.dolphin-emu.org/Forum-android)
+--- Thread: android extension pack appearing as OpenGL ES 3.1 extension. (/Thread-android-extension-pack-appearing-as-opengl-es-3-1-extension)



android extension pack appearing as OpenGL ES 3.1 extension. - Nintonito - 11-24-2014

I noticed after the 5.0 upgrade, at the bottom of the ES 3.1 extensions it shows GL_ANDROID_extensionpack_es31a. What the hell does this mean? Is the extension pack using OpenGL in some fashion, or is this just a link to access the pack? I know its not necessarily relavant to dolphin at this point, but I figured I'd get the best explanation here.


RE: android extension pack appearing as OpenGL ES 3.1 extension. - tueidj - 11-24-2014

http://developer.android.com/about/versions/android-5.0.html#Graphics
Quote:The extension pack supports:

Guaranteed fragment shader support for shader storage buffers, images, and atomics (Fragment shader support is optional in OpenGL ES 3.1.)
Tessellation and geometry shaders
ASTC (LDR) texture compression format
Per-sample interpolation and shading
Different blend modes for each color attachment in a frame buffer



RE: android extension pack appearing as OpenGL ES 3.1 extension. - Nintonito - 11-24-2014

(11-24-2014, 09:16 AM)tueidj Wrote: http://developer.android.com/about/versions/android-5.0.html#Graphics
Quote:The extension pack supports:

Guaranteed fragment shader support for shader storage buffers, images, and atomics (Fragment shader support is optional in OpenGL ES 3.1.)
Tessellation and geometry shaders
ASTC (LDR) texture compression format
Per-sample interpolation and shading
Different blend modes for each color attachment in a frame buffer
Ah OK so its bundled into a vendor extension. I was already aware of the what the extension pack did, I just didn't realize they had it integrated into the OpenGL libraries


RE: android extension pack appearing as OpenGL ES 3.1 extension. - Sonicadvance1 - 11-24-2014

It's basically a bundle of openGL extensions that google is pushing as a core set of features for game developers to target their games for.
It mandates some extensions and raises some minimum openGL ES requirements to sane levels for people to support.
The K1 is one of the first SoCs to support this extension under GLES.

The Nexus 6 is another device that advertises this extension, but it also only advertises OpenGL ES 3.0 support, but the extension mandates OpenGL ES 3.1 minimum. So the situation is a bit fuzzy there.

The extension provides a couple of things that Dolphin can take advantage of on GLES 3.1 only devices that don't support desktop GL. Nothing performance critical, more like things like SSAA and potential 3D rendering support.


RE: android extension pack appearing as OpenGL ES 3.1 extension. - Nintonito - 11-24-2014

(11-24-2014, 10:13 AM)Sonicadvance1 Wrote: It's basically a bundle of openGL extensions that google is pushing as a core set of features for game developers to target their games for.
It mandates some extensions and raises some minimum openGL ES requirements to sane levels for people to support.
The K1 is one of the first SoCs to support this extension under GLES.

The Nexus 6 is another device that advertises this extension, but it also only advertises OpenGL ES 3.0 support, but the extension mandates OpenGL ES 3.1 minimum. So the situation is a bit fuzzy there.

The extension provides a couple of things that Dolphin can take advantage of on GLES 3.1 only devices that don't support desktop GL. Nothing performance critical, more like things like SSAA and potential 3D rendering support.

So basically its a watered down port of the extensions from GL 4 onwards. Makes sense, although it really makes you wonder why google didn't just go all in (I know Qualcomm is still a problem). At least I have the shield tablet to begin with, so i have no real need for this wannabe GL extension set.


RE: android extension pack appearing as OpenGL ES 3.1 extension. - tueidj - 11-24-2014

Also has its own manifest tag so can be used by the play store to filter out unsupported devices, which is a bit more user-friendly than letting the app be purchased/installed and then complaining when a required extension isn't found.


RE: android extension pack appearing as OpenGL ES 3.1 extension. - Nintonito - 11-25-2014

(11-24-2014, 12:22 PM)tueidj Wrote: Also has its own manifest tag so can be used by the play store to filter out unsupported devices, which is a bit more user-friendly than letting the app be purchased/installed and then complaining when a required extension isn't found.

That is true, although I can't imagine any apps actually requiring the extension anyways. They would just run with reduced features.