Implement experimental non-Metal support

This commit is contained in:
Eduardo Covas
2023-09-09 23:06:29 -03:00
committed by GitHub
parent fd17caf03d
commit 214e31e8e3
2 changed files with 5 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ class SystemPatchDictionary():
"OpenGL.framework": "10.14.3",
"CoreDisplay.framework": f"10.14.4-{self.os_major}",
"IOSurface.framework": f"10.15.7-{self.os_major}",
**({"QuartzCore.framework": f"10.15.7-{self.os_major}"} if self.os_major < os_data.os_data.sonoma else {}),
"QuartzCore.framework": f"10.15.7-{self.os_major}",
},
"/System/Library/PrivateFrameworks": {
"GPUSupport.framework": "10.14.3",
@@ -149,6 +149,8 @@ class SystemPatchDictionary():
**({"defaults write /Library/Preferences/.GlobalPreferences.plist ShowDate -int 1": True } if self.os_float >= self.macOS_12_4 else {}),
"defaults write /Library/Preferences/.GlobalPreferences.plist InternalDebugUseGPUProcessForCanvasRenderingEnabled -bool false": True,
"defaults write /Library/Preferences/.GlobalPreferences.plist WebKitExperimentalUseGPUProcessForCanvasRenderingEnabled -bool false": True,
**({"defaults write /Library/Preferences/.GlobalPreferences.plist WebKitPreferences.acceleratedDrawingEnabled -bool false": True} if self.os_major >= os_data.os_data.sonoma else {}),
**({"defaults write /Library/Preferences/.GlobalPreferences.plist NSEnableAppKitMenus -bool false": True} if self.os_major >= os_data.os_data.sonoma else {}),
},
},
"Non-Metal IOAccelerator Common": {

View File

@@ -14,7 +14,7 @@ class Constants:
def __init__(self) -> None:
# Patcher Versioning
self.patcher_version: str = "0.6.9" # OpenCore-Legacy-Patcher
self.patcher_support_pkg_version: str = "1.2.7" # PatcherSupportPkg
self.patcher_support_pkg_version: str = "1.2.8" # PatcherSupportPkg
self.copyright_date: str = "Copyright © 2020-2023 Dortania"
self.patcher_name: str = "OpenCore Legacy Patcher"
@@ -239,6 +239,7 @@ class Constants:
os_data.os_data.big_sur,
os_data.os_data.monterey,
os_data.os_data.ventura,
os_data.os_data.sonoma,
]
@property