devdraw: cocoa metal screen updates (#215)

* devdraw: cocoa metal screen uses a dirty hack to make everything smooth

* devdraw: cocoa metal screen uses a layer to make fullscreen applications behave

* devdraw: macOS cocoa metal fix resizeimg without img

* devdraw: macOS cocoa metal uses blit instead of render

We directly use the blit command encoder to copy texture to the
framebuffer.  We no longer need to compile the metal shader every
time the application starts just for rendering a flat 2D surface.

* travis: add osx images covering 10.13 and 10.14
This commit is contained in:
Xiao-Yong 2019-05-17 22:17:45 -05:00 committed by Russ Cox
parent 3197719090
commit cc9ecfbee7
2 changed files with 31 additions and 63 deletions

View file

@ -2,6 +2,10 @@ language: c
matrix:
include:
- os: osx
osx_image: xcode10.2
- os: osx
osx_image: xcode9.4
- os: osx
osx_image: xcode9
- os: osx