Skip to content

The GPU API #7067

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 54 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
c1cddb1
gpu: A first shot at defining an API through new headers.
icculus Apr 11, 2022
250bb0d
gpu: Fixed namespace muscle memory. :)
icculus Apr 11, 2022
1398624
gpu: Remove some vertex formats.
icculus Apr 12, 2022
a8c72d8
gpu: Cook depth stencil state into SDL_GpuPipeline.
icculus Apr 13, 2022
be2442f
gpu: Specify primitive topology as part of SDL_GpuPipelineDescription.
icculus Apr 13, 2022
95af012
gpu: Two unrelated structs were both named SDL_GpuColorAttachmentDesc…
icculus Apr 13, 2022
37081ef
gpu: Some changes and notes as the design evolves.
icculus Apr 15, 2022
ea7d2ae
gpu: Move primitive type into the PSO, remove topology.
icculus Apr 16, 2022
ebb616a
gpu: Move the fixed-function render pass stuff into the Pipeline.
icculus Apr 17, 2022
3697ef7
gpu: Have app specify a pipeline when starting a render pass.
icculus Apr 17, 2022
8c757ec
gpu: Patched header to actually compile.
icculus Apr 21, 2022
72c7d16
gpu: Change "name" to "label" for (maybe more?) clarity
icculus Apr 21, 2022
8484522
gpu: First shot at some extremely initial code.
icculus Apr 21, 2022
082d222
gpu: Wire up the basic bits to the CMake project.
icculus Apr 21, 2022
7595693
gpu: Associate a GpuDevice with an SDL_Window at creation time.
icculus Apr 23, 2022
7696441
gpu: Add SDL_GpuGetTextureDescription.
icculus Apr 23, 2022
ac1b9ba
gpu: Added test/testgpu_simple_clear.c
icculus Apr 23, 2022
6126e17
testgpu_simple_clear: Fixed copy/paste bug.
icculus Apr 23, 2022
1a08eef
gpu: Added some FIXMEs.
icculus Apr 28, 2022
b8fcd5c
gpu: Disassociate GPU devices from a specific window.
icculus Apr 29, 2022
ac4fccc
gpu: Connect to SDL_Window in SDL_GpuGetBackbuffer.
icculus Apr 29, 2022
5573ad2
gpu: Make CPU and GPU buffers separate objects.
icculus May 3, 2022
1765f01
gpu: SDL_GpuCreateFence should take a label, too.
icculus May 3, 2022
0f419e7
gpu: Added SDL_GpuAbandonCommandBuffers.
icculus May 3, 2022
e22a0ab
gpu: Added some optional helper functions to reduce boilerplate.
icculus May 3, 2022
9bc9d19
gpu: Added test/testgpu_spinning_cube.c
icculus May 3, 2022
4436d1c
gpu: Call it "CreateShader" instead of "LoadShader" like other GPU ob…
icculus May 5, 2022
bc0efb3
gpu: Allow caller to enumerate and select backend drivers.
icculus May 5, 2022
1bb2294
gpu: Submitting command buffers needs to take a device object.
icculus May 5, 2022
97e61f8
gpu: Most of the void APIs should be able to return an error.
icculus May 5, 2022
5837f3b
gpu: Fill in a first shot at the high-level implementation.
icculus May 5, 2022
4a3062b
gpu: Added a "dummy" driver.
icculus May 5, 2022
5f4871a
gpu: Decide how present should work.
icculus May 6, 2022
862adbc
gpu: Further rethinking of backbuffer management and presentation.
icculus May 7, 2022
58f6cf8
gpu: Fixed a bunch of things, filled in some obvious missing API bits.
icculus May 11, 2022
b097d23
gpu: move getbackbuffer and present code next to each other.
icculus May 11, 2022
9b8a0fe
gpu: submit/abandon one command buffer at a time.
icculus May 11, 2022
8259993
gpu: Initial work on a Metal backend.
icculus May 11, 2022
2bd76d4
gpu: Patched Metal backend to compile.
icculus May 12, 2022
50ac3b8
gpu: Assume we have ARC support when building the Metal backend.
icculus May 12, 2022
a26b42d
gpu: Fixed incorrect comment.
icculus May 18, 2022
b3e98d6
gpu: Added vsync support for Metal backend.
icculus May 18, 2022
f988a25
gpu: Add Metal to list of usable drivers.
icculus May 18, 2022
922f97e
gpu: First shot at testgpu_spinning_cube.c using the new shader langu…
icculus Sep 12, 2022
a1b9104
gpu: Use new SDL3 SDL_(begin|close)_code.h header names.
icculus Jan 12, 2023
f3fe309
gpu: Move the GPU API headers into the new SDL3 location.
icculus Jan 12, 2023
0988d2b
gpu: The shader compiler isn't going to built into SDL directly.
icculus Jan 12, 2023
720e7a2
gpu: Renamed all the API functions to match SDL3 conventions.
icculus Jan 12, 2023
0c94012
gpu: Removed API warning.
icculus Jan 12, 2023
aa05de3
gpu: Fix more build errors from SDL3 migration.
icculus Jan 12, 2023
52f61ce
gpu: testgpu_spinning_cube.c needs the shader compiler, disable for now.
icculus Jan 12, 2023
4e3fc89
gpu: Turn off the tests for now.
icculus Jan 12, 2023
b1fb03d
gpu: More patches for SDL3 migration.
icculus Jan 13, 2023
5db1fd7
gpu: Updated for SDL3 interface changes.
icculus Oct 11, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
gpu: testgpu_spinning_cube.c needs the shader compiler, disable for now.
  • Loading branch information
icculus committed Oct 17, 2023
commit 52f61cef8a0192fb3aded4d98fd342e420210ea1
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ add_sdl_test_executable(testvulkan NO_C90 SOURCES testvulkan.c)
add_sdl_test_executable(testoffscreen SOURCES testoffscreen.c)
add_sdl_test_executable(testpopup SOURCES testpopup.c)
add_sdl_test_executable(testgpu_simple_clear TESTUTILS SOURCES testgpu_simple_clear.c)
add_sdl_test_executable(testgpu_spinning_cube TESTUTILS SOURCES testgpu_spinning_cube.c)
#add_sdl_test_executable(testgpu_spinning_cube TESTUTILS SOURCES testgpu_spinning_cube.c)

check_c_compiler_flag(-Wformat-overflow HAVE_WFORMAT_OVERFLOW)
if(HAVE_WFORMAT_OVERFLOW)
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy