Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2020-09-07 20:53:48 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-09-07 21:17:45 +0300
commit58353834f441b8b4ca91dcd4ec94ac49bbbf5ab0 (patch)
tree86d507e7ea388fde34cdc4ae7d874cc1c6f99d46 /source/blender/gpu/intern/gpu_capabilities_private.hh
parentc5c6b5ddb31c8a79667d6dcd689808efd3dadd8a (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/intern/gpu_capabilities_private.hh')
-rw-r--r--source/blender/gpu/intern/gpu_capabilities_private.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_capabilities_private.hh b/source/blender/gpu/intern/gpu_capabilities_private.hh
index ec387555bfe..a51525fa932 100644
--- a/source/blender/gpu/intern/gpu_capabilities_private.hh
+++ b/source/blender/gpu/intern/gpu_capabilities_private.hh
@@ -41,12 +41,13 @@ struct GPUCapabilities {
int max_textures_vert = 0;
int max_textures_geom = 0;
int max_textures_frag = 0;
-
+ bool mem_stats_support = false;
/* OpenGL related workarounds. */
bool mip_render_workaround = false;
bool depth_blitting_workaround = false;
bool use_main_context_workaround = false;
bool broken_amd_driver = false;
+ /* Vulkan related workarounds. */
};
extern GPUCapabilities GCaps;