Re: [Mesa-dev] [PATCH] mesa: Strip texture border for proxy texture as well

2012-03-01 Thread Anuj Phogat
On Wed, Feb 29, 2012 at 7:48 PM, Brian Paul wrote: > On Wed, Feb 29, 2012 at 6:44 PM, Anuj Phogat > wrote: > > Intel and Gallium drivers don't support texture borders. Border is > stripped > > before texture is used inside the driver. So, glGetTexLevelParameteriv() > > returns the stripped value

Re: [Mesa-dev] [PATCH] mesa: Strip texture border for proxy texture as well

2012-02-29 Thread Brian Paul
On Wed, Feb 29, 2012 at 6:44 PM, Anuj Phogat wrote: > Intel and Gallium drivers don't support texture borders. Border is stripped > before texture is used inside the driver. So, glGetTexLevelParameteriv() > returns the stripped values of texture dimensions. But it returns un- > stripped values for

[Mesa-dev] [PATCH] mesa: Strip texture border for proxy texture as well

2012-02-29 Thread Anuj Phogat
Intel and Gallium drivers don't support texture borders. Border is stripped before texture is used inside the driver. So, glGetTexLevelParameteriv() returns the stripped values of texture dimensions. But it returns un- stripped values for proxy textures. This patch adds strip_texture_border() for p