diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-09-07 20:53:48 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-09-07 21:17:45 +0300 |
commit | 58353834f441b8b4ca91dcd4ec94ac49bbbf5ab0 (patch) | |
tree | 86d507e7ea388fde34cdc4ae7d874cc1c6f99d46 /source/blender/gpu/opengl/gl_context.hh | |
parent | c5c6b5ddb31c8a79667d6dcd689808efd3dadd8a (diff) |
GPUCapabilities: Isolate GL memory statistics
This is part of the Vulkan task T68990
This is a simple cleanup.
Diffstat (limited to 'source/blender/gpu/opengl/gl_context.hh')
-rw-r--r-- | source/blender/gpu/opengl/gl_context.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/opengl/gl_context.hh b/source/blender/gpu/opengl/gl_context.hh index e2ae8bf24b2..06e59724f4a 100644 --- a/source/blender/gpu/opengl/gl_context.hh +++ b/source/blender/gpu/opengl/gl_context.hh @@ -97,6 +97,7 @@ class GLContext : public GPUContext { void activate(void) override; void deactivate(void) override; + void memory_statistics_get(int *total_mem, int *free_mem) override; static inline GLStateManager *state_manager_active_get() { |