[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Use Metal instead of OpenGL for the main VM Window in OS X (#306)
Ronie Salgado
notifications at github.com
Sun Nov 11 07:24:46 UTC 2018
Because OpenGL is being deprecated by Apple, use Metal instead of OpenGL for main VM window in OS X.
Metal only works in 64 bits mode. So, I also made the needed changes to keep using OpenGL in the 32 bits version of the OS X VM.
You can view, comment on, or merge this pull request online at:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/306
-- Commit Summary --
* I ported the main OS X view from OpenGL into Metal.
* Disable restoring OpenGL context hack in ioProcessEvents when using Metal for the main window.
-- File Changes --
M build.macos32x86/common/Makefile.app (4)
M build.macos32x86/common/Makefile.flags (2)
M build.macos64x64/common/Makefile.app (8)
M build.macos64x64/common/Makefile.flags (7)
M build.macos64x64/common/Makefile.rules (10)
M build.macos64x64/common/Makefile.vm (1)
M platforms/iOS/vm/Common/Classes/sqSqueakEventsAPI.m (14)
A platforms/iOS/vm/English.lproj/MainMenu-opengl.xib (1261)
M platforms/iOS/vm/English.lproj/MainMenu.xib (8)
M platforms/iOS/vm/OSX/SqViewBitmapConversion.m (5)
M platforms/iOS/vm/OSX/SqViewClut.m (5)
A platforms/iOS/vm/OSX/SqueakMainShaders.metal (73)
M platforms/iOS/vm/OSX/SqueakOSXAppDelegate.m (5)
A platforms/iOS/vm/OSX/sqSqueakOSXMetalView.h (93)
A platforms/iOS/vm/OSX/sqSqueakOSXMetalView.m (772)
-- Patch Links --
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/306.patch
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/306.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/306
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20181110/07c3b4aa/attachment.html>
More information about the Vm-dev
mailing list