Re: [Mesa-dev] [PATCH 3/4] mesa: Track the TexImage being rendered to in the gl_renderbuffer.

2013-07-11 Thread Dave Airlie
On Thu, Jul 11, 2013 at 11:31 AM, Stéphane Marchesin stephane.marche...@gmail.com wrote: On Wed, Jul 10, 2013 at 6:27 PM, Dave Airlie airl...@gmail.com wrote: On Thu, Jul 11, 2013 at 11:05 AM, Stéphane Marchesin stephane.marche...@gmail.com wrote: On Wed, Jul 10, 2013 at 6:02 PM, Kenneth

Re: [Mesa-dev] [PATCH 3/4] mesa: Track the TexImage being rendered to in the gl_renderbuffer.

2013-07-11 Thread Dave Airlie
On Thu, Jul 11, 2013 at 8:44 PM, Dave Airlie airl...@gmail.com wrote: On Thu, Jul 11, 2013 at 11:31 AM, Stéphane Marchesin stephane.marche...@gmail.com wrote: On Wed, Jul 10, 2013 at 6:27 PM, Dave Airlie airl...@gmail.com wrote: On Thu, Jul 11, 2013 at 11:05 AM, Stéphane Marchesin

Re: [Mesa-dev] [PATCH 3/4] mesa: Track the TexImage being rendered to in the gl_renderbuffer.

2013-07-10 Thread Kenneth Graunke
On 07/09/2013 04:33 PM, Stéphane Marchesin wrote: On Fri, May 10, 2013 at 11:37 PM, Eric Anholt e...@anholt.net wrote: We keep having to pass the attachments around with our gl_renderbuffers because that's the only way to find what the gl_renderbuffer actually refers to. This is a step toward

Re: [Mesa-dev] [PATCH 3/4] mesa: Track the TexImage being rendered to in the gl_renderbuffer.

2013-07-10 Thread Stéphane Marchesin
On Wed, Jul 10, 2013 at 6:02 PM, Kenneth Graunke kenn...@whitecape.org wrote: On 07/09/2013 04:33 PM, Stéphane Marchesin wrote: On Fri, May 10, 2013 at 11:37 PM, Eric Anholt e...@anholt.net wrote: We keep having to pass the attachments around with our gl_renderbuffers because that's the only

Re: [Mesa-dev] [PATCH 3/4] mesa: Track the TexImage being rendered to in the gl_renderbuffer.

2013-07-10 Thread Dave Airlie
On Thu, Jul 11, 2013 at 11:05 AM, Stéphane Marchesin stephane.marche...@gmail.com wrote: On Wed, Jul 10, 2013 at 6:02 PM, Kenneth Graunke kenn...@whitecape.org wrote: On 07/09/2013 04:33 PM, Stéphane Marchesin wrote: On Fri, May 10, 2013 at 11:37 PM, Eric Anholt e...@anholt.net wrote: We

Re: [Mesa-dev] [PATCH 3/4] mesa: Track the TexImage being rendered to in the gl_renderbuffer.

2013-07-10 Thread Stéphane Marchesin
On Wed, Jul 10, 2013 at 6:27 PM, Dave Airlie airl...@gmail.com wrote: On Thu, Jul 11, 2013 at 11:05 AM, Stéphane Marchesin stephane.marche...@gmail.com wrote: On Wed, Jul 10, 2013 at 6:02 PM, Kenneth Graunke kenn...@whitecape.org wrote: On 07/09/2013 04:33 PM, Stéphane Marchesin wrote: On

Re: [Mesa-dev] [PATCH 3/4] mesa: Track the TexImage being rendered to in the gl_renderbuffer.

2013-05-14 Thread Eric Anholt
Eric Anholt e...@anholt.net writes: We keep having to pass the attachments around with our gl_renderbuffers because that's the only way to find what the gl_renderbuffer actually refers to. This is a step toward removing that (though drivers still need the Zoffset as well). Note that I think

[Mesa-dev] [PATCH 3/4] mesa: Track the TexImage being rendered to in the gl_renderbuffer.

2013-05-11 Thread Eric Anholt
We keep having to pass the attachments around with our gl_renderbuffers because that's the only way to find what the gl_renderbuffer actually refers to. This is a step toward removing that (though drivers still need the Zoffset as well). --- src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 2