John Nunley
44248477be
feat: Add a function for retrieving the window contents
...
This function is useful for testing the window contents in certain cases. In addition,
this means that we can now have reliable tests for softbuffer's actual functionality.
Signed-off-by: John Nunley <jtnunley01@gmail.com>
Co-authored-by: dAxpeDDa <daxpedda@gmail.com>
2023-06-01 20:09:30 -07:00
daxpedda
fcda747ddf
Add from_canvas() to Surface for Wasm ( #76 )
...
Co-authored-by: Toniman575 <toniman575@gmail.com>
2023-05-08 15:43:34 +02:00
jtnunley
ecfae194ce
Add @daxpedda as web maintainer
2023-05-05 16:44:59 +02:00
dependabot[bot]
a958a18346
Bump actions/cache from 1 to 3 ( #93 )
...
* Bump actions/cache from 1 to 3
Bumps [actions/cache](https://github.com/actions/cache ) from 1 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v1...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Empty commit to re-run CI
That CI failure looks spurious to me.
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: jtnunley <jtnunley01@gmail.com>
2023-04-18 15:05:23 -07:00
dependabot[bot]
6da649e8a1
Bump actions/checkout from 2 to 3 ( #92 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 10:32:37 -07:00
John Nunley
027f944ece
Add dependabot support to this repo ( #91 )
2023-04-10 10:00:41 -07:00
dAxpeDDa
24db0ad453
Fix atomic Wasm CI
2023-04-06 20:21:42 +02:00
dAxpeDDa
c0af587718
Fix multi-threaded Wasm
2023-04-06 17:35:14 +02:00
Ian Douglas Scott
a09e4cf679
Owned pixel buffer for no-copy presentation
...
This is based on the API that will be used for no-copy presentation. But
wraps it in `set_buffer`.
This also fixes the Wayland buffer code to set `self.width` and
`self.height` on resize, and set the length of the shared memory file
when the buffer is created.
Co-authored-by: jtnunley <jtnunley01@gmail.com>
2023-04-06 10:30:59 +03:00
John Nunley
77f9f68f45
Bump MSRV to 1.64 ( #81 )
...
raw-window-handle bumped MSRV, so should we
2023-03-17 19:56:10 -07:00
Ian Douglas Scott
4f6542ceaa
Add support and CI tests for BSDs
...
This adds a fallback using `shm_open`/`shm_unlink` for platforms where
`memfd_create` doesn't exist. This seems to be how this is normally
handled, though it's a bit ugly.
This also builds the wayland/x11 code for NetBSD/OpenBSD/DragonFlyBSD.
Add CI builds for FreeBSD and NetBSD. We would need some kind of
virtualisation though to actually run tests on such targets.
I've tested the `shm_open` logic on Linux, but haven't run it on any
BSDs.
2023-01-03 12:45:15 -08:00
Mads Marquart
f754bdaf37
Merge pull request #47 from rust-windowing/clarify-maintainership
...
Clarify maintainership
2022-12-23 06:34:06 +01:00
Mads Marquart
4d1a7a1216
Add @john01dav as core maintainer
2022-12-23 01:12:01 +01:00
John Nunley
cf0b435790
Add rustfmt/clippy to the CI ( #22 )
2022-12-22 14:15:09 -08:00
Ian Douglas Scott
58d4fd41b7
Add Github Actions CI, based on winit
2022-12-21 19:45:27 -07:00
Mads Marquart
24fd9ed77a
Add @ids1024 as Wayland maintainer
2022-12-22 00:01:48 +01:00
Mads Marquart
fe80194d69
Add @notgull as Windows and X11 maintainer
2022-12-22 00:01:46 +01:00
Mads Marquart
b8e8437345
Add @jackpot51 as Redox/Orbital maintainer
2022-12-21 14:44:41 +01:00
Mads Marquart
3e42b0589b
Add myself as Core Graphics maintainer
2022-12-21 14:43:46 +01:00
Mads Marquart
e5d8bcf03b
Add CODEOWNERS file
2022-12-21 14:43:34 +01:00