diff options
author | Po Lu <luangruo@yahoo.com> | 2022-02-03 07:50:36 +0000 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-02-03 07:50:36 +0000 |
commit | d35c4ee10a549deb613f0ab2f99244e0240c4b60 (patch) | |
tree | 9cc1a2e6b37db0b5788e6e5db21816a18aa396d2 /lisp/info-xref.el | |
parent | fc79118f19f9a33ceb98c25ef38c67d2b935b9da (diff) | |
download | emacs-d35c4ee10a549deb613f0ab2f99244e0240c4b60.tar.gz emacs-d35c4ee10a549deb613f0ab2f99244e0240c4b60.tar.bz2 emacs-d35c4ee10a549deb613f0ab2f99244e0240c4b60.zip |
Stop creating cairo contexts in haiku_begin_cr_clip
* src/haikufont.c (haikufont_draw):
* src/ftcrfont.c (ftcrfont_draw): Stop holding the draw lock.
* src/haiku_support.cc (class EmacsView): New field
`cairo_context'.
(DetachCairoSurface): Destroy cairo_context.
(AttachCairoSurface): Create cairo_context from the surface.
(EmacsView_cairo_surface): Delete function.
(EmacsView_cairo_context): New function.
* src/haiku_support.h: Update prototypes.
* src/haikuterm.c (haiku_begin_cr_clip):
(haiku_end_cr_clip): Retrieve the existing cairo context instead
of creating a new one.
* src/haikuterm.h (FRAME_CR_CONTEXT): New macro.
Diffstat (limited to 'lisp/info-xref.el')
0 files changed, 0 insertions, 0 deletions