Re:Ask HN: How to make a native GUI with a modern language?
by withinboredom on Wednesday August 10, 2022 @07:07AM
(#32410101)
So, my laptop is dumb for turning off the discrete GPU when I unplug it?
[ Parent
| on HN ]
Re:Ask HN: How to make a native GUI with a modern language?
by Chai-T-Rex on Wednesday August 10, 2022 @11:21AM
(#32413454)
They didn't say discrete GPU, they said GPUs, which includes integrated GPUs.
Re:Ask HN: How to make a native GUI with a modern language?
by withinboredom on Wednesday August 10, 2022 @12:28PM
(#32414624)
A game engine will tell the OS to start up the discrete GPU if it is available. This is why I asked the original question. Is there some way to turn that off?
Re:Ask HN: How to make a native GUI with a modern language?
by OvermindDL1 on Wednesday August 10, 2022 @12:37PM
(#32414796)
When initializing a GPU context you can specify whether you want the most efficient device, the fastest device, etc, for a GUI app then you would want to pick the most efficient, which is a single flag to pass in, or supply options and let the user pick which one they want.