Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
341 commits
Select commit Hold shift + click to select a range
1b3b89a
Allow multiple NameAffix attributes to be used on one identifier
Exanite Nov 30, 2025
b8f385d
Cleanup
Exanite Nov 30, 2025
3052bdc
Don't process secondaries when adding to outputing to newNames dictio…
Exanite Nov 30, 2025
a670548
Fix incorrect rename
Exanite Nov 30, 2025
4d05314
Remove acronym identification in order to make all names be strictly …
Exanite Nov 27, 2025
d343503
Regenerate all bindings on Linux after changing acronyms to be pascal…
Exanite Nov 30, 2025
a9029f7
Update acronyms in names to be pascal cased and fix compile errors
Exanite Nov 30, 2025
60909ef
Remove NameUtils.Prettify allowAllCaps parameter
Exanite Nov 30, 2025
62351e8
Remove transformer from NameUtils.Prettify API and prevent unnecessar…
Exanite Nov 30, 2025
f0f8efa
Properly prettify the prettify only names if no trimmer baseline is s…
Exanite Nov 30, 2025
fb41785
Cleanup code
Exanite Nov 30, 2025
285540f
Refactor name affix API
Exanite Nov 30, 2025
3ec520b
Implement name affix handling
Exanite Nov 30, 2025
286d85b
Add prefix override for VkMemoryDecompressionMethodFlagsEXT
Exanite Nov 30, 2025
a5ea18a
Improve NameUtils.Prettify error messages
Exanite Nov 30, 2025
fc068a6
Add VendorSuffixIdentifierExclusions to MixKhronosData config
Exanite Nov 30, 2025
07af5dc
Regenerate SDL and OpenAL bindings. OpenGL needs more work. SDL has n…
Exanite Nov 30, 2025
a659a82
Remove now unnecessary _T trimming code
Exanite Nov 30, 2025
ab1aa5d
Remove unused code
Exanite Nov 30, 2025
13ffcfe
Remove ExtensionVendorTrimmingMode
Exanite Nov 30, 2025
8838125
Add todos
Exanite Nov 30, 2025
27a7750
Add NameAffixerLateTrimmer back and use prettify prevention hack to g…
Exanite Nov 30, 2025
990f560
Merge branch 'feature/vulkan-bindings-3.0-name-affixer' into feature/…
Exanite Nov 30, 2025
25484bf
Fix a few compile errors
Exanite Nov 30, 2025
572d225
Handle method vendor suffixes and remove vendor suffix capitalization…
Exanite Nov 30, 2025
a853fd6
Add NativeName attribute for function pointer structs and delegates
Exanite Nov 30, 2025
8e12ba7
Ensure delegate vendor extensions are identified properly
Exanite Nov 30, 2025
af59554
Cleanup
Exanite Dec 1, 2025
d91bcd7
Update generator configs for other jobs and also strip NameAffix attr…
Exanite Dec 1, 2025
7415297
Add TransformEnums mod to all jobs
Exanite Dec 1, 2025
322cc7b
Ignore cast expressions when deciding whether to rewrite enum members…
Exanite Dec 1, 2025
c3540a8
Regenerate SDL (inconsistent generation?)
Exanite Dec 1, 2025
8eded53
Fix non strict pascal casing in generator config
Exanite Dec 1, 2025
cfc8ac9
Prevent struct method names from getting trimmed
Exanite Dec 1, 2025
880957b
Rename VendorSuffixIdentifierExclusions to VendorSuffixIdentification…
Exanite Dec 1, 2025
a720617
Fix compile error
Exanite Dec 2, 2025
ed90465
Update comments
Exanite Dec 2, 2025
2f09e5b
Add AttributeUtils.GetNativeNameOrDefault()
Exanite Dec 2, 2025
c0e6bcb
Attempt to reimplement exclusive vendor suffix trimming code. Results…
Exanite Dec 2, 2025
1e067ac
Remove the now unnecessary rewind code
Exanite Dec 2, 2025
d9d62be
Temporarily remove data type trimming code
Exanite Dec 2, 2025
eb0f8e9
Fix ALC_INVALID_CONTEXT being prettified as InvalidContEXT
Exanite Dec 2, 2025
51023e2
Organize configuration for MixKhronosData and pre-emptively add new o…
Exanite Dec 2, 2025
2004a92
Add configuration options for TrimEnumTypeNonExclusiveVendors and Tri…
Exanite Dec 2, 2025
9c263b4
Replace TrimEnumMemberExclusiveVendors with TrimEnumMemberImpliedVend…
Exanite Dec 2, 2025
e30d2ec
Decide not to special case OpenGL's SamplePatternSGIS
Exanite Dec 3, 2025
124cd1b
Optimize/cleanup trimming code
Exanite Dec 3, 2025
a34ce36
Attempt to implement data type trimming, but not working yet due to f…
Exanite Dec 3, 2025
a3437cc
Merge branch 'feature/vulkan-bindings-3.0-improvements-enum-vendor-tr…
Exanite Dec 3, 2025
b112a60
Edit doc comment for NameAffix
Exanite Dec 3, 2025
f0c674e
Add discriminator priority to NameAffix attribute
Exanite Dec 3, 2025
8cbed7e
Add ToString implementations for CandidateNames structs for easier de…
Exanite Dec 3, 2025
596a6aa
Add comment explaining PreventPrettificationHack
Exanite Dec 4, 2025
1712060
Avoid adding redundant secondaries
Exanite Dec 4, 2025
90bb541
Merge branch 'feature/vulkan-bindings-3.0-improvements' into feature/…
Exanite Dec 4, 2025
39b782c
Regen OpenAL on Linux
Exanite Dec 4, 2025
fb55107
Change secondaries to be non-nullable since I allocate all of them an…
Exanite Dec 4, 2025
e3236b0
Regen OpenGL on Linux
Exanite Dec 4, 2025
82d3b7f
Disable stripping for NameAffix attributes in OpenAL for easier debug…
Exanite Dec 4, 2025
76fb8cf
Rework the NameAffix properties and what they do again
Exanite Dec 4, 2025
67c7867
Update config options and adjust docs a bit more
Exanite Dec 4, 2025
32d4e64
Edit docs
Exanite Dec 4, 2025
eaa93cb
Store the NameAffixAttribute declaration order
Exanite Dec 4, 2025
b7428f5
Update order and priority of data type suffixes
Exanite Dec 4, 2025
2ea6a43
Attempt to get data trimming working and apparently fix a few bugs in…
Exanite Dec 4, 2025
24ce296
Fix AL_VOCAL_MORPHER_PHONEME_T's -T suffix getting trimmed
Exanite Dec 4, 2025
b0bff43
Edit doc comment on NameAffixerEarlyTrimmer.Version
Exanite Dec 4, 2025
1023090
Regenerate all bindings on Linux
Exanite Dec 4, 2025
3f575ff
Strip all NameAffix attributes for OpenAL since I'm no longer debugging
Exanite Dec 4, 2025
9a90036
Sort and ensure consistent attribute targets for NativeName and NameA…
Exanite Dec 4, 2025
8dcd207
Fix formatting
Exanite Dec 5, 2025
22a2c95
Don't mark parameters with the NativeName attribute
Exanite Dec 5, 2025
1536c15
Add INameTrimmer.Order property and sort trimmers by that instead of …
Exanite Dec 5, 2025
97586d6
Fix OpenAL's alSourceRewindv getting trimmed as alSourceRewin
Exanite Dec 5, 2025
f414752
Fix incorrect range indexing
Exanite Dec 5, 2025
58524e3
Change prettification to occur before affixes are re-added
Exanite Dec 5, 2025
5cc9c6e
Rename NameAffix.Priority to DiscriminatorPriority for clarity
Exanite Dec 6, 2025
f75dd7f
Cleanup RewriterPhase3 code in MixKhronosData
Exanite Dec 6, 2025
8fe7404
Fix incorrect hasSetter condition causing properties to be incorrectl…
Exanite Dec 6, 2025
fbcb049
Fix TexStorageAttribs and ContainerType getting over trimmed
Exanite Dec 6, 2025
682a261
Fix enums created by MixKhronosData not having their enum values rewr…
Exanite Dec 6, 2025
7b45449
Regenerate bindings on Windows
Exanite Dec 6, 2025
558a8b1
Fix compile errors in tests
Exanite Dec 6, 2025
e9c9f39
Exclude SDL_SetWindowsMessageHook
Exanite Dec 6, 2025
cd5b2c9
Exclude SDL_FILE, SDL_LINE, SDL_NULL_WHILE_LOOP_CONDITION
Exanite Dec 6, 2025
c7300c3
Fix compile errors and update windowing code to use strict pascal cas…
Exanite Dec 6, 2025
9c9fbfc
Revert after review: Revert all generated bindings changes
Exanite Dec 6, 2025
5cd9029
Revert incorrect OpenGL capitalization changes in SdlContext
Exanite Dec 6, 2025
fac347c
Revert incorrect OpenGL capitalization changes in SdlSurfaceComponent…
Exanite Dec 6, 2025
a1c0f23
Revert "Revert after review: Revert all generated bindings changes"
Exanite Dec 6, 2025
48d182f
Begin reverting acronym casing change
Exanite Dec 6, 2025
16f5753
Update openal-soft submodule
Exanite Dec 6, 2025
53fbdd3
Revert change to EGLPlatformInfo
Exanite Dec 6, 2025
8aefc51
Regenerate bindings on Windows
Exanite Dec 7, 2025
9bbf8be
Revert after review: Revert all generated bindings changes
Exanite Dec 7, 2025
4634117
Revert changes to ContextSourceExtensions
Exanite Dec 7, 2025
787081a
Revert changes to SdlEventProcessor
Exanite Dec 7, 2025
2fa139f
Revert changes to SdlSurfaceComponents
Exanite Dec 7, 2025
8a2d826
Revert "Revert after review: Revert all generated bindings changes"
Exanite Dec 7, 2025
167ef88
Add Rewindv to EndingsNotToTrim
Exanite Dec 7, 2025
933e1bc
Add more comments on enum vendor suffix trimming
Exanite Dec 7, 2025
e6c339b
Add Rewindv to EndingsNotToTrim
Exanite Dec 7, 2025
12ccb9c
Add more comments on enum vendor suffix trimming
Exanite Dec 7, 2025
87aed8e
Add example for isSafeToTrimType and move condition to a named variab…
Exanite Dec 7, 2025
c891fcd
Add example for isSafeToTrimType and move condition to a named variab…
Exanite Dec 7, 2025
b0f0794
Add comment shouldTrimType
Exanite Dec 7, 2025
869aaf3
Add comment on intended use of Order and DiscriminatorPriority proper…
Exanite Dec 8, 2025
c998b96
Merge branch 'feature/vulkan-bindings-3.0-improvements' into feature/…
Exanite Dec 8, 2025
4e867bd
Implement new name affix category approach
Exanite Dec 30, 2025
4a2a4da
Add validation for name affix category configs
Exanite Dec 30, 2025
4a617e4
Adjust API of AddNamePrefix/Suffix extensions and add more docs
Exanite Dec 30, 2025
5d41abe
Update existing name affix identification code to use new API
Exanite Dec 30, 2025
09c55c4
Update enum vendor suffix identification comments to be consistent wi…
Exanite Dec 31, 2025
58babdf
Shorten PrettifyNames.NameAffixes config option to just Affixes
Exanite Dec 31, 2025
c743f1e
Fix incorrect default value for DiscriminatorPriority
Exanite Dec 31, 2025
656c2a9
Shorten name of DiscriminatorPriority configuration option
Exanite Dec 31, 2025
25a64ad
Update generator.json to use new name affix config
Exanite Dec 31, 2025
139ddc8
Add name affix attributes for -Internal (intercepted) and -Raw functions
Exanite Dec 31, 2025
1b28db8
Fix incorrect parameter order (oops)
Exanite Dec 31, 2025
3ebfbeb
Configure RawFunction and InterceptedFunction categories
Exanite Dec 31, 2025
9b351b5
Redesign config and begin updating implementation to support new config
Exanite Jan 1, 2026
d160d8b
New name affix config compiles, but logic has not been updated
Exanite Jan 1, 2026
d51fe8b
Update name affix configs in generator.json
Exanite Jan 1, 2026
1ad47d5
Update name affix removal/application code to work with new config
Exanite Jan 1, 2026
e00365a
Fix incorrect sort order
Exanite Jan 1, 2026
fdbbc9a
Add temporary hack to fix -OES being trimmed as -O issue
Exanite Jan 3, 2026
867ae6e
Merge remote-tracking branch 'dotnet/Silk.NET/develop/3.0' into featu…
Exanite Jan 3, 2026
5a59979
Regenerate on Windows and remove old cache files
Exanite Jan 3, 2026
6b9cdda
Reorder KhronosVendor suffixes to be last
Exanite Jan 5, 2026
7eaa45c
Merge branch 'develop/3.0' into feature/csharpier-files-modified-by-m…
Exanite Jan 5, 2026
4dffd37
Format all files changed in my name improvements set of PRs
Exanite Jan 6, 2026
548c482
Format again by rerunning exact same command as previous commit
Exanite Jan 6, 2026
e2fd822
Rewrite NameAffix arg parsing code to look better under CSharpier for…
Exanite Jan 6, 2026
d6bddf9
Merge pull request #25 from Exanite/feature/csharpier-files-modified-…
Exanite Jan 7, 2026
600a199
Merge pull request #24 from Exanite/feature/khronos-vendor-last
Exanite Jan 7, 2026
59eb9f4
Merge pull request #23 from Exanite/feature/name-affixes-categories-u…
Exanite Jan 7, 2026
1f58200
Merge pull request #21 from Exanite/feature/name-affix-categories
Exanite Jan 7, 2026
649c165
Merge pull request #19 from Exanite/feature/vulkan-bindings-3.0-impro…
Exanite Jan 7, 2026
f33d592
Remove affixes before global prefix identification; Change NameTrimme…
Exanite Jan 8, 2026
0c94017
Add DummyJobDependency and DummyOptions for use during testing
Exanite Jan 8, 2026
ce42983
Add 3 unit tests to replace OverzealousNameTrimming test case and com…
Exanite Jan 8, 2026
b957693
Add test case: MixKhronosData_IdentifiesImpliedVendorSuffixes
Exanite Jan 8, 2026
15e7d68
Add test case: MixKhronosData_IdentifiesNonExclusiveVendorSuffixes
Exanite Jan 8, 2026
430d677
Add new TestUtils class with TestUtils.CreateTestProject
Exanite Jan 8, 2026
bb0e972
Add test case: PrettifyNames_TrimsSharedPrefix_AfterRemovalOf_VendorS…
Exanite Jan 8, 2026
6939c12
Remove unused null assertion
Exanite Jan 8, 2026
2eed1c8
Simplify tests and apparently MixKhronosData should read the config f…
Exanite Jan 8, 2026
7a81cce
Move CandidateNamesWithOriginal to NameTrimmer and rename to Augmente…
Exanite Jan 9, 2026
8750539
Verify result of PrettifyNames_TrimsSharedPrefix_AfterRemovalOf_Vendo…
Exanite Jan 9, 2026
cb09259
Replace OverzealousNameTrimmingFixupIsNotOverzealousForOpenAL test ca…
Exanite Jan 9, 2026
1949ccd
Move PrettifyNames tests to a new file
Exanite Jan 9, 2026
0af303a
Simplify and cleanup PrettifyNames tests
Exanite Jan 9, 2026
af5cb34
Fix syntax error in test code
Exanite Jan 9, 2026
7ca3726
Shorten test names
Exanite Jan 9, 2026
1bcd089
Fix incorrect document name
Exanite Jan 9, 2026
53ae559
Add PrettifyNames tests: TrimsPrefix_WhenMatchingHint and DoesNotTrim…
Exanite Jan 9, 2026
9d7e0d0
Fix incorrect comment
Exanite Jan 9, 2026
66549f3
Add default value for LongAcronymThreshold and change type from int? …
Exanite Jan 9, 2026
1167d7a
Add PrettifyNames test: TrimsSharedPrefix_ForTypes
Exanite Jan 9, 2026
ac64219
Add tests: HintShouldNotAffectSharedPrefixTrimming and HintShouldNotA…
Exanite Jan 9, 2026
ab8a973
Dictionary is no longer nullable
Exanite Jan 9, 2026
7d00fac
Use Append instead of Concat+Repeat
Exanite Jan 9, 2026
9b668cb
Edit comment for clarity
Exanite Jan 9, 2026
32c9458
Replace use of ternary since it makes the code really annoying to debug
Exanite Jan 9, 2026
15332b9
Fix DoesNotTrimTypeName_WhenNotMatchingHint_AndOnlyOneType
Exanite Jan 9, 2026
e720a5c
Remove unnecessary affix since it doesn't affect whether the test fai…
Exanite Jan 9, 2026
216ffbf
Fix TrimsSharedPrefix_WhenAffixesDeclared and HintShouldNotAffectShar…
Exanite Jan 9, 2026
320c58b
Add NameUtilsTests and rename NameTests to NameTrimmerTests
Exanite Jan 9, 2026
2635aa3
Add failing test: Prettify_IsNotAffectedBy_TrailingUnderscore
Exanite Jan 9, 2026
cbc3e61
Fix Prettify_IsNotAffectedBy_TrailingUnderscore by trimming input
Exanite Jan 9, 2026
fc82c8a
Rename and accept result of Regression_UnexpectedCasingChangesInForma…
Exanite Jan 9, 2026
4bbb3fc
Add tests: Prettify_Capital_AfterNumber_DoesNotAffect_PreviousWord an…
Exanite Jan 9, 2026
e477fe4
Prefilter matches for null or whitespace to avoid possibility of any …
Exanite Jan 9, 2026
3950939
Rename matches to words for clarity
Exanite Jan 9, 2026
c5327f3
Add expected result of InconsistentCasing_LettersFollowingNumbers_Whe…
Exanite Jan 9, 2026
f2bae68
Add new PrettifyTests file and move Prettify-related tests to it
Exanite Jan 10, 2026
2faf9d4
Change Prettify to be strictly for C# identifiers
Exanite Jan 10, 2026
5839fe0
Move Prettify to be next to NameTransformer since they strictly work …
Exanite Jan 10, 2026
5761756
Add set of tests: PrettifyTests.CommonCases
Exanite Jan 10, 2026
ab6b145
Redesign Prettify API and make NamePrettifier its own standalone class
Exanite Jan 10, 2026
4827fa9
Add more tests
Exanite Jan 10, 2026
81cd52c
Add more tests
Exanite Jan 10, 2026
a1e5e48
Add more test cases for Prettify
Exanite Jan 10, 2026
5f64b30
Merge branch 'feature/mixkhronosdata-tests' into feature/prettify-rew…
Exanite Jan 10, 2026
d75083c
Add test Lowercase_AfterNumber_IsPartOf_PreviousWord
Exanite Jan 10, 2026
8b9e447
Rename PrettifyTests to NamePrettifierTests
Exanite Jan 10, 2026
d419a78
Attempt 1 at writing word breaker
Exanite Jan 10, 2026
62c322d
Implement new word splitter
Exanite Jan 10, 2026
be776f0
Cleanup
Exanite Jan 10, 2026
bb9f3ad
Add word fragment merging
Exanite Jan 10, 2026
8984746
Add two more prettify tests
Exanite Jan 10, 2026
33de611
Add more test cases
Exanite Jan 10, 2026
d688a11
Fix incorrect test cases
Exanite Jan 10, 2026
c5611c2
Implement new prettifier (almost fully working)
Exanite Jan 10, 2026
0e03f1f
Remove debug and placeholder code
Exanite Jan 10, 2026
a266ee7
Update expected result of PrettifyNamesTests.Regression_UnexpectedCas…
Exanite Jan 10, 2026
625bb6e
Use try-finally to update tracking variable; uhh kinda cursed but thi…
Exanite Jan 10, 2026
138d81c
Change IsAcronym to also check the word length
Exanite Jan 10, 2026
bea2c50
Accept new changes to PrettifyNamesTests.InconsistentCasing_LettersFo…
Exanite Jan 10, 2026
c04951c
Accept changes to PrettifyNamesTests.TrimsSharedPrefix (this is corre…
Exanite Jan 10, 2026
4d5eb00
Clarify comments
Exanite Jan 10, 2026
c33df8e
Handle case where the identifier is all caps
Exanite Jan 10, 2026
7cff93f
Fix incorrect test cases caused by bad assumptions
Exanite Jan 10, 2026
41f9be7
Organize NamePrettifier tests and add comments
Exanite Jan 10, 2026
d7cd7ec
Fix a few regressions
Exanite Jan 10, 2026
2a20af7
Add NameSplitterTests
Exanite Jan 10, 2026
a81938b
Temporarily disable acronym conflict resolution
Exanite Jan 10, 2026
eb9e0b9
Remove old code
Exanite Jan 10, 2026
9c6da23
Add more NameSplitterTests
Exanite Jan 10, 2026
d3a3d56
Apply the stdint remap to all current bindings
Exanite Jan 10, 2026
515b089
Exclude ALC_CPLUSPLUS
Exanite Jan 10, 2026
85c2d4d
Change expected output for lowercase fragments so that they are capit…
Exanite Jan 10, 2026
e70102d
Add test: Regression_IncorrectSecondary_ChosenAsFallback
Exanite Jan 10, 2026
27c6430
Fix PrettifyNamesTests.Regression_IncorrectSecondary_ChosenAsFallback…
Exanite Jan 10, 2026
45b81d7
Also exclude AL_CPLUSPLUS
Exanite Jan 10, 2026
151ac97
Change MixKhronosData to identify the GL- prefix of GLEnum instead of…
Exanite Jan 10, 2026
039c7b9
Add test case for splitting SpvImageFormatR32ui
Exanite Jan 10, 2026
a2addf4
Add UpperCaseFirstCharacter utility function
Exanite Jan 10, 2026
06a1108
Short all uppercase names are now finally handled properly?
Exanite Jan 10, 2026
e383cf4
Rename Regressions test case to AcronymsWithNumbers
Exanite Jan 10, 2026
f43f315
Reorder tests
Exanite Jan 10, 2026
4f9b44c
Add comment
Exanite Jan 10, 2026
0809b78
Also remap GLintptrARB and GLsizeiptrARB
Exanite Jan 10, 2026
9c9afc6
Add docs to new NamePrettifier and cleanup
Exanite Jan 10, 2026
fd1c595
Ignore lowercase "x" when checking if name is all non-lowercase
Exanite Jan 11, 2026
9690af3
Regenerate on Windows (part 1 due to case insensitivity)
Exanite Jan 11, 2026
a664baf
Regenerate on Windows (part 2 due to case insensitivity)
Exanite Jan 11, 2026
e4934e5
Add more NamePrettifier tests
Exanite Jan 11, 2026
e05cebe
Adjust acronym threshold for N3D AcronymsWithNumbers test case
Exanite Jan 11, 2026
668140d
Fix invalid tests
Exanite Jan 11, 2026
8cad462
Add another test case
Exanite Jan 11, 2026
134ff78
Lowercase "X" if it is between two numbers
Exanite Jan 11, 2026
77888c1
Implement acronym conflict checking and add more tests
Exanite Jan 11, 2026
5f07235
Regenerate on Linux since Windows case insensitivity sucks
Exanite Jan 11, 2026
9f49ca1
Regenerate on Windows
Exanite Jan 11, 2026
17509b8
Move name splitting and char categorization code out of NamePrettifier
Exanite Jan 11, 2026
23f5ac8
Add todo for TrimsSharedPrefix_ForTypes test case
Exanite Jan 11, 2026
b218e9e
Fix PrettifyNamesTests.TrimsSharedPrefix_ForTypes
Exanite Jan 11, 2026
4e1be7a
Clean up my prefix trimming fix
Exanite Jan 11, 2026
79530c9
Change default LongAcronymThreshold to 2
Exanite Jan 11, 2026
45218a8
Generate on Linux to avoid Windows case insensitivity issues
Exanite Jan 11, 2026
7bee433
Regenerate on Windows
Exanite Jan 11, 2026
e3147e7
Replace EGL with Egl where it makes sense to do so
Exanite Jan 11, 2026
8deb8f0
Add remark comment explaining why the default is 2
Exanite Jan 11, 2026
88aabe4
Update expected test outputs
Exanite Jan 11, 2026
25f2f6a
Fix casing of NumAabBs by overriding it
Exanite Jan 11, 2026
bd45d4c
Don't scope the NameOverride for numAABBs
Exanite Jan 11, 2026
207108b
Revert incorrect comment change (these refer to native types outside …
Exanite Jan 11, 2026
e5b8eb9
Merge pull request #29 from Exanite/feature/acronym-threshold
Exanite Jan 11, 2026
ac3c0be
Merge pull request #28 from Exanite/feature/prettify-rewrite
Exanite Jan 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file removed .silktouch/91c9aa14a031651f.stout
Binary file not shown.
Binary file removed .silktouch/c8c046b328b09d23.stout
Binary file not shown.
Binary file added .silktouch/openal-clangsharp.stout
Binary file not shown.
Binary file added .silktouch/opengl-clangsharp.stout
Binary file not shown.
Binary file added .silktouch/sdl-clangsharp.stout
Binary file not shown.
Binary file not shown.
2 changes: 2 additions & 0 deletions eng/silktouch/openal/alsoft/generate.rsp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
@../remap.rsp
--exclude
_GUID
AL_CPLUSPLUS
ALC_CPLUSPLUS
--file
openal-soft-al.h
--methodClassName
Expand Down
1 change: 1 addition & 0 deletions eng/silktouch/openal/remap.rsp
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
@../../remap-stdint.rsp
--remap
_GUID=System.Guid
3 changes: 3 additions & 0 deletions eng/silktouch/opengl/remap.rsp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@../../remap-stdint.rsp
--remap
__GLsync=GLsync
_cl_context=void
Expand All @@ -23,3 +24,5 @@ GLclampf=float
GLdouble=double
GLclampd=double
GLhandleARB=uint
GLintptrARB=nint
GLsizeiptrARB=nuint
4 changes: 4 additions & 0 deletions eng/silktouch/sdl/SDL3/generate.rsp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@../remap.rsp
--exclude
SDL_SetX11EventHook
SDL_SetWindowsMessageHook
SDL_FUNCTION
SDL_SIZE_MAX
SDL_memcpy
Expand All @@ -12,6 +13,9 @@ SDL_EndThreadFunction
SDL_fabsf
SDL_size_add_check_overflow_builtin
SDL_size_mul_check_overflow_builtin
SDL_FILE
SDL_LINE
SDL_NULL_WHILE_LOOP_CONDITION
--file
sdl-SDL.h
--methodClassName
Expand Down
1 change: 1 addition & 0 deletions eng/silktouch/sdl/remap.rsp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@../../remap-stdint.rsp
--remap
SDL_fabsf=float.Abs
VkSurfaceKHR=ulong
Expand Down
2 changes: 1 addition & 1 deletion eng/silktouch/vulkan/remap.rsp
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@../remap-stdint.rsp
@../../remap-stdint.rsp
2 changes: 1 addition & 1 deletion eng/submodules/openal-soft
Submodule openal-soft updated 148 files
168 changes: 146 additions & 22 deletions generator.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,15 @@
"Mods": [
"AddIncludes",
"ClangScraper",
"MarkNativeNames",
"ExtractNestedTyping",
"TransformHandles",
"TransformFunctions",
"TransformProperties",
"PrettifyNames",
"AddVTables"
"TransformEnums",
"AddVTables",
"StripAttributes"
],
"ClangScraper": {
"ClangSharpResponseFiles": [
Expand All @@ -63,6 +66,20 @@
"BoolTypes": {
"SDL_bool": null
}
},
"PrettifyNames": {
"GlobalPrefixHints": ["SDL"]
},
"TransformEnums": {
"AddNoneMemberToFlags": true,
"RewriteMemberValues": true
},
"StripAttributes": {
"Remove": [
"NativeTypeName",
"NameAffix",
"Transformed"
]
}
},
"OpenGL": {
Expand All @@ -72,13 +89,16 @@
"Mods": [
"AddIncludes",
"ClangScraper",
"MarkNativeNames",
"AddApiProfiles",
"BakeSourceSets",
"MixKhronosData",
"AddOpaqueStructs",
"TransformFunctions",
"PrettifyNames",
"AddVTables"
"TransformEnums",
"AddVTables",
"StripAttributes"
],
"ClangScraper": {
"ClangSharpResponseFiles": [
Expand Down Expand Up @@ -124,14 +144,16 @@
]
},
"MixKhronosData": {
"UseDataTypeTrimmings": true,
"SpecPath": "eng/submodules/opengl/xml/gl.xml",
"Namespace": "Silk.NET.OpenGL",
"TypeMap": {
"TraceMaskMESA": "uint",
"PathRenderingTokenNV": "byte",
"PathCoordType": "byte"
},
"Namespace": "Silk.NET.OpenGL"
"IdentifyFunctionDataTypes": true,
"IdentifyEnumTypeNonExclusiveVendors": true,
"IdentifyEnumMemberImpliedVendors": true
},
"AddVTables": {
"VTables": [
Expand All @@ -149,16 +171,49 @@
]
},
"PrettifyNames": {
"LongAcronymThreshold": 4,
"GlobalPrefixHints": ["gl"],
"PrefixOverrides": {
"SyncObjectMask": "GL_SYNC"
"SyncObjectMask": "GL_SYNC",
"OcclusionQueryParameterNameNV": "GL",
"TexStorageAttribs": "GL",
"ContainerType": "GL"
},
"Affixes": {
"HandleType": {
"Order": 1
},
"FunctionPointerDelegateType": {
"Order": 1
},
"KhronosVendor": {
"Order": -1
},
"KhronosFunctionDataType": {
"IsDiscriminator": true
},
"KhronosImpliedVendor": {
"Remove": true
},
"KhronosNonExclusiveVendor": {
"Remove": true
}
}
},
"TransformEnums": {
"AddNoneMemberToFlags": true,
"RewriteMemberValues": true
},
"TransformFunctions": {
"BoolTypes": {
"GLboolean": null
}
},
"StripAttributes": {
"Remove": [
"NativeTypeName",
"NameAffix",
"Transformed"
]
}
},
"OpenAL": {
Expand All @@ -168,6 +223,7 @@
"Mods": [
"AddIncludes",
"ClangScraper",
"MarkNativeNames",
"ChangeNativeClass",
"AddApiProfiles",
"MixKhronosData",
Expand All @@ -176,7 +232,9 @@
"InterceptNativeFunctions",
"TransformFunctions",
"PrettifyNames",
"AddVTables"
"TransformEnums",
"AddVTables",
"StripAttributes"
],
"ClangScraper": {
"ClangSharpResponseFiles": [
Expand All @@ -192,22 +250,23 @@
}
},
"MixKhronosData": {
"UseDataTypeTrimmings": true,
"SpecPath": "eng/submodules/openal-soft/registry/xml/al.xml",
"EnumNativeTypeNames": {
"ALenum": "ALEnum",
"ALCenum": "ALCEnum"
},
"Namespace": "Silk.NET.OpenAL",
"NonStandardExtensionNomenclature": true,
"Vendors": [
"SOFT",
"LOKI",
"EXT"
],
"IgnoreNonVendorSuffixes": [
"ExcludeVendorSuffixIdentification": [
"ALC_INVALID_CONTEXT"
],
"NonVendorSuffixes": [
"Direct"
]
],
"IdentifyFunctionDataTypes": true,
"IdentifyEnumTypeNonExclusiveVendors": true,
"IdentifyEnumMemberImpliedVendors": true
},
"InterceptNativeFunctions": {
"NativeFunctionNames": [
Expand All @@ -231,7 +290,6 @@
]
},
"PrettifyNames": {
"LongAcronymThreshold": 4,
"GlobalPrefixHints": ["alc", "al"],
"NameOverrides": {
"ALContext": "ALContext",
Expand All @@ -254,8 +312,32 @@
"EAXGetDirect": "EAXGetDirect",
"EAXGetBufferModeDirect": "EAXGetBufferModeDirect",
"EAXSetBufferModeDirect": "EAXSetBufferModeDirect"
},
"Affixes": {
"HandleType": {
"Order": 1
},
"FunctionPointerDelegateType": {
"Order": 1
},
"KhronosVendor": {
"Order": -1
},
"KhronosFunctionDataType": {
"IsDiscriminator": true
},
"KhronosImpliedVendor": {
"Remove": true
},
"KhronosNonExclusiveVendor": {
"Remove": true
}
}
},
"TransformEnums": {
"AddNoneMemberToFlags": true,
"RewriteMemberValues": true
},
"TransformFunctions": {
"BoolTypes": {
"ALboolean": null,
Expand All @@ -266,6 +348,13 @@
"TransformHandles": {
"AssumeMissingTypesOpaque": true,
"UseDSL": true
},
"StripAttributes": {
"Remove": [
"NativeTypeName",
"NameAffix",
"Transformed"
]
}
},
"Vulkan": {
Expand All @@ -275,16 +364,18 @@
"Mods": [
"AddIncludes",
"ClangScraper",
"AddApiProfiles",
"MixKhronosData",
"MarkNativeNames",
"ExtractNestedTyping",
"TransformHandles",
"MixKhronosData",
"AddApiProfiles",
"InterceptNativeFunctions",
"TransformFunctions",
"TransformProperties",
"PrettifyNames",
"TransformEnums",
"AddVTables"
"AddVTables",
"StripAttributes"
],
"ClangScraper": {
"ClangSharpResponseFiles": [
Expand All @@ -307,7 +398,13 @@
"FlagsTypes": [
"VkFlags",
"VkFlags64"
]
],
"ExcludeVendorSuffixIdentification": [
"VK_VENDOR_ID_VIV",
"VK_VENDOR_ID_VSI",
"VK_VENDOR_ID_MESA"
],
"IdentifyEnumMemberImpliedVendors": true
},
"InterceptNativeFunctions": {
"NativeFunctionNames": [
Expand All @@ -325,10 +422,30 @@
"UseDSL": true
},
"PrettifyNames": {
"LongAcronymThreshold": 4,
"GlobalPrefixHints": ["vk"],
"GlobalPrefixHints": ["PFN_vk","vk"],
"PrefixOverrides": {
"VkPipelineCreateFlags2": "VK_PIPELINE_CREATE_2"
"VkPipelineCreateFlags2": "VK_PIPELINE_CREATE_2",
"VkMemoryDecompressionMethodFlagsEXT": "VK_MEMORY_DECOMPRESSION_METHOD"
},
"NameOverrides": {
"numAABBs": "NumAabbs"
},
"Affixes": {
"HandleType": {
"Order": 1
},
"FunctionPointerDelegateType": {
"Order": 1
},
"KhronosVendor": {
"Order": -1
},
"KhronosImpliedVendor": {
"Remove": true
},
"KhronosHandleType": {
"Remove": true
}
}
},
"TransformEnums": {
Expand Down Expand Up @@ -360,6 +477,13 @@
"GenerateFactoryPartial": true
}
]
},
"StripAttributes": {
"Remove": [
"NativeTypeName",
"NameAffix",
"Transformed"
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ namespace Silk.NET.Core;
/// </summary>
/// <param name="Display"><c>EGLDisplay</c>.</param>
/// <param name="Surface"><c>EGLSurface</c>.</param>
public readonly record struct EGLPlatformInfo(nint Display, nint Surface);
public readonly record struct EglPlatformInfo(nint Display, nint Surface);
Loading
Loading