[Mesa-dev] [PATCH 1/2] mesa: support internalFormat=GL_BGRA in TexImage2D

Benjamin Franzke benjaminfranzke at googlemail.com
Sat Jan 22 08:42:22 PST 2011


2011/1/18 Brian Paul <brian.e.paul at gmail.com>:
>
> Before we commit this stuff can you develop a piglit test to test it?
>

The problem for me is that piglit is GL-only atm. so its not trival to
write a simple gles2 test-program, as changes to piglit-util would be
needed.
It would be important for people wanting to contribute to wayland
(without having an intel driver, which already advertises
texture_format_bgra8888) that this is added to mesa without having a
piglit test yet.

I attach the 3 patches (that were already sent in a bit different
form) in correct order + 1 Patch that ensures internalFormat==format
in gles' glTexImage2D.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mesa-allow-internalFormat-GL_BGRA_EXT-in-TexImage2D.patch
Type: text/x-patch
Size: 962 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110122/419fffd9/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-mesa-es-require-internalFormat-format-in-TexImage2D.patch
Type: text/x-patch
Size: 2422 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110122/419fffd9/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-st-mesa-support-internalFormat-GL_BGRA-in-TexImage2D.patch
Type: text/x-patch
Size: 1726 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110122/419fffd9/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-st-mesa-Enable-EXT_texture_format_BGRA8888-for-gles1.patch
Type: text/x-patch
Size: 981 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110122/419fffd9/attachment-0007.bin>


More information about the mesa-dev mailing list