SDL/src/render/metal
Jeremy Demeule c25a49c406 metal: Add hint to select low power device instead of the default one (#8182)
On some system like MacBook Pro Intel with AMD card, asking for the default device will always return the AMD GPU.
This is not an issue for 99% of the case when the renderer context is here to provide the maximum performance level like for game.
However, for video application using GPU for 1 quad and 1 texture, using the discrete GPU for that lead to an important power consumption (4 to 8W), heat increase, and fan noise.
With this patch, I successfully amend ffplay to only use the integrated GPU (i.e. the Intel one), instead of the discrete GPU (i.e. the AMD one).

(cherry picked from commit aa7ba629784ebf4a253cf78d85c286c310ad0cb5)
2023-08-31 01:55:40 -07:00
..
build-metal-shaders.sh Fixed bug 5213 - Add support to metal in iOS/tvOS simulator 2020-12-09 07:23:47 -08:00
SDL_render_metal.m metal: Add hint to select low power device instead of the default one (#8182) 2023-08-31 01:55:40 -07:00
SDL_shaders_metal_ios.h Update METAL compiled shaders 2021-08-19 00:10:59 +02:00
SDL_shaders_metal_iphonesimulator.h Update METAL compiled shaders 2021-08-19 00:10:59 +02:00
SDL_shaders_metal_osx.h Update METAL compiled shaders 2021-08-19 00:10:59 +02:00
SDL_shaders_metal_tvos.h Update METAL compiled shaders 2021-08-19 00:10:59 +02:00
SDL_shaders_metal_tvsimulator.h Update METAL compiled shaders 2021-08-19 00:10:59 +02:00
SDL_shaders_metal.metal Add METAL shaders 2021-08-19 00:10:59 +02:00