diff options
author | Jeroen Bakker <jeroen@blender.org> | 2022-05-10 09:10:46 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2022-05-10 09:48:51 +0300 |
commit | 439f86ac89bdd649aa9ccfe258c5f80474788449 (patch) | |
tree | c2a6a3e183603360479a787e56805b1ac8bcf914 /source/blender/gpu/intern/gpu_capabilities_private.hh | |
parent | 11aa237858d4a2f12db43bac97793606eda7f542 (diff) |
Fix T97272: Lag when resizing viewports.temp-T97272
Viewports where cleared explicitly due to compatibility reasons with Intel iGPUs.
This slowed down other platforms as well, this wasn't noticeable on all platforms.
This patch will be more selective when to enable the workaround.
Currently only for iGPUs on Mac + Linux.
Diffstat (limited to 'source/blender/gpu/intern/gpu_capabilities_private.hh')
-rw-r--r-- | source/blender/gpu/intern/gpu_capabilities_private.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_capabilities_private.hh b/source/blender/gpu/intern/gpu_capabilities_private.hh index 4a951eb8458..611c2d6973c 100644 --- a/source/blender/gpu/intern/gpu_capabilities_private.hh +++ b/source/blender/gpu/intern/gpu_capabilities_private.hh @@ -51,6 +51,7 @@ struct GPUCapabilities { bool use_main_context_workaround = false; bool broken_amd_driver = false; bool use_hq_normals_workaround = false; + bool clear_viewport_workaround = false; /* Vulkan related workarounds. */ /* Metal related workarounds. */ |