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 : >> 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 >> shoul

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

2011-09-08 Thread Marek Olšák
2011/9/7 Roland Scheidegger : > 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 - surface_destroy and sample

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 : > >> - Original Message - > >>> Hi, > >>> > >>> While debugging some code I ran across the following situation: > >>> > >>> - pipe_context c1 is created > >>> - pipe_surface s1 is c

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 : > >> Am 07.09.2011 00:01, schrieb Stéphane Marchesin: > >>> 2011/9/3 Jose Fonseca : > > > - Original Message - > > 2011/9/2 Stéphane Marchesin : > >> 20

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 : >> - 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

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 : >> Am 07.09.2011 00:01, schrieb Stéphane Marchesin: >>> 2011/9/3 Jose Fonseca : - Original Message - > 2011/9/2 Stéphane Marchesin : >> 2011/9/2 Jose Fonseca : >>> - Original Mess

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

2011-09-06 Thread Stéphane Marchesin
2011/9/2 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

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

2011-09-06 Thread Stéphane Marchesin
2011/9/6 Roland Scheidegger : > Am 07.09.2011 00:01, schrieb Stéphane Marchesin: >> 2011/9/3 Jose Fonseca : >>> >>> >>> - Original Message - 2011/9/2 Stéphane Marchesin : > 2011/9/2 Jose Fonseca : >> - Original Message - >>> Hi, >>> >>> While debugging some

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

2011-09-06 Thread Roland Scheidegger
Am 07.09.2011 00:01, schrieb Stéphane Marchesin: > 2011/9/3 Jose Fonseca : >> >> >> - Original Message - >>> 2011/9/2 Stéphane Marchesin : 2011/9/2 Jose Fonseca : > - Original Message - >> Hi, >> >> While debugging some code I ran across the following situation:

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

2011-09-06 Thread Stéphane Marchesin
2011/9/3 Jose Fonseca : > > > - Original Message - >> 2011/9/2 Stéphane Marchesin : >> > 2011/9/2 Jose Fonseca : >> >> - Original Message - >> >>> Hi, >> >>> >> >>> While debugging some code I ran across the following situation: >> >>> >> >>> - pipe_context c1 is created >> >>> - pi

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

2011-09-03 Thread Jose Fonseca
- Original Message - > 2011/9/2 Stéphane Marchesin : > > 2011/9/2 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

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

2011-09-02 Thread Stéphane Marchesin
2011/9/2 Stéphane Marchesin : > 2011/9/2 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) >>>

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

2011-09-02 Thread Stéphane Marchesin
2011/9/2 Stéphane Marchesin : > 2011/9/2 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) >>>

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

2011-09-02 Thread Stéphane Marchesin
2011/9/2 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

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 i

[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 wan