summaryrefslogtreecommitdiffstats
path: root/src/cmd/devdraw/cocoa-thread.c
Commit message (Collapse)AuthorAgeFilesLines
* devdraw: can use libthread directly now on macOSRuss Cox2020-01-131-35/+0
|
* devdraw: rewrite the Cocoa screen using MetalXiao-Yong Jin2018-11-151-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* devdraw: more fixes (thanks David Jeannot)Russ Cox2011-10-121-0/+3
|
* devdraw: update Lion cocoaDavid Jeannot2011-09-191-29/+0
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/5015042
* devdraw: draft cocoa supportDavid Jeannot2011-09-061-0/+54
R=rsc CC=plan9port.codebot http://codereview.appspot.com/4974060