Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
14952ce
Enum aliases from always latest XML.
Y-Less Jun 12, 2019
936657b
Check both `name="x"` and `<name>x</name>`.
Y-Less Jun 12, 2019
bc264ae
Add `zx_handle_t` as a basic type.
Y-Less Jun 12, 2019
25233d0
Obsolete old aliased functions, because:
Y-Less Jun 12, 2019
81211a7
Handle aliases.
Y-Less Jun 12, 2019
491ad6a
Skip aliased commands in remaining commands.
Y-Less Jun 12, 2019
e691ce1
Don't generate obsolete functions in all platforms.
Y-Less Jun 12, 2019
7bf2c2c
Correct newlines in obsolete commands.
Y-Less Jun 12, 2019
9a8d036
Fully generate deprecated prototypes.
Y-Less Jun 12, 2019
3170699
Generate obsolete class inheritance.
Y-Less Jun 12, 2019
4e15f7f
A few extra spaces.
Y-Less Jun 12, 2019
b565121
Correct generated new line.
Y-Less Jun 12, 2019
69352c9
Write derived structs via implicit conversions.
Y-Less Jun 13, 2019
95f3ade
Correct C# names for enum aliases.
Y-Less Jun 13, 2019
9c8dbf0
Parse `extnumber` attribute.
Y-Less Jun 13, 2019
94eb1eb
Load features like extensions.
Y-Less Jun 13, 2019
5e6f5f6
Strip suffixes from enum alias values as well.
Y-Less Jun 13, 2019
1cfe805
Underscore-prefix enums that start with a number.
Y-Less Jun 13, 2019
8f3adbd
Skip duplicate enum items.
Y-Less Jun 13, 2019
de6e6f1
More native types.
Y-Less Jun 13, 2019
e736051
Disable `PhysicalDeviceGroupProperties` again...
Y-Less Jun 13, 2019
34d1fac
Copy `fixed` members the hard way.
Y-Less Jun 13, 2019
7ea7b51
Revert two changes -
Y-Less Jun 13, 2019
4d8f4cd
Use `value` attribute for `sType` initialiser.
Y-Less Jun 14, 2019
12fb691
Fix two platform-specific pointer types.
Y-Less Jun 14, 2019
54d28ac
Don't generate array allocation on `out` parameters.
Y-Less Jun 14, 2019
0261c47
Disable some more commands.
Y-Less Jun 14, 2019
ae3adb5
Use the correct alias name in command generation.
Y-Less Jun 14, 2019
82776a8
Free marshalled data in scope.
Y-Less Jun 14, 2019
af66e22
Convert `AHardwareBuffer` to `IntPtr`.
Y-Less Jun 14, 2019
a23ba85
Remove android commands.
Y-Less Jun 14, 2019
03cd803
Remove metal commands.
Y-Less Jun 14, 2019
a96050d
Move deprecation to handle method, not native.
Y-Less Jun 14, 2019
4c62ee7
`DeviceAddress` helper.
Y-Less Jun 14, 2019
65485f6
Put corrected blank lines back.
Y-Less Jun 14, 2019
259eb0e
Generated 1.1.111 spec files.
Y-Less Jun 14, 2019
a823290
Correctly write bitmask aliases from extensions.
Y-Less Jun 17, 2019
99ae6ce
Fix underscore infix on some numbers.
Y-Less Jun 17, 2019
9b34dc0
Backwards-compatibility with an old naming bug.
Y-Less Jun 17, 2019
60eed39
Don't capitalise `ASTC`.
Y-Less Jun 17, 2019
3a51b8d
Use proper prefixes on numeric enum names.
Y-Less Jun 17, 2019
cb31b90
Use proper suffixes on aliases as well.
Y-Less Jun 17, 2019
54d62de
Short-circuit standard numeric enum values.
Y-Less Jun 17, 2019
b2993ff
Deprecate extension versions of upgraded enums.
Y-Less Jun 17, 2019
220d10c
Formatting cleanup.
Y-Less Jun 17, 2019
ee50bb6
Think I got all the whitespace now.
Y-Less Jun 17, 2019
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
2 changes: 1 addition & 1 deletion src/Platforms/Android/Structs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ public IntPtr Window {
get { return m->Window; }
set { m->Window = value; }
}
internal Android.Interop.AndroidSurfaceCreateInfoKhr* m {

internal Android.Interop.AndroidSurfaceCreateInfoKhr* m {
get {
return (Android.Interop.AndroidSurfaceCreateInfoKhr*)native.Handle;
}
Expand Down
8 changes: 4 additions & 4 deletions src/Platforms/Windows/Structs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ public IntPtr Hwnd {
get { return m->Hwnd; }
set { m->Hwnd = value; }
}
internal Windows.Interop.Win32SurfaceCreateInfoKhr* m {

internal Windows.Interop.Win32SurfaceCreateInfoKhr* m {
get {
return (Windows.Interop.Win32SurfaceCreateInfoKhr*)native.Handle;
}
Expand Down Expand Up @@ -67,8 +67,8 @@ public IntPtr Handle {
get { return m->Handle; }
set { m->Handle = value; }
}
internal Windows.Interop.ImportMemoryWin32HandleInfoNv* m {

internal Windows.Interop.ImportMemoryWin32HandleInfoNv* m {
get {
return (Windows.Interop.ImportMemoryWin32HandleInfoNv*)native.Handle;
}
Expand Down Expand Up @@ -105,8 +105,8 @@ public UInt32 DwAccess {
get { return m->DwAccess; }
set { m->DwAccess = value; }
}
internal Windows.Interop.ExportMemoryWin32HandleInfoNv* m {

internal Windows.Interop.ExportMemoryWin32HandleInfoNv* m {
get {
return (Windows.Interop.ExportMemoryWin32HandleInfoNv*)native.Handle;
}
Expand Down Expand Up @@ -312,8 +312,8 @@ public UInt64[] ReleaseKeys {
}
}
}
internal Windows.Interop.Win32KeyedMutexAcquireReleaseInfoNv* m {

internal Windows.Interop.Win32KeyedMutexAcquireReleaseInfoNv* m {
get {
return (Windows.Interop.Win32KeyedMutexAcquireReleaseInfoNv*)native.Handle;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Platforms/iOS/Structs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ public IntPtr View {
get { return m->View; }
set { m->View = value; }
}
internal iOS.Interop.IOSSurfaceCreateInfoMvk* m {

internal iOS.Interop.IOSSurfaceCreateInfoMvk* m {
get {
return (iOS.Interop.IOSSurfaceCreateInfoMvk*)native.Handle;
}
Expand Down
14 changes: 14 additions & 0 deletions src/Vulkan/Commands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,20 @@ namespace Vulkan
{
public static partial class Commands
{
public static UInt32 EnumerateInstanceVersion ()
{
Result result;
UInt32 pApiVersion;
unsafe {
pApiVersion = new UInt32 ();
result = Interop.NativeMethods.vkEnumerateInstanceVersion (&pApiVersion);
if (result != Result.Success)
throw new ResultException (result);

return pApiVersion;
}
}

public static LayerProperties[] EnumerateInstanceLayerProperties ()
{
Result result;
Expand Down
Loading