filename | src/drivers/video_nsgl.h |
changeset | 663:553bb7d6befa |
next | 681:1755a126b109 |
author | nkeynes |
date | Sat Apr 19 00:36:36 2008 +0000 (16 years ago) |
permissions | -rw-r--r-- |
last change | Move glsl setup out of the drivers Move pvr2 setup call up to video_gtk (probably needs to go higher really) |
file | annotate | diff | log | raw |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +00001.2 +++ b/src/drivers/video_nsgl.h Sat Apr 19 00:36:36 2008 +00001.3 @@ -0,0 +1,37 @@1.4 +/**1.5 + * $Id$1.6 + *1.7 + * Cocoa (NSOpenGL) video driver1.8 + *1.9 + * Copyright (c) 2005 Nathan Keynes.1.10 + *1.11 + * This program is free software; you can redistribute it and/or modify1.12 + * it under the terms of the GNU General Public License as published by1.13 + * the Free Software Foundation; either version 2 of the License, or1.14 + * (at your option) any later version.1.15 + *1.16 + * This program is distributed in the hope that it will be useful,1.17 + * but WITHOUT ANY WARRANTY; without even the implied warranty of1.18 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the1.19 + * GNU General Public License for more details.1.20 + */1.21 +1.22 +#ifndef video_nsgl_H1.23 +#define video_nsgl_H1.24 +1.25 +#include <AppKit/NSView.h>1.26 +#include "display.h"1.27 +1.28 +/**1.29 + * Initialize the display driver by setting the appropriate methods1.30 + * for NSGL support1.31 + */1.32 +gboolean video_nsgl_init_driver( NSView *view, display_driver_t driver );1.33 +1.34 +/**1.35 + * Shutdown GLX support and release all resources.1.36 + */1.37 +void video_nsgl_shutdown();1.38 +1.39 +1.40 +#endif /* !video_nsgl_H */1.41 \ No newline at end of file
.