Re: [Mesa-dev] [PATCH 1/3] svga: keep a list of contexts for the screen

2019-03-06 Thread Jose Fonseca
I have few doubts/questions. On 05/03/2019 23:57, Brian Paul wrote: This will allow us to query whether a context is valid. In addition to keeping a list of contexts, we need to give each context we create a unique ID which is never re-used. The screen also contains a bitmask to track which ID

[Mesa-dev] [PATCH 1/3] svga: keep a list of contexts for the screen

2019-03-05 Thread Brian Paul
This will allow us to query whether a context is valid. In addition to keeping a list of contexts, we need to give each context we create a unique ID which is never re-used. The screen also contains a bitmask to track which IDs are valid. We need the ID since a context pointer could be recycled