1 /*****************************************************************************
2 * voutagl.c: MacOS X agl OpenGL provider (used by webbrowser.plugin)
3 *****************************************************************************
4 * Copyright (C) 2001-2004 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 * Derk-Jan Hartman <hartman at videolan dot org>
11 * Eric Petit <titer@m0k.org>
12 * Benjamin Pracht <bigben at videolan dot org>
13 * Damien Fouilleul <damienf at videolan dot org>
15 * This program is free software; you can redistribute it and/or modify
16 * it under the terms of the GNU General Public License as published by
17 * the Free Software Foundation; either version 2 of the License, or
18 * (at your option) any later version.
20 * This program is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU General Public License for more details.
25 * You should have received a copy of the GNU General Public License
26 * along with this program; if not, write to the Free Software
27 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
28 *****************************************************************************/
30 #include <OpenGL/OpenGL.h>
31 #include <OpenGL/gl.h>
35 #include <vlc_common.h>
37 int aglInit ( vout_thread_t * p_vout );
38 void aglEnd ( vout_thread_t * p_vout );
39 int aglManage ( vout_thread_t * p_vout );
40 int aglControl( vout_thread_t *, int, va_list );
41 void aglSwap ( vout_thread_t * p_vout );
42 int aglLock ( vout_thread_t * p_vout );
43 void aglUnlock ( vout_thread_t * p_vout );