SDL/src/render
Jeremy Demeule 6ff31e10cf
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).
2023-08-31 01:23:45 -07:00
..
direct3d Rename SDL_PIXELFORMAT_RGB888 and SDL_PIXELFORMAT_BGR888 to SDL_PIXELFORMAT_XRGB8888 and SDL_PIXELFORMAT_XBGR8888 for clarity 2023-07-01 17:58:34 -07:00
direct3d11 Fixed resource leak and crash at exit in the D3D11 renderer 2023-07-03 17:39:29 -07:00
direct3d12 Made error handling more consistent in D3D12_RenderReadPixels() 2023-07-03 17:37:17 -07:00
metal metal: Add hint to select low power device instead of the default one (#8182) 2023-08-31 01:23:45 -07:00
opengl Rename SDL_PIXELFORMAT_RGB888 and SDL_PIXELFORMAT_BGR888 to SDL_PIXELFORMAT_XRGB8888 and SDL_PIXELFORMAT_XBGR8888 for clarity 2023-07-01 17:58:34 -07:00
opengles2 Rename SDL_PIXELFORMAT_RGB888 and SDL_PIXELFORMAT_BGR888 to SDL_PIXELFORMAT_XRGB8888 and SDL_PIXELFORMAT_XBGR8888 for clarity 2023-07-01 17:58:34 -07:00
ps2 Fix remaining typos (#7921) 2023-07-03 12:46:47 -07:00
psp Fix remaining typos (#7921) 2023-07-03 12:46:47 -07:00
software Fix remaining typos (#7921) 2023-07-03 12:46:47 -07:00
vitagxm Fix remaining typos (#7921) 2023-07-03 12:46:47 -07:00
SDL_d3dmath.c Fix uses of undefined macro identifiers (-Wundef) 2023-03-29 21:49:01 +00:00
SDL_d3dmath.h Fix uses of undefined macro identifiers (-Wundef) 2023-03-29 21:49:01 +00:00
SDL_render.c Make sure logical presentation is complete before destroying the logical render target 2023-07-03 18:29:48 -07:00
SDL_sysrender.h The rectangles passed to SDL_BlitSurfaceUnchecked() and SDL_BlitSurfaceUncheckedScaled() are const. 2023-07-02 18:45:11 -07:00
SDL_yuv_sw.c Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
SDL_yuv_sw_c.h Fixed Visual Studio warning 4244 2023-03-30 14:04:32 -07:00