libvisual  0.5.0
lv_gl.h
1 /* Libvisual - The audio visualisation framework.
2  *
3  * Copyright (C) 2012-2013 Libvisual team
4  * 2004-2006 Dennis Smit
5  *
6  * Authors: Dennis Smit <ds@nerds-incorporated.org>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU Lesser General Public License as
10  * published by the Free Software Foundation; either version 2.1
11  * of the License, or (at your option) any later version.
12  *
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 Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21  */
22 
23 #ifndef _LV_GL_H
24 #define _LV_GL_H
25 
26 #include <libvisual/lvconfig.h>
27 #include <libvisual/lv_defines.h>
28 
34 #define VISUAL_VIDEO_ATTR_OPTIONS_GL_ENTRY(options, attr, val) \
35  options.gl_attrs[attr].attribute = attr; \
36  options.gl_attrs[attr].value = val;
37 
43 typedef enum {
61  VISUAL_GL_ATTRIBUTE_LAST
62 } VisGLAttr;
63 
64 typedef struct _VisGLAttrEntry VisGLAttrEntry;
65 
73  int value;
74 };
75 
80 #endif /* _LV_GL_H */