|
b8d85c69
|
2022-11-30T12:51:59
|
|
Update for SDL3 coding style (#6717)
I updated .clang-format and ran clang-format 14 over the src and test directories to standardize the code base.
In general I let clang-format have it's way, and added markup to prevent formatting of code that would break or be completely unreadable if formatted.
The script I ran for the src directory is added as build-scripts/clang-format-src.sh
This fixes:
#6592
#6593
#6594
(cherry picked from commit 5750bcb174300011b91d1de20edb288fcca70f8c)
|
|
fb0ce375
|
2022-11-27T17:38:43
|
|
Cleanup add brace (#6545)
* Add braces after if conditions
* More add braces after if conditions
* Add braces after while() conditions
* Fix compilation because of macro being modified
* Add braces to for loop
* Add braces after if/goto
* Move comments up
* Remove extra () in the 'return ...;' statements
* More remove extra () in the 'return ...;' statements
* More remove extra () in the 'return ...;' statements after merge
* Fix inconsistent patterns are xxx == NULL vs !xxx
* More "{}" for "if() break;" and "if() continue;"
* More "{}" after if() short statement
* More "{}" after "if () return;" statement
* More fix inconsistent patterns are xxx == NULL vs !xxx
* Revert some modificaion on SDL_RLEaccel.c
* SDL_RLEaccel: no short statement
* Cleanup 'if' where the bracket is in a new line
* Cleanup 'while' where the bracket is in a new line
* Cleanup 'for' where the bracket is in a new line
* Cleanup 'else' where the bracket is in a new line
(cherry picked from commit 6a2200823c66e53bd3cda4a25f0206b834392652 to reduce conflicts merging between SDL2 and SDL3)
|
|
ce5da5d5
|
2022-11-16T21:47:43
|
|
Don't compare pointer against '0', but NULL
|
|
a8f019b1
|
2022-10-28T00:52:06
|
|
Using ST and removing warnings
|
|
f2ebedae
|
2022-10-27T00:35:20
|
|
adding texture function
|
|
5de01eb0
|
2022-10-22T00:22:34
|
|
Make render to use new functions
|
|
8117bfe5
|
2022-10-10T22:29:31
|
|
PS2: Ignore warnings from toolchain headers.
The `gsInline.h` header creates `Wdeclaration-after-statement` warnings.
|
|
d744aafb
|
2022-09-15T01:00:12
|
|
Added support for simulated vsync in the renderer
This kicks in if the platform doesn't support vsync directly, or if the present fails for some reason (e.g. minimized on some platforms)
Fixes https://github.com/libsdl-org/SDL/issues/5134
|
|
f1e46858
|
2022-08-26T17:58:59
|
|
Adding specific SDL_Hint for the dynamic VSYNC
|
|
7d5ccae2
|
2022-08-14T12:15:55
|
|
Fix memory leak when destroying texture
|
|
20f9a1b8
|
2022-08-08T17:23:43
|
|
Implement SetTextureScaleMode
|
|
fbb440d1
|
2022-08-06T18:10:54
|
|
Invalidate texture in the UnlockTextureMethod
|
|
944111db
|
2022-08-02T18:47:39
|
|
Cleaning up video driver
|
|
83c11797
|
2022-08-01T12:23:58
|
|
Adding SetViewPortCommand
|
|
a9f4cda3
|
2022-08-01T12:13:28
|
|
Adding setcliprect command
|
|
fb1a205e
|
2022-08-01T11:44:05
|
|
Implement blend modes
|
|
075f9016
|
2022-08-01T11:43:50
|
|
Remove some unnecessary comments
|
|
ed301b12
|
2022-08-01T11:43:35
|
|
Updating supported format
|
|
1d1965b6
|
2022-07-18T12:34:17
|
|
Removing the BGR_888 from texture supported
|
|
f75c35c0
|
2022-07-12T23:01:28
|
|
Add invalidate texture when it changes
|
|
5bb965be
|
2022-07-08T15:47:33
|
|
Implement RenderLines
|
|
0f0e5b44
|
2022-07-08T17:47:19
|
|
Increase size of pool for gsKit events
|
|
f758cad8
|
2022-07-08T13:14:40
|
|
Remove non needed FillRects function
|
|
3cb124b9
|
2022-07-07T15:00:15
|
|
Implement RenderPoints
|
|
df6ebc25
|
2022-07-07T14:10:37
|
|
Implement FillRect
|
|
a152e467
|
2022-07-07T12:09:12
|
|
Fix "implicit declaration" with memalign
|
|
33cbf9ac
|
2022-07-07T12:03:46
|
|
Fix some mixed declaration warnings
|
|
acf48f14
|
2022-07-07T11:37:20
|
|
Vertex pointer revision
Now triangles are fully working
|
|
72618044
|
2022-07-07T10:36:48
|
|
Add textured triangle prim
|
|
2a70d492
|
2022-07-07T16:42:42
|
|
Destroy texture properly
|
|
7b0486d4
|
2022-07-07T09:33:36
|
|
Try triangles
|
|
d5305ee0
|
2022-07-07T08:48:25
|
|
Do properly color assign
|
|
b48c74a3
|
2022-07-07T08:24:46
|
|
Add GeometryQueue
|
|
3bfc8f55
|
2022-07-04T23:54:13
|
|
Removing some of the QueueCopy functions because they are legacy
|
|
be1219bd
|
2022-07-04T23:35:25
|
|
Implement setDrawColor
|
|
f1699ce7
|
2022-06-23T23:45:04
|
|
Implementing Clear command and texture Update
|
|
c472b8dd
|
2022-07-04T13:23:06
|
|
Whole clean around render and video driver
|
|
cdf89fde
|
2022-07-04T04:09:55
|
|
Add triangle prim support
Improve line support
Add initial texture support
|
|
88e64f9a
|
2022-07-03T23:29:25
|
|
Add natively supported colors
|
|
90e0e5c2
|
2022-06-30T19:50:22
|
|
Add point, line and rect support
|
|
147a71b9
|
2022-06-30T12:57:37
|
|
Finish dummy driver
|
|
2660449c
|
2022-06-30T11:44:35
|
|
Add dummy driver
|