Skip to content

Commit 4fadfd8

Browse files
committed
Merge branch 'feature/misc-improv-3.0' into feature/windowing-3.0
2 parents ed097fb + df2ba9e commit 4fadfd8

File tree

191 files changed

+38975
-21174
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

191 files changed

+38975
-21174
lines changed

.silktouch/0afb5dc84012c2fa.stout

154 KB
Binary file not shown.

.silktouch/c8c046b328b09d23.stout

0 Bytes
Binary file not shown.

.silktouch/f634eee0bf239a81.stout

-150 KB
Binary file not shown.

eng/silktouch/sdl/SDL3/generate.rsp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ SDL_SIZE_MAX
77
SDL_memcpy
88
SDL_memmove
99
SDL_memset
10+
SDL_BeginThreadFunction
11+
SDL_EndThreadFunction
1012
--file
1113
sdl-SDL.h
1214
--methodClassName

eng/submodules/sdl

Submodule sdl updated 1514 files

sources/SDL/SDL/Handles/BlitMapHandle.gen.cs

Lines changed: 0 additions & 32 deletions
This file was deleted.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// Ported from SDL.h and corresponding dependencies of SDL3.
4+
// Original source is Copyright (C) 1997-2024 Sam Lantinga. Licensed under the zlib license.
5+
using System;
6+
using System.Runtime.CompilerServices;
7+
using System.Runtime.InteropServices;
8+
9+
namespace Silk.NET.SDL;
10+
11+
public readonly unsafe partial struct DisplayModeDataHandle
12+
{
13+
public readonly void* Handle;
14+
15+
public bool Equals(DisplayModeDataHandle other) => Handle == other.Handle;
16+
17+
public override bool Equals(object? obj) => obj is DisplayModeDataHandle other && Equals(other);
18+
19+
public override int GetHashCode() => HashCode.Combine((nuint)Handle);
20+
21+
public static bool operator ==(DisplayModeDataHandle left, DisplayModeDataHandle right) =>
22+
left.Equals(right);
23+
24+
public static bool operator !=(DisplayModeDataHandle left, DisplayModeDataHandle right) =>
25+
!left.Equals(right);
26+
27+
public bool Equals(NullPtr _) => Handle is null;
28+
29+
public static bool operator ==(DisplayModeDataHandle left, NullPtr right) => left.Equals(right);
30+
31+
public static bool operator !=(DisplayModeDataHandle left, NullPtr right) =>
32+
!left.Equals(right);
33+
34+
public static implicit operator DisplayModeDataHandle(NullPtr _) => default;
35+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// Ported from SDL.h and corresponding dependencies of SDL3.
4+
// Original source is Copyright (C) 1997-2024 Sam Lantinga. Licensed under the zlib license.
5+
using System;
6+
using System.Runtime.CompilerServices;
7+
using System.Runtime.InteropServices;
8+
9+
namespace Silk.NET.SDL;
10+
11+
public readonly unsafe partial struct GLContextStateHandle
12+
{
13+
public readonly void* Handle;
14+
15+
public bool Equals(GLContextStateHandle other) => Handle == other.Handle;
16+
17+
public override bool Equals(object? obj) => obj is GLContextStateHandle other && Equals(other);
18+
19+
public override int GetHashCode() => HashCode.Combine((nuint)Handle);
20+
21+
public static bool operator ==(GLContextStateHandle left, GLContextStateHandle right) =>
22+
left.Equals(right);
23+
24+
public static bool operator !=(GLContextStateHandle left, GLContextStateHandle right) =>
25+
!left.Equals(right);
26+
27+
public bool Equals(NullPtr _) => Handle is null;
28+
29+
public static bool operator ==(GLContextStateHandle left, NullPtr right) => left.Equals(right);
30+
31+
public static bool operator !=(GLContextStateHandle left, NullPtr right) => !left.Equals(right);
32+
33+
public static implicit operator GLContextStateHandle(NullPtr _) => default;
34+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// Ported from SDL.h and corresponding dependencies of SDL3.
4+
// Original source is Copyright (C) 1997-2024 Sam Lantinga. Licensed under the zlib license.
5+
using System;
6+
using System.Runtime.CompilerServices;
7+
using System.Runtime.InteropServices;
8+
9+
namespace Silk.NET.SDL;
10+
11+
public readonly unsafe partial struct SharedObjectHandle
12+
{
13+
public readonly void* Handle;
14+
15+
public bool Equals(SharedObjectHandle other) => Handle == other.Handle;
16+
17+
public override bool Equals(object? obj) => obj is SharedObjectHandle other && Equals(other);
18+
19+
public override int GetHashCode() => HashCode.Combine((nuint)Handle);
20+
21+
public static bool operator ==(SharedObjectHandle left, SharedObjectHandle right) =>
22+
left.Equals(right);
23+
24+
public static bool operator !=(SharedObjectHandle left, SharedObjectHandle right) =>
25+
!left.Equals(right);
26+
27+
public bool Equals(NullPtr _) => Handle is null;
28+
29+
public static bool operator ==(SharedObjectHandle left, NullPtr right) => left.Equals(right);
30+
31+
public static bool operator !=(SharedObjectHandle left, NullPtr right) => !left.Equals(right);
32+
33+
public static implicit operator SharedObjectHandle(NullPtr _) => default;
34+
}

sources/SDL/SDL/Handles/TextureHandle.gen.cs

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)