[Mesa-dev] [PATCH 3/5] mesa: implement GL_ATI_meminfo

Alan Swanson swanson at ukfsn.org
Thu Feb 4 16:20:04 UTC 2016


On 2016-02-04 16:12, Alan Swanson wrote:
> On 2016-02-02 13:45, Marek Olšák wrote:
>> From: Marek Olšák <marek.olsak at amd.com>
>> 
>> ---
>>  src/mapi/glapi/gen/gl_API.xml    |  6 ++++++
>>  src/mesa/main/extensions_table.h |  1 +
>>  src/mesa/main/get.c              | 26 +++++++++++++++++++++++++-
>>  src/mesa/main/get_hash_params.py |  5 +++++
>>  src/mesa/main/mtypes.h           |  1 +
>>  5 files changed, 38 insertions(+), 1 deletion(-)
>> 
>> diff --git a/src/mapi/glapi/gen/gl_API.xml 
>> b/src/mapi/glapi/gen/gl_API.xml
>> index 09dda19..ca15b6d 100644
>> --- a/src/mapi/glapi/gen/gl_API.xml
>> +++ b/src/mapi/glapi/gen/gl_API.xml
>> @@ -12661,6 +12661,12 @@
>>      <enum name="FRAMEBUFFER_SRGB_CAPABLE_EXT"      value="0x8DBA"/>
>>  </category>
>> 
>> +<category name="GL_ATI_meminfo" number="359">
>> +    <enum name="VBO_FREE_MEMORY_ATI"          value="0x87FB" />
>> +    <enum name="TEXTURE_FREE_MEMORY_ATI"      value="0x87FC" />
>> +    <enum name="RENDERBUFFER_FREE_MEMORY_ATI" value="0x87FD" />
>> +</category>
> 
> There is also an additional enum TOTAL_PHYSICAL_MEMORY value 0x87FE 
> which would
> return {total_device_memory, 0, 0, 0} that was added after the 
> ATI_meminfo spec
> was published and is present in Catalyst drivers.
> 
> https://www.winehq.org/pipermail/wine-devel/2009-August/077937.html

Sorry, same thread wrong post. I should have linked the following.

https://www.winehq.org/pipermail/wine-devel/2009-August/078002.html

-- 
Alan.


More information about the mesa-dev mailing list