commit | 7a90573e05242ace6399402db5363fa9e27d3ba0 | [log] [tgz] |
---|---|---|
author | Ryan C. Gordon <icculus@icculus.org> | Sun Dec 16 01:03:17 2018 -0500 |
committer | Ryan C. Gordon <icculus@icculus.org> | Sun Dec 16 01:03:17 2018 -0500 |
tree | 22bd84e846292721648e3071fe1030840408f299 | |
parent | 9f79760557890b8cca02e4da4ca5f9764c3a4c45 [diff] |
cocoa: Implement OpenGL swap interval support with CVDisplayLink. Not only does this fix macOS 10.14 ("Mojave")'s broken NSOpenGLCPSwapInterval support, it also lets us implement "adaptive vsync" on macOS! CVDisplayLink is supported back to macOS 10.4 ("Tiger"), so we just use it universally without version checks and dump NSOpenGLCPSwapInterval, Mojave or not. --HG-- extra : rebase_source : 158673908a50df9b28519d5674c8444e078546c6