Re: [Mesa-dev] [PATCH 2/4] st/mesa: implement AllocTextureImageBuffer() driver hook

2011-09-29 Thread Eric Anholt
On Thu, 29 Sep 2011 20:54:42 -0600, Brian Paul wrote: > On 09/29/2011 08:37 PM, Eric Anholt wrote: > > On Thu, 29 Sep 2011 14:24:46 -0600, Brian Paul > > wrote: > >> From: Brian Paul > >> > >> This hasn't been needed so far since none of the core Mesa code paths > >> that call ctx->Driver.AllocT

Re: [Mesa-dev] [PATCH 2/4] st/mesa: implement AllocTextureImageBuffer() driver hook

2011-09-29 Thread Brian Paul
On 09/29/2011 08:37 PM, Eric Anholt wrote: On Thu, 29 Sep 2011 14:24:46 -0600, Brian Paul wrote: From: Brian Paul This hasn't been needed so far since none of the core Mesa code paths that call ctx->Driver.AllocTextureImageBuffer() are used with the state tracker. That will change in upcoming

Re: [Mesa-dev] [PATCH 2/4] st/mesa: implement AllocTextureImageBuffer() driver hook

2011-09-29 Thread Eric Anholt
On Thu, 29 Sep 2011 14:24:46 -0600, Brian Paul wrote: > From: Brian Paul > > This hasn't been needed so far since none of the core Mesa code paths > that call ctx->Driver.AllocTextureImageBuffer() are used with the > state tracker. That will change in upcoming patches. > Note that this function

[Mesa-dev] [PATCH 2/4] st/mesa: implement AllocTextureImageBuffer() driver hook

2011-09-29 Thread Brian Paul
From: Brian Paul This hasn't been needed so far since none of the core Mesa code paths that call ctx->Driver.AllocTextureImageBuffer() are used with the state tracker. That will change in upcoming patches. Note that this function duplicates some code seen in the st_TexImage() function. That can