With GL_ARB_ES3_compatibility glGetIntegerv(GL_COMPRESSED_TEXTURE_FORMATS, ...) does not return any of GL_COMPRESSED_R11_EAC..GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC, but they work when passed to glCompressedTexImage2D. glxinfo: OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Desktop x86/MMX/SSE2 OpenGL version string: 3.0 Mesa 9.1.7 OpenGL shading language version string: 1.30 uname -a: Linux xxx 3.11.0-13-generic #20~precise2-Ubuntu SMP Thu Oct 24 21:07:45 UTC 2013 i686 i686 i386 GNU/Linux
They're not supposed to be returned. The intent of this (useless) query was that applications could get enums for unknown formats, pass them to glTexImage[123]D, and have the driver compress the textures. There is no on-line compressor for ETC, ETC2, or EAC formats. Also note that this query has been deprecated in later GL versions.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.