Commit 1b87a6b
[3.0] Windowing Rewrite (#2278)
* Initial group codegen
* Fix some trimming oddities
* Fix HintTargetPGI and others similarly situated
* Base typing and namespacing
* Cast enum members, fix stray semicolons, Silk.NET.OpenGL builds again
* Group and bool transformations
* Fix erroneous cast order
* Add Delete(singular) overloads (ArrayParameterOverloader)
* Add SAL object model & Khronos length metadata parsing
* ArrayParameterTransformer w/ tests
* Integrate ArrayParameterTransformer
* Support SupportedApiProfileAttribute generation with metadata
* PrettifyNames conflict resolution now actually works
* Fix casting transformation ambiguity bugs
* Fix metadata retrieval for reserved identifiers
* Fix unit tests
* Fixup for all caps names
* Fix naive trimming bug
* More self-review comments
* SDL bindings
* Fix naming regression
* Prettify & extract the nested _e__{Union,Struct,FixedBuffer} structs
* Function pointer generation
* Add a second pass to name delegates based on usage!
* Fixes from self-review
* Windowing 3.0 Iteration 1 with Dependency Injection - scrapped
* WIP Windowing 3.0 for real this time
* Some more work
Will be pausing here as I need to change the bindings, and to be honest I don't want to do that without doing the SilkTouch refactor first.
* Rejig the repo structure
* Save progress, as I am deleting the progress
* Create a Roslyn compilation & workspace
* Bugfixes, generation runs with renaming but is slow and outputs wrong
* Some more bugfixes
* Fix mods not saving outputs, unnecessary subdirs, filenames, and other renamer issues
* Add IResponseFileMod, fix EntryPoint not in DllImport, and other fixes & improvements
* Delete some stray files
* Minor nits
* Initial commit of the SymbolFinder rename experiment
* This is the new renamer
* Fix ctors and dtors, stop using `using static`s
* Regenerate bindings
* Use public Roslyn APIs and parallelise
* Fix buidl
* Add ISurfaceProvider
* Add a write-up on the PAL HLU concepts/status for the future
* Remove the hosting API
* Start on a more clean sheet and conservative implementation
* Separate files
* Lay out impl, add new APIs from proposal
* Add a Utf8String helper type, and transform string constants to use it
* Move bakery functionality into a mod separate from SupportedApiProfiles
* Rename GetTypeDeclaration to BakeMember
* Cache the result of function pointer loading
* Fix vulnerability?
* Recognise some #define enums, improve pfn type gen, update SDL, more fixes
* Update ClangSharp (with no changes!!!!1111!1!!!111 🎉)
* Commit cache files too
* Add SDL_gpu (and other missing headers such as SDL_vulkan)
* Check-in rsp changes, add namespace for windowing, add SDL_main bindings
* Work on more of the implementation
* Triangle with Silk.NET.Windowing 3.0
* Implement all APIs
* Wire up all relevant events
* Sweep a macOS deficiency under the rug
* Apply initial configuration, surprisingly little code...
* Initial work on native build workflow
* Stop using YAML for GITHUB_OUTPUT
* Add GH_TOKEN env var to stage2
* Use an action for comment writing instead
* Fix permissions, try to fix expr issue
* Same again
* Fix PR comment location
* Replace the comment rather than append to it
* Start of native build job
* Attempt to fix matrix
* Add a job name, fix build script permissions issues
* Add OSX build for SDL
* Start of commit job
* Add missing checkout
* Use official action to checkout PR
* Fix permissions issues
* Update native binaries for bc82423
* Start of linux-x64 SDL build
* Sudo for apt
* apt-get update
* Checkout submodule
* Fix path error
* Update native binaries for ece2459
* Add linux-arm and linux-arm64
* Use glibc 2.34 on linux-arm for Y2038 support
* Update native binaries for 3e3df2c
* Add win-arm, win-arm64, win-x64
* Fix dir structure
* Attempt to keep win-arm support, may be on the chopping block though
* Fix batch script error
* Use curl instead of wget?
* Fix winsdk install?
* Remove 32-bit Windows on Arm support
* Use a Microsoft Developer Command Prompt
* Fix vcvarsall path
* Use Ninja - libsdl-org/SDL##11487
* Update native binaries for 601bb66
* Fix artifact download path
* Fix the fix
* Update native binaries for 4630438
* Add iOS and tvOS for SDL
* Fix file permissions
* Update native binaries for 45f36d0
* Add Android build for SDL
* Apparently sdkmanager is not in PATH
* Install Python 3.11
* Install Ninja
* Update native binaries for d7d3c69
* Try to ungitignore the Android jar
* Update native binaries for f79ad90
* Add an easy update script
* Include org.libsdl.app bindings with the aar, working package now
* Update native binaries for 8cf95c2
* Some cleanup, and add docs
* Fix build
* Install workloads in test too
* Update native binaries for 186f907
* Fix build (not ideally)
* Update native binaries for 44b9933
* Dummy commit to run Test/Build again
* Remove old code
* Fix it
* Stop downloading previews?
* Add dependency to native package for SDL
* Fix build
* Only duplicate the VersionSuffix for natives
* Add SilkActivity
* WG comments
* Fix build?
* More build fix attempts
* Use the condition guards for xplat builds
* Fix csproj
* Clear locals to try and fix weird .NET SDK bug
* Add workaround from dotnet/maui#27215
* Fixes from self review
* Rectify remaining self-review comments
* nit
---------
Co-authored-by: The Silk.NET Automaton <[email protected]>1 parent 9bf9279 commit 1b87a6b
File tree
243 files changed
+75435
-37459
lines changed- .github/workflows
- .silktouch
- docs/for-contributors/Windowing
- Implementations/SDL3
- eng
- silktouch/sdl
- SDL3
- submodules
- sources
- Core/Core
- Abstractions
- DSL
- Pointers
- PublicAPI/net8.0
- OpenGL/OpenGL
- Playground
- SDL/SDL
- Handles
- SDL3
- Windowing/Windowing
- Implementations/SDL3
- tests
- Core/Core
- SDL/SDL/SDL3
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
243 files changed
+75435
-37459
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
56 | 66 | | |
57 | 67 | | |
58 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
59 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
60 | 86 | | |
61 | 87 | | |
62 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
17 | 25 | | |
18 | 26 | | |
19 | 27 | | |
| |||
Binary file not shown.
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
100 | 105 | | |
101 | 106 | | |
102 | 107 | | |
| |||
159 | 164 | | |
160 | 165 | | |
161 | 166 | | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
162 | 171 | | |
163 | 172 | | |
164 | 173 | | |
| |||
189 | 198 | | |
190 | 199 | | |
191 | 200 | | |
| 201 | + | |
| 202 | + | |
192 | 203 | | |
193 | 204 | | |
194 | 205 | | |
| |||
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
0 commit comments