nkeynes@663: /** nkeynes@663: * $Id$ nkeynes@663: * nkeynes@663: * Cocoa (NSOpenGL) video driver nkeynes@663: * nkeynes@663: * Copyright (c) 2005 Nathan Keynes. nkeynes@663: * nkeynes@663: * This program is free software; you can redistribute it and/or modify nkeynes@663: * it under the terms of the GNU General Public License as published by nkeynes@663: * the Free Software Foundation; either version 2 of the License, or nkeynes@663: * (at your option) any later version. nkeynes@663: * nkeynes@663: * This program is distributed in the hope that it will be useful, nkeynes@663: * but WITHOUT ANY WARRANTY; without even the implied warranty of nkeynes@663: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the nkeynes@663: * GNU General Public License for more details. nkeynes@663: */ nkeynes@663: nkeynes@663: #ifndef video_nsgl_H nkeynes@663: #define video_nsgl_H nkeynes@663: nkeynes@663: #include nkeynes@663: #include "display.h" nkeynes@663: nkeynes@663: /** nkeynes@663: * Initialize the display driver by setting the appropriate methods nkeynes@663: * for NSGL support nkeynes@663: */ nkeynes@663: gboolean video_nsgl_init_driver( NSView *view, display_driver_t driver ); nkeynes@663: nkeynes@663: /** nkeynes@663: * Shutdown GLX support and release all resources. nkeynes@663: */ nkeynes@663: void video_nsgl_shutdown(); nkeynes@663: nkeynes@663: nkeynes@663: #endif /* !video_nsgl_H */