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

2011-01-28 Thread Chad Versace
On 01/25/2011 06:49 AM, José Fonseca wrote: On Sat, 2011-01-22 at 19:18 -0800, Chad Versace wrote: On Sat, Jan 22, 2011 at 17:46, Ian Romanick i...@freedesktop.org wrote: What I want is a way with cmake to build files twice. The first time will be in the existing way. The second time will

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

2011-01-25 Thread José Fonseca
On Sat, 2011-01-22 at 19:18 -0800, Chad Versace wrote: On Sat, Jan 22, 2011 at 17:46, Ian Romanick i...@freedesktop.org wrote: What I want is a way with cmake to build files twice. The first time will be in the existing way. The second time will compile with - -DUSE_OPENGL_ES and will

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

2011-01-24 Thread Brian Paul
On 01/24/2011 04:18 PM, Kristian Høgsberg wrote: On Sat, Jan 22, 2011 at 11:42 AM, Benjamin Franzke benjaminfran...@googlemail.com wrote: 2011/1/18 Brian Paulbrian.e.p...@gmail.com: Before we commit this stuff can you develop a piglit test to test it? The problem for me is that piglit is

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

2011-01-24 Thread Kristian Høgsberg
2011/1/24 Brian Paul bri...@vmware.com: On 01/24/2011 04:18 PM, Kristian Høgsberg wrote: On Sat, Jan 22, 2011 at 11:42 AM, Benjamin Franzke benjaminfran...@googlemail.com  wrote: 2011/1/18 Brian Paulbrian.e.p...@gmail.com: Before we commit this stuff can you develop a piglit test to test

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

2011-01-23 Thread Darxus
This set of 4 patches makes wayland work for me, on nouveau / nvidia. On 01/22, Benjamin Franzke wrote: 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.

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

2011-01-22 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [I'm cross-posting this to the piglit list as well.] On 01/22/2011 08:42 AM, Benjamin Franzke wrote: 2011/1/18 Brian Paul brian.e.p...@gmail.com: Before we commit this stuff can you develop a piglit test to test it? The problem for me is that

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

2011-01-17 Thread Benjamin Franzke
internalFormat=GL_BGRA is only allowed with gles1/2 and GL_EXT_texture_format_BGRA enabled. --- src/mesa/main/texformat.c |4 src/mesa/main/teximage.c |9 + src/mesa/main/texparam.c |7 +-- src/mesa/main/texstate.c |1 + 4 files changed, 19 insertions(+), 2

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

2011-01-17 Thread Brian Paul
On Mon, Jan 17, 2011 at 3:44 PM, Benjamin Franzke benjaminfran...@googlemail.com wrote: internalFormat=GL_BGRA is only allowed with gles1/2 and GL_EXT_texture_format_BGRA enabled. ---  src/mesa/main/texformat.c |    4  src/mesa/main/teximage.c  |    9 +