hpi-swa / RSqueak

A Squeak/Smalltalk VM written in RPython.
BSD 3-Clause "New" or "Revised" License
83 stars 15 forks source link

Do not use discrete graphics on OSX #133

Closed fniephaus closed 8 years ago

fniephaus commented 8 years ago

This seems to allow to use RSqueak without requiring the dGPU on Macs. Unfortunately, it is not included in the latest release of SDL2 (v2.0.4), so we'd need to compile a "fat" framework ourselves.

fniephaus commented 8 years ago

I've added an Info.plist to this repo and I've updated the SDL2 framework that ships with the all-in-one bundle accordingly. RSqueak finally does not drain the battery as much (and the performance seems to be the same without the dGPU).

krono commented 8 years ago

can we do that for Cog also?

fniephaus commented 8 years ago

See: https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/b527047a1eb24005cefc5fed9b2c8061413cbd53