You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- If your pull request only touches a single backend, feel free to prune the following list: -->
4
+
5
+
Tested on:
6
+
-[ ] AppKit (tier 1)
7
+
-[ ] Wayland (tier 1)
8
+
-[ ] Win32 (tier 1)
9
+
-[ ] XCB / Xlib (tier 1)
10
+
-[ ] Android NDK (tier 2)
11
+
-[ ] UIKit (tier 2)
12
+
-[ ] Web (tier 2)
13
+
-[ ] DRM/KMS (tier 3)
14
+
-[ ] Orbital (tier 3)
15
+
16
+
<!-- Note that it's okay to leave these unchecked, this is just a signal to the reviewer that they need to test it themselves. PRs may be merged when all tier 1 backends have been tested. -->
Copy file name to clipboardExpand all lines: README.md
+26-29Lines changed: 26 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,35 +27,32 @@ pixels when its GPU-accelerated post-processing effects are not needed.
27
27
This library is dual-licensed under MIT or Apache-2.0, just like minifb and rust. Significant portions of code were taken
28
28
from the minifb library to do platform-specific work.
29
29
30
-
## Platform support:
31
-
32
-
Some, but not all, platforms supported in [raw-window-handle](https://crates.io/crates/raw-window-handle) are supported
33
-
by Softbuffer. Pull requests are welcome to add new platforms! **Nonetheless, all major desktop platforms that winit uses
34
-
on desktop are supported.**
35
-
36
-
For now, the priority for new platforms is:
37
-
38
-
1. to have at least one platform on each OS working (e.g. one of Win32 or WinRT, or one of Xlib, Xcb, and Wayland) and
39
-
2. for that one platform on each OS to be the one that winit uses.
40
-
41
-
(PRs will be accepted for any platform, even if it does not follow the above priority.)
42
-
43
-
| Platform ||
44
-
|-----------|--|
45
-
|Android NDK|✅|
46
-
| AppKit |✅|
47
-
| Orbital |✅|
48
-
| UIKit |✅|
49
-
| Wayland |✅|
50
-
| Web |✅|
51
-
| Win32 |✅|
52
-
| WinRT |❌|
53
-
| XCB |✅|
54
-
| Xlib |✅|
55
-
56
-
✅: Present\
57
-
❔: Immature\
58
-
❌: Absent
30
+
## Platform support
31
+
32
+
Softbuffer supports many platforms, some to a higher degree than others. This is codified with a "tier" system. Tier 1 platforms can be thought of as "tested and guaranteed to work", tier 2 as "will likely work", and tier 3 as "builds in CI".
33
+
34
+
The current status is as follows (based on the list of platforms exposed by [`raw-window-handle`](https://crates.io/crates/raw-window-handle)):
35
+
36
+
| Platform | Tier | Available |
37
+
| ------------------ | ---- | --------- |
38
+
| AppKit (macOS) | 1 | ✅ |
39
+
| Wayland | 1 | ✅ |
40
+
| Win32 | 1 | ✅ |
41
+
| XCB / Xlib (X11) | 1 | ✅ |
42
+
| Android NDK | 2 | ✅ |
43
+
| UIKit (iOS) | 2 | ✅ |
44
+
| WebAssembly | 2 | ✅ |
45
+
| DRM/KMS | 3 | ✅ |
46
+
| Orbital | 3 | ✅ |
47
+
| GBM/KMS | N/A | ❌ |
48
+
| Haiku | N/A | ❌ |
49
+
| OpenHarmony OS NDK | N/A | ❌ ([#261](https://github.com/rust-windowing/softbuffer/pull/261)) |
0 commit comments