summaryrefslogtreecommitdiff
path: root/src/lib/ector/ector_gl_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ector/ector_gl_internal.h')
-rw-r--r--src/lib/ector/ector_gl_internal.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/src/lib/ector/ector_gl_internal.h b/src/lib/ector/ector_gl_internal.h
index 6653ec2eaf..eca1aeb02f 100644
--- a/src/lib/ector/ector_gl_internal.h
+++ b/src/lib/ector/ector_gl_internal.h
@@ -8,6 +8,63 @@ extern Ector_GL_API GL;
8// ignore everything below this point 8// ignore everything below this point
9// -------------------------------------------------- 9// --------------------------------------------------
10 10
11/*
12Some of the remainder of this file is lifted from Khronos' public
13EGL/glext headers. The copyright notice from a recent version of the
14headers is reproduced here.
15
16Much of it is from Mesa, so their copyright is included as well.
17*/
18
19/*
20** Copyright (c) 2013-2016 The Khronos Group Inc.
21**
22** Permission is hereby granted, free of charge, to any person obtaining a
23** copy of this software and/or associated documentation files (the
24** "Materials"), to deal in the Materials without restriction, including
25** without limitation the rights to use, copy, modify, merge, publish,
26** distribute, sublicense, and/or sell copies of the Materials, and to
27** permit persons to whom the Materials are furnished to do so, subject to
28** the following conditions:
29**
30** The above copyright notice and this permission notice shall be included
31** in all copies or substantial portions of the Materials.
32**
33** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
35** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
36** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
37** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
38** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
39** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
40*/
41/*
42 * Mesa 3-D graphics library
43 *
44 * Copyright (C) 1999-2006 Brian Paul All Rights Reserved.
45 * Copyright (C) 2009 VMware, Inc. All Rights Reserved.
46 *
47 * Permission is hereby granted, free of charge, to any person obtaining a
48 * copy of this software and associated documentation files (the "Software"),
49 * to deal in the Software without restriction, including without limitation
50 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
51 * and/or sell copies of the Software, and to permit persons to whom the
52 * Software is furnished to do so, subject to the following conditions:
53 *
54 * The above copyright notice and this permission notice shall be included
55 * in all copies or substantial portions of the Software.
56 *
57 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
58 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
59 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
60 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
61 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
62 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
63 * OTHER DEALINGS IN THE SOFTWARE.
64 */
65
66
67
11#ifdef GL_GLES 68#ifdef GL_GLES
12typedef intptr_t EGLAttrib; 69typedef intptr_t EGLAttrib;
13typedef unsigned int EGLenum; 70typedef unsigned int EGLenum;