diff options
author | Alan Third <alan@idiocy.org> | 2020-04-11 14:18:39 +0100 |
---|---|---|
committer | Alan Third <alan@idiocy.org> | 2020-04-16 19:11:05 +0100 |
commit | c019f03e38850b3ba3a2bcbcc84960d5b8d9663f (patch) | |
tree | 7f1ab25650ae0aa954d6079a827ef7d5c7552bbe /src/coding.c | |
parent | 24cb6908d70c14792c686679cb08091447b9c3b1 (diff) | |
download | emacs-c019f03e38850b3ba3a2bcbcc84960d5b8d9663f.tar.gz |
Allow dynamic choice of drawing path on NS (bug#39883)
* src/nsterm.h (NS_DRAW_TO_BUFFER): Let this be enabled on versions
older than 10.14.
* src/nsterm.m (ns_update_begin):
(ns_update_end):
(ns_focus):
(ns_unfocus):
([EmacsView viewDidResize:]):
([EmacsView createDrawingBuffer]):
([EmacsView windowDidChangeBackingProperties:]):
([EmacsView copyRect:to:]):
([EmacsView wantsUpdateLayer]): Dynamically switch between drawing to a
buffer and drawing to the screen, depending on the version of AppKit
in use.
([EmacsView dealloc]): We can't release the context unless
NS_DRAW_TO_BUFFER is defined.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions