Little test that I made to figure out how use the Present extension of X11 with XCB.
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
bricks 476fd02e10 Upload files to '' 1 yıl önce
LICENSE Initial commit 1 yıl önce
README.md Update 'README.md' 1 yıl önce
makefile Upload files to '' 1 yıl önce
test.c Upload files to '' 1 yıl önce

README.md

XCB-Present-test-1

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 :

  • -l : sets a frame divider to limit the framerate, (example ./test -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

Controls:

  • none