]> git.eshelyaron.com Git - emacs.git/commit
Improve tracking of modified regions on Haiku
authorPo Lu <luangruo@yahoo.com>
Fri, 25 Feb 2022 08:05:11 +0000 (08:05 +0000)
committerPo Lu <luangruo@yahoo.com>
Fri, 25 Feb 2022 08:08:06 +0000 (08:08 +0000)
commita95c43976f7cbe571bf404c24574c9a5399f235e
tree17364ca6931f3eaa7a61e9181e27aaafd64e2549
parent6fd6bea8c4be3e5025645907a52f56521192fef3
Improve tracking of modified regions on Haiku

* src/haiku_support.cc (class EmacsView): New field
`invalid_region'.
(FlipBuffers): Only invalidate that region.
(SetUpDoubleBuffering): Clear that region.
(BView_draw_lock): New parameters for denoting the region
to invalidate.
(BView_invalidate_region): New function.
* src/haiku_support.h: Update prototypes.
* src/haikufns.c (haiku_set_background_color):
* src/haikumenu.c (digest_menu_items):
* src/haikuterm.c (haiku_clip_to_string):
(haiku_flip_buffers):
(haiku_clear_frame_area):
(haiku_clear_frame):
(haiku_draw_glyph_string):
(haiku_after_update_window_line):
(haiku_draw_window_cursor):
(haiku_draw_vertical_window_border):
(haiku_draw_window_divider):
(haiku_draw_fringe_bitmap):
(haiku_scroll_run):
(haiku_read_socket):
(haiku_flash):
(haiku_clear_under_internal_border): Mark appropriate region as
invalid before buffer flip.
src/haiku_support.cc
src/haiku_support.h
src/haikufns.c
src/haikumenu.c
src/haikuterm.c