diff options
author | Xiao-Yong Jin <xjin@anl.gov> | 2018-10-21 20:59:21 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2018-11-15 20:39:35 -0500 |
commit | 9af9ceca26596d562a3ae89fda70bad9f8822ab0 (patch) | |
tree | 7e6fbe7099d03cabd7ec724f5ec4dd976093a584 /include/drawfcall.h | |
parent | de43b1629d008aa6cdf4f6beb2b06e3859616a3e (diff) | |
download | plan9port-9af9ceca26596d562a3ae89fda70bad9f8822ab0.tar.gz plan9port-9af9ceca26596d562a3ae89fda70bad9f8822ab0.tar.bz2 plan9port-9af9ceca26596d562a3ae89fda70bad9f8822ab0.zip |
devdraw: rewrite the Cocoa screen using Metal
Add a new macOS cocoa screen, cocoa-screen-metal.m.
Rewrite the macOS cocoa drawing code to use the builtin runloop,
and use Metal to push pixels with CAMetalLayer.
Remove all of the deprecated code, and simplify some of the logic.
Modify mkwsysrules.sh such that the new code is used only when
the system version is equal or higher than 10.14.
Allow touch events to simulate mouse clicks:
three finger tap for the middle mouse button;
four finger tap for the 2-1 chord.
Support Tresize.
Scale 16x16 Cursor up to 32x32 with an EPX algorithm.
Support macOS input sources including the basic dead keys and the
advanced CJK input methods.
Increase the communication buffers in cocoa-srv.c to allow more
input, especially for long sentences prepared by the macOS input
souces.
Diffstat (limited to 'include/drawfcall.h')
0 files changed, 0 insertions, 0 deletions