Skip to content

Commit

Permalink
Re-enable GPU driver prewarming for some versions of macOS
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=249570
rdar://103505840

Reviewed by Darin Adler.

Due to a possible performance regression, re-enable GPU driver prewarming for some versions of macOS.

* Source/WTF/wtf/PlatformEnableCocoa.h:

Canonical link: https://commits.webkit.org/258077@main
  • Loading branch information
pvollan committed Dec 19, 2022
1 parent cb0b510 commit af67e80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/WTF/wtf/PlatformEnableCocoa.h
Expand Up @@ -316,7 +316,7 @@
#endif
#endif

#if !defined(ENABLE_GPU_DRIVER_PREWARMING) && PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101600 && __MAC_OS_X_VERSION_MIN_REQUIRED < 120000
#if !defined(ENABLE_GPU_DRIVER_PREWARMING) && PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101600 && __MAC_OS_X_VERSION_MIN_REQUIRED < 140000
#define ENABLE_GPU_DRIVER_PREWARMING 1
#endif

Expand Down

0 comments on commit af67e80

Please sign in to comment.