Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add screencopy dmabuf backend #122

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
de15b6f
[feat] rough MVP for screencpy+dmabuf
CheerfulPianissimo May 23, 2024
2cb5a04
[feat] refactor MVP into libwayshot - create new constructor
CheerfulPianissimo Jun 1, 2024
06e07cb
[refactor] first draft of dmabuf API
CheerfulPianissimo Jun 18, 2024
e64d2e4
[refactor]
CheerfulPianissimo Jun 24, 2024
eff0053
[feat] import wayland-egl-ctx for use as MVP for dmabuf import functi…
CheerfulPianissimo Jul 17, 2024
e934677
[fix] correct modifier_lo parameter in waymirror-egl MVP
CheerfulPianissimo Jul 17, 2024
8d410d7
[feat] get waymirror-egl dmabuf MVP demo working
CheerfulPianissimo Jul 27, 2024
4d2c574
[feat] refactored dmabuf->eglImage API into libwayshot
CheerfulPianissimo Aug 13, 2024
bf32c4c
[feat] - Implemented clean dropping of EGLImage
CheerfulPianissimo Aug 16, 2024
4adb349
[fix] libwayshot build error fixed
CheerfulPianissimo Aug 16, 2024
e204fb8
[fix] remove hardcoded GPU path from libwayshot constructor
CheerfulPianissimo Aug 16, 2024
3601ce1
[fix]] remove reduntant dmabuf_to_texture call from waymirror-egl
CheerfulPianissimo Aug 16, 2024
797ec9f
[docs] document WayshotConnection dmabuf constructor
CheerfulPianissimo Aug 16, 2024
07ecd65
[feat] Added helper/wrapper function to convert screencapture EGLImag…
CheerfulPianissimo Aug 17, 2024
4f9fed6
[fix] improved logging in dmabuf API code
CheerfulPianissimo Aug 25, 2024
bf3fe1b
[doc] update waymirror-egl Readme
CheerfulPianissimo Aug 25, 2024
4d5a242
[fix] change logging level in waymirror-egl to Debug
CheerfulPianissimo Aug 25, 2024
c56e311
[fix] remove unnecessary .gitignore in waymirror-egl
CheerfulPianissimo Aug 25, 2024
21716e7
[ci/cd] attempting to fix the build
CheerfulPianissimo Aug 25, 2024
76c3e32
[ci\cd] add libegl system deps to fix github CI
CheerfulPianissimo Aug 25, 2024
f93878a
[fix] remove unused egl_image struct field in Waymirror demo
CheerfulPianissimo Aug 25, 2024
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
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install wayland dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
libwayland-dev \
libegl-dev \

- name: Build
run: |
Expand Down
205 changes: 202 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[workspace]
resolver = "2"
members = ["wayshot", "libwayshot"]
members = ["wayshot", "libwayshot","libwayshot/examples/waymirror-egl"]

[workspace.package]
authors = ["Shinyzenith <https://aakash.is-a.dev>"]
Expand Down
7 changes: 7 additions & 0 deletions libwayshot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,10 @@ thiserror = "1"
wayland-client = "0.31.1"
wayland-protocols = { version = "0.31.0", features = ["client", "unstable"] }
wayland-protocols-wlr = { version = "0.2.0", features = ["client"] }
wayland-backend = { version = "0.3.3", features = ["client_system"] }

gbm = "0.15.0"
drm = "0.12.0"

gl = "0.14.0"
khronos-egl = { version = "6.0.0",features = ["static"] }
Loading
Loading