XCB-Present-test-1/README.md

21 lines
586 B
Markdown
Raw Normal View History

2023-03-27 20:02:07 -04:00
# XCB-Present-test-1
2023-03-27 20:06:58 -04:00
Little test that I made to figure out how use the Present extension of X11 with XCB. It animates 2 squares moving around and show some stats. That's it. I didn't put in any code to manage its size so don't resize its window.
To compile, just run make
Dependencies :
* C99 + posix
* libxcb
* libxcb-present
* libxcb-util
* libcairo
Launch args :
2023-03-27 20:08:23 -04:00
* -l : sets a frame divider to limit the framerate, (example l=2 -> run at 30Hz if X is running at 60Hz).
* -a : async mode, update the animation as fast as possible without waiting for vblank
2023-03-27 20:06:58 -04:00
Controls:
* none