SDL Wiki Bot
22aeb1bbba
Sync SDL3 wiki -> header
2024-09-05 19:23:35 +00:00
Frank Praznik
a46e7027ce
video: Allow setting the parents of toplevel windows
...
Allow setting a parent/child relationship on toplevel windows, which allows raising sets of windows together, and allows child windows to always float above their parents.
Modal windows are now set by setting the parent, then toggling modal status, as the previous interface duplicated functionality now handled by SDL_SetWindowParent().
2024-09-05 15:22:23 -04: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
Ozkan Sezer
f317581c91
SDL_log.h: Use ASCII characters.
...
(was missed in commit 7ca676aeed
for issue #10636 )
2024-09-04 14:56:40 +03:00
Sam Lantinga
7ca676aeed
Use ASCII characters in SDL source and headers
...
Fixes https://github.com/libsdl-org/SDL/issues/10636
2024-09-03 12:52:27 -07:00
Sam Lantinga
575d9cda6f
The parameter to SDL_AppEvent() should be non-const
...
This allows functions like SDL_ConvertEventToRenderCoordinates() to work without having to copy the event.
Fixes https://github.com/libsdl-org/SDL/issues/10691
2024-09-03 08:18:36 -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
SDL Wiki Bot
19fb43b94f
Sync SDL3 wiki -> header
2024-09-03 00:19:03 +00:00
Sam Lantinga
46ffa82f4e
Added SDL_ALPHA_OPAQUE_FLOAT and SDL_ALPHA_TRANSPARENT_FLOAT
...
Fixes https://github.com/libsdl-org/SDL/issues/10684
2024-09-02 17:17:48 -07:00
Sam Lantinga
18c46a3313
Fixed SDL_pen.h for SDL3 bit flag conventions
2024-09-02 17:17:48 -07:00
Sam Lantinga
eacf119923
Renamed SDL_size_add_overflow() and SDL_size_mul_overflow()
2024-09-02 17:17:48 -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
Maia
35ebaf4a45
Fix multiple definitions of SDL_assert* when SDL_WIKI_DOCUMENTATION_SECTION is defined
2024-08-31 20:08:36 -07:00
Petar Popovic
0f59d2f8c9
SDL_test_memory.h: Added void to function prototype
2024-08-31 20:03:25 -07:00
Petar Popovic
d1739ce3a8
Added headers to some SDL_test_*.h files
2024-08-31 11:56:27 -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
Sam Lantinga
f827c1322c
Renamed SDL_Del* to SDL_Remove*
2024-08-31 07:46:28 -07:00
Sam Lantinga
cf1d8e2dfd
Renamed SDL_AtomicSetPtr() and SDL_AtomicGetPtr()
...
Fixes https://github.com/libsdl-org/SDL/issues/10601
2024-08-31 07:46:28 -07:00
Evan Hemsley
12ecdb9dde
GPU: Rename some awkwardly named functions ( #10642 )
2024-08-30 15:31:10 -07:00
Sam Lantinga
b602c449e5
Remove SDL_SCALEMODE_BEST
...
Fixes https://github.com/libsdl-org/SDL/issues/10619
2024-08-30 10:30:14 -07:00
SDL Wiki Bot
04845bd39c
Sync SDL3 wiki -> header
2024-08-30 13:27:33 +00:00
Sam Lantinga
138f3a3c91
Fixed documentation for SDL_SetAudioStreamGetCallback()
...
Fixes https://github.com/libsdl-org/SDL/issues/10633
2024-08-30 06:26:23 -07:00
Anonymous Maarten
88fe52df7b
SDL_test: add --gpu option
2024-08-30 13:43:38 +02: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
SDL Wiki Bot
717f4f6fb4
Sync SDL3 wiki -> header
2024-08-29 23:54:57 +00: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
hwsmm
940f7535ef
Remove SDL_PEN hints that are no longer used
2024-08-28 07:04:48 -07:00
Maia
a24c164956
Fix trailing doc comments
2024-08-27 13:23:26 -07:00
SDL Wiki Bot
85bbc6028a
Sync SDL3 wiki -> header
2024-08-27 17:33:28 +00:00
Sam Lantinga
47926d7bd0
Added a cleanup function for virtual joysticks
2024-08-27 10:31:46 -07:00
Sam Lantinga
00c409cff8
Additional cleanup exposed by building with a C++ compiler
2024-08-27 10:31:46 -07:00
Sam Lantinga
f08ac438ed
Use stdbool for SDL_bool
...
This helps the compiler warn people when they're doing something like "if (SDL_Init(0) < 0)"
2024-08-27 10:31:46 -07:00