/usr/include/paraview/IceTGL.h is in paraview-dev 5.0.1+dfsg1-4.
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 | /* -*- c -*- *******************************************************/
/*
* Copyright (C) 2010 Sandia Corporation
* Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
* the U.S. Government retains certain rights in this software.
*
* This source code is released under the New BSD License.
*/
#ifndef __IceTGL_h
#define __IceTGL_h
#include <IceT.h>
#ifdef __APPLE__
# include <OpenGL/gl.h>
#else
# include <GL/gl.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif
#if 0
}
#endif
ICET_GL_EXPORT void icetGLInitialize(void);
ICET_GL_EXPORT IceTBoolean icetGLIsInitialized(void);
ICET_GL_EXPORT void icetGLSetReadBuffer(GLenum mode);
ICET_GL_EXPORT IceTImage icetGLDrawFrame(void);
typedef void (*IceTGLDrawCallbackType)(void);
ICET_GL_EXPORT void icetGLDrawCallback(IceTGLDrawCallbackType callback);
#define ICET_GL_STATE_START ICET_RENDER_LAYER_STATE_START
#define ICET_GL_STATE_END ICET_RENDER_LAYER_STATE_END
#define ICET_GL_INITIALIZED (ICET_GL_STATE_START | (IceTEnum)0x0001)
#define ICET_GL_READ_BUFFER (ICET_GL_STATE_START | (IceTEnum)0x0010)
#define ICET_GL_DRAW_FUNCTION (ICET_GL_STATE_START | (IceTEnum)0x0020)
#define ICET_GL_INFLATE_TEXTURE (ICET_GL_STATE_START | (IceTEnum)0x0021)
#define ICET_GL_STATE_ENABLE_START ICET_RENDER_LAYER_ENABLE_START
#define ICET_GL_STATE_ENABLE_END ICET_RENDER_LAYER_ENABLE_END
#define ICET_GL_DISPLAY (ICET_GL_STATE_ENABLE_START | (IceTEnum)0x0000)
#define ICET_GL_DISPLAY_COLORED_BACKGROUND (ICET_GL_STATE_ENABLE_START | (IceTEnum)0x0001)
#define ICET_GL_DISPLAY_INFLATE (ICET_GL_STATE_ENABLE_START | (IceTEnum)0x0002)
#define ICET_GL_DISPLAY_INFLATE_WITH_HARDWARE (ICET_GL_STATE_ENABLE_START | (IceTEnum)0x0003)
#define ICET_GL_BUFFER_START ICET_RENDER_LAYER_BUFFER_START
#define ICET_GL_BUFFER_END ICET_RENDER_LAYER_BUFFER_END
#define ICET_GL_DISPLAY_BUFFER (ICET_GL_BUFFER_START | (IceTEnum)0x0000)
#define ICET_GL_INFLATE_BUFFER (ICET_GL_BUFFER_START | (IceTEnum)0x0001)
#ifdef __cplusplus
}
#endif
#endif /* __IceTGL_h */
|