[Bf-blender-cvs] [7a751327fab] master: Fix T98620: Video sequencer screen corruption occurs when resizing.
Jeroen Bakker
noreply at git.blender.org
Wed Jun 8 13:17:12 CEST 2022
Commit: 7a751327fab1befb49cec68b82b0d9e98374e1c6
Author: Jeroen Bakker
Date: Wed Jun 8 13:15:28 2022 +0200
Branches: master
https://developer.blender.org/rB7a751327fab1befb49cec68b82b0d9e98374e1c6
Fix T98620: Video sequencer screen corruption occurs when resizing.
Added Windows/Intel GPU to the list of work-a-rounds. This will
reduce the performance when using Intel GPUs on all platforms.
===================================================================
M source/blender/gpu/opengl/gl_backend.cc
===================================================================
diff --git a/source/blender/gpu/opengl/gl_backend.cc b/source/blender/gpu/opengl/gl_backend.cc
index 0c796ddc765..98998e2e902 100644
--- a/source/blender/gpu/opengl/gl_backend.cc
+++ b/source/blender/gpu/opengl/gl_backend.cc
@@ -408,7 +408,7 @@ static void detect_workarounds()
/* Certain Intel/AMD based platforms don't clear the viewport textures. Always clearing leads to
* noticeable performance regressions on other platforms as well. */
if (GPU_type_matches(GPU_DEVICE_ANY, GPU_OS_MAC, GPU_DRIVER_ANY) ||
- GPU_type_matches(GPU_DEVICE_INTEL, GPU_OS_UNIX, GPU_DRIVER_ANY)) {
+ GPU_type_matches(GPU_DEVICE_INTEL, GPU_OS_ANY, GPU_DRIVER_ANY)) {
GCaps.clear_viewport_workaround = true;
}
More information about the Bf-blender-cvs
mailing list