Skip to content

Commit

Permalink
[doc] update waymirror-egl Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
CheerfulPianissimo committed Aug 25, 2024
1 parent 4f9fed6 commit bf3fe1b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions libwayshot/examples/waymirror-egl/README.md
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.

0 comments on commit bf3fe1b

Please sign in to comment.