Bug 71780 - ETC2 formats not returned by glGet with GL_ARB_ES3_compatibility
Summary: ETC2 formats not returned by glGet with GL_ARB_ES3_compatibility
Status: RESOLVED NOTABUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: 9.1
Hardware: x86 (IA32) Linux (All)
: medium minor
Assignee: Ian Romanick
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-19 10:21 UTC by Stanislav Vorobiov
Modified: 2013-11-19 20:38 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Stanislav Vorobiov 2013-11-19 10:21:31 UTC
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
Comment 1 Ian Romanick 2013-11-19 20:38:22 UTC
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.