{"push_id":2961423436,"size":1,"distinct_size":1,"ref":"refs/heads/devdraw-macos-1014-2","head":"e0b86636972d00625f09b37664db8364b3dd664e","before":"592c1d981faf3783d1ac167c8b65fe895c8c6540","commits":[{"sha":"e0b86636972d00625f09b37664db8364b3dd664e","author":{"name":"Jacob Vosmaer","email":"1a73af9e7ae00182733b2292511b814be66f065f@jacobvosmaer.nl"},"message":"devdraw: rewrite cocoa renderer\n\nThe old renderer did a lot of work outside the Cocoa drawRect method.\nIn macOS 10.14 this stopped working (see\nhttps://github.com/9fans/plan9port/issues/185). The best information\nI could find on how to remedy this was the suggestion to \"just use\ndrawRect\".\n\nThis ended up as a substantial rewrite of the rendering code. It\nlooks to me like we did not take a performance hit in doing so. I\nthink the code is simpler now because it lets Cocoa take care of\nmore things for us.\n\nI have manually tested this code on macOS 10.13 (retina) and 10.14\n(non-retina). I don't know how it behaves on 10.12 and before.\n\nTo clean up while I'm here I have removed ifdef's in cocoa-screen.m\nfor 10.6 support. The last 10.6 release was in 2009.","distinct":true,"url":"https://api.github.com/repos/jacobvosmaer/plan9port/commits/e0b86636972d00625f09b37664db8364b3dd664e"}]}
{"actor":{"display_login":"jacobvosmaer"}}