diff options
author | Po Lu <luangruo@yahoo.com> | 2022-08-01 05:51:59 +0000 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-08-01 05:51:59 +0000 |
commit | 99754dad3c612703e06439cdb324033a25e24464 (patch) | |
tree | 5e637bb4d2c2f157ad3fe115f33c9ab60fed7b3c /lisp/emacs-lisp/autoload.el | |
parent | bc03a5b2c4a40e520888169091fe9ea552233f5f (diff) | |
download | emacs-99754dad3c612703e06439cdb324033a25e24464.tar.gz emacs-99754dad3c612703e06439cdb324033a25e24464.tar.bz2 emacs-99754dad3c612703e06439cdb324033a25e24464.zip |
Implement primitive frame synchronization on Haiku
Instead of relying on a compositor to do the work, we simply
wait for VBLANK and hope that the update finishes soon enough.
* doc/lispref/frames.texi (Management Parameters): Document that
frame synchronization is now supported on Haiku.
* src/haiku_support.cc (class EmacsView): New field
`use_frame_synchronization'.
(FlipBuffers): Wait for vertical blanking period.
(be_set_use_frame_synchronization): New function.
* src/haiku_support.h: Update prototypes.
* src/haikufns.c (haiku_create_frame): Set
`use-frame-synchronization'.
(haiku_set_use_frame_synchronization)
(haiku_frame_parm_handlers): New param handler.
Diffstat (limited to 'lisp/emacs-lisp/autoload.el')
0 files changed, 0 insertions, 0 deletions