summaryrefslogtreecommitdiffstats
path: root/vcl/quartz
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 05:03:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 05:03:13 +0000
commit26f6ae4122fcce6bafa71c064f5e645c39022082 (patch)
treeb0e0916f682785b3a983b71950c4623988ca6eef /vcl/quartz
parentAdding upstream version 4:24.2.2. (diff)
downloadlibreoffice-26f6ae4122fcce6bafa71c064f5e645c39022082.tar.xz
libreoffice-26f6ae4122fcce6bafa71c064f5e645c39022082.zip
Adding upstream version 4:24.2.3.upstream/4%24.2.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vcl/quartz')
-rw-r--r--vcl/quartz/cgutils.mm10
1 files changed, 10 insertions, 0 deletions
diff --git a/vcl/quartz/cgutils.mm b/vcl/quartz/cgutils.mm
index 0d611bec11..50b7fcd654 100644
--- a/vcl/quartz/cgutils.mm
+++ b/vcl/quartz/cgutils.mm
@@ -122,6 +122,16 @@ bool DefaultMTLDeviceIsSupported()
bRet = false;
}
+ if (bRet)
+ {
+ // tdf#160590 Disable Metal with Intel HD Graphics 6000
+ // Releasing a Metal buffer resource hangs when fetching pixels from a
+ // Skia surface on this Intel MacBook Air built-in GPU.
+ static NSString* pIntelHDGraphics6000Prefix = @"Intel(R) Iris(TM) Graphics 6000";
+ if ([pMetalDevice.name hasPrefix:pIntelHDGraphics6000Prefix])
+ bRet = false;
+ }
+
[pMetalDevice release];
return bRet;
}