[Mesa-dev] [PATCH 2/5] mesa: implement GL_NVX_gpu_memory_info (v2)

2016-02-04 Thread Marek Olšák
From: Marek Olšák v2: implement eviction queries properly add gl_memory_info structure --- src/mapi/glapi/gen/gl_API.xml| 8 src/mesa/main/dd.h | 8 src/mesa/main/extensions_table.h | 1 + src/mesa/main/get.c | 25 +

Re: [Mesa-dev] [PATCH 2/5] mesa: implement GL_NVX_gpu_memory_info

2016-02-02 Thread Erik Faye-Lund
On Tue, Feb 2, 2016 at 4:02 PM, Roland Scheidegger wrote: > Does anyone use these extensions? > I suppose maybe to get the total amount of video memory? I've used them in a commercial data-visualization application. The purpose was to get the total amount of video memory, so we'd know roughly how

Re: [Mesa-dev] [PATCH 2/5] mesa: implement GL_NVX_gpu_memory_info

2016-02-02 Thread Marek Olšák
On Tue, Feb 2, 2016 at 9:18 PM, Roland Scheidegger wrote: > Am 02.02.2016 um 20:41 schrieb Marek Olšák: >> On Tue, Feb 2, 2016 at 4:02 PM, Roland Scheidegger >> wrote: >>> Does anyone use these extensions? >>> I suppose maybe to get the total amount of video memory? >>> From the dynamic counts,

Re: [Mesa-dev] [PATCH 2/5] mesa: implement GL_NVX_gpu_memory_info

2016-02-02 Thread Roland Scheidegger
Am 02.02.2016 um 20:41 schrieb Marek Olšák: > On Tue, Feb 2, 2016 at 4:02 PM, Roland Scheidegger wrote: >> Does anyone use these extensions? >> I suppose maybe to get the total amount of video memory? >> From the dynamic counts, I would have thought the eviction one would be >> the most interestin

Re: [Mesa-dev] [PATCH 2/5] mesa: implement GL_NVX_gpu_memory_info

2016-02-02 Thread Marek Olšák
On Tue, Feb 2, 2016 at 4:02 PM, Roland Scheidegger wrote: > Does anyone use these extensions? > I suppose maybe to get the total amount of video memory? > From the dynamic counts, I would have thought the eviction one would be > the most interesting, but this one isn't implemented. Ah well I guess

Re: [Mesa-dev] [PATCH 2/5] mesa: implement GL_NVX_gpu_memory_info

2016-02-02 Thread Marek Olšák
On Tue, Feb 2, 2016 at 3:36 PM, Ilia Mirkin wrote: > On Tue, Feb 2, 2016 at 8:45 AM, Marek Olšák wrote: >> From: Marek Olšák >> >> --- >> src/mapi/glapi/gen/gl_API.xml| 8 >> src/mesa/main/dd.h | 10 ++ >> src/mesa/main/extensions_table.h | 1 + >> src/mesa/

Re: [Mesa-dev] [PATCH 2/5] mesa: implement GL_NVX_gpu_memory_info

2016-02-02 Thread Roland Scheidegger
Does anyone use these extensions? I suppose maybe to get the total amount of video memory? From the dynamic counts, I would have thought the eviction one would be the most interesting, but this one isn't implemented. Ah well I guess a sloppily implemented extension is better than none. Roland Am

Re: [Mesa-dev] [PATCH 2/5] mesa: implement GL_NVX_gpu_memory_info

2016-02-02 Thread Ilia Mirkin
On Tue, Feb 2, 2016 at 8:45 AM, Marek Olšák wrote: > From: Marek Olšák > > --- > src/mapi/glapi/gen/gl_API.xml| 8 > src/mesa/main/dd.h | 10 ++ > src/mesa/main/extensions_table.h | 1 + > src/mesa/main/get.c | 30 ++ >

[Mesa-dev] [PATCH 2/5] mesa: implement GL_NVX_gpu_memory_info

2016-02-02 Thread Marek Olšák
From: Marek Olšák --- src/mapi/glapi/gen/gl_API.xml| 8 src/mesa/main/dd.h | 10 ++ src/mesa/main/extensions_table.h | 1 + src/mesa/main/get.c | 30 ++ src/mesa/main/get_hash_params.py | 7 +++ src/mesa/main/mtyp