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:
authorJeroen Bakker <jeroen@blender.org>2022-05-10 09:10:46 +0300
committerJeroen Bakker <jeroen@blender.org>2022-05-10 09:48:51 +0300
commit439f86ac89bdd649aa9ccfe258c5f80474788449 (patch)
treec2a6a3e183603360479a787e56805b1ac8bcf914 /source/blender/gpu/GPU_capabilities.h
parent11aa237858d4a2f12db43bac97793606eda7f542 (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/GPU_capabilities.h')
-rw-r--r--source/blender/gpu/GPU_capabilities.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_capabilities.h b/source/blender/gpu/GPU_capabilities.h
index 0d0542aa528..aedac168a01 100644
--- a/source/blender/gpu/GPU_capabilities.h
+++ b/source/blender/gpu/GPU_capabilities.h
@@ -40,6 +40,7 @@ bool GPU_mip_render_workaround(void);
bool GPU_depth_blitting_workaround(void);
bool GPU_use_main_context_workaround(void);
bool GPU_use_hq_normals_workaround(void);
+bool GPU_clear_viewport_workaround(void);
bool GPU_crappy_amd_driver(void);
bool GPU_compute_shader_support(void);