Re: [Mesa-dev] State tracker pipe_surface woes...

2011-09-08 Thread Marek Olšák
2011/9/7 Roland Scheidegger srol...@vmware.com: That said I'm not really sure why pipe_sampler_view and pipe_surface actually have a context pointer in them, since they are only supposed to be used with the context in which they were created I think those shouldn't actually exist -

Re: [Mesa-dev] State tracker pipe_surface woes...

2011-09-08 Thread Roland Scheidegger
Am 08.09.2011 09:08, schrieb Marek Olšák: 2011/9/7 Roland Scheidegger srol...@vmware.com: That said I'm not really sure why pipe_sampler_view and pipe_surface actually have a context pointer in them, since they are only supposed to be used with the context in which they were created I think

Re: [Mesa-dev] State tracker pipe_surface woes...

2011-09-07 Thread Roland Scheidegger
Am 07.09.2011 02:00, schrieb Stéphane Marchesin: 2011/9/6 Roland Scheidegger srol...@vmware.com: Am 07.09.2011 00:01, schrieb Stéphane Marchesin: 2011/9/3 Jose Fonseca jfons...@vmware.com: - Original Message - 2011/9/2 Stéphane Marchesin stephane.marche...@gmail.com: 2011/9/2 Jose

Re: [Mesa-dev] State tracker pipe_surface woes...

2011-09-07 Thread Roland Scheidegger
Am 07.09.2011 07:33, schrieb Stéphane Marchesin: 2011/9/2 Jose Fonseca jfons...@vmware.com: - Original Message - Hi, While debugging some code I ran across the following situation: - pipe_context c1 is created - pipe_surface s1 is created - strb- surface is set to s1 (s1's

Re: [Mesa-dev] State tracker pipe_surface woes...

2011-09-07 Thread Jose Fonseca
- Original Message - Am 07.09.2011 02:00, schrieb Stéphane Marchesin: 2011/9/6 Roland Scheidegger srol...@vmware.com: Am 07.09.2011 00:01, schrieb Stéphane Marchesin: 2011/9/3 Jose Fonseca jfons...@vmware.com: - Original Message - 2011/9/2 Stéphane Marchesin

Re: [Mesa-dev] State tracker pipe_surface woes...

2011-09-07 Thread Jose Fonseca
- Original Message - Am 07.09.2011 07:33, schrieb Stéphane Marchesin: 2011/9/2 Jose Fonseca jfons...@vmware.com: - Original Message - Hi, While debugging some code I ran across the following situation: - pipe_context c1 is created - pipe_surface s1 is created -

Re: [Mesa-dev] State tracker pipe_surface woes...

2011-09-06 Thread Stéphane Marchesin
2011/9/3 Jose Fonseca jfons...@vmware.com: - Original Message - 2011/9/2 Stéphane Marchesin stephane.marche...@gmail.com: 2011/9/2 Jose Fonseca jfons...@vmware.com: - Original Message - Hi, While debugging some code I ran across the following situation: -

Re: [Mesa-dev] State tracker pipe_surface woes...

2011-09-03 Thread Jose Fonseca
- Original Message - 2011/9/2 Stéphane Marchesin stephane.marche...@gmail.com: 2011/9/2 Jose Fonseca jfons...@vmware.com: - Original Message - Hi, While debugging some code I ran across the following situation: - pipe_context c1 is created - pipe_surface s1 is

[Mesa-dev] State tracker pipe_surface woes...

2011-09-02 Thread Stéphane Marchesin
Hi, While debugging some code I ran across the following situation: - pipe_context c1 is created - pipe_surface s1 is created - strb- surface is set to s1 (s1's refcount goes up) - pipe_context c1 is destroyed - strb is destroyed - strb-surface is destroyed (so s1's refcount is now 0 and we want

Re: [Mesa-dev] State tracker pipe_surface woes...

2011-09-02 Thread Jose Fonseca
- Original Message - Hi, While debugging some code I ran across the following situation: - pipe_context c1 is created - pipe_surface s1 is created - strb- surface is set to s1 (s1's refcount goes up) - pipe_context c1 is destroyed - strb is destroyed - strb-surface is destroyed

Re: [Mesa-dev] State tracker pipe_surface woes...

2011-09-02 Thread Stéphane Marchesin
2011/9/2 Jose Fonseca jfons...@vmware.com: - Original Message - Hi, While debugging some code I ran across the following situation: - pipe_context c1 is created - pipe_surface s1 is created - strb- surface is set to s1 (s1's refcount goes up) - pipe_context c1 is destroyed - strb

Re: [Mesa-dev] State tracker pipe_surface woes...

2011-09-02 Thread Stéphane Marchesin
2011/9/2 Stéphane Marchesin stephane.marche...@gmail.com: 2011/9/2 Jose Fonseca jfons...@vmware.com: - Original Message - Hi, While debugging some code I ran across the following situation: - pipe_context c1 is created - pipe_surface s1 is created - strb- surface is set to s1

Re: [Mesa-dev] State tracker pipe_surface woes...

2011-09-02 Thread Stéphane Marchesin
2011/9/2 Stéphane Marchesin stephane.marche...@gmail.com: 2011/9/2 Jose Fonseca jfons...@vmware.com: - Original Message - Hi, While debugging some code I ran across the following situation: - pipe_context c1 is created - pipe_surface s1 is created - strb- surface is set to s1