/usr/include/libvisual-0.4/libvisual/lv_gl.h is in libvisual-0.4-dev 0.4.0-11.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | /* Libvisual - The audio visualisation framework.
*
* Copyright (C) 2004, 2005, 2006 Dennis Smit <ds@nerds-incorporated.org>
*
* Authors: Dennis Smit <ds@nerds-incorporated.org>
*
* $Id: lv_gl.h,v 1.5.2.1 2006/03/04 12:32:47 descender Exp $
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef _LV_GL_H
#define _LV_GL_H
#include <libvisual/lv_common.h>
#include <libvisual/lv_hashmap.h>
VISUAL_BEGIN_DECLS
#define VISUAL_GL_ATTRIBUTE_ENTRY(obj) (VISUAL_CHECK_CAST ((obj), VisGLAttributeEntry))
/**
* Enumerate with GL attributes.
*/
typedef enum {
VISUAL_GL_ATTRIBUTE_NONE = 0, /**< No attribute. */
VISUAL_GL_ATTRIBUTE_BUFFER_SIZE, /**< Depth of the color buffer. */
VISUAL_GL_ATTRIBUTE_LEVEL, /**< Level in plane stacking. */
VISUAL_GL_ATTRIBUTE_RGBA, /**< True if RGBA mode. */
VISUAL_GL_ATTRIBUTE_DOUBLEBUFFER, /**< Double buffering supported. */
VISUAL_GL_ATTRIBUTE_STEREO, /**< Stereo buffering supported. */
VISUAL_GL_ATTRIBUTE_AUX_BUFFERS, /**< Number of aux buffers. */
VISUAL_GL_ATTRIBUTE_RED_SIZE, /**< Number of red component bits. */
VISUAL_GL_ATTRIBUTE_GREEN_SIZE, /**< Number of green component bits. */
VISUAL_GL_ATTRIBUTE_BLUE_SIZE, /**< Number of blue component bits. */
VISUAL_GL_ATTRIBUTE_ALPHA_SIZE, /**< Number of alpha component bits. */
VISUAL_GL_ATTRIBUTE_DEPTH_SIZE, /**< Number of depth bits. */
VISUAL_GL_ATTRIBUTE_STENCIL_SIZE, /**< Number of stencil bits. */
VISUAL_GL_ATTRIBUTE_ACCUM_RED_SIZE, /**< Number of red accum bits. */
VISUAL_GL_ATTRIBUTE_ACCUM_GREEN_SIZE, /**< Number of green accum bits. */
VISUAL_GL_ATTRIBUTE_ACCUM_BLUE_SIZE, /**< Number of blue accum bits. */
VISUAL_GL_ATTRIBUTE_ACCUM_ALPHA_SIZE, /**< Number of alpha accum bits. */
VISUAL_GL_ATTRIBUTE_LAST
} VisGLAttribute;
typedef struct _VisGLAttributeEntry VisGLAttributeEntry;
struct _VisGLAttributeEntry {
VisGLAttribute attribute;
int value;
int mutated;
};
/* prototypes */
void *visual_gl_get_proc_address (char *procname);
VISUAL_END_DECLS
#endif /* _LV_GL_H */
|