]> git.eshelyaron.com Git - emacs.git/commit
Cache relief colors on Haiku since their computation is expensive
authorPo Lu <luangruo@yahoo.com>
Tue, 26 Apr 2022 01:19:56 +0000 (01:19 +0000)
committerPo Lu <luangruo@yahoo.com>
Tue, 26 Apr 2022 01:20:30 +0000 (01:20 +0000)
commit4a837b0c721c9680d8fc88d49d6c1805e279f284
tree864108db0230b6adfc8864154986eca93627e63d
parentd6c7054ff5e1e87904353ddd73aecfead4321a7a
Cache relief colors on Haiku since their computation is expensive

* src/haikufns.c (haiku_create_frame, haiku_create_tip_frame):
Clear `relief_background'.
* src/haikuterm.c (haiku_calculate_relief_colors): Cache relief
colors for each frame.
* src/haikuterm.h (struct haiku_output): New fields for caching
the last relief color.
src/haikufns.c
src/haikuterm.c
src/haikuterm.h