GLES2 doesn't advertise/support GL_EXT_texture_format_BGRA8888

Bug #733457 reported by Alexandros Frantzis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Genesi EfikaMX Support Project
Fix Released
Critical
Matt Sealey

Bug Description

GLES2 doesn't advertise/support the GL_EXT_texture_format_BGRA8888. Instead, it advertises GL_EXT_bgra which isn't an official GLES2 extension. If the meaning of GL_EXT_bgra in this context is the same as the original desktop GL extension, it should (in theory) be easy to add support for GL_EXT_texture_format_BGRA8888.

Note that Cairo GLES2 currently needs the BGRA8888 extension.

Revision history for this message
Matt Sealey (mwsealey) wrote :

GL_EXT_texture_format_BGRA8888 should be supported internally by the driver for everything. I am not sure of the consequences though, as far as I read, glTexImage2D and glTexSubImage2D should accept GL_BGRA_EXT as an argument..

It may be just the extension is misnamed to match some desktop GL code. We're looking into it to make sure it will handle the argument internally (it goes fairly deep down)

Changed in efikamx:
status: New → Confirmed
assignee: nobody → Matt Sealey (mwsealey)
importance: Undecided → Medium
importance: Medium → Critical
Revision history for this message
Matt Sealey (mwsealey) wrote :

Looks like GL_BGRA in the headers should have been GL_BGRA_EXT. I can't see any problems updating to use this and publish the correct extension name.

Genesi guys: Please leave the bug as Fix Committed until we work out if this had any strange effects, even if we release it..

Changed in efikamx:
status: Confirmed → Fix Committed
Revision history for this message
Matt Sealey (mwsealey) wrote :

No strange effects, this is just a move from 1.1 to 1.2 of the http://www.khronos.org/registry/gles/extensions/EXT/EXT_texture_format_BGRA8888.txt extension.

Changed in efikamx:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.