Re: [Mesa-dev] [PATCH 1/3] mesa/glthread: track buffer creation/destruction

2017-06-25 Thread Gregory Hainaut
Hello Fredrik, Yes the shadow hash feels useless now. I will update the patch in a couple of days (vacation currently). Cheers, Gregory Le 22 juin 2017 2:24 PM, "Fredrik Höglund" a écrit : > On Thursday 22 June 2017, Timothy Arceri wrote: > > From: Gregory Hainaut > > > > It would be used in

Re: [Mesa-dev] [PATCH 1/3] mesa/glthread: track buffer creation/destruction

2017-06-22 Thread Fredrik Höglund
On Thursday 22 June 2017, Timothy Arceri wrote: > From: Gregory Hainaut > > It would be used in next commit to allow asynchronous PBO transfer. > > The tracking saves the buffer name into a hash. Saving pointer > will be more complex as the buffer is created in BindBuffer due to IsBuffer > insan

[Mesa-dev] [PATCH 1/3] mesa/glthread: track buffer creation/destruction

2017-06-22 Thread Timothy Arceri
From: Gregory Hainaut It would be used in next commit to allow asynchronous PBO transfer. The tracking saves the buffer name into a hash. Saving pointer will be more complex as the buffer is created in BindBuffer due to IsBuffer insanity. Perf wise DeleteBuffers is now synchronous for robustnes