H-uru / Plasma

Cyan Worlds's Plasma game engine
http://h-uru.github.io/Plasma/
GNU General Public License v3.0
202 stars 80 forks source link

Dynamically checking display depth for Mac client #1542

Closed colincornaby closed 5 months ago

colincornaby commented 7 months ago

@Hoikas - This is a possible optimization for older GPUs.

I'm not happy about the approach - the way this is implemented is promoting the color depth of the entire window instead of just the Metal output. I'd like to figure out if there is a better way to do this - so I'm leaving this as a draft until the implementation and the potential improvements are better understood.

colincornaby commented 5 months ago

I'm going to close this. I've seen some Apple samples even default to 16 bit color without checking the monitor modes. So I don't think this is a serious performance concern.