summaryrefslogtreecommitdiff
path: root/FL/mac.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-19 16:58:17 +0000
committerManolo Gouy <Manolo>2016-04-19 16:58:17 +0000
commit9f78323574ce8fbbcbf491980fdc9629b83a018a (patch)
treeac33378cddf4b1a0140f664afb223ac40c410bdd /FL/mac.H
parentf29fb8c539a691fb798d2da6ad798c767e1076cd (diff)
Move GL-related static member functions of the Fl_X class on Mac OS to class Fl_Cocoa_Screen_Driver.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11662 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/mac.H')
-rw-r--r--FL/mac.H16
1 files changed, 0 insertions, 16 deletions
diff --git a/FL/mac.H b/FL/mac.H
index 9c4ce11a8..ee212d1e4 100644
--- a/FL/mac.H
+++ b/FL/mac.H
@@ -76,14 +76,6 @@ typedef unsigned int NSUInteger;
#endif
#endif
-#ifdef __OBJC__
-@class NSOpenGLPixelFormat;
-@class NSOpenGLContext;
-#else
-class NSOpenGLPixelFormat;
-class NSOpenGLContext;
-#endif // __OBJC__
-
#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_4
typedef CGImageAlphaInfo CGBitmapInfo;
#endif
@@ -113,14 +105,6 @@ public:
Fl_X *next; // chain of mapped windows
static Fl_X* first;
static Fl_X* i(const Fl_Window* w) {return (Fl_X*)w->i;}
- // Cocoa additions
- static NSOpenGLPixelFormat *mode_to_NSOpenGLPixelFormat(int mode, const int*); // computes NSOpenGLPixelFormat from Gl window's mode
- static NSOpenGLContext* create_GLcontext_for_window(NSOpenGLPixelFormat *pixelformat, NSOpenGLContext *shared_ctx, Fl_Window *window);
- static void GLcontext_update(NSOpenGLContext*);
- static void GLcontext_flushbuffer(NSOpenGLContext*);
- static void GLcontext_release(NSOpenGLContext*);
- static void GLcontext_makecurrent(NSOpenGLContext*);
- static void GL_cleardrawable(void);
};
extern Window fl_window;