File: egltypes.h

package info (click to toggle)
openni 1.5.4.0%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 45,208 kB
  • sloc: cpp: 116,706; ansic: 58,794; sh: 10,287; cs: 7,698; java: 7,402; python: 1,544; makefile: 492; xml: 167
file content (55 lines) | stat: -rw-r--r-- 1,718 bytes parent folder | download | duplicates (7)
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
/*****************************************************************************
 Name :		egltypes.h
 Date :		11/04/05
 Platform : Linux NULL WS

 Description :
 Native egltypes.h as required by Khronos OpenGL ES egl.h

 This file is part of the PowerVR OpenGL ES SDK.

 Copyright 2000-2005 by Imagination Technologies Ltd. All rights reserved.
 Information and source code samples contained herein are
 provided "as-is", without representations or warranties, and
 are subject to change without notice. The author cannot support
 modifications or derivative works created from the sample source
 code provided. You may use, reproduce, and modify portions or
 entire sections of the sample source code for the purposes of
 creating applications. Distribution is limited to executable
 or binary portions of the sample source code unless you gain
 written permission from the author.
*****************************************************************************/
#ifndef _egltypes_h_
#define _egltypes_h_

#define APIENTRY

/* Types */
typedef int EGLBoolean;
#define EGL_FALSE 0
#define EGL_TRUE  1

/* An integer of at least 32 bits */
typedef int EGLint;

/* Resources */
typedef EGLint EGLDisplay;
typedef EGLint EGLConfig;
typedef struct _KEGL_SURFACE_ *EGLSurface;
typedef struct _KEGL_CONTEXT_ *EGLContext;

/* Windowing system: Linux NULL */
typedef int		 NativeDisplayType;
typedef void	*NativeWindowType;
typedef void	*NativePixmapType;

/* May need to export on some platforms */
#define GLAPI_EXT

/* EGL and native handle values */
#define EGL_DEFAULT_DISPLAY ((NativeDisplayType)0)
#define EGL_NO_CONTEXT ((EGLContext)0)
#define EGL_NO_DISPLAY ((EGLDisplay)0)
#define EGL_NO_SURFACE ((EGLSurface)0)

#endif