-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4f9fed6
commit bf3fe1b
Showing
1 changed file
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
# wayland-egl-ctx | ||
# waymirror-egl | ||
Example code for using the libwayshot DMA-BUF GL screencapture pipeline. | ||
|
||
Example wayland xdg window driven using egl | ||
This example sets up an EGL+OpenGL context, sets up libwayshot and renders the main display onto a rectangle after converting the screencapture into a texture. | ||
|
||
# TODO | ||
Adapted from https://github.com/Shinyzenith/wayland-egl-ctx, all credits to @Shinyzenith | ||
|
||
- [x] Get GL calls to work | ||
Run using `cargo run` inside this directory. |