12 #ifndef ROOT_ROOTOpenGLView
13 #define ROOT_ROOTOpenGLView
23 @interface ROOTOpenGLView : QuartzView {
26 NSOpenGLContext *fOpenGLContext;
29 NSOpenGLPixelFormat *fPixelFormat;
32 - (id) initWithFrame : (NSRect) frameRect pixelFormat : (NSOpenGLPixelFormat *) format;
39 @property (nonatomic, retain) NSOpenGLContext *fOpenGLContext;
49 - (NSOpenGLPixelFormat *) pixelFormat;
50 - (void) setPixelFormat : (NSOpenGLPixelFormat *) pixelFormat;
56 @property (nonatomic, assign) BOOL fUpdateContext;
58 - (BOOL) fIsOpenGLWidget;
62 @property (nonatomic, retain) QuartzPixmap *fBackBuffer;
65 - (void) mapSubwindows;
66 - (void) configureNotifyTree;
67 - (BOOL) fIsOverlapped;
68 - (void) setOverlapped : (BOOL) overlap;
76 bool GLViewIsValidDrawable(ROOTOpenGLView *glView);