mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-29 12:50:28 +00:00
a5d66e9dd6
Why do all this when overall timing is still so far off? It helps me more easily see how overall timing is so far off.
28 lines
572 B
Objective-C
28 lines
572 B
Objective-C
//
|
|
// OpenGLView.h
|
|
// Clock Signal
|
|
//
|
|
// Created by Thomas Harte on 16/07/2015.
|
|
// Copyright © 2015 Thomas Harte. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "CRTFrame.h"
|
|
#import <AppKit/AppKit.h>
|
|
|
|
@class CSCathodeRayView;
|
|
|
|
@protocol CSCathodeRayViewDelegate
|
|
- (void)openGLView:(CSCathodeRayView * __nonnull)view didUpdateToTime:(CVTimeStamp)time;
|
|
@end
|
|
|
|
@interface CSCathodeRayView : NSOpenGLView
|
|
|
|
@property (nonatomic, weak) id <CSCathodeRayViewDelegate> delegate;
|
|
|
|
- (void)invalidate;
|
|
|
|
- (BOOL)pushFrame:(CRTFrame * __nonnull)crtFrame;
|
|
|
|
@end
|