mirror of
https://github.com/yawut/SDL.git
synced 2026-07-05 01:58:52 -05:00
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) |
||
|---|---|---|
| .. | ||
| build-metal-shaders.sh | ||
| SDL_render_metal.m | ||
| SDL_shaders_metal_ios.h | ||
| SDL_shaders_metal_iphonesimulator.h | ||
| SDL_shaders_metal_osx.h | ||
| SDL_shaders_metal_tvos.h | ||
| SDL_shaders_metal_tvsimulator.h | ||
| SDL_shaders_metal.metal | ||