implement save request on OSX, add Quick Look extentions

This commit is contained in:
2018-07-31 00:38:10 +02:00
parent 87fcea61b8
commit 5a37f578cb
18 changed files with 814 additions and 20 deletions

View File

@@ -3,13 +3,21 @@
#include <CoreVideo/CoreVideo.h>
#include <OpenGL/OpenGL.h>
@interface Window : NSWindow
@end
@interface Controller : NSWindowController<NSWindowDelegate>
@end
@interface View : NSOpenGLView
{
@public Window* wnd;
CVDisplayLinkRef dl;
NSOpenGLContext* glctx;
_CGLContextObject* cgl;
bool gl_ready;
}
- (void)close;
- (void)terminateGL;
- (void)async_lock;
- (void)async_unlock;