apitrace/apitrace — Issue #63: support nvidia GL_NVX_gpu_memory_info extensions
Author: bsergean
Created: 2012-01-19 05:28:41+00:00
State: open

Howdy,

My company app is using an nvidia extension to query the GPU memory usage.
http://developer.download.nvidia.com/opengl/specs/GL_NVX_gpu_memory_info.txt
The extension defines a bunch of constant to be passed to glGetIntergerv to read the
GPU memory usage.

From the doc:
Accepted by the parameter of GetIntegerv:

GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX 0x9047
GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX 0x9048
GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX 0x9049
GPU_MEMORY_INFO_EVICTION_COUNT_NVX 0x904A
GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B

When we record our app trace we get a warning "opcode not recognized" for those enums,
and a crash when we replay the trace file.

-> Would this be something you could consider supporting ? Could I help in implementing that ?

Thanks for such an awesome project,
- Benjamin