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

Kristian Høgsberg krh at bitplanet.net
Mon Jan 24 15:18:30 PST 2011


On Sat, Jan 22, 2011 at 11:42 AM, Benjamin Franzke
<benjaminfranzke at googlemail.com> wrote:
> 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.

I committed the patches for now.  We can add the test when the GLES2
test framework lands.

Kristian


More information about the mesa-dev mailing list