Elias Naur
cd244f21ab
ui/app: (macOS) don't release opengl context
...
I haven't found a reliable way to re-create the context and redraw
after deminiaturization or app unhide.
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-07-20 16:22:41 +02:00
Elias Naur
05f0c3e22a
ui/app: (macOS) destroy the GL context correctly
...
The NSOpenGLView owns the NSOpenGLContext so we can't just CFRelease
the context. Use [NSOpenGLView releaseGLContext] instead.
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-07-20 16:11:27 +02:00
Elias Naur
1a417d353c
ui/app: fix a few C signatures and a comment typo
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-07-07 16:33:11 +02:00
Elias Naur
a1c0693eeb
ui/app: add Lock/Unlock to Context for macOS
...
Without locking, asynchronous OpenGL rendering crashes on macOS.
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-05-24 14:01:26 +02:00
Elias Naur
25ba53ea51
ui/app: (macOS) suppress key shortcuts beeps
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-05-16 09:59:20 +02:00
Egon Elbre
f863260514
app: replace COREVIDEO_TRUE with kCVReturnSuccess
...
Signed-off-by: Egon Elbre <egonelbre@gmail.com >
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-04-01 12:03:32 +02:00
Elias Naur
ca5204fcb8
ui: fix macOS build
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-03-31 11:00:26 +02:00
Elias Naur
0f05231c35
all: initial import
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-03-31 10:47:22 +02:00