SDL/src/render/direct3d12
Sam Lantinga 2ba76dbe80 Simplified SDL_Surface
SDL_Surface has been simplified and internal details are no longer in the public structure.

The `format` member of SDL_Surface is now an enumerated pixel format value. You can get the full details of the pixel format by calling `SDL_GetPixelFormatDetails(surface->format)`. You can get the palette associated with the surface by calling SDL_GetSurfacePalette(). You can get the clip rectangle by calling SDL_GetSurfaceClipRect().

SDL_PixelFormat has been renamed SDL_PixelFormatDetails and just describes the pixel format, it does not include a palette for indexed pixel types.

SDL_PixelFormatEnum has been renamed SDL_PixelFormat and is used instead of Uint32 for API functions that refer to pixel format by enumerated value.

SDL_MapRGB(), SDL_MapRGBA(), SDL_GetRGB(), and SDL_GetRGBA() take an optional palette parameter for indexed color lookups.
2024-07-10 00:48:18 -07:00
..
compile_shaders.bat GDK: Remove old shader sources, unify shader compilation .bats 2024-03-02 10:30:29 -08:00
compile_shaders_xbox.bat GDK: Remove old shader sources, unify shader compilation .bats 2024-03-02 10:30:29 -08:00
D3D12_PixelShader_Advanced.h Added the Chrome HDR tonemap operator 2024-02-21 19:25:49 -08:00
D3D12_PixelShader_Advanced.hlsl d3d12: Move root sigs to D3D12_Shader_Common.hlsli, fix mismatch 2024-03-02 10:30:29 -08:00
D3D12_PixelShader_Colors.h Added the Chrome HDR tonemap operator 2024-02-21 19:25:49 -08:00
D3D12_PixelShader_Colors.hlsl d3d12: Move root sigs to D3D12_Shader_Common.hlsli, fix mismatch 2024-03-02 10:30:29 -08:00
D3D12_PixelShader_Common.hlsli d3d12: Move root sigs to D3D12_Shader_Common.hlsli, fix mismatch 2024-03-02 10:30:29 -08:00
D3D12_PixelShader_Textures.h Added the Chrome HDR tonemap operator 2024-02-21 19:25:49 -08:00
D3D12_PixelShader_Textures.hlsl d3d12: Move root sigs to D3D12_Shader_Common.hlsli, fix mismatch 2024-03-02 10:30:29 -08:00
D3D12_RootSig_Advanced.h Added the Chrome HDR tonemap operator 2024-02-21 19:25:49 -08:00
D3D12_RootSig_Color.h Updated direct3d12 renderer with HDR10 and SDR whitelevel support 2024-02-05 13:17:10 -08:00
D3D12_RootSig_Texture.h Updated direct3d12 renderer with HDR10 and SDR whitelevel support 2024-02-05 13:17:10 -08:00
D3D12_Shader_Common.hlsli d3d12: Move root sigs to D3D12_Shader_Common.hlsli, fix mismatch 2024-03-02 10:30:29 -08:00
D3D12_VertexShader.hlsl d3d12: Move root sigs to D3D12_Shader_Common.hlsli, fix mismatch 2024-03-02 10:30:29 -08:00
D3D12_VertexShader_Advanced.h Added the Chrome HDR tonemap operator 2024-02-21 19:25:49 -08:00
D3D12_VertexShader_Color.h Updated direct3d12 renderer with HDR10 and SDR whitelevel support 2024-02-05 13:17:10 -08:00
D3D12_VertexShader_Texture.h Updated direct3d12 renderer with HDR10 and SDR whitelevel support 2024-02-05 13:17:10 -08:00
SDL_render_d3d12.c Simplified SDL_Surface 2024-07-10 00:48:18 -07:00
SDL_render_d3d12_xbox.cpp Check the SDL_VIDEO_RENDER_??? macros with #if instead of #ifdef 2024-02-15 20:55:02 +03:00
SDL_render_d3d12_xbox.h Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
SDL_shaders_d3d12.c Added the Chrome HDR tonemap operator 2024-02-21 19:25:49 -08:00
SDL_shaders_d3d12.h Added the Chrome HDR tonemap operator 2024-02-21 19:25:49 -08:00
SDL_shaders_d3d12_xboxone.cpp GDK: Remove old shader sources, unify shader compilation .bats 2024-03-02 10:30:29 -08:00
SDL_shaders_d3d12_xboxseries.cpp GDK: Remove old shader sources, unify shader compilation .bats 2024-03-02 10:30:29 -08:00