Open kainino0x opened 7 years ago
iOS 7.0 devices, including PowerVR SGX 543 and 554 supports sRGB PVRTC throught EXT_pvrtc_sRGB extensions.
How many of those also support ASTC sRGB?
@grorg @kainino0x @kenrussell Is there any will to support these?
If there is customer demand, sure. However this would really only benefit iOS and the tiny number of PowerVR Android devices out there: http://opengles.gpuinfo.org/listreports.php?extension=GL_EXT_pvrtc_sRGB
And given that iOS has deprecated OpenGL ES, it's hard to say how long that last (or how reliably it works).
PVRTC is supported in Metal, see, e.g., MTLPixelFormatPVRTC_RGBA_2BPP, so there is no reason to expect it to disappear from iOS devices or become unreliable just because they've deprecated OpenGL.
My question about ASTC remains unanswered. Recent iOS devices all support it so there is really no need to use PVRTC.
According to this impossible-to-read PDF, the devices with PVRTC but not ASTC are iOS_GPUFamily1_v[1-5]
.
According to this page that means Apple A7 only (and according to this page, that's iPhone 5s, iPad Air, iPad mini 3, iPad mini 2). Everything newer has both.
And the devices that don't have ASTC have either ETC or BP (S3TC?), though ETC doesn't have sRGB, does it?
ETC2 totally has sRGB.
I think we should close this then, unless @grorg wants to pick it up.
Reopening given the info that WebKit only implements the PVRTC extension. We need feedback from Apple as to whether they will implement the WebGL ETC or ASTC extensions. or, if not, would they implement pvrtc_sRGB if we made such an extension.
Consider exposing EXT_pvrtc_sRGB to WebGL.
Discussion here: https://www.khronos.org/webgl/public-mailing-list/public_webgl/1707/msg00027.php