4 * Cocoa (NSOpenGL) video driver
6 * Copyright (c) 2005 Nathan Keynes.
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
22 #include <AppKit/NSView.h>
26 * Initialize the display driver by setting the appropriate methods
29 gboolean video_nsgl_init_driver( NSView *view, display_driver_t driver );
32 * Shutdown GLX support and release all resources.
34 void video_nsgl_shutdown();
37 * Standard front/back buffer swap
39 void video_nsgl_swap_buffers();
41 #endif /* !video_nsgl_H */
.