Re: [Mesa-dev] [PATCH] mesa: don't signal _NEW_TEXTURE in TexSubImage() functions

2014-02-01 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Sat, Feb 1, 2014 at 1:38 AM, Brian Paul wrote: > glTexSubImage(), glCopyTexSubImage() and glCompressedTexSubImage() > only change the texel data, not other state like texture size or format. > If a driver really needs do something special it can hook into the >

[Mesa-dev] [PATCH] mesa: don't signal _NEW_TEXTURE in TexSubImage() functions

2014-01-31 Thread Brian Paul
glTexSubImage(), glCopyTexSubImage() and glCompressedTexSubImage() only change the texel data, not other state like texture size or format. If a driver really needs do something special it can hook into the corresponding driver functions or Map/UnmapTextureImage(). This should avoid some needless