1 /*****************************************************************************
2 * voutgl.h: MacOS X OpenGL provider
3 *****************************************************************************
4 * Copyright (C) 2001-2007 the VideoLAN team
7 * Authors: Colin Delacroix <colin@zoy.org>
8 * Florian G. Pflug <fgp@phlo.org>
9 * Jon Lech Johansen <jon-vl@nanocrew.net>
10 * Eric Petit <titer@m0k.org>
11 * Benjamin Pracht <bigben at videolan dot org>
13 * This program is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation; either version 2 of the License, or
16 * (at your option) any later version.
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, write to the Free Software
25 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
26 *****************************************************************************/
28 #import <Cocoa/Cocoa.h>
29 #import "VLCOpenGLVoutView.h"
34 NSAutoreleasePool * o_pool;
35 VLCOpenGLVoutView * o_glview;
36 vlc_bool_t b_saved_frame;
38 vlc_bool_t b_got_frame;
40 /* Mozilla plugin-related variables */
41 vlc_bool_t b_embedded;
43 AGLDrawable agl_drawable;
45 int i_width, i_height;
47 WindowGroupRef winGroup;
48 vlc_bool_t b_clipped_out;
49 Rect clipBounds, viewBounds;