Evan Hemsley
0b6f993dea
GPU: Zero-init handling ( #10786 )
2024-09-10 18:17:08 -07:00
Sam Lantinga
817f1b3da8
Revert "Changed SDL_GPU_TEXTUREFORMAT_INVALID to 0"
...
This reverts commit b51c6551d6
.
2024-09-10 09:22:49 -07:00
Sam Lantinga
b51c6551d6
Changed SDL_GPU_TEXTUREFORMAT_INVALID to 0
...
This is more in line with SDL's convention and makes it easier to do zero-based structure initialization.
2024-09-10 08:37:52 -07:00
cosmonaut
d3091b9538
Remove SDL_GPUDepthStencilValue struct
2024-09-09 10:55:05 -07:00
Evan Hemsley
668e2f82d2
Add load op and clear color to SDL_BlitGPUTexture ( #10767 )
2024-09-09 10:19:52 -07:00
SDL Wiki Bot
7ec998819d
Sync SDL3 wiki -> header
2024-09-07 23:13:46 +00:00
Maia
fd6056307f
fix trailing doc comments
2024-09-07 09:11:13 -07:00
cosmonaut
1a13acac09
Always blit to the swapchain in GPU_RenderPresent
...
Fixes #10744
2024-09-07 08:43:02 -07:00
SDL Wiki Bot
e9c7b36fbd
Sync SDL3 wiki -> header
2024-09-07 15:30:40 +00:00
Evan Hemsley
68a9991ec9
GPU: Document structs ( #10742 )
2024-09-07 08:29:14 -07:00
SDL Wiki Bot
f42da35ef9
Sync SDL3 wiki -> header
2024-09-06 23:39:48 +00:00
Caleb Cornett
9730f62e8c
GPU: Rename struct members and parameters for SDL3 naming conventions ( #10730 )
...
---------
Co-authored-by: Evan Hemsley <2342303+thatcosmonaut@users.noreply.github.com>
2024-09-06 16:38:23 -07:00
Caleb Cornett
2d4eb29c37
Add SDL_SetGPUBlendConstants, SDL_SetGPUStencilReference ( #10704 )
2024-09-05 17:41:23 -05:00
SDL Wiki Bot
af4c6682ce
Sync SDL3 wiki -> header
2024-09-05 16:59:20 +00:00
cosmonaut
cba5ccb9cf
GPU: Fix documentation formatting
2024-09-05 09:57:54 -07:00
Evan Hemsley
42a0df91bf
Add padding for non-32-bit-aligned types in structs ( #10701 )
2024-09-05 09:52:57 -07:00
Quinn X. J.
f61d4db39a
GPU: colorAttachmentDescriptions
should be const
...
The `colorAttachmentDescriptions` field of `SDL_GPUGraphicsPipelineAttachmentInfo` should be marked `const`,
similarly to the `vertexBindings` and `vertexAttributes` fields of `SDL_GPUVertexInputState`.
2024-09-05 05:22:52 -07:00
SDL Wiki Bot
249a74e436
Sync SDL3 wiki -> header
2024-09-05 01:25:36 +00:00
Evan Hemsley
1c8c014481
GPU: Document opaque handles and enums ( #10700 )
2024-09-04 18:24:11 -07:00
Evan Hemsley
1788be8547
GPU: Add const to some function parameters ( #10694 )
2024-09-04 13:53:41 -07:00
Sam Lantinga
73898a0a64
Renamed NDA platform constants to "PRIVATE"
2024-09-02 21:00:34 -07:00
Caleb Cornett
b233beca47
GPU: Minor documentation cleanup
2024-09-02 18:01:43 -07:00
Andrei Alexeyev
fb7245fb93
GPU: Add support for more texture formats ( #10641 )
2024-09-02 19:14:48 -05:00
Caleb Cornett
f405def691
Change GPU flag enums to defines ( #10681 )
2024-09-02 15:19:43 -07:00
Petar Popovic
1751e127c8
Removed trailing commas in enums
2024-09-01 06:23:20 -07:00
Sam Lantinga
92d1689eb4
Added missing SDL_begin_code.h and SDL_close_code.h to SDL_gpu.h
2024-08-31 10:02:46 -07:00
Sam Lantinga
60760b9abb
Sort headers in SDL_gpu.h
2024-08-31 10:00:11 -07:00
Petar Popovic
3f05e9cd58
Added includes to SDL_gpu.h
2024-08-31 09:59:17 -07:00
Evan Hemsley
12ecdb9dde
GPU: Rename some awkwardly named functions ( #10642 )
2024-08-30 15:31:10 -07:00
Sam Lantinga
f1b4c2bbbb
Removed Unicode BOM from SDL_gpu.h
2024-08-29 18:03:59 -07:00
SDL Wiki Bot
9f0b23d3ad
Sync SDL3 wiki -> header
2024-08-30 00:35:24 +00:00
Sam Lantinga
62f6e6b701
Removed the preferLowPower parameter from SDL_CreateGPUDevice()
2024-08-29 17:33:52 -07:00
Sam Lantinga
3046335f28
Fixed device creation property documentation formatting
2024-08-29 17:33:52 -07:00
Sam Lantinga
b8e7ef27f3
Renamed GPU device creation properties
2024-08-29 17:33:52 -07:00
Sam Lantinga
d70578b9aa
Renamed Gpu to GPU
2024-08-29 17:33:52 -07:00
Ryan C. Gordon
8ea38ebedc
gpu: Fix wiki category capitalization.
2024-08-29 19:45:03 -04:00
SDL Wiki Bot
68038394d1
Sync SDL3 wiki -> header
2024-08-29 22:58:01 +00:00
cosmonaut
2e7d5bb429
Add the SDL_GPU API
...
Project Lead: Evan Hemsley <evan@moonside.games>
Co-designer, Metal Port, Console Ports:
Co-authored-by: Caleb Cornett <caleb.cornett@outlook.com>
Production, QA, Debug:
Co-authored-by: Ethan Lee <flibitijibibo@gmail.com>
SDL_Render Driver, Bugfixes:
Co-authored-by: Andrei Alexeyev <akari@taisei-project.org>
Additional D3D12 Programming, Bugfixes:
Co-authored-by: Bart van der Werf <bluelive@gmail.com>
Bugfixes and Feedback:
Co-authored-by: Zakary Strange <zakarystrange@gmail.com>
Co-authored-by: meyraud705 <meyraud705@gmail.com>
Co-authored-by: Joshua T. Fisher <playmer@gmail.com>
Co-authored-by: Topi Ritala <ritalat@fastmail.com>
Co-authored-by: David Gow <david@ingeniumdigital.com>
Original API Proposal:
Co-authored-by: Ryan C. Gordon <icculus@icculus.org>
2024-08-29 15:57:29 -07:00