diff options
Diffstat (limited to 'recipes')
95 files changed, 0 insertions, 10087 deletions
diff --git a/recipes/alsa/alsa-state.bbappend b/recipes/alsa/alsa-state.bbappend deleted file mode 100644 index dbeb030..0000000 --- a/recipes/alsa/alsa-state.bbappend +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
diff --git a/recipes/alsa/alsa-state/emulator/asound.conf b/recipes/alsa/alsa-state/emulator/asound.conf deleted file mode 100644 index edd2e82..0000000 --- a/recipes/alsa/alsa-state/emulator/asound.conf +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | pcm.!default { | ||
2 | type plug | ||
3 | slave.pcm "dmix" | ||
4 | } | ||
diff --git a/recipes/alsa/alsa-state/raspberrypi/asound.conf b/recipes/alsa/alsa-state/raspberrypi/asound.conf deleted file mode 100644 index 83f7f9a..0000000 --- a/recipes/alsa/alsa-state/raspberrypi/asound.conf +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | pcm.!default { | ||
2 | type hw | ||
3 | card 0 | ||
4 | } | ||
5 | |||
6 | ctl.!default { | ||
7 | type hw | ||
8 | card 0 | ||
9 | } | ||
diff --git a/recipes/base-files/base-files/blacklist.conf b/recipes/base-files/base-files/blacklist.conf deleted file mode 100644 index a8b8885..0000000 --- a/recipes/base-files/base-files/blacklist.conf +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | blacklist evbug | ||
diff --git a/recipes/base-files/base-files_3.0.14.bbappend b/recipes/base-files/base-files_3.0.14.bbappend deleted file mode 100644 index 1dc5501..0000000 --- a/recipes/base-files/base-files_3.0.14.bbappend +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
31 | SRC_URI += "\ | ||
32 | file://blacklist.conf \ | ||
33 | " | ||
34 | |||
35 | do_install_append() { | ||
36 | ln -s /home/root ${D}/root | ||
37 | echo ${MACHINE_HOSTNAME} > ${D}${sysconfdir}/hostname | ||
38 | |||
39 | install -m 0755 -d ${D}${sysconfdir}/modprobe.d | ||
40 | install -m 0644 ${WORKDIR}/blacklist.conf ${D}${sysconfdir}/modprobe.d | ||
41 | |||
42 | # Add quotes around command expansion, since tty may return "not a tty" | ||
43 | sed -i 's#test `tty | cut -c1-8`#test "`tty | cut -c1-8`"#' ${D}${sysconfdir}/profile | ||
44 | } | ||
diff --git a/recipes/ca-certificates/ca-certificates_%.bbappend b/recipes/ca-certificates/ca-certificates_%.bbappend deleted file mode 100644 index 210f550..0000000 --- a/recipes/ca-certificates/ca-certificates_%.bbappend +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | SRC_URI_remove = "file://0001-update-ca-certificates-remove-c-rehash.patch" | ||
31 | DEPENDS_class-native = "coreutils-native" | ||
32 | |||
33 | # for c_rehash | ||
34 | RDEPENDS_${PN}_class-target += "openssl openssl-misc" | ||
diff --git a/recipes/connman-conf/connman-conf.bbappend b/recipes/connman-conf/connman-conf.bbappend deleted file mode 100644 index 06dc61d..0000000 --- a/recipes/connman-conf/connman-conf.bbappend +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2017 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
31 | |||
32 | CONNMAN_SETTINGS_DIR := "${localstatedir}/lib/connman" | ||
33 | |||
34 | FILES_${PN} += "${CONNMAN_SETTINGS_DIR}/settings" | ||
35 | |||
36 | SRC_URI += "file://settings \ | ||
37 | " | ||
38 | |||
39 | do_install_append() { | ||
40 | install -d ${D}/${CONNMAN_SETTINGS_DIR} | ||
41 | install -m 0644 ${WORKDIR}/settings ${D}/${CONNMAN_SETTINGS_DIR}/settings | ||
42 | } | ||
diff --git a/recipes/connman-conf/connman-conf/settings b/recipes/connman-conf/connman-conf/settings deleted file mode 100644 index edfedd4..0000000 --- a/recipes/connman-conf/connman-conf/settings +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | [global] | ||
2 | OfflineMode=false | ||
3 | |||
4 | [Gadget] | ||
5 | Enable=true | ||
diff --git a/recipes/connman/connman_%.bbappend b/recipes/connman/connman_%.bbappend deleted file mode 100644 index 0b03755..0000000 --- a/recipes/connman/connman_%.bbappend +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
23 | |||
24 | SRC_URI += "file://0001-disable-connman-when-booting-over-nfs.patch" | ||
diff --git a/recipes/connman/files/0001-disable-connman-when-booting-over-nfs.patch b/recipes/connman/files/0001-disable-connman-when-booting-over-nfs.patch deleted file mode 100644 index f893746..0000000 --- a/recipes/connman/files/0001-disable-connman-when-booting-over-nfs.patch +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | From df70770f33280a915abb413678088a078d82341a Mon Sep 17 00:00:00 2001 | ||
2 | From: Mikko Gronoff <mikko.gronoff@qt.io> | ||
3 | Date: Tue, 20 Sep 2016 11:02:50 +0300 | ||
4 | Subject: [PATCH] Disable connman when booting over NFS | ||
5 | |||
6 | --- | ||
7 | src/connman.service.in | 1 + | ||
8 | 1 file changed, 1 insertion(+) | ||
9 | |||
10 | diff --git a/src/connman.service.in b/src/connman.service.in | ||
11 | index 09dfec9..4132cf7 100644 | ||
12 | --- a/src/connman.service.in | ||
13 | +++ b/src/connman.service.in | ||
14 | @@ -6,6 +6,7 @@ RequiresMountsFor=@localstatedir@/lib/connman | ||
15 | After=dbus.service network-pre.target systemd-sysusers.service | ||
16 | Before=network.target multi-user.target shutdown.target | ||
17 | Wants=network.target | ||
18 | +ConditionKernelCommandLine=!root=/dev/nfs | ||
19 | |||
20 | [Service] | ||
21 | Type=dbus | ||
diff --git a/recipes/dbus/dbus/dbus-session-address b/recipes/dbus/dbus/dbus-session-address deleted file mode 100644 index 3f85306..0000000 --- a/recipes/dbus/dbus/dbus-session-address +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | if [ -e /var/run/dbus/session_bus_address ]; then | ||
4 | . /var/run/dbus/session_bus_address | ||
5 | fi | ||
diff --git a/recipes/dbus/dbus/dbus-session.init b/recipes/dbus/dbus/dbus-session.init deleted file mode 100644 index 0690511..0000000 --- a/recipes/dbus/dbus/dbus-session.init +++ /dev/null | |||
@@ -1,112 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | ### BEGIN INIT INFO | ||
3 | # Provides: dbus | ||
4 | # Required-Start: $remote_fs $syslog | ||
5 | # Required-Stop: $remote_fs $syslog | ||
6 | # Default-Start: 2 3 4 5 | ||
7 | # Default-Stop: 1 | ||
8 | # Short-Description: D-Bus session message bus | ||
9 | # Description: D-Bus is a simple interprocess messaging system, used | ||
10 | # for sending messages between applications. | ||
11 | ### END INIT INFO | ||
12 | # | ||
13 | # -*- coding: utf-8 -*- | ||
14 | # Debian init.d script for D-BUS | ||
15 | # Copyright © 2003 Colin Walters <walters@debian.org> | ||
16 | |||
17 | # set -e | ||
18 | |||
19 | # Source function library. | ||
20 | #. /etc/init.d/functions | ||
21 | |||
22 | DAEMON=@bindir@/dbus-launch | ||
23 | NAME=dbus-session | ||
24 | ADDRESSFILE=/var/run/dbus/session_bus_address | ||
25 | UUIDDIR=/var/lib/dbus | ||
26 | DESC="session message bus" | ||
27 | APPCONTROLLERPATH="/tmp/b2qt/appcontroller.conf.d" | ||
28 | APPCONTROLLERADDRESSFILE="session_bus_address" | ||
29 | |||
30 | |||
31 | test -x $DAEMON || exit 0 | ||
32 | |||
33 | # Source defaults file; edit that file to configure this script. | ||
34 | ENABLED=1 | ||
35 | PARAMS="" | ||
36 | if [ -e /etc/default/dbus ]; then | ||
37 | . /etc/default/dbus | ||
38 | fi | ||
39 | |||
40 | if [ -e $ADDRESSFILE ]; then | ||
41 | . $ADDRESSFILE | ||
42 | fi | ||
43 | |||
44 | if [ ! -d $APPCONTROLLERPATH ]; then | ||
45 | mkdir -p $APPCONTROLLERPATH | ||
46 | fi | ||
47 | |||
48 | test "$ENABLED" != "0" || exit 0 | ||
49 | |||
50 | start_it_up() | ||
51 | { | ||
52 | echo -n "Starting $DESC: " | ||
53 | $DAEMON --auto-syntax > $ADDRESSFILE | ||
54 | ADDR=`cat $ADDRESSFILE|grep -i DBUS_SESSION_BUS_ADDRESS=` | ||
55 | echo "env=${ADDR%?}" |tr -d \' > ${APPCONTROLLERPATH}/${APPCONTROLLERADDRESSFILE} | ||
56 | echo "$NAME." | ||
57 | } | ||
58 | |||
59 | shut_it_down() | ||
60 | { | ||
61 | echo -n "Stopping $DESC: " | ||
62 | kill $DBUS_SESSION_BUS_PID | ||
63 | echo "$NAME." | ||
64 | } | ||
65 | |||
66 | reload_it() | ||
67 | { | ||
68 | echo -n "Reloading $DESC config: " | ||
69 | dbus-send --print-reply --session --type=method_call \ | ||
70 | --dest=org.freedesktop.DBus \ | ||
71 | / org.freedesktop.DBus.ReloadConfig > /dev/null | ||
72 | # hopefully this is enough time for dbus to reload it's config file. | ||
73 | echo "done." | ||
74 | } | ||
75 | |||
76 | status_it() | ||
77 | { | ||
78 | if kill -0 $DBUS_SESSION_BUS_PID 2>/dev/null; then | ||
79 | echo "$NAME (pid $DBUS_SESSION_BUS_PID) is running..." | ||
80 | return 0 | ||
81 | else | ||
82 | echo "$NAME is stopped" | ||
83 | fi | ||
84 | return 3 | ||
85 | } | ||
86 | |||
87 | case "$1" in | ||
88 | start) | ||
89 | start_it_up | ||
90 | ;; | ||
91 | stop) | ||
92 | shut_it_down | ||
93 | ;; | ||
94 | status) | ||
95 | status_it | ||
96 | exit $? | ||
97 | ;; | ||
98 | reload|force-reload) | ||
99 | reload_it | ||
100 | ;; | ||
101 | restart) | ||
102 | shut_it_down | ||
103 | sleep 1 | ||
104 | start_it_up | ||
105 | ;; | ||
106 | *) | ||
107 | echo "Usage: /etc/init.d/$NAME {start|stop|status|restart|reload|force-reload}" >&2 | ||
108 | exit 1 | ||
109 | ;; | ||
110 | esac | ||
111 | |||
112 | exit 0 | ||
diff --git a/recipes/dbus/dbus/dbus-session.service b/recipes/dbus/dbus/dbus-session.service deleted file mode 100644 index 8dcf081..0000000 --- a/recipes/dbus/dbus/dbus-session.service +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | [Unit] | ||
2 | Description=D-BUS Session Message Bus. | ||
3 | After=dbus.service | ||
4 | |||
5 | [Service] | ||
6 | Type=forking | ||
7 | ExecStart=/usr/bin/dbus-session.init.sh start | ||
8 | ExecStop=/usr/bin/dbus-session.init.sh stop | ||
9 | Environment=HOME=/home/root | ||
10 | |||
11 | [Install] | ||
12 | WantedBy=multi-user.target | ||
13 | |||
diff --git a/recipes/dbus/dbus_%.bbappend b/recipes/dbus/dbus_%.bbappend deleted file mode 100644 index 64d750c..0000000 --- a/recipes/dbus/dbus_%.bbappend +++ /dev/null | |||
@@ -1,72 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | inherit systemd | ||
31 | |||
32 | FILESEXTRAPATHS_append := ":${THISDIR}/${PN}" | ||
33 | SRC_URI += " \ | ||
34 | file://dbus-session.init \ | ||
35 | file://dbus-session.service \ | ||
36 | file://dbus-session-address \ | ||
37 | " | ||
38 | INITSCRIPT_PACKAGES = "${PN} ${PN}-session-init" | ||
39 | INITSCRIPT_NAME_${PN}-session-init = "dbus-session" | ||
40 | INITSCRIPT_PARAMS_${PN}-session-init = "start 20 5 3 2 . stop 10 0 1 6 ." | ||
41 | |||
42 | PACKAGES =+ "${PN}-session-init" | ||
43 | SYSTEMD_PACKAGES =+ "${PN}-session-init" | ||
44 | |||
45 | FILES_${PN}-session-init = " \ | ||
46 | ${sysconfdir}/init.d/dbus-session \ | ||
47 | ${sysconfdir}/profile.d/dbus-session-address \ | ||
48 | ${bindir}/dbus-session.init.sh \ | ||
49 | ${systemd_unitdir}/system/dbus-session.service \ | ||
50 | " | ||
51 | |||
52 | do_install_append_class-target() { | ||
53 | sed 's:@bindir@:${bindir}:' < ${WORKDIR}/dbus-session.init >${WORKDIR}/dbus-session.init.sh | ||
54 | |||
55 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | ||
56 | install -d ${D}${sysconfdir}/init.d | ||
57 | install -m 0755 ${WORKDIR}/dbus-session.init.sh ${D}${sysconfdir}/init.d/dbus-session | ||
58 | fi | ||
59 | |||
60 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | ||
61 | install -m 0755 -d ${D}${bindir}/ | ||
62 | install -m 0755 ${WORKDIR}/dbus-session.init.sh ${D}${bindir}/ | ||
63 | |||
64 | install -m 0755 -d ${D}${systemd_unitdir}/system | ||
65 | install -m 0644 ${WORKDIR}/dbus-session.service ${D}${systemd_unitdir}/system/ | ||
66 | fi | ||
67 | |||
68 | install -d ${D}${sysconfdir}/profile.d | ||
69 | install -m 0755 ${WORKDIR}/dbus-session-address ${D}${sysconfdir}/profile.d/ | ||
70 | } | ||
71 | |||
72 | SYSTEMD_SERVICE_${PN}-session-init = "dbus-session.service" | ||
diff --git a/recipes/fonts/otf-noto_git.bb b/recipes/fonts/otf-noto_git.bb deleted file mode 100644 index 3be53c2..0000000 --- a/recipes/fonts/otf-noto_git.bb +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2017 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | SUMMARY = "Noto Sans CJK" | ||
31 | SECTION = "fonts" | ||
32 | HOMEPAGE = "http://www.google.com/get/noto" | ||
33 | LICENSE = "OFL-1.1" | ||
34 | LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=55719faa0112708e946b820b24b14097" | ||
35 | |||
36 | INHIBIT_DEFAULT_DEPS = "1" | ||
37 | |||
38 | inherit allarch fontcache | ||
39 | |||
40 | PV = "1.004" | ||
41 | SRC_URI = "git://github.com/googlei18n/noto-cjk.git" | ||
42 | SRCREV = "40d9f5b179a59a06b98373c76bdc3e2119e4e6b2" | ||
43 | |||
44 | S = "${WORKDIR}/git" | ||
45 | |||
46 | do_install() { | ||
47 | install -m 0755 -d ${D}${datadir}/fonts/otf/noto | ||
48 | install -m 0644 ${S}/NotoSansCJKsc-*.otf ${D}${datadir}/fonts/otf/noto | ||
49 | install -m 0644 ${S}/NotoSansMonoCJKsc-*.otf ${D}${datadir}/fonts/otf/noto | ||
50 | } | ||
51 | |||
52 | PACKAGES = "${PN}" | ||
53 | FILES_${PN} += "${datadir}/fonts/otf/noto" | ||
diff --git a/recipes/fonts/ttf-devanagari_2.94.0.bb b/recipes/fonts/ttf-devanagari_2.94.0.bb deleted file mode 100644 index ee0ea06..0000000 --- a/recipes/fonts/ttf-devanagari_2.94.0.bb +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | SUMMARY = "Lohit Devanagari Fonts" | ||
31 | SECTION = "fonts" | ||
32 | HOMEPAGE = "https://fedorahosted.org/lohit/" | ||
33 | LICENSE = "OFL-1.1" | ||
34 | LIC_FILES_CHKSUM = "file://${WORKDIR}/lohit-devanagari-ttf-${PV}/OFL.txt;md5=7dfa0a236dc535ad2d2548e6170c4402" | ||
35 | |||
36 | INHIBIT_DEFAULT_DEPS = "1" | ||
37 | |||
38 | inherit allarch fontcache | ||
39 | |||
40 | SRC_URI = "https://releases.pagure.org/lohit/lohit-devanagari-ttf-${PV}.tar.gz" | ||
41 | |||
42 | SRC_URI[md5sum] = "57527ee536a18b443cf786d4b8fd5ec8" | ||
43 | SRC_URI[sha256sum] = "a6618aeb1d25df46d3c22e528c38ea1d1147654e19904497a1e97f4684c55353" | ||
44 | |||
45 | do_install() { | ||
46 | install -m 0755 -d ${D}${datadir}/fonts/truetype/lohit | ||
47 | install -m 0755 -d ${D}${sysconfdir}/fonts/conf.d/ | ||
48 | install -m 0644 ${WORKDIR}/lohit-devanagari-ttf-${PV}/66-lohit-devanagari.conf ${D}${sysconfdir}/fonts/conf.d/ | ||
49 | install -m 0644 ${WORKDIR}/lohit-devanagari-ttf-${PV}/Lohit-Devanagari.ttf ${D}${datadir}/fonts/truetype/lohit | ||
50 | } | ||
51 | |||
52 | PACKAGES = "${PN}" | ||
53 | FILES_${PN} += "${datadir}/fonts/truetype/lohit" | ||
diff --git a/recipes/fonts/ttf-freefont_20120503.bb b/recipes/fonts/ttf-freefont_20120503.bb deleted file mode 100644 index abf9562..0000000 --- a/recipes/fonts/ttf-freefont_20120503.bb +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2017 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | DESCRIPTION = "GNU FreeFont is a free family of scalable outline fonts" | ||
31 | HOMEPAGE = "http://savannah.gnu.org/projects/freefont" | ||
32 | LICENSE = "GPLv3" | ||
33 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
34 | |||
35 | require recipes-graphics/ttf-fonts/ttf.inc | ||
36 | |||
37 | inherit allarch fontcache | ||
38 | |||
39 | S = "${WORKDIR}/freefont-${PV}" | ||
40 | |||
41 | SRC_URI = "http://ftp.gnu.org/gnu/freefont/freefont-ttf-${PV}.zip" | ||
42 | |||
43 | SRC_URI[md5sum] = "879b76d2e3c8003d567b555743f39154" | ||
44 | SRC_URI[sha256sum] = "7c85baf1bf82a1a1845d1322112bc6ca982221b484e3b3925022e25b5cae89af" | ||
45 | |||
46 | PACKAGES = "${PN}-sans ${PN}-mono ${PN}-serif" | ||
47 | FILES_${PN}-sans = "${datadir}/fonts/truetype/FreeSans*.ttf" | ||
48 | FILES_${PN}-mono = "${datadir}/fonts/truetype/FreeMono*.ttf" | ||
49 | FILES_${PN}-serif = "${datadir}/fonts/truetype/FreeSerif*.ttf" | ||
diff --git a/recipes/fonts/ttf-opensans.bb b/recipes/fonts/ttf-opensans.bb deleted file mode 100644 index 08e8421..0000000 --- a/recipes/fonts/ttf-opensans.bb +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | SUMMARY = "Open Sans Fonts" | ||
31 | SECTION = "fonts" | ||
32 | HOMEPAGE = "https://www.google.com/fonts" | ||
33 | LICENSE = "Apache-2.0" | ||
34 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE.txt;md5=d273d63619c9aeaf15cdaf76422c4f87" | ||
35 | |||
36 | INHIBIT_DEFAULT_DEPS = "1" | ||
37 | |||
38 | inherit allarch fontcache | ||
39 | |||
40 | SRC_URI = "https://www.google.com/fonts/download?kit=3hvsV99qyKCBS55e5pvb3ltkqrIMaAZWyLYEoB48lSQ;downloadfilename=Open_Sans.zip" | ||
41 | # Google packs fonts package on demand which results in unpredictable md5sum, so disable checksum check | ||
42 | BB_STRICT_CHECKSUM = "" | ||
43 | |||
44 | do_install() { | ||
45 | install -m 0755 -d ${D}${datadir}/fonts/truetype/opensans | ||
46 | install -m 0644 ${WORKDIR}/*.ttf ${D}${datadir}/fonts/truetype/opensans | ||
47 | } | ||
48 | |||
49 | PACKAGES = "${PN}" | ||
50 | FILES_${PN} += "${datadir}/fonts/truetype/opensans" | ||
diff --git a/recipes/gdb/gdb-cross-canadian_7.%.bbappend b/recipes/gdb/gdb-cross-canadian_7.%.bbappend deleted file mode 100644 index 452753d..0000000 --- a/recipes/gdb/gdb-cross-canadian_7.%.bbappend +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | DEPENDS_append_sdkmingw32 = " nativesdk-prebuild-python" | ||
31 | RDEPENDS_${PN}_append_sdkmingw32 = " nativesdk-prebuild-python" | ||
32 | EXTRA_OECONF_remove_sdkmingw32 = "--without-python --with-python=no" | ||
33 | EXTRA_OECONF_append_sdkmingw32 = " --with-python" | ||
34 | |||
35 | do_install_append_sdkmingw32() { | ||
36 | mkdir -p ${D}${bindir}/lib | ||
37 | cp -r ${STAGING_DIR_HOST}${exec_prefix}/lib/python2.7/* -d ${D}${bindir}/lib | ||
38 | cp ${STAGING_DIR_HOST}${exec_prefix}/bin/python27.dll ${D}${bindir} | ||
39 | } | ||
diff --git a/recipes/gnutls/files/check_SYS_getrandom.patch b/recipes/gnutls/files/check_SYS_getrandom.patch deleted file mode 100644 index 50693bf..0000000 --- a/recipes/gnutls/files/check_SYS_getrandom.patch +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | From f26c3979ab0325edb2e410d287bc501cf00e0ac0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||
3 | Date: Mon, 22 Aug 2016 16:32:34 +0200 | ||
4 | Subject: [PATCH] rnd-linux: added check for SYS_getrandom being defined | ||
5 | |||
6 | This allows to compile the getrandom() code in old Linux systems | ||
7 | which do not have the system call defined. | ||
8 | --- | ||
9 | |||
10 | Upstream-Status: Backport | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | |||
13 | lib/nettle/rnd-linux.c | 6 +++++- | ||
14 | 1 file changed, 5 insertions(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/lib/nettle/rnd-linux.c b/lib/nettle/rnd-linux.c | ||
17 | index d7f07a6..7a24d05 100644 | ||
18 | --- a/lib/nettle/rnd-linux.c | ||
19 | +++ b/lib/nettle/rnd-linux.c | ||
20 | @@ -56,7 +56,11 @@ static dev_t _gnutls_urandom_fd_rdev = 0; | ||
21 | # else | ||
22 | # include <sys/syscall.h> | ||
23 | # undef getrandom | ||
24 | -# define getrandom(dst,s,flags) syscall(SYS_getrandom, (void*)dst, (size_t)s, (unsigned int)flags) | ||
25 | +# if defined(SYS_getrandom) | ||
26 | +# define getrandom(dst,s,flags) syscall(SYS_getrandom, (void*)dst, (size_t)s, (unsigned int)flags) | ||
27 | +# else | ||
28 | +# define getrandom(dst,s,flags) -1 | ||
29 | +# endif | ||
30 | # endif | ||
31 | |||
32 | static unsigned have_getrandom(void) | ||
33 | -- | ||
34 | libgit2 0.24.0 | ||
35 | |||
36 | |||
diff --git a/recipes/gnutls/gnutls_3.%.bbappend b/recipes/gnutls/gnutls_3.%.bbappend deleted file mode 100644 index 8d91bb0..0000000 --- a/recipes/gnutls/gnutls_3.%.bbappend +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2017 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
31 | |||
32 | SRC_URI += "file://check_SYS_getrandom.patch" | ||
diff --git a/recipes/gperf/gperf_%.bbappend b/recipes/gperf/gperf_%.bbappend deleted file mode 100644 index 6f2651c..0000000 --- a/recipes/gperf/gperf_%.bbappend +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/recipes/gstreamer/gst-plugins-bad_0.10.23.bbappend b/recipes/gstreamer/gst-plugins-bad_0.10.23.bbappend deleted file mode 100644 index f42e121..0000000 --- a/recipes/gstreamer/gst-plugins-bad_0.10.23.bbappend +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | PACKAGECONFIG_append = " faad" | ||
diff --git a/recipes/gstreamer/gst-plugins-base/fix-gstvolume.patch b/recipes/gstreamer/gst-plugins-base/fix-gstvolume.patch deleted file mode 100644 index d229e95..0000000 --- a/recipes/gstreamer/gst-plugins-base/fix-gstvolume.patch +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | diff --git a/gst/volume/gstvolume.c b/gst/volume/gstvolume.c | ||
2 | index 0f5b362..94d03a3 100644 | ||
3 | --- a/gst/volume/gstvolume.c | ||
4 | +++ b/gst/volume/gstvolume.c | ||
5 | @@ -314,10 +314,14 @@ volume_update_volume (GstVolume * self, gfloat volume, | ||
6 | self->current_mute = FALSE; | ||
7 | self->current_volume = volume; | ||
8 | |||
9 | - self->current_vol_i8 = volume * VOLUME_UNITY_INT8; | ||
10 | - self->current_vol_i16 = volume * VOLUME_UNITY_INT16; | ||
11 | - self->current_vol_i24 = volume * VOLUME_UNITY_INT24; | ||
12 | - self->current_vol_i32 = volume * VOLUME_UNITY_INT32; | ||
13 | + self->current_vol_i8 = | ||
14 | + (gint) ((gdouble) volume * (gdouble) VOLUME_UNITY_INT8); | ||
15 | + self->current_vol_i16 = | ||
16 | + (gint) ((gdouble) volume * (gdouble) VOLUME_UNITY_INT16); | ||
17 | + self->current_vol_i24 = | ||
18 | + (gint) ((gdouble) volume * (gdouble) VOLUME_UNITY_INT24); | ||
19 | + self->current_vol_i32 = | ||
20 | + (gint) ((gdouble) volume * (gdouble) VOLUME_UNITY_INT32); | ||
21 | |||
22 | passthrough = (self->current_vol_i16 == VOLUME_UNITY_INT16); | ||
23 | } | ||
diff --git a/recipes/gstreamer/gst-plugins-base_0.10.%.bbappend b/recipes/gstreamer/gst-plugins-base_0.10.%.bbappend deleted file mode 100644 index 646faa5..0000000 --- a/recipes/gstreamer/gst-plugins-base_0.10.%.bbappend +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
31 | |||
32 | SRC_URI += "file://fix-gstvolume.patch" | ||
diff --git a/recipes/gstreamer/gstreamer1.0-plugins-bad_%.bbappend b/recipes/gstreamer/gstreamer1.0-plugins-bad_%.bbappend deleted file mode 100644 index f42e121..0000000 --- a/recipes/gstreamer/gstreamer1.0-plugins-bad_%.bbappend +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | PACKAGECONFIG_append = " faad" | ||
diff --git a/recipes/gstreamer/gstreamer1.0-plugins-ugly_%.bbappend b/recipes/gstreamer/gstreamer1.0-plugins-ugly_%.bbappend deleted file mode 100644 index e338316..0000000 --- a/recipes/gstreamer/gstreamer1.0-plugins-ugly_%.bbappend +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | PACKAGECONFIG_append = " x264" | ||
31 | FILES_${PN}-x264 += "${datadir}/gstreamer-1.0/presets/*.prs" | ||
diff --git a/recipes/hunspell/hunspell_1.3.2.bb b/recipes/hunspell/hunspell_1.3.2.bb deleted file mode 100644 index e47c9c1..0000000 --- a/recipes/hunspell/hunspell_1.3.2.bb +++ /dev/null | |||
@@ -1,59 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | DESCRIPTION = "Hunspell" | ||
31 | LICENSE = "LGPLv2" | ||
32 | LIC_FILES_CHKSUM = "file://${WORKDIR}/hunspell-${PV}/COPYING;md5=ed3a37b3ba6d6be3e08ab45987cf1b88" | ||
33 | |||
34 | SRC_URI = "http://downloads.sourceforge.net/hunspell/hunspell-${PV}.tar.gz;name=hunspell \ | ||
35 | git://github.com/libreoffice/dictionaries.git;branch=libreoffice-4-3-2;name=dictionaries \ | ||
36 | " | ||
37 | |||
38 | SRC_URI[hunspell.md5sum] = "3121aaf3e13e5d88dfff13fb4a5f1ab8" | ||
39 | SRC_URI[hunspell.sha256sum] = "b4edd4a4ee944cb9f485b35473e46b729ed768e9d24da8e78e4c4c6ca56addbd" | ||
40 | # using branch libreoffice-4.3.2 for dictionaries | ||
41 | SRCREV_dictionaries = "aa497b3c345133a1dc180dfb95dd1b3677b92afa" | ||
42 | |||
43 | PR = "r0" | ||
44 | |||
45 | inherit autotools gettext | ||
46 | |||
47 | PACKAGES += "${PN}-dicts" | ||
48 | RRECOMMENDS_${PN} += "${PN}-dicts" | ||
49 | FILES_${PN}-dicts = "${datadir}/hunspell" | ||
50 | |||
51 | do_install_append() { | ||
52 | install -m 0755 -d ${D}${datadir}/hunspell | ||
53 | |||
54 | install -m 0755 ${WORKDIR}/git/ar/ar.dic ${D}${datadir}/hunspell/ar_EG.dic | ||
55 | install -m 0755 ${WORKDIR}/git/ar/ar.aff ${D}${datadir}/hunspell/ar_EG.aff | ||
56 | |||
57 | install -m 0755 ${WORKDIR}/git/en/en_GB.dic ${D}${datadir}/hunspell | ||
58 | install -m 0755 ${WORKDIR}/git/en/en_GB.aff ${D}${datadir}/hunspell | ||
59 | } | ||
diff --git a/recipes/init-ifupdown/init-ifupdown/beagleboard/interfaces b/recipes/init-ifupdown/init-ifupdown/beagleboard/interfaces deleted file mode 100644 index e315b94..0000000 --- a/recipes/init-ifupdown/init-ifupdown/beagleboard/interfaces +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) | ||
2 | |||
3 | # The loopback interface | ||
4 | auto lo | ||
5 | iface lo inet loopback | ||
6 | |||
7 | # Wireless interfaces | ||
8 | iface wlan0 inet dhcp | ||
9 | wireless_mode managed | ||
10 | wireless_essid any | ||
11 | wpa-driver wext | ||
12 | wpa-conf /etc/wpa_supplicant.conf | ||
13 | |||
14 | iface atml0 inet dhcp | ||
15 | |||
16 | # Wired or wireless interfaces | ||
17 | auto eth0 | ||
18 | iface eth0 inet dhcp | ||
19 | hostname `/bin/hostname` | ||
20 | # hwaddress ether 00:00:00:00:00:00 | ||
21 | iface eth1 inet dhcp | ||
22 | |||
23 | # Ethernet/RNDIS gadget (g_ether) | ||
24 | # ... or on host side, usbnet and random hwaddr | ||
25 | iface usb0 inet static | ||
26 | address 192.168.7.2 | ||
27 | netmask 255.255.255.0 | ||
28 | network 192.168.7.0 | ||
29 | gateway 192.168.7.1 | ||
30 | |||
31 | # Bluetooth networking | ||
32 | iface bnep0 inet dhcp | ||
33 | |||
diff --git a/recipes/init-ifupdown/init-ifupdown/emulator/interfaces b/recipes/init-ifupdown/init-ifupdown/emulator/interfaces deleted file mode 100644 index 06adafb..0000000 --- a/recipes/init-ifupdown/init-ifupdown/emulator/interfaces +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) | ||
2 | |||
3 | # The loopback interface | ||
4 | auto lo | ||
5 | iface lo inet loopback | ||
6 | |||
7 | # Wireless interfaces | ||
8 | iface wlan0 inet dhcp | ||
9 | wireless_mode managed | ||
10 | wireless_essid any | ||
11 | wpa-driver wext | ||
12 | wpa-conf /etc/wpa_supplicant.conf | ||
13 | |||
14 | iface atml0 inet dhcp | ||
15 | |||
16 | # Wired or wireless interfaces | ||
17 | auto eth0 | ||
18 | iface eth0 inet dhcp | ||
19 | auto eth1 | ||
20 | iface eth1 inet dhcp | ||
21 | hostname `/bin/hostname` | ||
22 | |||
23 | # Ethernet/RNDIS gadget (g_ether) | ||
24 | # ... or on host side, usbnet and random hwaddr | ||
25 | iface usb0 inet static | ||
26 | address 192.168.7.2 | ||
27 | netmask 255.255.255.0 | ||
28 | network 192.168.7.0 | ||
29 | gateway 192.168.7.1 | ||
30 | |||
31 | # Bluetooth networking | ||
32 | iface bnep0 inet dhcp | ||
33 | |||
diff --git a/recipes/init-ifupdown/init-ifupdown/fixed_mac_address b/recipes/init-ifupdown/init-ifupdown/fixed_mac_address deleted file mode 100755 index 020257e..0000000 --- a/recipes/init-ifupdown/init-ifupdown/fixed_mac_address +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | if [ ! -e /etc/network/interfaces.fixed ]; then | ||
4 | HWADDRESS=$(cat /sys/class/net/eth0/address) | ||
5 | sed -i -e 's,^#\(.*\)00:00:00:00:00:00,\1'$HWADDRESS',' /etc/network/interfaces | ||
6 | touch /etc/network/interfaces.fixed | ||
7 | fi | ||
diff --git a/recipes/init-ifupdown/init-ifupdown/interfaces b/recipes/init-ifupdown/init-ifupdown/interfaces deleted file mode 100644 index 5c1ec07..0000000 --- a/recipes/init-ifupdown/init-ifupdown/interfaces +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) | ||
2 | |||
3 | # The loopback interface | ||
4 | auto lo | ||
5 | iface lo inet loopback | ||
6 | |||
7 | # Wireless interfaces | ||
8 | iface wlan0 inet dhcp | ||
9 | wireless_mode managed | ||
10 | wireless_essid any | ||
11 | wpa-driver wext | ||
12 | wpa-conf /etc/wpa_supplicant.conf | ||
13 | |||
14 | iface atml0 inet dhcp | ||
15 | |||
16 | # Wired or wireless interfaces | ||
17 | auto eth0 | ||
18 | iface eth0 inet dhcp | ||
19 | hostname `/bin/hostname` | ||
20 | iface eth1 inet dhcp | ||
21 | |||
22 | # Ethernet/RNDIS gadget (g_ether) | ||
23 | # ... or on host side, usbnet and random hwaddr | ||
24 | iface usb0 inet static | ||
25 | address 192.168.7.2 | ||
26 | netmask 255.255.255.0 | ||
27 | network 192.168.7.0 | ||
28 | gateway 192.168.7.1 | ||
29 | |||
30 | # Bluetooth networking | ||
31 | iface bnep0 inet dhcp | ||
32 | |||
diff --git a/recipes/init-ifupdown/init-ifupdown/nitrogen6x/interfaces b/recipes/init-ifupdown/init-ifupdown/nitrogen6x/interfaces deleted file mode 100644 index 93ba671..0000000 --- a/recipes/init-ifupdown/init-ifupdown/nitrogen6x/interfaces +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) | ||
2 | |||
3 | # The loopback interface | ||
4 | auto lo | ||
5 | iface lo inet loopback | ||
6 | |||
7 | # Wireless interfaces | ||
8 | iface wlan0 inet dhcp | ||
9 | wireless_mode managed | ||
10 | wireless_essid any | ||
11 | wpa-driver nl80211 | ||
12 | wpa-conf /etc/wpa_supplicant.conf | ||
13 | |||
14 | iface atml0 inet dhcp | ||
15 | |||
16 | # Wired or wireless interfaces | ||
17 | auto eth0 | ||
18 | iface eth0 inet dhcp | ||
19 | hostname `/bin/hostname` | ||
20 | |||
21 | # Ethernet/RNDIS gadget (g_ether) | ||
22 | # ... or on host side, usbnet and random hwaddr | ||
23 | iface usb0 inet static | ||
24 | address 192.168.7.2 | ||
25 | netmask 255.255.255.0 | ||
26 | network 192.168.7.0 | ||
27 | gateway 192.168.7.1 | ||
28 | |||
29 | # Bluetooth networking | ||
30 | iface bnep0 inet dhcp | ||
31 | |||
diff --git a/recipes/init-ifupdown/init-ifupdown_1.0.bbappend b/recipes/init-ifupdown/init-ifupdown_1.0.bbappend deleted file mode 100644 index 430999a..0000000 --- a/recipes/init-ifupdown/init-ifupdown_1.0.bbappend +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
31 | |||
32 | SRC_URI_append_beagleboard = " file://fixed_mac_address" | ||
33 | |||
34 | do_install_append_beagleboard() { | ||
35 | install -d ${D}${sysconfdir}/init.d | ||
36 | install -m 0755 ${WORKDIR}/fixed_mac_address ${D}${sysconfdir}/network/if-pre-up.d/ | ||
37 | } | ||
diff --git a/recipes/initramfs-basic/files/init.sh b/recipes/initramfs-basic/files/init.sh deleted file mode 100644 index 94eb39b..0000000 --- a/recipes/initramfs-basic/files/init.sh +++ /dev/null | |||
@@ -1,107 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | PATH=/sbin:/bin:/usr/sbin:/usr/bin | ||
4 | ROOT_MOUNT="/sysroot/" | ||
5 | ROOT_DEVICE="" | ||
6 | |||
7 | early_setup() { | ||
8 | |||
9 | mkdir -p /proc | ||
10 | mkdir -p /sys | ||
11 | mount -t proc proc /proc | ||
12 | mount -t sysfs sysfs /sys | ||
13 | mount -t devtmpfs none /dev | ||
14 | |||
15 | mkdir -p /run | ||
16 | mkdir -p /var/run | ||
17 | } | ||
18 | |||
19 | read_args() { | ||
20 | |||
21 | for arg in $(cat /proc/cmdline); do | ||
22 | value=$(echo ${arg} | cut -s -f2- -d '=') | ||
23 | case $arg in | ||
24 | root=*) | ||
25 | root=$value | ||
26 | ;; | ||
27 | debugshell*) | ||
28 | if [ -z "$value" ]; then | ||
29 | shelltimeout=30 | ||
30 | else | ||
31 | shelltimeout=$value | ||
32 | fi | ||
33 | ;; | ||
34 | esac | ||
35 | done | ||
36 | |||
37 | if [ -z "$root" ] ; then | ||
38 | debug_shell "No root= specified via kernel command line." | ||
39 | else | ||
40 | case $root in | ||
41 | LABEL=*) | ||
42 | label=${root#LABEL=} | ||
43 | ;; | ||
44 | *) | ||
45 | debug_shell "This init script only supports root=LABEL=* for specifying root file system, but root=$root was provided." | ||
46 | ;; | ||
47 | esac | ||
48 | fi | ||
49 | } | ||
50 | |||
51 | mount_rootfs() { | ||
52 | |||
53 | mkdir -p $ROOT_MOUNT | ||
54 | mount $ROOT_DEVICE $ROOT_MOUNT | ||
55 | mount -n --move /proc $ROOT_MOUNT/proc | ||
56 | mount -n --move /sys $ROOT_MOUNT/sys | ||
57 | mount -n --move /dev $ROOT_MOUNT/dev | ||
58 | |||
59 | exec switch_root $ROOT_MOUNT /sbin/init || debug_shell "Couldn't switch_root." | ||
60 | } | ||
61 | |||
62 | switch_real_root() { | ||
63 | |||
64 | echo "Searching for media..." | ||
65 | C=0 | ||
66 | while true | ||
67 | do | ||
68 | |||
69 | rootfs=$(findfs LABEL=$label) | ||
70 | if [ -n "$rootfs" ] ; then | ||
71 | ROOT_DEVICE=$rootfs | ||
72 | mount_rootfs | ||
73 | fi | ||
74 | |||
75 | # don't wait for more than $shelltimeout seconds, if it's set | ||
76 | if [ -n "$shelltimeout" ]; then | ||
77 | echo -n " " $(( $shelltimeout - $C )) | ||
78 | if [ $C -ge $shelltimeout ]; then | ||
79 | debug_shell "Cannot find root file system." | ||
80 | fi | ||
81 | C=$(( C + 1 )) | ||
82 | fi | ||
83 | |||
84 | sleep 1 | ||
85 | done | ||
86 | } | ||
87 | |||
88 | debug_shell() { | ||
89 | |||
90 | echo ${1} | ||
91 | echo "Dropping to a shell." | ||
92 | exec sh | ||
93 | } | ||
94 | |||
95 | main() { | ||
96 | |||
97 | early_setup | ||
98 | read_args | ||
99 | |||
100 | if [ -f init-device ]; then | ||
101 | source init-device | ||
102 | fi | ||
103 | |||
104 | switch_real_root | ||
105 | } | ||
106 | |||
107 | main | ||
diff --git a/recipes/initramfs-basic/init-basic.bb b/recipes/initramfs-basic/init-basic.bb deleted file mode 100644 index 25039e7..0000000 --- a/recipes/initramfs-basic/init-basic.bb +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | SUMMARY = "Simple init script that mounts root filesystem by label." | ||
31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
32 | LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=80e06902b5f0e94ad0a78ee4f7fcb74b" | ||
33 | SRC_URI = "file://init.sh" | ||
34 | |||
35 | S = "${WORKDIR}" | ||
36 | |||
37 | do_install () { | ||
38 | install -m 0755 ${WORKDIR}/init.sh ${D}/init | ||
39 | } | ||
40 | |||
41 | inherit allarch | ||
42 | |||
43 | FILES_${PN} += "/init" | ||
diff --git a/recipes/initramfs-basic/initramfs-basic.bb b/recipes/initramfs-basic/initramfs-basic.bb deleted file mode 100644 index 31388d3..0000000 --- a/recipes/initramfs-basic/initramfs-basic.bb +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | DESCRIPTION = "Basic initramfs image. Useful as a template for more advanced functionality." | ||
31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
32 | LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=80e06902b5f0e94ad0a78ee4f7fcb74b" | ||
33 | |||
34 | # findfs from busybox fails to do its jobs, the full version from util-linux-findfs works fine | ||
35 | PACKAGE_INSTALL = "init-basic busybox util-linux-findfs ${ROOTFS_BOOTSTRAP_INSTALL}" | ||
36 | |||
37 | # Do not pollute the initramfs image with rootfs features | ||
38 | IMAGE_FEATURES = "" | ||
39 | |||
40 | export IMAGE_BASENAME = "initramfs-basic" | ||
41 | IMAGE_LINGUAS = "" | ||
42 | |||
43 | IMAGE_FSTYPES = "cpio.gz" | ||
44 | inherit core-image | ||
45 | |||
46 | IMAGE_ROOTFS_SIZE = "8192" | ||
47 | IMAGE_ROOTFS_EXTRA_SPACE = "0" | ||
48 | |||
49 | BAD_RECOMMENDATIONS += "busybox-syslog" | ||
50 | |||
diff --git a/recipes/initscripts/initscripts_1.0.bbappend b/recipes/initscripts/initscripts_1.0.bbappend deleted file mode 100644 index e2550b1..0000000 --- a/recipes/initscripts/initscripts_1.0.bbappend +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | do_configure_append() { | ||
31 | sed -i -e "/echo/d" ${WORKDIR}/banner.sh | ||
32 | } | ||
diff --git a/recipes/libsdl/libsdl_1.2.15.bbappend b/recipes/libsdl/libsdl_1.2.15.bbappend deleted file mode 100644 index 955c797..0000000 --- a/recipes/libsdl/libsdl_1.2.15.bbappend +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | DEPENDS_remove = "virtual/libgl libglu" | ||
diff --git a/recipes/libyaml/libyaml_%.bbappend b/recipes/libyaml/libyaml_%.bbappend deleted file mode 100644 index 728a546..0000000 --- a/recipes/libyaml/libyaml_%.bbappend +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | BBCLASSEXTEND += "nativesdk" | ||
diff --git a/recipes/linux-firmware/linux-firmware_git.bbappend b/recipes/linux-firmware/linux-firmware_git.bbappend deleted file mode 100644 index 33bcc34..0000000 --- a/recipes/linux-firmware/linux-firmware_git.bbappend +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | LICENSE_CREATE_PACKAGE = "0" | ||
diff --git a/recipes/linux/linux-yocto/snd_intel8x0.cfg b/recipes/linux/linux-yocto/snd_intel8x0.cfg deleted file mode 100644 index 6d78f08..0000000 --- a/recipes/linux/linux-yocto/snd_intel8x0.cfg +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | CONFIG_SND_INTEL8X0=m | ||
diff --git a/recipes/linux/linux-yocto_4.%.bbappend b/recipes/linux/linux-yocto_4.%.bbappend deleted file mode 100644 index 3687f9b..0000000 --- a/recipes/linux/linux-yocto_4.%.bbappend +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
31 | SRC_URI += "\ | ||
32 | file://snd_intel8x0.cfg \ | ||
33 | " | ||
34 | |||
35 | KMACHINE_emulator = "qemux86" | ||
36 | COMPATIBLE_MACHINE_emulator = "emulator" | ||
diff --git a/recipes/mesa/mesa_%.bbappend b/recipes/mesa/mesa_%.bbappend deleted file mode 100644 index 35f66f4..0000000 --- a/recipes/mesa/mesa_%.bbappend +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | RDEPENDS_libgles2-mesa-dev += "libgles3-mesa-dev" | ||
31 | PROVIDES += "virtual/libgbm" | ||
diff --git a/recipes/meta/meta-environment.bbappend b/recipes/meta/meta-environment.bbappend deleted file mode 100644 index 65cc6b3..0000000 --- a/recipes/meta/meta-environment.bbappend +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | inherit image-buildinfo | ||
31 | |||
32 | toolchain_create_sdk_version_append () { | ||
33 | echo 'Layer Revisions:' >> $versionfile | ||
34 | echo '${@get_layer_revs(d)}' >> $versionfile | ||
35 | } | ||
diff --git a/recipes/opengldummy/files/egl.cpp b/recipes/opengldummy/files/egl.cpp deleted file mode 100644 index 7c28b41..0000000 --- a/recipes/opengldummy/files/egl.cpp +++ /dev/null | |||
@@ -1,178 +0,0 @@ | |||
1 | // Automatically generated file, do not edit. | ||
2 | |||
3 | #include <EGL/egl.h> | ||
4 | |||
5 | extern "C" { | ||
6 | |||
7 | EGLAPI EGLBoolean EGLAPIENTRY eglChooseConfig(EGLDisplay dpy, const EGLint * attrib_list, EGLConfig* configs, EGLint config_size, EGLint* num_config) | ||
8 | { | ||
9 | return 0; | ||
10 | } | ||
11 | |||
12 | EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers(EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target) | ||
13 | { | ||
14 | return 0; | ||
15 | } | ||
16 | |||
17 | EGLAPI EGLContext EGLAPIENTRY eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint * attrib_list) | ||
18 | { | ||
19 | return 0; | ||
20 | } | ||
21 | |||
22 | EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint * attrib_list) | ||
23 | { | ||
24 | return 0; | ||
25 | } | ||
26 | |||
27 | EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint * attrib_list) | ||
28 | { | ||
29 | return 0; | ||
30 | } | ||
31 | |||
32 | EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint * attrib_list) | ||
33 | { | ||
34 | return 0; | ||
35 | } | ||
36 | |||
37 | EGLAPI EGLBoolean EGLAPIENTRY eglDestroyContext(EGLDisplay dpy, EGLContext ctx) | ||
38 | { | ||
39 | return 0; | ||
40 | } | ||
41 | |||
42 | EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface) | ||
43 | { | ||
44 | return 0; | ||
45 | } | ||
46 | |||
47 | EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint* value) | ||
48 | { | ||
49 | return 0; | ||
50 | } | ||
51 | |||
52 | EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigs(EGLDisplay dpy, EGLConfig* configs, EGLint config_size, EGLint* num_config) | ||
53 | { | ||
54 | return 0; | ||
55 | } | ||
56 | |||
57 | EGLAPI EGLDisplay EGLAPIENTRY eglGetCurrentDisplay() | ||
58 | { | ||
59 | return 0; | ||
60 | } | ||
61 | |||
62 | EGLAPI EGLSurface EGLAPIENTRY eglGetCurrentSurface(EGLint readdraw) | ||
63 | { | ||
64 | return 0; | ||
65 | } | ||
66 | |||
67 | EGLAPI EGLDisplay EGLAPIENTRY eglGetDisplay(EGLNativeDisplayType display_id) | ||
68 | { | ||
69 | return 0; | ||
70 | } | ||
71 | |||
72 | EGLAPI EGLint EGLAPIENTRY eglGetError() | ||
73 | { | ||
74 | return 0; | ||
75 | } | ||
76 | |||
77 | EGLAPI __eglMustCastToProperFunctionPointerType EGLAPIENTRY eglGetProcAddress(const char * procname) | ||
78 | { | ||
79 | return 0; | ||
80 | } | ||
81 | |||
82 | EGLAPI EGLBoolean EGLAPIENTRY eglInitialize(EGLDisplay dpy, EGLint* major, EGLint* minor) | ||
83 | { | ||
84 | return 0; | ||
85 | } | ||
86 | |||
87 | EGLAPI EGLBoolean EGLAPIENTRY eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) | ||
88 | { | ||
89 | return 0; | ||
90 | } | ||
91 | |||
92 | EGLAPI EGLBoolean EGLAPIENTRY eglQueryContext(EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint* value) | ||
93 | { | ||
94 | return 0; | ||
95 | } | ||
96 | |||
97 | EGLAPI const char * EGLAPIENTRY eglQueryString(EGLDisplay dpy, EGLint name) | ||
98 | { | ||
99 | return 0; | ||
100 | } | ||
101 | |||
102 | EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint* value) | ||
103 | { | ||
104 | return 0; | ||
105 | } | ||
106 | |||
107 | EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surface) | ||
108 | { | ||
109 | return 0; | ||
110 | } | ||
111 | |||
112 | EGLAPI EGLBoolean EGLAPIENTRY eglTerminate(EGLDisplay dpy) | ||
113 | { | ||
114 | return 0; | ||
115 | } | ||
116 | |||
117 | EGLAPI EGLBoolean EGLAPIENTRY eglWaitGL() | ||
118 | { | ||
119 | return 0; | ||
120 | } | ||
121 | |||
122 | EGLAPI EGLBoolean EGLAPIENTRY eglWaitNative(EGLint engine) | ||
123 | { | ||
124 | return 0; | ||
125 | } | ||
126 | |||
127 | EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) | ||
128 | { | ||
129 | return 0; | ||
130 | } | ||
131 | |||
132 | EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) | ||
133 | { | ||
134 | return 0; | ||
135 | } | ||
136 | |||
137 | EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value) | ||
138 | { | ||
139 | return 0; | ||
140 | } | ||
141 | |||
142 | EGLAPI EGLBoolean EGLAPIENTRY eglSwapInterval(EGLDisplay dpy, EGLint interval) | ||
143 | { | ||
144 | return 0; | ||
145 | } | ||
146 | |||
147 | EGLAPI EGLBoolean EGLAPIENTRY eglBindAPI(EGLenum api) | ||
148 | { | ||
149 | return 0; | ||
150 | } | ||
151 | |||
152 | EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferFromClientBuffer(EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint * attrib_list) | ||
153 | { | ||
154 | return 0; | ||
155 | } | ||
156 | |||
157 | EGLAPI EGLenum EGLAPIENTRY eglQueryAPI() | ||
158 | { | ||
159 | return 0; | ||
160 | } | ||
161 | |||
162 | EGLAPI EGLBoolean EGLAPIENTRY eglReleaseThread() | ||
163 | { | ||
164 | return 0; | ||
165 | } | ||
166 | |||
167 | EGLAPI EGLBoolean EGLAPIENTRY eglWaitClient() | ||
168 | { | ||
169 | return 0; | ||
170 | } | ||
171 | |||
172 | EGLAPI EGLContext EGLAPIENTRY eglGetCurrentContext() | ||
173 | { | ||
174 | return 0; | ||
175 | } | ||
176 | |||
177 | } // extern "C" | ||
178 | |||
diff --git a/recipes/opengldummy/files/gles2.cpp b/recipes/opengldummy/files/gles2.cpp deleted file mode 100644 index 3f632a3..0000000 --- a/recipes/opengldummy/files/gles2.cpp +++ /dev/null | |||
@@ -1,728 +0,0 @@ | |||
1 | // Automatically generated file, do not edit. | ||
2 | |||
3 | #include <GLES2/gl2.h> | ||
4 | |||
5 | extern "C" { | ||
6 | |||
7 | GL_APICALL void GL_APIENTRY glActiveTexture(GLenum texture) | ||
8 | { | ||
9 | |||
10 | } | ||
11 | |||
12 | GL_APICALL void GL_APIENTRY glAttachShader(GLuint program, GLuint shader) | ||
13 | { | ||
14 | |||
15 | } | ||
16 | |||
17 | GL_APICALL void GL_APIENTRY glBindAttribLocation(GLuint program, GLuint index, const GLchar * name) | ||
18 | { | ||
19 | |||
20 | } | ||
21 | |||
22 | GL_APICALL void GL_APIENTRY glBindBuffer(GLenum target, GLuint buffer) | ||
23 | { | ||
24 | |||
25 | } | ||
26 | |||
27 | GL_APICALL void GL_APIENTRY glBindFramebuffer(GLenum target, GLuint framebuffer) | ||
28 | { | ||
29 | |||
30 | } | ||
31 | |||
32 | GL_APICALL void GL_APIENTRY glBindRenderbuffer(GLenum target, GLuint renderbuffer) | ||
33 | { | ||
34 | |||
35 | } | ||
36 | |||
37 | GL_APICALL void GL_APIENTRY glBindTexture(GLenum target, GLuint texture) | ||
38 | { | ||
39 | |||
40 | } | ||
41 | |||
42 | GL_APICALL void GL_APIENTRY glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) | ||
43 | { | ||
44 | |||
45 | } | ||
46 | |||
47 | GL_APICALL void GL_APIENTRY glBlendEquation(GLenum mode) | ||
48 | { | ||
49 | |||
50 | } | ||
51 | |||
52 | GL_APICALL void GL_APIENTRY glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha) | ||
53 | { | ||
54 | |||
55 | } | ||
56 | |||
57 | GL_APICALL void GL_APIENTRY glBlendFunc(GLenum sfactor, GLenum dfactor) | ||
58 | { | ||
59 | |||
60 | } | ||
61 | |||
62 | GL_APICALL void GL_APIENTRY glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) | ||
63 | { | ||
64 | |||
65 | } | ||
66 | |||
67 | GL_APICALL void GL_APIENTRY glBufferData(GLenum target, GLsizeiptr size, const void * data, GLenum usage) | ||
68 | { | ||
69 | |||
70 | } | ||
71 | |||
72 | GL_APICALL void GL_APIENTRY glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const void * data) | ||
73 | { | ||
74 | |||
75 | } | ||
76 | |||
77 | GL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatus(GLenum target) | ||
78 | { | ||
79 | return 0; | ||
80 | } | ||
81 | |||
82 | GL_APICALL void GL_APIENTRY glClear(GLbitfield mask) | ||
83 | { | ||
84 | |||
85 | } | ||
86 | |||
87 | GL_APICALL void GL_APIENTRY glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) | ||
88 | { | ||
89 | |||
90 | } | ||
91 | |||
92 | GL_APICALL void GL_APIENTRY glClearDepthf(GLfloat d) | ||
93 | { | ||
94 | |||
95 | } | ||
96 | |||
97 | GL_APICALL void GL_APIENTRY glClearStencil(GLint s) | ||
98 | { | ||
99 | |||
100 | } | ||
101 | |||
102 | GL_APICALL void GL_APIENTRY glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) | ||
103 | { | ||
104 | |||
105 | } | ||
106 | |||
107 | GL_APICALL void GL_APIENTRY glCompileShader(GLuint shader) | ||
108 | { | ||
109 | |||
110 | } | ||
111 | |||
112 | GL_APICALL void GL_APIENTRY glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * data) | ||
113 | { | ||
114 | |||
115 | } | ||
116 | |||
117 | GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data) | ||
118 | { | ||
119 | |||
120 | } | ||
121 | |||
122 | GL_APICALL void GL_APIENTRY glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) | ||
123 | { | ||
124 | |||
125 | } | ||
126 | |||
127 | GL_APICALL void GL_APIENTRY glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) | ||
128 | { | ||
129 | |||
130 | } | ||
131 | |||
132 | GL_APICALL GLuint GL_APIENTRY glCreateProgram() | ||
133 | { | ||
134 | return 0; | ||
135 | } | ||
136 | |||
137 | GL_APICALL GLuint GL_APIENTRY glCreateShader(GLenum type) | ||
138 | { | ||
139 | return 0; | ||
140 | } | ||
141 | |||
142 | GL_APICALL void GL_APIENTRY glCullFace(GLenum mode) | ||
143 | { | ||
144 | |||
145 | } | ||
146 | |||
147 | GL_APICALL void GL_APIENTRY glDeleteBuffers(GLsizei n, const GLuint * buffers) | ||
148 | { | ||
149 | |||
150 | } | ||
151 | |||
152 | GL_APICALL void GL_APIENTRY glDeleteFramebuffers(GLsizei n, const GLuint * framebuffers) | ||
153 | { | ||
154 | |||
155 | } | ||
156 | |||
157 | GL_APICALL void GL_APIENTRY glDeleteProgram(GLuint program) | ||
158 | { | ||
159 | |||
160 | } | ||
161 | |||
162 | GL_APICALL void GL_APIENTRY glDeleteRenderbuffers(GLsizei n, const GLuint * renderbuffers) | ||
163 | { | ||
164 | |||
165 | } | ||
166 | |||
167 | GL_APICALL void GL_APIENTRY glDeleteShader(GLuint shader) | ||
168 | { | ||
169 | |||
170 | } | ||
171 | |||
172 | GL_APICALL void GL_APIENTRY glDeleteTextures(GLsizei n, const GLuint * textures) | ||
173 | { | ||
174 | |||
175 | } | ||
176 | |||
177 | GL_APICALL void GL_APIENTRY glDepthFunc(GLenum func) | ||
178 | { | ||
179 | |||
180 | } | ||
181 | |||
182 | GL_APICALL void GL_APIENTRY glDepthMask(GLboolean flag) | ||
183 | { | ||
184 | |||
185 | } | ||
186 | |||
187 | GL_APICALL void GL_APIENTRY glDepthRangef(GLfloat n, GLfloat f) | ||
188 | { | ||
189 | |||
190 | } | ||
191 | |||
192 | GL_APICALL void GL_APIENTRY glDetachShader(GLuint program, GLuint shader) | ||
193 | { | ||
194 | |||
195 | } | ||
196 | |||
197 | GL_APICALL void GL_APIENTRY glDisable(GLenum cap) | ||
198 | { | ||
199 | |||
200 | } | ||
201 | |||
202 | GL_APICALL void GL_APIENTRY glDisableVertexAttribArray(GLuint index) | ||
203 | { | ||
204 | |||
205 | } | ||
206 | |||
207 | GL_APICALL void GL_APIENTRY glDrawArrays(GLenum mode, GLint first, GLsizei count) | ||
208 | { | ||
209 | |||
210 | } | ||
211 | |||
212 | GL_APICALL void GL_APIENTRY glDrawElements(GLenum mode, GLsizei count, GLenum type, const void * indices) | ||
213 | { | ||
214 | |||
215 | } | ||
216 | |||
217 | GL_APICALL void GL_APIENTRY glEnable(GLenum cap) | ||
218 | { | ||
219 | |||
220 | } | ||
221 | |||
222 | GL_APICALL void GL_APIENTRY glEnableVertexAttribArray(GLuint index) | ||
223 | { | ||
224 | |||
225 | } | ||
226 | |||
227 | GL_APICALL void GL_APIENTRY glFinish() | ||
228 | { | ||
229 | |||
230 | } | ||
231 | |||
232 | GL_APICALL void GL_APIENTRY glFlush() | ||
233 | { | ||
234 | |||
235 | } | ||
236 | |||
237 | GL_APICALL void GL_APIENTRY glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) | ||
238 | { | ||
239 | |||
240 | } | ||
241 | |||
242 | GL_APICALL void GL_APIENTRY glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) | ||
243 | { | ||
244 | |||
245 | } | ||
246 | |||
247 | GL_APICALL void GL_APIENTRY glFrontFace(GLenum mode) | ||
248 | { | ||
249 | |||
250 | } | ||
251 | |||
252 | GL_APICALL void GL_APIENTRY glGenBuffers(GLsizei n, GLuint* buffers) | ||
253 | { | ||
254 | |||
255 | } | ||
256 | |||
257 | GL_APICALL void GL_APIENTRY glGenFramebuffers(GLsizei n, GLuint* framebuffers) | ||
258 | { | ||
259 | |||
260 | } | ||
261 | |||
262 | GL_APICALL void GL_APIENTRY glGenRenderbuffers(GLsizei n, GLuint* renderbuffers) | ||
263 | { | ||
264 | |||
265 | } | ||
266 | |||
267 | GL_APICALL void GL_APIENTRY glGenTextures(GLsizei n, GLuint* textures) | ||
268 | { | ||
269 | |||
270 | } | ||
271 | |||
272 | GL_APICALL void GL_APIENTRY glGenerateMipmap(GLenum target) | ||
273 | { | ||
274 | |||
275 | } | ||
276 | |||
277 | GL_APICALL void GL_APIENTRY glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLint* size, GLenum* type, GLchar* name) | ||
278 | { | ||
279 | |||
280 | } | ||
281 | |||
282 | GL_APICALL void GL_APIENTRY glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLint* size, GLenum* type, GLchar* name) | ||
283 | { | ||
284 | |||
285 | } | ||
286 | |||
287 | GL_APICALL void GL_APIENTRY glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei* count, GLuint* shaders) | ||
288 | { | ||
289 | |||
290 | } | ||
291 | |||
292 | GL_APICALL GLint GL_APIENTRY glGetAttribLocation(GLuint program, const GLchar * name) | ||
293 | { | ||
294 | return 0; | ||
295 | } | ||
296 | |||
297 | GL_APICALL void GL_APIENTRY glGetBooleanv(GLenum pname, GLboolean* data) | ||
298 | { | ||
299 | |||
300 | } | ||
301 | |||
302 | GL_APICALL void GL_APIENTRY glGetBufferParameteriv(GLenum target, GLenum pname, GLint* params) | ||
303 | { | ||
304 | |||
305 | } | ||
306 | |||
307 | GL_APICALL GLenum GL_APIENTRY glGetError() | ||
308 | { | ||
309 | return 0; | ||
310 | } | ||
311 | |||
312 | GL_APICALL void GL_APIENTRY glGetFloatv(GLenum pname, GLfloat* data) | ||
313 | { | ||
314 | |||
315 | } | ||
316 | |||
317 | GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint* params) | ||
318 | { | ||
319 | |||
320 | } | ||
321 | |||
322 | GL_APICALL void GL_APIENTRY glGetIntegerv(GLenum pname, GLint* data) | ||
323 | { | ||
324 | |||
325 | } | ||
326 | |||
327 | GL_APICALL void GL_APIENTRY glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei* length, GLchar* infoLog) | ||
328 | { | ||
329 | |||
330 | } | ||
331 | |||
332 | GL_APICALL void GL_APIENTRY glGetProgramiv(GLuint program, GLenum pname, GLint* params) | ||
333 | { | ||
334 | |||
335 | } | ||
336 | |||
337 | GL_APICALL void GL_APIENTRY glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint* params) | ||
338 | { | ||
339 | |||
340 | } | ||
341 | |||
342 | GL_APICALL void GL_APIENTRY glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei* length, GLchar* infoLog) | ||
343 | { | ||
344 | |||
345 | } | ||
346 | |||
347 | GL_APICALL void GL_APIENTRY glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision) | ||
348 | { | ||
349 | |||
350 | } | ||
351 | |||
352 | GL_APICALL void GL_APIENTRY glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei* length, GLchar* source) | ||
353 | { | ||
354 | |||
355 | } | ||
356 | |||
357 | GL_APICALL void GL_APIENTRY glGetShaderiv(GLuint shader, GLenum pname, GLint* params) | ||
358 | { | ||
359 | |||
360 | } | ||
361 | |||
362 | GL_APICALL const GLubyte * GL_APIENTRY glGetString(GLenum name) | ||
363 | { | ||
364 | return 0; | ||
365 | } | ||
366 | |||
367 | GL_APICALL void GL_APIENTRY glGetTexParameterfv(GLenum target, GLenum pname, GLfloat* params) | ||
368 | { | ||
369 | |||
370 | } | ||
371 | |||
372 | GL_APICALL void GL_APIENTRY glGetTexParameteriv(GLenum target, GLenum pname, GLint* params) | ||
373 | { | ||
374 | |||
375 | } | ||
376 | |||
377 | GL_APICALL GLint GL_APIENTRY glGetUniformLocation(GLuint program, const GLchar * name) | ||
378 | { | ||
379 | return 0; | ||
380 | } | ||
381 | |||
382 | GL_APICALL void GL_APIENTRY glGetUniformfv(GLuint program, GLint location, GLfloat* params) | ||
383 | { | ||
384 | |||
385 | } | ||
386 | |||
387 | GL_APICALL void GL_APIENTRY glGetUniformiv(GLuint program, GLint location, GLint* params) | ||
388 | { | ||
389 | |||
390 | } | ||
391 | |||
392 | GL_APICALL void GL_APIENTRY glGetVertexAttribPointerv(GLuint index, GLenum pname, void ** pointer) | ||
393 | { | ||
394 | |||
395 | } | ||
396 | |||
397 | GL_APICALL void GL_APIENTRY glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params) | ||
398 | { | ||
399 | |||
400 | } | ||
401 | |||
402 | GL_APICALL void GL_APIENTRY glGetVertexAttribiv(GLuint index, GLenum pname, GLint* params) | ||
403 | { | ||
404 | |||
405 | } | ||
406 | |||
407 | GL_APICALL void GL_APIENTRY glHint(GLenum target, GLenum mode) | ||
408 | { | ||
409 | |||
410 | } | ||
411 | |||
412 | GL_APICALL GLboolean GL_APIENTRY glIsBuffer(GLuint buffer) | ||
413 | { | ||
414 | return 0; | ||
415 | } | ||
416 | |||
417 | GL_APICALL GLboolean GL_APIENTRY glIsEnabled(GLenum cap) | ||
418 | { | ||
419 | return 0; | ||
420 | } | ||
421 | |||
422 | GL_APICALL GLboolean GL_APIENTRY glIsFramebuffer(GLuint framebuffer) | ||
423 | { | ||
424 | return 0; | ||
425 | } | ||
426 | |||
427 | GL_APICALL GLboolean GL_APIENTRY glIsProgram(GLuint program) | ||
428 | { | ||
429 | return 0; | ||
430 | } | ||
431 | |||
432 | GL_APICALL GLboolean GL_APIENTRY glIsRenderbuffer(GLuint renderbuffer) | ||
433 | { | ||
434 | return 0; | ||
435 | } | ||
436 | |||
437 | GL_APICALL GLboolean GL_APIENTRY glIsShader(GLuint shader) | ||
438 | { | ||
439 | return 0; | ||
440 | } | ||
441 | |||
442 | GL_APICALL GLboolean GL_APIENTRY glIsTexture(GLuint texture) | ||
443 | { | ||
444 | return 0; | ||
445 | } | ||
446 | |||
447 | GL_APICALL void GL_APIENTRY glLineWidth(GLfloat width) | ||
448 | { | ||
449 | |||
450 | } | ||
451 | |||
452 | GL_APICALL void GL_APIENTRY glLinkProgram(GLuint program) | ||
453 | { | ||
454 | |||
455 | } | ||
456 | |||
457 | GL_APICALL void GL_APIENTRY glPixelStorei(GLenum pname, GLint param) | ||
458 | { | ||
459 | |||
460 | } | ||
461 | |||
462 | GL_APICALL void GL_APIENTRY glPolygonOffset(GLfloat factor, GLfloat units) | ||
463 | { | ||
464 | |||
465 | } | ||
466 | |||
467 | GL_APICALL void GL_APIENTRY glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void * pixels) | ||
468 | { | ||
469 | |||
470 | } | ||
471 | |||
472 | GL_APICALL void GL_APIENTRY glReleaseShaderCompiler() | ||
473 | { | ||
474 | |||
475 | } | ||
476 | |||
477 | GL_APICALL void GL_APIENTRY glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) | ||
478 | { | ||
479 | |||
480 | } | ||
481 | |||
482 | GL_APICALL void GL_APIENTRY glSampleCoverage(GLfloat value, GLboolean invert) | ||
483 | { | ||
484 | |||
485 | } | ||
486 | |||
487 | GL_APICALL void GL_APIENTRY glScissor(GLint x, GLint y, GLsizei width, GLsizei height) | ||
488 | { | ||
489 | |||
490 | } | ||
491 | |||
492 | GL_APICALL void GL_APIENTRY glShaderBinary(GLsizei count, const GLuint * shaders, GLenum binaryformat, const void * binary, GLsizei length) | ||
493 | { | ||
494 | |||
495 | } | ||
496 | |||
497 | GL_APICALL void GL_APIENTRY glShaderSource(GLuint shader, GLsizei count, const GLchar *const* string, const GLint * length) | ||
498 | { | ||
499 | |||
500 | } | ||
501 | |||
502 | GL_APICALL void GL_APIENTRY glStencilFunc(GLenum func, GLint ref, GLuint mask) | ||
503 | { | ||
504 | |||
505 | } | ||
506 | |||
507 | GL_APICALL void GL_APIENTRY glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) | ||
508 | { | ||
509 | |||
510 | } | ||
511 | |||
512 | GL_APICALL void GL_APIENTRY glStencilMask(GLuint mask) | ||
513 | { | ||
514 | |||
515 | } | ||
516 | |||
517 | GL_APICALL void GL_APIENTRY glStencilMaskSeparate(GLenum face, GLuint mask) | ||
518 | { | ||
519 | |||
520 | } | ||
521 | |||
522 | GL_APICALL void GL_APIENTRY glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) | ||
523 | { | ||
524 | |||
525 | } | ||
526 | |||
527 | GL_APICALL void GL_APIENTRY glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) | ||
528 | { | ||
529 | |||
530 | } | ||
531 | |||
532 | GL_APICALL void GL_APIENTRY glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels) | ||
533 | { | ||
534 | |||
535 | } | ||
536 | |||
537 | GL_APICALL void GL_APIENTRY glTexParameterf(GLenum target, GLenum pname, GLfloat param) | ||
538 | { | ||
539 | |||
540 | } | ||
541 | |||
542 | GL_APICALL void GL_APIENTRY glTexParameterfv(GLenum target, GLenum pname, const GLfloat * params) | ||
543 | { | ||
544 | |||
545 | } | ||
546 | |||
547 | GL_APICALL void GL_APIENTRY glTexParameteri(GLenum target, GLenum pname, GLint param) | ||
548 | { | ||
549 | |||
550 | } | ||
551 | |||
552 | GL_APICALL void GL_APIENTRY glTexParameteriv(GLenum target, GLenum pname, const GLint * params) | ||
553 | { | ||
554 | |||
555 | } | ||
556 | |||
557 | GL_APICALL void GL_APIENTRY glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels) | ||
558 | { | ||
559 | |||
560 | } | ||
561 | |||
562 | GL_APICALL void GL_APIENTRY glUniform1f(GLint location, GLfloat v0) | ||
563 | { | ||
564 | |||
565 | } | ||
566 | |||
567 | GL_APICALL void GL_APIENTRY glUniform1fv(GLint location, GLsizei count, const GLfloat * value) | ||
568 | { | ||
569 | |||
570 | } | ||
571 | |||
572 | GL_APICALL void GL_APIENTRY glUniform1i(GLint location, GLint v0) | ||
573 | { | ||
574 | |||
575 | } | ||
576 | |||
577 | GL_APICALL void GL_APIENTRY glUniform1iv(GLint location, GLsizei count, const GLint * value) | ||
578 | { | ||
579 | |||
580 | } | ||
581 | |||
582 | GL_APICALL void GL_APIENTRY glUniform2f(GLint location, GLfloat v0, GLfloat v1) | ||
583 | { | ||
584 | |||
585 | } | ||
586 | |||
587 | GL_APICALL void GL_APIENTRY glUniform2fv(GLint location, GLsizei count, const GLfloat * value) | ||
588 | { | ||
589 | |||
590 | } | ||
591 | |||
592 | GL_APICALL void GL_APIENTRY glUniform2i(GLint location, GLint v0, GLint v1) | ||
593 | { | ||
594 | |||
595 | } | ||
596 | |||
597 | GL_APICALL void GL_APIENTRY glUniform2iv(GLint location, GLsizei count, const GLint * value) | ||
598 | { | ||
599 | |||
600 | } | ||
601 | |||
602 | GL_APICALL void GL_APIENTRY glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) | ||
603 | { | ||
604 | |||
605 | } | ||
606 | |||
607 | GL_APICALL void GL_APIENTRY glUniform3fv(GLint location, GLsizei count, const GLfloat * value) | ||
608 | { | ||
609 | |||
610 | } | ||
611 | |||
612 | GL_APICALL void GL_APIENTRY glUniform3i(GLint location, GLint v0, GLint v1, GLint v2) | ||
613 | { | ||
614 | |||
615 | } | ||
616 | |||
617 | GL_APICALL void GL_APIENTRY glUniform3iv(GLint location, GLsizei count, const GLint * value) | ||
618 | { | ||
619 | |||
620 | } | ||
621 | |||
622 | GL_APICALL void GL_APIENTRY glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) | ||
623 | { | ||
624 | |||
625 | } | ||
626 | |||
627 | GL_APICALL void GL_APIENTRY glUniform4fv(GLint location, GLsizei count, const GLfloat * value) | ||
628 | { | ||
629 | |||
630 | } | ||
631 | |||
632 | GL_APICALL void GL_APIENTRY glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) | ||
633 | { | ||
634 | |||
635 | } | ||
636 | |||
637 | GL_APICALL void GL_APIENTRY glUniform4iv(GLint location, GLsizei count, const GLint * value) | ||
638 | { | ||
639 | |||
640 | } | ||
641 | |||
642 | GL_APICALL void GL_APIENTRY glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) | ||
643 | { | ||
644 | |||
645 | } | ||
646 | |||
647 | GL_APICALL void GL_APIENTRY glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) | ||
648 | { | ||
649 | |||
650 | } | ||
651 | |||
652 | GL_APICALL void GL_APIENTRY glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) | ||
653 | { | ||
654 | |||
655 | } | ||
656 | |||
657 | GL_APICALL void GL_APIENTRY glUseProgram(GLuint program) | ||
658 | { | ||
659 | |||
660 | } | ||
661 | |||
662 | GL_APICALL void GL_APIENTRY glValidateProgram(GLuint program) | ||
663 | { | ||
664 | |||
665 | } | ||
666 | |||
667 | GL_APICALL void GL_APIENTRY glVertexAttrib1f(GLuint index, GLfloat x) | ||
668 | { | ||
669 | |||
670 | } | ||
671 | |||
672 | GL_APICALL void GL_APIENTRY glVertexAttrib1fv(GLuint index, const GLfloat * v) | ||
673 | { | ||
674 | |||
675 | } | ||
676 | |||
677 | GL_APICALL void GL_APIENTRY glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y) | ||
678 | { | ||
679 | |||
680 | } | ||
681 | |||
682 | GL_APICALL void GL_APIENTRY glVertexAttrib2fv(GLuint index, const GLfloat * v) | ||
683 | { | ||
684 | |||
685 | } | ||
686 | |||
687 | GL_APICALL void GL_APIENTRY glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z) | ||
688 | { | ||
689 | |||
690 | } | ||
691 | |||
692 | GL_APICALL void GL_APIENTRY glVertexAttrib3fv(GLuint index, const GLfloat * v) | ||
693 | { | ||
694 | |||
695 | } | ||
696 | |||
697 | GL_APICALL void GL_APIENTRY glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) | ||
698 | { | ||
699 | |||
700 | } | ||
701 | |||
702 | GL_APICALL void GL_APIENTRY glVertexAttrib4fv(GLuint index, const GLfloat * v) | ||
703 | { | ||
704 | |||
705 | } | ||
706 | |||
707 | GL_APICALL void GL_APIENTRY glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void * pointer) | ||
708 | { | ||
709 | |||
710 | } | ||
711 | |||
712 | GL_APICALL void GL_APIENTRY glViewport(GLint x, GLint y, GLsizei width, GLsizei height) | ||
713 | { | ||
714 | |||
715 | } | ||
716 | |||
717 | GL_APICALL void GL_APIENTRY glBlitFramebufferEXT(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) | ||
718 | { | ||
719 | |||
720 | } | ||
721 | |||
722 | GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) | ||
723 | { | ||
724 | |||
725 | } | ||
726 | |||
727 | } // extern "C" | ||
728 | |||
diff --git a/recipes/opengldummy/files/headers/EGL/egl.h b/recipes/opengldummy/files/headers/EGL/egl.h deleted file mode 100644 index 99ea342..0000000 --- a/recipes/opengldummy/files/headers/EGL/egl.h +++ /dev/null | |||
@@ -1,329 +0,0 @@ | |||
1 | /* -*- mode: c; tab-width: 8; -*- */ | ||
2 | /* vi: set sw=4 ts=8: */ | ||
3 | /* Reference version of egl.h for EGL 1.4. | ||
4 | * $Revision: 9356 $ on $Date: 2009-10-21 02:52:25 -0700 (Wed, 21 Oct 2009) $ | ||
5 | */ | ||
6 | |||
7 | /* | ||
8 | ** Copyright (c) 2007-2009 The Khronos Group Inc. | ||
9 | ** | ||
10 | ** Permission is hereby granted, free of charge, to any person obtaining a | ||
11 | ** copy of this software and/or associated documentation files (the | ||
12 | ** "Materials"), to deal in the Materials without restriction, including | ||
13 | ** without limitation the rights to use, copy, modify, merge, publish, | ||
14 | ** distribute, sublicense, and/or sell copies of the Materials, and to | ||
15 | ** permit persons to whom the Materials are furnished to do so, subject to | ||
16 | ** the following conditions: | ||
17 | ** | ||
18 | ** The above copyright notice and this permission notice shall be included | ||
19 | ** in all copies or substantial portions of the Materials. | ||
20 | ** | ||
21 | ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
22 | ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
23 | ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
24 | ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
25 | ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
26 | ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
27 | ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. | ||
28 | */ | ||
29 | |||
30 | #ifndef __egl_h_ | ||
31 | #define __egl_h_ | ||
32 | |||
33 | /* All platform-dependent types and macro boilerplate (such as EGLAPI | ||
34 | * and EGLAPIENTRY) should go in eglplatform.h. | ||
35 | */ | ||
36 | #include <EGL/eglplatform.h> | ||
37 | |||
38 | #ifdef __cplusplus | ||
39 | extern "C" { | ||
40 | #endif | ||
41 | |||
42 | /* EGL Types */ | ||
43 | /* EGLint is defined in eglplatform.h */ | ||
44 | typedef unsigned int EGLBoolean; | ||
45 | typedef unsigned int EGLenum; | ||
46 | typedef void *EGLConfig; | ||
47 | typedef void *EGLContext; | ||
48 | typedef void *EGLDisplay; | ||
49 | typedef void *EGLSurface; | ||
50 | typedef void *EGLClientBuffer; | ||
51 | |||
52 | /* EGL Versioning */ | ||
53 | #define EGL_VERSION_1_0 1 | ||
54 | #define EGL_VERSION_1_1 1 | ||
55 | #define EGL_VERSION_1_2 1 | ||
56 | #define EGL_VERSION_1_3 1 | ||
57 | #define EGL_VERSION_1_4 1 | ||
58 | |||
59 | /* EGL Enumerants. Bitmasks and other exceptional cases aside, most | ||
60 | * enums are assigned unique values starting at 0x3000. | ||
61 | */ | ||
62 | |||
63 | /* EGL aliases */ | ||
64 | #define EGL_FALSE 0 | ||
65 | #define EGL_TRUE 1 | ||
66 | |||
67 | /* Out-of-band handle values */ | ||
68 | #define EGL_DEFAULT_DISPLAY ((EGLNativeDisplayType)0) | ||
69 | #define EGL_NO_CONTEXT ((EGLContext)0) | ||
70 | #define EGL_NO_DISPLAY ((EGLDisplay)0) | ||
71 | #define EGL_NO_SURFACE ((EGLSurface)0) | ||
72 | |||
73 | /* Out-of-band attribute value */ | ||
74 | #define EGL_DONT_CARE ((EGLint)-1) | ||
75 | |||
76 | /* Errors / GetError return values */ | ||
77 | #define EGL_SUCCESS 0x3000 | ||
78 | #define EGL_NOT_INITIALIZED 0x3001 | ||
79 | #define EGL_BAD_ACCESS 0x3002 | ||
80 | #define EGL_BAD_ALLOC 0x3003 | ||
81 | #define EGL_BAD_ATTRIBUTE 0x3004 | ||
82 | #define EGL_BAD_CONFIG 0x3005 | ||
83 | #define EGL_BAD_CONTEXT 0x3006 | ||
84 | #define EGL_BAD_CURRENT_SURFACE 0x3007 | ||
85 | #define EGL_BAD_DISPLAY 0x3008 | ||
86 | #define EGL_BAD_MATCH 0x3009 | ||
87 | #define EGL_BAD_NATIVE_PIXMAP 0x300A | ||
88 | #define EGL_BAD_NATIVE_WINDOW 0x300B | ||
89 | #define EGL_BAD_PARAMETER 0x300C | ||
90 | #define EGL_BAD_SURFACE 0x300D | ||
91 | #define EGL_CONTEXT_LOST 0x300E /* EGL 1.1 - IMG_power_management */ | ||
92 | |||
93 | /* Reserved 0x300F-0x301F for additional errors */ | ||
94 | |||
95 | /* Config attributes */ | ||
96 | #define EGL_BUFFER_SIZE 0x3020 | ||
97 | #define EGL_ALPHA_SIZE 0x3021 | ||
98 | #define EGL_BLUE_SIZE 0x3022 | ||
99 | #define EGL_GREEN_SIZE 0x3023 | ||
100 | #define EGL_RED_SIZE 0x3024 | ||
101 | #define EGL_DEPTH_SIZE 0x3025 | ||
102 | #define EGL_STENCIL_SIZE 0x3026 | ||
103 | #define EGL_CONFIG_CAVEAT 0x3027 | ||
104 | #define EGL_CONFIG_ID 0x3028 | ||
105 | #define EGL_LEVEL 0x3029 | ||
106 | #define EGL_MAX_PBUFFER_HEIGHT 0x302A | ||
107 | #define EGL_MAX_PBUFFER_PIXELS 0x302B | ||
108 | #define EGL_MAX_PBUFFER_WIDTH 0x302C | ||
109 | #define EGL_NATIVE_RENDERABLE 0x302D | ||
110 | #define EGL_NATIVE_VISUAL_ID 0x302E | ||
111 | #define EGL_NATIVE_VISUAL_TYPE 0x302F | ||
112 | #define EGL_SAMPLES 0x3031 | ||
113 | #define EGL_SAMPLE_BUFFERS 0x3032 | ||
114 | #define EGL_SURFACE_TYPE 0x3033 | ||
115 | #define EGL_TRANSPARENT_TYPE 0x3034 | ||
116 | #define EGL_TRANSPARENT_BLUE_VALUE 0x3035 | ||
117 | #define EGL_TRANSPARENT_GREEN_VALUE 0x3036 | ||
118 | #define EGL_TRANSPARENT_RED_VALUE 0x3037 | ||
119 | #define EGL_NONE 0x3038 /* Attrib list terminator */ | ||
120 | #define EGL_BIND_TO_TEXTURE_RGB 0x3039 | ||
121 | #define EGL_BIND_TO_TEXTURE_RGBA 0x303A | ||
122 | #define EGL_MIN_SWAP_INTERVAL 0x303B | ||
123 | #define EGL_MAX_SWAP_INTERVAL 0x303C | ||
124 | #define EGL_LUMINANCE_SIZE 0x303D | ||
125 | #define EGL_ALPHA_MASK_SIZE 0x303E | ||
126 | #define EGL_COLOR_BUFFER_TYPE 0x303F | ||
127 | #define EGL_RENDERABLE_TYPE 0x3040 | ||
128 | #define EGL_MATCH_NATIVE_PIXMAP 0x3041 /* Pseudo-attribute (not queryable) */ | ||
129 | #define EGL_CONFORMANT 0x3042 | ||
130 | |||
131 | /* Reserved 0x3041-0x304F for additional config attributes */ | ||
132 | |||
133 | /* Config attribute values */ | ||
134 | #define EGL_SLOW_CONFIG 0x3050 /* EGL_CONFIG_CAVEAT value */ | ||
135 | #define EGL_NON_CONFORMANT_CONFIG 0x3051 /* EGL_CONFIG_CAVEAT value */ | ||
136 | #define EGL_TRANSPARENT_RGB 0x3052 /* EGL_TRANSPARENT_TYPE value */ | ||
137 | #define EGL_RGB_BUFFER 0x308E /* EGL_COLOR_BUFFER_TYPE value */ | ||
138 | #define EGL_LUMINANCE_BUFFER 0x308F /* EGL_COLOR_BUFFER_TYPE value */ | ||
139 | |||
140 | /* More config attribute values, for EGL_TEXTURE_FORMAT */ | ||
141 | #define EGL_NO_TEXTURE 0x305C | ||
142 | #define EGL_TEXTURE_RGB 0x305D | ||
143 | #define EGL_TEXTURE_RGBA 0x305E | ||
144 | #define EGL_TEXTURE_2D 0x305F | ||
145 | |||
146 | /* Config attribute mask bits */ | ||
147 | #define EGL_PBUFFER_BIT 0x0001 /* EGL_SURFACE_TYPE mask bits */ | ||
148 | #define EGL_PIXMAP_BIT 0x0002 /* EGL_SURFACE_TYPE mask bits */ | ||
149 | #define EGL_WINDOW_BIT 0x0004 /* EGL_SURFACE_TYPE mask bits */ | ||
150 | #define EGL_VG_COLORSPACE_LINEAR_BIT 0x0020 /* EGL_SURFACE_TYPE mask bits */ | ||
151 | #define EGL_VG_ALPHA_FORMAT_PRE_BIT 0x0040 /* EGL_SURFACE_TYPE mask bits */ | ||
152 | #define EGL_MULTISAMPLE_RESOLVE_BOX_BIT 0x0200 /* EGL_SURFACE_TYPE mask bits */ | ||
153 | #define EGL_SWAP_BEHAVIOR_PRESERVED_BIT 0x0400 /* EGL_SURFACE_TYPE mask bits */ | ||
154 | |||
155 | #define EGL_OPENGL_ES_BIT 0x0001 /* EGL_RENDERABLE_TYPE mask bits */ | ||
156 | #define EGL_OPENVG_BIT 0x0002 /* EGL_RENDERABLE_TYPE mask bits */ | ||
157 | #define EGL_OPENGL_ES2_BIT 0x0004 /* EGL_RENDERABLE_TYPE mask bits */ | ||
158 | #define EGL_OPENGL_BIT 0x0008 /* EGL_RENDERABLE_TYPE mask bits */ | ||
159 | |||
160 | /* QueryString targets */ | ||
161 | #define EGL_VENDOR 0x3053 | ||
162 | #define EGL_VERSION 0x3054 | ||
163 | #define EGL_EXTENSIONS 0x3055 | ||
164 | #define EGL_CLIENT_APIS 0x308D | ||
165 | |||
166 | /* QuerySurface / SurfaceAttrib / CreatePbufferSurface targets */ | ||
167 | #define EGL_HEIGHT 0x3056 | ||
168 | #define EGL_WIDTH 0x3057 | ||
169 | #define EGL_LARGEST_PBUFFER 0x3058 | ||
170 | #define EGL_TEXTURE_FORMAT 0x3080 | ||
171 | #define EGL_TEXTURE_TARGET 0x3081 | ||
172 | #define EGL_MIPMAP_TEXTURE 0x3082 | ||
173 | #define EGL_MIPMAP_LEVEL 0x3083 | ||
174 | #define EGL_RENDER_BUFFER 0x3086 | ||
175 | #define EGL_VG_COLORSPACE 0x3087 | ||
176 | #define EGL_VG_ALPHA_FORMAT 0x3088 | ||
177 | #define EGL_HORIZONTAL_RESOLUTION 0x3090 | ||
178 | #define EGL_VERTICAL_RESOLUTION 0x3091 | ||
179 | #define EGL_PIXEL_ASPECT_RATIO 0x3092 | ||
180 | #define EGL_SWAP_BEHAVIOR 0x3093 | ||
181 | #define EGL_MULTISAMPLE_RESOLVE 0x3099 | ||
182 | |||
183 | /* EGL_RENDER_BUFFER values / BindTexImage / ReleaseTexImage buffer targets */ | ||
184 | #define EGL_BACK_BUFFER 0x3084 | ||
185 | #define EGL_SINGLE_BUFFER 0x3085 | ||
186 | |||
187 | /* OpenVG color spaces */ | ||
188 | #define EGL_VG_COLORSPACE_sRGB 0x3089 /* EGL_VG_COLORSPACE value */ | ||
189 | #define EGL_VG_COLORSPACE_LINEAR 0x308A /* EGL_VG_COLORSPACE value */ | ||
190 | |||
191 | /* OpenVG alpha formats */ | ||
192 | #define EGL_VG_ALPHA_FORMAT_NONPRE 0x308B /* EGL_ALPHA_FORMAT value */ | ||
193 | #define EGL_VG_ALPHA_FORMAT_PRE 0x308C /* EGL_ALPHA_FORMAT value */ | ||
194 | |||
195 | /* Constant scale factor by which fractional display resolutions & | ||
196 | * aspect ratio are scaled when queried as integer values. | ||
197 | */ | ||
198 | #define EGL_DISPLAY_SCALING 10000 | ||
199 | |||
200 | /* Unknown display resolution/aspect ratio */ | ||
201 | #define EGL_UNKNOWN ((EGLint)-1) | ||
202 | |||
203 | /* Back buffer swap behaviors */ | ||
204 | #define EGL_BUFFER_PRESERVED 0x3094 /* EGL_SWAP_BEHAVIOR value */ | ||
205 | #define EGL_BUFFER_DESTROYED 0x3095 /* EGL_SWAP_BEHAVIOR value */ | ||
206 | |||
207 | /* CreatePbufferFromClientBuffer buffer types */ | ||
208 | #define EGL_OPENVG_IMAGE 0x3096 | ||
209 | |||
210 | /* QueryContext targets */ | ||
211 | #define EGL_CONTEXT_CLIENT_TYPE 0x3097 | ||
212 | |||
213 | /* CreateContext attributes */ | ||
214 | #define EGL_CONTEXT_CLIENT_VERSION 0x3098 | ||
215 | |||
216 | /* Multisample resolution behaviors */ | ||
217 | #define EGL_MULTISAMPLE_RESOLVE_DEFAULT 0x309A /* EGL_MULTISAMPLE_RESOLVE value */ | ||
218 | #define EGL_MULTISAMPLE_RESOLVE_BOX 0x309B /* EGL_MULTISAMPLE_RESOLVE value */ | ||
219 | |||
220 | /* BindAPI/QueryAPI targets */ | ||
221 | #define EGL_OPENGL_ES_API 0x30A0 | ||
222 | #define EGL_OPENVG_API 0x30A1 | ||
223 | #define EGL_OPENGL_API 0x30A2 | ||
224 | |||
225 | /* GetCurrentSurface targets */ | ||
226 | #define EGL_DRAW 0x3059 | ||
227 | #define EGL_READ 0x305A | ||
228 | |||
229 | /* WaitNative engines */ | ||
230 | #define EGL_CORE_NATIVE_ENGINE 0x305B | ||
231 | |||
232 | /* EGL 1.2 tokens renamed for consistency in EGL 1.3 */ | ||
233 | #define EGL_COLORSPACE EGL_VG_COLORSPACE | ||
234 | #define EGL_ALPHA_FORMAT EGL_VG_ALPHA_FORMAT | ||
235 | #define EGL_COLORSPACE_sRGB EGL_VG_COLORSPACE_sRGB | ||
236 | #define EGL_COLORSPACE_LINEAR EGL_VG_COLORSPACE_LINEAR | ||
237 | #define EGL_ALPHA_FORMAT_NONPRE EGL_VG_ALPHA_FORMAT_NONPRE | ||
238 | #define EGL_ALPHA_FORMAT_PRE EGL_VG_ALPHA_FORMAT_PRE | ||
239 | |||
240 | /* EGL extensions must request enum blocks from the Khronos | ||
241 | * API Registrar, who maintains the enumerant registry. Submit | ||
242 | * a bug in Khronos Bugzilla against task "Registry". | ||
243 | */ | ||
244 | |||
245 | |||
246 | |||
247 | /* EGL Functions */ | ||
248 | |||
249 | EGLAPI EGLint EGLAPIENTRY eglGetError(void); | ||
250 | |||
251 | EGLAPI EGLDisplay EGLAPIENTRY eglGetDisplay(EGLNativeDisplayType display_id); | ||
252 | EGLAPI EGLBoolean EGLAPIENTRY eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor); | ||
253 | EGLAPI EGLBoolean EGLAPIENTRY eglTerminate(EGLDisplay dpy); | ||
254 | |||
255 | EGLAPI const char * EGLAPIENTRY eglQueryString(EGLDisplay dpy, EGLint name); | ||
256 | |||
257 | EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigs(EGLDisplay dpy, EGLConfig *configs, | ||
258 | EGLint config_size, EGLint *num_config); | ||
259 | EGLAPI EGLBoolean EGLAPIENTRY eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list, | ||
260 | EGLConfig *configs, EGLint config_size, | ||
261 | EGLint *num_config); | ||
262 | EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, | ||
263 | EGLint attribute, EGLint *value); | ||
264 | |||
265 | EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, | ||
266 | EGLNativeWindowType win, | ||
267 | const EGLint *attrib_list); | ||
268 | EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, | ||
269 | const EGLint *attrib_list); | ||
270 | EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, | ||
271 | EGLNativePixmapType pixmap, | ||
272 | const EGLint *attrib_list); | ||
273 | EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface(EGLDisplay dpy, EGLSurface surface); | ||
274 | EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface(EGLDisplay dpy, EGLSurface surface, | ||
275 | EGLint attribute, EGLint *value); | ||
276 | |||
277 | EGLAPI EGLBoolean EGLAPIENTRY eglBindAPI(EGLenum api); | ||
278 | EGLAPI EGLenum EGLAPIENTRY eglQueryAPI(void); | ||
279 | |||
280 | EGLAPI EGLBoolean EGLAPIENTRY eglWaitClient(void); | ||
281 | |||
282 | EGLAPI EGLBoolean EGLAPIENTRY eglReleaseThread(void); | ||
283 | |||
284 | EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferFromClientBuffer( | ||
285 | EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, | ||
286 | EGLConfig config, const EGLint *attrib_list); | ||
287 | |||
288 | EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, | ||
289 | EGLint attribute, EGLint value); | ||
290 | EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); | ||
291 | EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer); | ||
292 | |||
293 | |||
294 | EGLAPI EGLBoolean EGLAPIENTRY eglSwapInterval(EGLDisplay dpy, EGLint interval); | ||
295 | |||
296 | |||
297 | EGLAPI EGLContext EGLAPIENTRY eglCreateContext(EGLDisplay dpy, EGLConfig config, | ||
298 | EGLContext share_context, | ||
299 | const EGLint *attrib_list); | ||
300 | EGLAPI EGLBoolean EGLAPIENTRY eglDestroyContext(EGLDisplay dpy, EGLContext ctx); | ||
301 | EGLAPI EGLBoolean EGLAPIENTRY eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, | ||
302 | EGLSurface read, EGLContext ctx); | ||
303 | |||
304 | EGLAPI EGLContext EGLAPIENTRY eglGetCurrentContext(void); | ||
305 | EGLAPI EGLSurface EGLAPIENTRY eglGetCurrentSurface(EGLint readdraw); | ||
306 | EGLAPI EGLDisplay EGLAPIENTRY eglGetCurrentDisplay(void); | ||
307 | EGLAPI EGLBoolean EGLAPIENTRY eglQueryContext(EGLDisplay dpy, EGLContext ctx, | ||
308 | EGLint attribute, EGLint *value); | ||
309 | |||
310 | EGLAPI EGLBoolean EGLAPIENTRY eglWaitGL(void); | ||
311 | EGLAPI EGLBoolean EGLAPIENTRY eglWaitNative(EGLint engine); | ||
312 | EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers(EGLDisplay dpy, EGLSurface surface); | ||
313 | EGLAPI EGLBoolean EGLAPIENTRY eglCopyBuffers(EGLDisplay dpy, EGLSurface surface, | ||
314 | EGLNativePixmapType target); | ||
315 | |||
316 | /* This is a generic function pointer type, whose name indicates it must | ||
317 | * be cast to the proper type *and calling convention* before use. | ||
318 | */ | ||
319 | typedef void (*__eglMustCastToProperFunctionPointerType)(void); | ||
320 | |||
321 | /* Now, define eglGetProcAddress using the generic function ptr. type */ | ||
322 | EGLAPI __eglMustCastToProperFunctionPointerType EGLAPIENTRY | ||
323 | eglGetProcAddress(const char *procname); | ||
324 | |||
325 | #ifdef __cplusplus | ||
326 | } | ||
327 | #endif | ||
328 | |||
329 | #endif /* __egl_h_ */ | ||
diff --git a/recipes/opengldummy/files/headers/EGL/eglext.h b/recipes/opengldummy/files/headers/EGL/eglext.h deleted file mode 100644 index a392b31..0000000 --- a/recipes/opengldummy/files/headers/EGL/eglext.h +++ /dev/null | |||
@@ -1,628 +0,0 @@ | |||
1 | #ifndef __eglext_h_ | ||
2 | #define __eglext_h_ 1 | ||
3 | |||
4 | #ifdef __cplusplus | ||
5 | extern "C" { | ||
6 | #endif | ||
7 | |||
8 | /* | ||
9 | ** Copyright (c) 2013 The Khronos Group Inc. | ||
10 | ** | ||
11 | ** Permission is hereby granted, free of charge, to any person obtaining a | ||
12 | ** copy of this software and/or associated documentation files (the | ||
13 | ** "Materials"), to deal in the Materials without restriction, including | ||
14 | ** without limitation the rights to use, copy, modify, merge, publish, | ||
15 | ** distribute, sublicense, and/or sell copies of the Materials, and to | ||
16 | ** permit persons to whom the Materials are furnished to do so, subject to | ||
17 | ** the following conditions: | ||
18 | ** | ||
19 | ** The above copyright notice and this permission notice shall be included | ||
20 | ** in all copies or substantial portions of the Materials. | ||
21 | ** | ||
22 | ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
23 | ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
24 | ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
25 | ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
26 | ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
27 | ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
28 | ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. | ||
29 | */ | ||
30 | /* | ||
31 | ** This header is generated from the Khronos OpenGL / OpenGL ES XML | ||
32 | ** API Registry. The current version of the Registry, generator scripts | ||
33 | ** used to make the header, and the header can be found at | ||
34 | ** http://www.opengl.org/registry/ | ||
35 | ** | ||
36 | ** Khronos $Revision: 23535 $ on $Date: 2013-10-16 10:29:40 -0700 (Wed, 16 Oct 2013) $ | ||
37 | */ | ||
38 | |||
39 | #include <EGL/eglplatform.h> | ||
40 | |||
41 | #define EGL_EGLEXT_VERSION 20131016 | ||
42 | |||
43 | /* Generated C header for: | ||
44 | * API: egl | ||
45 | * Versions considered: .* | ||
46 | * Versions emitted: _nomatch_^ | ||
47 | * Default extensions included: egl | ||
48 | * Additional extensions included: _nomatch_^ | ||
49 | * Extensions removed: _nomatch_^ | ||
50 | */ | ||
51 | |||
52 | #ifndef EGL_KHR_cl_event | ||
53 | #define EGL_KHR_cl_event 1 | ||
54 | #define EGL_CL_EVENT_HANDLE_KHR 0x309C | ||
55 | #define EGL_SYNC_CL_EVENT_KHR 0x30FE | ||
56 | #define EGL_SYNC_CL_EVENT_COMPLETE_KHR 0x30FF | ||
57 | #endif /* EGL_KHR_cl_event */ | ||
58 | |||
59 | #ifndef EGL_KHR_client_get_all_proc_addresses | ||
60 | #define EGL_KHR_client_get_all_proc_addresses 1 | ||
61 | #endif /* EGL_KHR_client_get_all_proc_addresses */ | ||
62 | |||
63 | #ifndef EGL_KHR_config_attribs | ||
64 | #define EGL_KHR_config_attribs 1 | ||
65 | #define EGL_CONFORMANT_KHR 0x3042 | ||
66 | #define EGL_VG_COLORSPACE_LINEAR_BIT_KHR 0x0020 | ||
67 | #define EGL_VG_ALPHA_FORMAT_PRE_BIT_KHR 0x0040 | ||
68 | #endif /* EGL_KHR_config_attribs */ | ||
69 | |||
70 | #ifndef EGL_KHR_create_context | ||
71 | #define EGL_KHR_create_context 1 | ||
72 | #define EGL_CONTEXT_MAJOR_VERSION_KHR 0x3098 | ||
73 | #define EGL_CONTEXT_MINOR_VERSION_KHR 0x30FB | ||
74 | #define EGL_CONTEXT_FLAGS_KHR 0x30FC | ||
75 | #define EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR 0x30FD | ||
76 | #define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR 0x31BD | ||
77 | #define EGL_NO_RESET_NOTIFICATION_KHR 0x31BE | ||
78 | #define EGL_LOSE_CONTEXT_ON_RESET_KHR 0x31BF | ||
79 | #define EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR 0x00000001 | ||
80 | #define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR 0x00000002 | ||
81 | #define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR 0x00000004 | ||
82 | #define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR 0x00000001 | ||
83 | #define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR 0x00000002 | ||
84 | #define EGL_OPENGL_ES3_BIT_KHR 0x00000040 | ||
85 | #endif /* EGL_KHR_create_context */ | ||
86 | |||
87 | #ifndef EGL_KHR_fence_sync | ||
88 | #define EGL_KHR_fence_sync 1 | ||
89 | #ifdef KHRONOS_SUPPORT_INT64 | ||
90 | #define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR 0x30F0 | ||
91 | #define EGL_SYNC_CONDITION_KHR 0x30F8 | ||
92 | #define EGL_SYNC_FENCE_KHR 0x30F9 | ||
93 | #endif /* KHRONOS_SUPPORT_INT64 */ | ||
94 | #endif /* EGL_KHR_fence_sync */ | ||
95 | |||
96 | #ifndef EGL_KHR_get_all_proc_addresses | ||
97 | #define EGL_KHR_get_all_proc_addresses 1 | ||
98 | #endif /* EGL_KHR_get_all_proc_addresses */ | ||
99 | |||
100 | #ifndef EGL_KHR_gl_renderbuffer_image | ||
101 | #define EGL_KHR_gl_renderbuffer_image 1 | ||
102 | #define EGL_GL_RENDERBUFFER_KHR 0x30B9 | ||
103 | #endif /* EGL_KHR_gl_renderbuffer_image */ | ||
104 | |||
105 | #ifndef EGL_KHR_gl_texture_2D_image | ||
106 | #define EGL_KHR_gl_texture_2D_image 1 | ||
107 | #define EGL_GL_TEXTURE_2D_KHR 0x30B1 | ||
108 | #define EGL_GL_TEXTURE_LEVEL_KHR 0x30BC | ||
109 | #endif /* EGL_KHR_gl_texture_2D_image */ | ||
110 | |||
111 | #ifndef EGL_KHR_gl_texture_3D_image | ||
112 | #define EGL_KHR_gl_texture_3D_image 1 | ||
113 | #define EGL_GL_TEXTURE_3D_KHR 0x30B2 | ||
114 | #define EGL_GL_TEXTURE_ZOFFSET_KHR 0x30BD | ||
115 | #endif /* EGL_KHR_gl_texture_3D_image */ | ||
116 | |||
117 | #ifndef EGL_KHR_gl_texture_cubemap_image | ||
118 | #define EGL_KHR_gl_texture_cubemap_image 1 | ||
119 | #define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR 0x30B3 | ||
120 | #define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR 0x30B4 | ||
121 | #define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR 0x30B5 | ||
122 | #define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR 0x30B6 | ||
123 | #define EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR 0x30B7 | ||
124 | #define EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR 0x30B8 | ||
125 | #endif /* EGL_KHR_gl_texture_cubemap_image */ | ||
126 | |||
127 | #ifndef EGL_KHR_image | ||
128 | #define EGL_KHR_image 1 | ||
129 | typedef void *EGLImageKHR; | ||
130 | #define EGL_NATIVE_PIXMAP_KHR 0x30B0 | ||
131 | #define EGL_NO_IMAGE_KHR ((EGLImageKHR)0) | ||
132 | typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); | ||
133 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay dpy, EGLImageKHR image); | ||
134 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
135 | EGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); | ||
136 | EGLAPI EGLBoolean EGLAPIENTRY eglDestroyImageKHR (EGLDisplay dpy, EGLImageKHR image); | ||
137 | #endif | ||
138 | #endif /* EGL_KHR_image */ | ||
139 | |||
140 | #ifndef EGL_KHR_image_base | ||
141 | #define EGL_KHR_image_base 1 | ||
142 | #define EGL_IMAGE_PRESERVED_KHR 0x30D2 | ||
143 | #endif /* EGL_KHR_image_base */ | ||
144 | |||
145 | #ifndef EGL_KHR_image_pixmap | ||
146 | #define EGL_KHR_image_pixmap 1 | ||
147 | #endif /* EGL_KHR_image_pixmap */ | ||
148 | |||
149 | #ifndef EGL_KHR_lock_surface | ||
150 | #define EGL_KHR_lock_surface 1 | ||
151 | #define EGL_READ_SURFACE_BIT_KHR 0x0001 | ||
152 | #define EGL_WRITE_SURFACE_BIT_KHR 0x0002 | ||
153 | #define EGL_LOCK_SURFACE_BIT_KHR 0x0080 | ||
154 | #define EGL_OPTIMAL_FORMAT_BIT_KHR 0x0100 | ||
155 | #define EGL_MATCH_FORMAT_KHR 0x3043 | ||
156 | #define EGL_FORMAT_RGB_565_EXACT_KHR 0x30C0 | ||
157 | #define EGL_FORMAT_RGB_565_KHR 0x30C1 | ||
158 | #define EGL_FORMAT_RGBA_8888_EXACT_KHR 0x30C2 | ||
159 | #define EGL_FORMAT_RGBA_8888_KHR 0x30C3 | ||
160 | #define EGL_MAP_PRESERVE_PIXELS_KHR 0x30C4 | ||
161 | #define EGL_LOCK_USAGE_HINT_KHR 0x30C5 | ||
162 | #define EGL_BITMAP_POINTER_KHR 0x30C6 | ||
163 | #define EGL_BITMAP_PITCH_KHR 0x30C7 | ||
164 | #define EGL_BITMAP_ORIGIN_KHR 0x30C8 | ||
165 | #define EGL_BITMAP_PIXEL_RED_OFFSET_KHR 0x30C9 | ||
166 | #define EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR 0x30CA | ||
167 | #define EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR 0x30CB | ||
168 | #define EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR 0x30CC | ||
169 | #define EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR 0x30CD | ||
170 | #define EGL_LOWER_LEFT_KHR 0x30CE | ||
171 | #define EGL_UPPER_LEFT_KHR 0x30CF | ||
172 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list); | ||
173 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface); | ||
174 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
175 | EGLAPI EGLBoolean EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list); | ||
176 | EGLAPI EGLBoolean EGLAPIENTRY eglUnlockSurfaceKHR (EGLDisplay display, EGLSurface surface); | ||
177 | #endif | ||
178 | #endif /* EGL_KHR_lock_surface */ | ||
179 | |||
180 | #ifndef EGL_KHR_lock_surface2 | ||
181 | #define EGL_KHR_lock_surface2 1 | ||
182 | #define EGL_BITMAP_PIXEL_SIZE_KHR 0x3110 | ||
183 | #endif /* EGL_KHR_lock_surface2 */ | ||
184 | |||
185 | #ifndef EGL_KHR_reusable_sync | ||
186 | #define EGL_KHR_reusable_sync 1 | ||
187 | typedef void *EGLSyncKHR; | ||
188 | typedef khronos_utime_nanoseconds_t EGLTimeKHR; | ||
189 | #ifdef KHRONOS_SUPPORT_INT64 | ||
190 | #define EGL_SYNC_STATUS_KHR 0x30F1 | ||
191 | #define EGL_SIGNALED_KHR 0x30F2 | ||
192 | #define EGL_UNSIGNALED_KHR 0x30F3 | ||
193 | #define EGL_TIMEOUT_EXPIRED_KHR 0x30F5 | ||
194 | #define EGL_CONDITION_SATISFIED_KHR 0x30F6 | ||
195 | #define EGL_SYNC_TYPE_KHR 0x30F7 | ||
196 | #define EGL_SYNC_REUSABLE_KHR 0x30FA | ||
197 | #define EGL_SYNC_FLUSH_COMMANDS_BIT_KHR 0x0001 | ||
198 | #define EGL_FOREVER_KHR 0xFFFFFFFFFFFFFFFFull | ||
199 | #define EGL_NO_SYNC_KHR ((EGLSyncKHR)0) | ||
200 | typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list); | ||
201 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync); | ||
202 | typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout); | ||
203 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode); | ||
204 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value); | ||
205 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
206 | EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list); | ||
207 | EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR (EGLDisplay dpy, EGLSyncKHR sync); | ||
208 | EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout); | ||
209 | EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode); | ||
210 | EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value); | ||
211 | #endif | ||
212 | #endif /* KHRONOS_SUPPORT_INT64 */ | ||
213 | #endif /* EGL_KHR_reusable_sync */ | ||
214 | |||
215 | #ifndef EGL_KHR_stream | ||
216 | #define EGL_KHR_stream 1 | ||
217 | typedef void *EGLStreamKHR; | ||
218 | typedef khronos_uint64_t EGLuint64KHR; | ||
219 | #ifdef KHRONOS_SUPPORT_INT64 | ||
220 | #define EGL_NO_STREAM_KHR ((EGLStreamKHR)0) | ||
221 | #define EGL_CONSUMER_LATENCY_USEC_KHR 0x3210 | ||
222 | #define EGL_PRODUCER_FRAME_KHR 0x3212 | ||
223 | #define EGL_CONSUMER_FRAME_KHR 0x3213 | ||
224 | #define EGL_STREAM_STATE_KHR 0x3214 | ||
225 | #define EGL_STREAM_STATE_CREATED_KHR 0x3215 | ||
226 | #define EGL_STREAM_STATE_CONNECTING_KHR 0x3216 | ||
227 | #define EGL_STREAM_STATE_EMPTY_KHR 0x3217 | ||
228 | #define EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR 0x3218 | ||
229 | #define EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR 0x3219 | ||
230 | #define EGL_STREAM_STATE_DISCONNECTED_KHR 0x321A | ||
231 | #define EGL_BAD_STREAM_KHR 0x321B | ||
232 | #define EGL_BAD_STATE_KHR 0x321C | ||
233 | typedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMKHRPROC) (EGLDisplay dpy, const EGLint *attrib_list); | ||
234 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSTREAMKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); | ||
235 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value); | ||
236 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint *value); | ||
237 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMU64KHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR *value); | ||
238 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
239 | EGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamKHR (EGLDisplay dpy, const EGLint *attrib_list); | ||
240 | EGLAPI EGLBoolean EGLAPIENTRY eglDestroyStreamKHR (EGLDisplay dpy, EGLStreamKHR stream); | ||
241 | EGLAPI EGLBoolean EGLAPIENTRY eglStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value); | ||
242 | EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint *value); | ||
243 | EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamu64KHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR *value); | ||
244 | #endif | ||
245 | #endif /* KHRONOS_SUPPORT_INT64 */ | ||
246 | #endif /* EGL_KHR_stream */ | ||
247 | |||
248 | #ifndef EGL_KHR_stream_consumer_gltexture | ||
249 | #define EGL_KHR_stream_consumer_gltexture 1 | ||
250 | #ifdef EGL_KHR_stream | ||
251 | #define EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR 0x321E | ||
252 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); | ||
253 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERACQUIREKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); | ||
254 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERRELEASEKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); | ||
255 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
256 | EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerGLTextureExternalKHR (EGLDisplay dpy, EGLStreamKHR stream); | ||
257 | EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerAcquireKHR (EGLDisplay dpy, EGLStreamKHR stream); | ||
258 | EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerReleaseKHR (EGLDisplay dpy, EGLStreamKHR stream); | ||
259 | #endif | ||
260 | #endif /* EGL_KHR_stream */ | ||
261 | #endif /* EGL_KHR_stream_consumer_gltexture */ | ||
262 | |||
263 | #ifndef EGL_KHR_stream_cross_process_fd | ||
264 | #define EGL_KHR_stream_cross_process_fd 1 | ||
265 | typedef int EGLNativeFileDescriptorKHR; | ||
266 | #ifdef EGL_KHR_stream | ||
267 | #define EGL_NO_FILE_DESCRIPTOR_KHR ((EGLNativeFileDescriptorKHR)(-1)) | ||
268 | typedef EGLNativeFileDescriptorKHR (EGLAPIENTRYP PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); | ||
269 | typedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC) (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor); | ||
270 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
271 | EGLAPI EGLNativeFileDescriptorKHR EGLAPIENTRY eglGetStreamFileDescriptorKHR (EGLDisplay dpy, EGLStreamKHR stream); | ||
272 | EGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamFromFileDescriptorKHR (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor); | ||
273 | #endif | ||
274 | #endif /* EGL_KHR_stream */ | ||
275 | #endif /* EGL_KHR_stream_cross_process_fd */ | ||
276 | |||
277 | #ifndef EGL_KHR_stream_fifo | ||
278 | #define EGL_KHR_stream_fifo 1 | ||
279 | #ifdef EGL_KHR_stream | ||
280 | #define EGL_STREAM_FIFO_LENGTH_KHR 0x31FC | ||
281 | #define EGL_STREAM_TIME_NOW_KHR 0x31FD | ||
282 | #define EGL_STREAM_TIME_CONSUMER_KHR 0x31FE | ||
283 | #define EGL_STREAM_TIME_PRODUCER_KHR 0x31FF | ||
284 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMTIMEKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR *value); | ||
285 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
286 | EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamTimeKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR *value); | ||
287 | #endif | ||
288 | #endif /* EGL_KHR_stream */ | ||
289 | #endif /* EGL_KHR_stream_fifo */ | ||
290 | |||
291 | #ifndef EGL_KHR_stream_producer_aldatalocator | ||
292 | #define EGL_KHR_stream_producer_aldatalocator 1 | ||
293 | #ifdef EGL_KHR_stream | ||
294 | #endif /* EGL_KHR_stream */ | ||
295 | #endif /* EGL_KHR_stream_producer_aldatalocator */ | ||
296 | |||
297 | #ifndef EGL_KHR_stream_producer_eglsurface | ||
298 | #define EGL_KHR_stream_producer_eglsurface 1 | ||
299 | #ifdef EGL_KHR_stream | ||
300 | #define EGL_STREAM_BIT_KHR 0x0800 | ||
301 | typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC) (EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint *attrib_list); | ||
302 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
303 | EGLAPI EGLSurface EGLAPIENTRY eglCreateStreamProducerSurfaceKHR (EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint *attrib_list); | ||
304 | #endif | ||
305 | #endif /* EGL_KHR_stream */ | ||
306 | #endif /* EGL_KHR_stream_producer_eglsurface */ | ||
307 | |||
308 | #ifndef EGL_KHR_surfaceless_context | ||
309 | #define EGL_KHR_surfaceless_context 1 | ||
310 | #endif /* EGL_KHR_surfaceless_context */ | ||
311 | |||
312 | #ifndef EGL_KHR_vg_parent_image | ||
313 | #define EGL_KHR_vg_parent_image 1 | ||
314 | #define EGL_VG_PARENT_IMAGE_KHR 0x30BA | ||
315 | #endif /* EGL_KHR_vg_parent_image */ | ||
316 | |||
317 | #ifndef EGL_KHR_wait_sync | ||
318 | #define EGL_KHR_wait_sync 1 | ||
319 | typedef EGLint (EGLAPIENTRYP PFNEGLWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags); | ||
320 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
321 | EGLAPI EGLint EGLAPIENTRY eglWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags); | ||
322 | #endif | ||
323 | #endif /* EGL_KHR_wait_sync */ | ||
324 | |||
325 | #ifndef EGL_ANDROID_blob_cache | ||
326 | #define EGL_ANDROID_blob_cache 1 | ||
327 | typedef khronos_ssize_t EGLsizeiANDROID; | ||
328 | typedef void (*EGLSetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, const void *value, EGLsizeiANDROID valueSize); | ||
329 | typedef EGLsizeiANDROID (*EGLGetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, void *value, EGLsizeiANDROID valueSize); | ||
330 | typedef void (EGLAPIENTRYP PFNEGLSETBLOBCACHEFUNCSANDROIDPROC) (EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get); | ||
331 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
332 | EGLAPI void EGLAPIENTRY eglSetBlobCacheFuncsANDROID (EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get); | ||
333 | #endif | ||
334 | #endif /* EGL_ANDROID_blob_cache */ | ||
335 | |||
336 | #ifndef EGL_ANDROID_framebuffer_target | ||
337 | #define EGL_ANDROID_framebuffer_target 1 | ||
338 | #define EGL_FRAMEBUFFER_TARGET_ANDROID 0x3147 | ||
339 | #endif /* EGL_ANDROID_framebuffer_target */ | ||
340 | |||
341 | #ifndef EGL_ANDROID_image_native_buffer | ||
342 | #define EGL_ANDROID_image_native_buffer 1 | ||
343 | #define EGL_NATIVE_BUFFER_ANDROID 0x3140 | ||
344 | #endif /* EGL_ANDROID_image_native_buffer */ | ||
345 | |||
346 | #ifndef EGL_ANDROID_native_fence_sync | ||
347 | #define EGL_ANDROID_native_fence_sync 1 | ||
348 | #define EGL_SYNC_NATIVE_FENCE_ANDROID 0x3144 | ||
349 | #define EGL_SYNC_NATIVE_FENCE_FD_ANDROID 0x3145 | ||
350 | #define EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID 0x3146 | ||
351 | #define EGL_NO_NATIVE_FENCE_FD_ANDROID -1 | ||
352 | typedef EGLint (EGLAPIENTRYP PFNEGLDUPNATIVEFENCEFDANDROIDPROC) (EGLDisplay dpy, EGLSyncKHR sync); | ||
353 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
354 | EGLAPI EGLint EGLAPIENTRY eglDupNativeFenceFDANDROID (EGLDisplay dpy, EGLSyncKHR sync); | ||
355 | #endif | ||
356 | #endif /* EGL_ANDROID_native_fence_sync */ | ||
357 | |||
358 | #ifndef EGL_ANDROID_recordable | ||
359 | #define EGL_ANDROID_recordable 1 | ||
360 | #define EGL_RECORDABLE_ANDROID 0x3142 | ||
361 | #endif /* EGL_ANDROID_recordable */ | ||
362 | |||
363 | #ifndef EGL_ANGLE_d3d_share_handle_client_buffer | ||
364 | #define EGL_ANGLE_d3d_share_handle_client_buffer 1 | ||
365 | #define EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE 0x3200 | ||
366 | #endif /* EGL_ANGLE_d3d_share_handle_client_buffer */ | ||
367 | |||
368 | #ifndef EGL_ANGLE_query_surface_pointer | ||
369 | #define EGL_ANGLE_query_surface_pointer 1 | ||
370 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACEPOINTERANGLEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value); | ||
371 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
372 | EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurfacePointerANGLE (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value); | ||
373 | #endif | ||
374 | #endif /* EGL_ANGLE_query_surface_pointer */ | ||
375 | |||
376 | #ifndef EGL_ANGLE_surface_d3d_texture_2d_share_handle | ||
377 | #define EGL_ANGLE_surface_d3d_texture_2d_share_handle 1 | ||
378 | #endif /* EGL_ANGLE_surface_d3d_texture_2d_share_handle */ | ||
379 | |||
380 | #ifndef EGL_ARM_pixmap_multisample_discard | ||
381 | #define EGL_ARM_pixmap_multisample_discard 1 | ||
382 | #define EGL_DISCARD_SAMPLES_ARM 0x3286 | ||
383 | #endif /* EGL_ARM_pixmap_multisample_discard */ | ||
384 | |||
385 | #ifndef EGL_EXT_buffer_age | ||
386 | #define EGL_EXT_buffer_age 1 | ||
387 | #define EGL_BUFFER_AGE_EXT 0x313D | ||
388 | #endif /* EGL_EXT_buffer_age */ | ||
389 | |||
390 | #ifndef EGL_EXT_client_extensions | ||
391 | #define EGL_EXT_client_extensions 1 | ||
392 | #endif /* EGL_EXT_client_extensions */ | ||
393 | |||
394 | #ifndef EGL_EXT_create_context_robustness | ||
395 | #define EGL_EXT_create_context_robustness 1 | ||
396 | #define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT 0x30BF | ||
397 | #define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT 0x3138 | ||
398 | #define EGL_NO_RESET_NOTIFICATION_EXT 0x31BE | ||
399 | #define EGL_LOSE_CONTEXT_ON_RESET_EXT 0x31BF | ||
400 | #endif /* EGL_EXT_create_context_robustness */ | ||
401 | |||
402 | #ifndef EGL_EXT_image_dma_buf_import | ||
403 | #define EGL_EXT_image_dma_buf_import 1 | ||
404 | #define EGL_LINUX_DMA_BUF_EXT 0x3270 | ||
405 | #define EGL_LINUX_DRM_FOURCC_EXT 0x3271 | ||
406 | #define EGL_DMA_BUF_PLANE0_FD_EXT 0x3272 | ||
407 | #define EGL_DMA_BUF_PLANE0_OFFSET_EXT 0x3273 | ||
408 | #define EGL_DMA_BUF_PLANE0_PITCH_EXT 0x3274 | ||
409 | #define EGL_DMA_BUF_PLANE1_FD_EXT 0x3275 | ||
410 | #define EGL_DMA_BUF_PLANE1_OFFSET_EXT 0x3276 | ||
411 | #define EGL_DMA_BUF_PLANE1_PITCH_EXT 0x3277 | ||
412 | #define EGL_DMA_BUF_PLANE2_FD_EXT 0x3278 | ||
413 | #define EGL_DMA_BUF_PLANE2_OFFSET_EXT 0x3279 | ||
414 | #define EGL_DMA_BUF_PLANE2_PITCH_EXT 0x327A | ||
415 | #define EGL_YUV_COLOR_SPACE_HINT_EXT 0x327B | ||
416 | #define EGL_SAMPLE_RANGE_HINT_EXT 0x327C | ||
417 | #define EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT 0x327D | ||
418 | #define EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT 0x327E | ||
419 | #define EGL_ITU_REC601_EXT 0x327F | ||
420 | #define EGL_ITU_REC709_EXT 0x3280 | ||
421 | #define EGL_ITU_REC2020_EXT 0x3281 | ||
422 | #define EGL_YUV_FULL_RANGE_EXT 0x3282 | ||
423 | #define EGL_YUV_NARROW_RANGE_EXT 0x3283 | ||
424 | #define EGL_YUV_CHROMA_SITING_0_EXT 0x3284 | ||
425 | #define EGL_YUV_CHROMA_SITING_0_5_EXT 0x3285 | ||
426 | #endif /* EGL_EXT_image_dma_buf_import */ | ||
427 | |||
428 | #ifndef EGL_EXT_multiview_window | ||
429 | #define EGL_EXT_multiview_window 1 | ||
430 | #define EGL_MULTIVIEW_VIEW_COUNT_EXT 0x3134 | ||
431 | #endif /* EGL_EXT_multiview_window */ | ||
432 | |||
433 | #ifndef EGL_EXT_platform_base | ||
434 | #define EGL_EXT_platform_base 1 | ||
435 | typedef EGLDisplay (EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYEXTPROC) (EGLenum platform, void *native_display, const EGLint *attrib_list); | ||
436 | typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC) (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint *attrib_list); | ||
437 | typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC) (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list); | ||
438 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
439 | EGLAPI EGLDisplay EGLAPIENTRY eglGetPlatformDisplayEXT (EGLenum platform, void *native_display, const EGLint *attrib_list); | ||
440 | EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformWindowSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint *attrib_list); | ||
441 | EGLAPI EGLSurface EGLAPIENTRY eglCreatePlatformPixmapSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_pixmap, const EGLint *attrib_list); | ||
442 | #endif | ||
443 | #endif /* EGL_EXT_platform_base */ | ||
444 | |||
445 | #ifndef EGL_EXT_platform_wayland | ||
446 | #define EGL_EXT_platform_wayland 1 | ||
447 | #define EGL_PLATFORM_WAYLAND_EXT 0x31D8 | ||
448 | #endif /* EGL_EXT_platform_wayland */ | ||
449 | |||
450 | #ifndef EGL_EXT_platform_x11 | ||
451 | #define EGL_EXT_platform_x11 1 | ||
452 | #define EGL_PLATFORM_X11_EXT 0x31D5 | ||
453 | #define EGL_PLATFORM_X11_SCREEN_EXT 0x31D6 | ||
454 | #endif /* EGL_EXT_platform_x11 */ | ||
455 | |||
456 | #ifndef EGL_EXT_swap_buffers_with_damage | ||
457 | #define EGL_EXT_swap_buffers_with_damage 1 | ||
458 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); | ||
459 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
460 | EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageEXT (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); | ||
461 | #endif | ||
462 | #endif /* EGL_EXT_swap_buffers_with_damage */ | ||
463 | |||
464 | #ifndef EGL_HI_clientpixmap | ||
465 | #define EGL_HI_clientpixmap 1 | ||
466 | struct EGLClientPixmapHI { | ||
467 | void *pData; | ||
468 | EGLint iWidth; | ||
469 | EGLint iHeight; | ||
470 | EGLint iStride; | ||
471 | }; | ||
472 | #define EGL_CLIENT_PIXMAP_POINTER_HI 0x8F74 | ||
473 | typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPIXMAPSURFACEHIPROC) (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI *pixmap); | ||
474 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
475 | EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurfaceHI (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI *pixmap); | ||
476 | #endif | ||
477 | #endif /* EGL_HI_clientpixmap */ | ||
478 | |||
479 | #ifndef EGL_HI_colorformats | ||
480 | #define EGL_HI_colorformats 1 | ||
481 | #define EGL_COLOR_FORMAT_HI 0x8F70 | ||
482 | #define EGL_COLOR_RGB_HI 0x8F71 | ||
483 | #define EGL_COLOR_RGBA_HI 0x8F72 | ||
484 | #define EGL_COLOR_ARGB_HI 0x8F73 | ||
485 | #endif /* EGL_HI_colorformats */ | ||
486 | |||
487 | #ifndef EGL_IMG_context_priority | ||
488 | #define EGL_IMG_context_priority 1 | ||
489 | #define EGL_CONTEXT_PRIORITY_LEVEL_IMG 0x3100 | ||
490 | #define EGL_CONTEXT_PRIORITY_HIGH_IMG 0x3101 | ||
491 | #define EGL_CONTEXT_PRIORITY_MEDIUM_IMG 0x3102 | ||
492 | #define EGL_CONTEXT_PRIORITY_LOW_IMG 0x3103 | ||
493 | #endif /* EGL_IMG_context_priority */ | ||
494 | |||
495 | #ifndef EGL_MESA_drm_image | ||
496 | #define EGL_MESA_drm_image 1 | ||
497 | #define EGL_DRM_BUFFER_FORMAT_MESA 0x31D0 | ||
498 | #define EGL_DRM_BUFFER_USE_MESA 0x31D1 | ||
499 | #define EGL_DRM_BUFFER_FORMAT_ARGB32_MESA 0x31D2 | ||
500 | #define EGL_DRM_BUFFER_MESA 0x31D3 | ||
501 | #define EGL_DRM_BUFFER_STRIDE_MESA 0x31D4 | ||
502 | #define EGL_DRM_BUFFER_USE_SCANOUT_MESA 0x00000001 | ||
503 | #define EGL_DRM_BUFFER_USE_SHARE_MESA 0x00000002 | ||
504 | typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEDRMIMAGEMESAPROC) (EGLDisplay dpy, const EGLint *attrib_list); | ||
505 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDRMIMAGEMESAPROC) (EGLDisplay dpy, EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride); | ||
506 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
507 | EGLAPI EGLImageKHR EGLAPIENTRY eglCreateDRMImageMESA (EGLDisplay dpy, const EGLint *attrib_list); | ||
508 | EGLAPI EGLBoolean EGLAPIENTRY eglExportDRMImageMESA (EGLDisplay dpy, EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride); | ||
509 | #endif | ||
510 | #endif /* EGL_MESA_drm_image */ | ||
511 | |||
512 | #ifndef EGL_MESA_platform_gbm | ||
513 | #define EGL_MESA_platform_gbm 1 | ||
514 | #define EGL_PLATFORM_GBM_MESA 0x31D7 | ||
515 | #endif /* EGL_MESA_platform_gbm */ | ||
516 | |||
517 | #ifndef EGL_NV_3dvision_surface | ||
518 | #define EGL_NV_3dvision_surface 1 | ||
519 | #define EGL_AUTO_STEREO_NV 0x3136 | ||
520 | #endif /* EGL_NV_3dvision_surface */ | ||
521 | |||
522 | #ifndef EGL_NV_coverage_sample | ||
523 | #define EGL_NV_coverage_sample 1 | ||
524 | #define EGL_COVERAGE_BUFFERS_NV 0x30E0 | ||
525 | #define EGL_COVERAGE_SAMPLES_NV 0x30E1 | ||
526 | #endif /* EGL_NV_coverage_sample */ | ||
527 | |||
528 | #ifndef EGL_NV_coverage_sample_resolve | ||
529 | #define EGL_NV_coverage_sample_resolve 1 | ||
530 | #define EGL_COVERAGE_SAMPLE_RESOLVE_NV 0x3131 | ||
531 | #define EGL_COVERAGE_SAMPLE_RESOLVE_DEFAULT_NV 0x3132 | ||
532 | #define EGL_COVERAGE_SAMPLE_RESOLVE_NONE_NV 0x3133 | ||
533 | #endif /* EGL_NV_coverage_sample_resolve */ | ||
534 | |||
535 | #ifndef EGL_NV_depth_nonlinear | ||
536 | #define EGL_NV_depth_nonlinear 1 | ||
537 | #define EGL_DEPTH_ENCODING_NV 0x30E2 | ||
538 | #define EGL_DEPTH_ENCODING_NONE_NV 0 | ||
539 | #define EGL_DEPTH_ENCODING_NONLINEAR_NV 0x30E3 | ||
540 | #endif /* EGL_NV_depth_nonlinear */ | ||
541 | |||
542 | #ifndef EGL_NV_native_query | ||
543 | #define EGL_NV_native_query 1 | ||
544 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEDISPLAYNVPROC) (EGLDisplay dpy, EGLNativeDisplayType *display_id); | ||
545 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEWINDOWNVPROC) (EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType *window); | ||
546 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEPIXMAPNVPROC) (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType *pixmap); | ||
547 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
548 | EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativeDisplayNV (EGLDisplay dpy, EGLNativeDisplayType *display_id); | ||
549 | EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativeWindowNV (EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType *window); | ||
550 | EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativePixmapNV (EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType *pixmap); | ||
551 | #endif | ||
552 | #endif /* EGL_NV_native_query */ | ||
553 | |||
554 | #ifndef EGL_NV_post_convert_rounding | ||
555 | #define EGL_NV_post_convert_rounding 1 | ||
556 | #endif /* EGL_NV_post_convert_rounding */ | ||
557 | |||
558 | #ifndef EGL_NV_post_sub_buffer | ||
559 | #define EGL_NV_post_sub_buffer 1 | ||
560 | #define EGL_POST_SUB_BUFFER_SUPPORTED_NV 0x30BE | ||
561 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLPOSTSUBBUFFERNVPROC) (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height); | ||
562 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
563 | EGLAPI EGLBoolean EGLAPIENTRY eglPostSubBufferNV (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height); | ||
564 | #endif | ||
565 | #endif /* EGL_NV_post_sub_buffer */ | ||
566 | |||
567 | #ifndef EGL_NV_stream_sync | ||
568 | #define EGL_NV_stream_sync 1 | ||
569 | #define EGL_SYNC_NEW_FRAME_NV 0x321F | ||
570 | typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESTREAMSYNCNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum type, const EGLint *attrib_list); | ||
571 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
572 | EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateStreamSyncNV (EGLDisplay dpy, EGLStreamKHR stream, EGLenum type, const EGLint *attrib_list); | ||
573 | #endif | ||
574 | #endif /* EGL_NV_stream_sync */ | ||
575 | |||
576 | #ifndef EGL_NV_sync | ||
577 | #define EGL_NV_sync 1 | ||
578 | typedef void *EGLSyncNV; | ||
579 | typedef khronos_utime_nanoseconds_t EGLTimeNV; | ||
580 | #ifdef KHRONOS_SUPPORT_INT64 | ||
581 | #define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV 0x30E6 | ||
582 | #define EGL_SYNC_STATUS_NV 0x30E7 | ||
583 | #define EGL_SIGNALED_NV 0x30E8 | ||
584 | #define EGL_UNSIGNALED_NV 0x30E9 | ||
585 | #define EGL_SYNC_FLUSH_COMMANDS_BIT_NV 0x0001 | ||
586 | #define EGL_FOREVER_NV 0xFFFFFFFFFFFFFFFFull | ||
587 | #define EGL_ALREADY_SIGNALED_NV 0x30EA | ||
588 | #define EGL_TIMEOUT_EXPIRED_NV 0x30EB | ||
589 | #define EGL_CONDITION_SATISFIED_NV 0x30EC | ||
590 | #define EGL_SYNC_TYPE_NV 0x30ED | ||
591 | #define EGL_SYNC_CONDITION_NV 0x30EE | ||
592 | #define EGL_SYNC_FENCE_NV 0x30EF | ||
593 | #define EGL_NO_SYNC_NV ((EGLSyncNV)0) | ||
594 | typedef EGLSyncNV (EGLAPIENTRYP PFNEGLCREATEFENCESYNCNVPROC) (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list); | ||
595 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCNVPROC) (EGLSyncNV sync); | ||
596 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLFENCENVPROC) (EGLSyncNV sync); | ||
597 | typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCNVPROC) (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout); | ||
598 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCNVPROC) (EGLSyncNV sync, EGLenum mode); | ||
599 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBNVPROC) (EGLSyncNV sync, EGLint attribute, EGLint *value); | ||
600 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
601 | EGLAPI EGLSyncNV EGLAPIENTRY eglCreateFenceSyncNV (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list); | ||
602 | EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncNV (EGLSyncNV sync); | ||
603 | EGLAPI EGLBoolean EGLAPIENTRY eglFenceNV (EGLSyncNV sync); | ||
604 | EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncNV (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout); | ||
605 | EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncNV (EGLSyncNV sync, EGLenum mode); | ||
606 | EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribNV (EGLSyncNV sync, EGLint attribute, EGLint *value); | ||
607 | #endif | ||
608 | #endif /* KHRONOS_SUPPORT_INT64 */ | ||
609 | #endif /* EGL_NV_sync */ | ||
610 | |||
611 | #ifndef EGL_NV_system_time | ||
612 | #define EGL_NV_system_time 1 | ||
613 | typedef khronos_utime_nanoseconds_t EGLuint64NV; | ||
614 | #ifdef KHRONOS_SUPPORT_INT64 | ||
615 | typedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC) (void); | ||
616 | typedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMENVPROC) (void); | ||
617 | #ifdef EGL_EGLEXT_PROTOTYPES | ||
618 | EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeFrequencyNV (void); | ||
619 | EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeNV (void); | ||
620 | #endif | ||
621 | #endif /* KHRONOS_SUPPORT_INT64 */ | ||
622 | #endif /* EGL_NV_system_time */ | ||
623 | |||
624 | #ifdef __cplusplus | ||
625 | } | ||
626 | #endif | ||
627 | |||
628 | #endif | ||
diff --git a/recipes/opengldummy/files/headers/EGL/eglplatform.h b/recipes/opengldummy/files/headers/EGL/eglplatform.h deleted file mode 100644 index 572c7d5..0000000 --- a/recipes/opengldummy/files/headers/EGL/eglplatform.h +++ /dev/null | |||
@@ -1,143 +0,0 @@ | |||
1 | #ifndef __eglplatform_h_ | ||
2 | #define __eglplatform_h_ | ||
3 | |||
4 | /* | ||
5 | ** Copyright (c) 2007-2013 The Khronos Group Inc. | ||
6 | ** | ||
7 | ** Permission is hereby granted, free of charge, to any person obtaining a | ||
8 | ** copy of this software and/or associated documentation files (the | ||
9 | ** "Materials"), to deal in the Materials without restriction, including | ||
10 | ** without limitation the rights to use, copy, modify, merge, publish, | ||
11 | ** distribute, sublicense, and/or sell copies of the Materials, and to | ||
12 | ** permit persons to whom the Materials are furnished to do so, subject to | ||
13 | ** the following conditions: | ||
14 | ** | ||
15 | ** The above copyright notice and this permission notice shall be included | ||
16 | ** in all copies or substantial portions of the Materials. | ||
17 | ** | ||
18 | ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
19 | ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
20 | ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
21 | ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
22 | ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
23 | ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
24 | ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. | ||
25 | */ | ||
26 | |||
27 | /* Platform-specific types and definitions for egl.h | ||
28 | * $Revision: 23432 $ on $Date: 2013-10-09 00:57:24 -0700 (Wed, 09 Oct 2013) $ | ||
29 | * | ||
30 | * Adopters may modify khrplatform.h and this file to suit their platform. | ||
31 | * You are encouraged to submit all modifications to the Khronos group so that | ||
32 | * they can be included in future versions of this file. Please submit changes | ||
33 | * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) | ||
34 | * by filing a bug against product "EGL" component "Registry". | ||
35 | */ | ||
36 | |||
37 | #include <KHR/khrplatform.h> | ||
38 | |||
39 | /* Macros used in EGL function prototype declarations. | ||
40 | * | ||
41 | * EGL functions should be prototyped as: | ||
42 | * | ||
43 | * EGLAPI return-type EGLAPIENTRY eglFunction(arguments); | ||
44 | * typedef return-type (EXPAPIENTRYP PFNEGLFUNCTIONPROC) (arguments); | ||
45 | * | ||
46 | * KHRONOS_APICALL and KHRONOS_APIENTRY are defined in KHR/khrplatform.h | ||
47 | */ | ||
48 | |||
49 | #ifndef EGLAPI | ||
50 | #define EGLAPI KHRONOS_APICALL | ||
51 | #endif | ||
52 | |||
53 | #ifndef EGLAPIENTRY | ||
54 | #define EGLAPIENTRY KHRONOS_APIENTRY | ||
55 | #endif | ||
56 | #define EGLAPIENTRYP EGLAPIENTRY* | ||
57 | |||
58 | /* The types NativeDisplayType, NativeWindowType, and NativePixmapType | ||
59 | * are aliases of window-system-dependent types, such as X Display * or | ||
60 | * Windows Device Context. They must be defined in platform-specific | ||
61 | * code below. The EGL-prefixed versions of Native*Type are the same | ||
62 | * types, renamed in EGL 1.3 so all types in the API start with "EGL". | ||
63 | * | ||
64 | * Khronos STRONGLY RECOMMENDS that you use the default definitions | ||
65 | * provided below, since these changes affect both binary and source | ||
66 | * portability of applications using EGL running on different EGL | ||
67 | * implementations. | ||
68 | */ | ||
69 | |||
70 | #if defined(_WIN32) || defined(__VC32__) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) /* Win32 and WinCE */ | ||
71 | |||
72 | #if 1 | ||
73 | /* QtGlesStream */ | ||
74 | typedef unsigned int EGLNativeDisplayType; | ||
75 | typedef unsigned int EGLNativeWindowType; | ||
76 | typedef unsigned int EGLNativePixmapType; | ||
77 | #else | ||
78 | #ifndef WIN32_LEAN_AND_MEAN | ||
79 | #define WIN32_LEAN_AND_MEAN 1 | ||
80 | #endif | ||
81 | #include <windows.h> | ||
82 | |||
83 | typedef HDC EGLNativeDisplayType; | ||
84 | typedef HBITMAP EGLNativePixmapType; | ||
85 | typedef HWND EGLNativeWindowType; | ||
86 | #endif | ||
87 | |||
88 | #elif defined(__WINSCW__) || defined(__SYMBIAN32__) /* Symbian */ | ||
89 | |||
90 | typedef int EGLNativeDisplayType; | ||
91 | typedef void *EGLNativeWindowType; | ||
92 | typedef void *EGLNativePixmapType; | ||
93 | |||
94 | #elif defined(__ANDROID__) || defined(ANDROID) | ||
95 | |||
96 | #include <android/native_window.h> | ||
97 | |||
98 | struct egl_native_pixmap_t; | ||
99 | |||
100 | typedef struct ANativeWindow* EGLNativeWindowType; | ||
101 | typedef struct egl_native_pixmap_t* EGLNativePixmapType; | ||
102 | typedef void* EGLNativeDisplayType; | ||
103 | |||
104 | #elif defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) | ||
105 | #if 1 | ||
106 | |||
107 | /* QtGlesStream */ | ||
108 | typedef intptr_t EGLNativeDisplayType; | ||
109 | typedef intptr_t EGLNativeWindowType; | ||
110 | typedef intptr_t EGLNativePixmapType; | ||
111 | |||
112 | #else | ||
113 | |||
114 | /* X11 (tentative) */ | ||
115 | #include <X11/Xlib.h> | ||
116 | #include <X11/Xutil.h> | ||
117 | |||
118 | typedef Display *EGLNativeDisplayType; | ||
119 | typedef Pixmap EGLNativePixmapType; | ||
120 | typedef Window EGLNativeWindowType; | ||
121 | |||
122 | #endif | ||
123 | |||
124 | #else | ||
125 | #error "Platform not recognized" | ||
126 | #endif | ||
127 | |||
128 | /* EGL 1.2 types, renamed for consistency in EGL 1.3 */ | ||
129 | typedef EGLNativeDisplayType NativeDisplayType; | ||
130 | typedef EGLNativePixmapType NativePixmapType; | ||
131 | typedef EGLNativeWindowType NativeWindowType; | ||
132 | |||
133 | |||
134 | /* Define EGLint. This must be a signed integral type large enough to contain | ||
135 | * all legal attribute names and values passed into and out of EGL, whether | ||
136 | * their type is boolean, bitmask, enumerant (symbolic constant), integer, | ||
137 | * handle, or other. While in general a 32-bit integer will suffice, if | ||
138 | * handles are 64 bit types, then EGLint should be defined as a signed 64-bit | ||
139 | * integer type. | ||
140 | */ | ||
141 | typedef khronos_int32_t EGLint; | ||
142 | |||
143 | #endif /* __eglplatform_h */ | ||
diff --git a/recipes/opengldummy/files/headers/GLES2/gl2.h b/recipes/opengldummy/files/headers/GLES2/gl2.h deleted file mode 100644 index f6bed7d..0000000 --- a/recipes/opengldummy/files/headers/GLES2/gl2.h +++ /dev/null | |||
@@ -1,523 +0,0 @@ | |||
1 | #ifndef __gl2_h_ | ||
2 | #define __gl2_h_ 1 | ||
3 | |||
4 | #ifdef __cplusplus | ||
5 | extern "C" { | ||
6 | #endif | ||
7 | |||
8 | /* | ||
9 | ** Copyright (c) 2013 The Khronos Group Inc. | ||
10 | ** | ||
11 | ** Permission is hereby granted, free of charge, to any person obtaining a | ||
12 | ** copy of this software and/or associated documentation files (the | ||
13 | ** "Materials"), to deal in the Materials without restriction, including | ||
14 | ** without limitation the rights to use, copy, modify, merge, publish, | ||
15 | ** distribute, sublicense, and/or sell copies of the Materials, and to | ||
16 | ** permit persons to whom the Materials are furnished to do so, subject to | ||
17 | ** the following conditions: | ||
18 | ** | ||
19 | ** The above copyright notice and this permission notice shall be included | ||
20 | ** in all copies or substantial portions of the Materials. | ||
21 | ** | ||
22 | ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
23 | ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
24 | ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
25 | ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
26 | ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
27 | ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
28 | ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. | ||
29 | */ | ||
30 | /* | ||
31 | ** This header is generated from the Khronos OpenGL / OpenGL ES XML | ||
32 | ** API Registry. The current version of the Registry, generator scripts | ||
33 | ** used to make the header, and the header can be found at | ||
34 | ** http://www.opengl.org/registry/ | ||
35 | ** | ||
36 | ** Khronos $Revision$ on $Date$ | ||
37 | */ | ||
38 | |||
39 | #include <GLES2/gl2platform.h> | ||
40 | |||
41 | /* Generated C header for: | ||
42 | * API: gles2 | ||
43 | * Profile: common | ||
44 | * Versions considered: 2\.[0-9] | ||
45 | * Versions emitted: .* | ||
46 | * Default extensions included: None | ||
47 | * Additional extensions included: _nomatch_^ | ||
48 | * Extensions removed: _nomatch_^ | ||
49 | */ | ||
50 | |||
51 | #ifndef GL_ES_VERSION_2_0 | ||
52 | #define GL_ES_VERSION_2_0 1 | ||
53 | #include <KHR/khrplatform.h> | ||
54 | typedef khronos_int8_t GLbyte; | ||
55 | typedef khronos_float_t GLclampf; | ||
56 | typedef khronos_int32_t GLfixed; | ||
57 | typedef short GLshort; | ||
58 | typedef unsigned short GLushort; | ||
59 | typedef void GLvoid; | ||
60 | typedef struct __GLsync *GLsync; | ||
61 | typedef khronos_int64_t GLint64; | ||
62 | typedef khronos_uint64_t GLuint64; | ||
63 | typedef unsigned int GLenum; | ||
64 | typedef unsigned int GLuint; | ||
65 | typedef char GLchar; | ||
66 | typedef khronos_float_t GLfloat; | ||
67 | typedef khronos_ssize_t GLsizeiptr; | ||
68 | typedef khronos_intptr_t GLintptr; | ||
69 | typedef unsigned int GLbitfield; | ||
70 | typedef int GLint; | ||
71 | typedef unsigned char GLboolean; | ||
72 | typedef int GLsizei; | ||
73 | typedef khronos_uint8_t GLubyte; | ||
74 | #define GL_DEPTH_BUFFER_BIT 0x00000100 | ||
75 | #define GL_STENCIL_BUFFER_BIT 0x00000400 | ||
76 | #define GL_COLOR_BUFFER_BIT 0x00004000 | ||
77 | #define GL_FALSE 0 | ||
78 | #define GL_TRUE 1 | ||
79 | #define GL_POINTS 0x0000 | ||
80 | #define GL_LINES 0x0001 | ||
81 | #define GL_LINE_LOOP 0x0002 | ||
82 | #define GL_LINE_STRIP 0x0003 | ||
83 | #define GL_TRIANGLES 0x0004 | ||
84 | #define GL_TRIANGLE_STRIP 0x0005 | ||
85 | #define GL_TRIANGLE_FAN 0x0006 | ||
86 | #define GL_ZERO 0 | ||
87 | #define GL_ONE 1 | ||
88 | #define GL_SRC_COLOR 0x0300 | ||
89 | #define GL_ONE_MINUS_SRC_COLOR 0x0301 | ||
90 | #define GL_SRC_ALPHA 0x0302 | ||
91 | #define GL_ONE_MINUS_SRC_ALPHA 0x0303 | ||
92 | #define GL_DST_ALPHA 0x0304 | ||
93 | #define GL_ONE_MINUS_DST_ALPHA 0x0305 | ||
94 | #define GL_DST_COLOR 0x0306 | ||
95 | #define GL_ONE_MINUS_DST_COLOR 0x0307 | ||
96 | #define GL_SRC_ALPHA_SATURATE 0x0308 | ||
97 | #define GL_FUNC_ADD 0x8006 | ||
98 | #define GL_BLEND_EQUATION 0x8009 | ||
99 | #define GL_BLEND_EQUATION_RGB 0x8009 | ||
100 | #define GL_BLEND_EQUATION_ALPHA 0x883D | ||
101 | #define GL_FUNC_SUBTRACT 0x800A | ||
102 | #define GL_FUNC_REVERSE_SUBTRACT 0x800B | ||
103 | #define GL_BLEND_DST_RGB 0x80C8 | ||
104 | #define GL_BLEND_SRC_RGB 0x80C9 | ||
105 | #define GL_BLEND_DST_ALPHA 0x80CA | ||
106 | #define GL_BLEND_SRC_ALPHA 0x80CB | ||
107 | #define GL_CONSTANT_COLOR 0x8001 | ||
108 | #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 | ||
109 | #define GL_CONSTANT_ALPHA 0x8003 | ||
110 | #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 | ||
111 | #define GL_BLEND_COLOR 0x8005 | ||
112 | #define GL_ARRAY_BUFFER 0x8892 | ||
113 | #define GL_ELEMENT_ARRAY_BUFFER 0x8893 | ||
114 | #define GL_ARRAY_BUFFER_BINDING 0x8894 | ||
115 | #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 | ||
116 | #define GL_STREAM_DRAW 0x88E0 | ||
117 | #define GL_STATIC_DRAW 0x88E4 | ||
118 | #define GL_DYNAMIC_DRAW 0x88E8 | ||
119 | #define GL_BUFFER_SIZE 0x8764 | ||
120 | #define GL_BUFFER_USAGE 0x8765 | ||
121 | #define GL_CURRENT_VERTEX_ATTRIB 0x8626 | ||
122 | #define GL_FRONT 0x0404 | ||
123 | #define GL_BACK 0x0405 | ||
124 | #define GL_FRONT_AND_BACK 0x0408 | ||
125 | #define GL_TEXTURE_2D 0x0DE1 | ||
126 | #define GL_CULL_FACE 0x0B44 | ||
127 | #define GL_BLEND 0x0BE2 | ||
128 | #define GL_DITHER 0x0BD0 | ||
129 | #define GL_STENCIL_TEST 0x0B90 | ||
130 | #define GL_DEPTH_TEST 0x0B71 | ||
131 | #define GL_SCISSOR_TEST 0x0C11 | ||
132 | #define GL_POLYGON_OFFSET_FILL 0x8037 | ||
133 | #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E | ||
134 | #define GL_SAMPLE_COVERAGE 0x80A0 | ||
135 | #define GL_NO_ERROR 0 | ||
136 | #define GL_INVALID_ENUM 0x0500 | ||
137 | #define GL_INVALID_VALUE 0x0501 | ||
138 | #define GL_INVALID_OPERATION 0x0502 | ||
139 | #define GL_OUT_OF_MEMORY 0x0505 | ||
140 | #define GL_CW 0x0900 | ||
141 | #define GL_CCW 0x0901 | ||
142 | #define GL_LINE_WIDTH 0x0B21 | ||
143 | #define GL_ALIASED_POINT_SIZE_RANGE 0x846D | ||
144 | #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E | ||
145 | #define GL_CULL_FACE_MODE 0x0B45 | ||
146 | #define GL_FRONT_FACE 0x0B46 | ||
147 | #define GL_DEPTH_RANGE 0x0B70 | ||
148 | #define GL_DEPTH_WRITEMASK 0x0B72 | ||
149 | #define GL_DEPTH_CLEAR_VALUE 0x0B73 | ||
150 | #define GL_DEPTH_FUNC 0x0B74 | ||
151 | #define GL_STENCIL_CLEAR_VALUE 0x0B91 | ||
152 | #define GL_STENCIL_FUNC 0x0B92 | ||
153 | #define GL_STENCIL_FAIL 0x0B94 | ||
154 | #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 | ||
155 | #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 | ||
156 | #define GL_STENCIL_REF 0x0B97 | ||
157 | #define GL_STENCIL_VALUE_MASK 0x0B93 | ||
158 | #define GL_STENCIL_WRITEMASK 0x0B98 | ||
159 | #define GL_STENCIL_BACK_FUNC 0x8800 | ||
160 | #define GL_STENCIL_BACK_FAIL 0x8801 | ||
161 | #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 | ||
162 | #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 | ||
163 | #define GL_STENCIL_BACK_REF 0x8CA3 | ||
164 | #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 | ||
165 | #define GL_STENCIL_BACK_WRITEMASK 0x8CA5 | ||
166 | #define GL_VIEWPORT 0x0BA2 | ||
167 | #define GL_SCISSOR_BOX 0x0C10 | ||
168 | #define GL_COLOR_CLEAR_VALUE 0x0C22 | ||
169 | #define GL_COLOR_WRITEMASK 0x0C23 | ||
170 | #define GL_UNPACK_ALIGNMENT 0x0CF5 | ||
171 | #define GL_PACK_ALIGNMENT 0x0D05 | ||
172 | #define GL_MAX_TEXTURE_SIZE 0x0D33 | ||
173 | #define GL_MAX_VIEWPORT_DIMS 0x0D3A | ||
174 | #define GL_SUBPIXEL_BITS 0x0D50 | ||
175 | #define GL_RED_BITS 0x0D52 | ||
176 | #define GL_GREEN_BITS 0x0D53 | ||
177 | #define GL_BLUE_BITS 0x0D54 | ||
178 | #define GL_ALPHA_BITS 0x0D55 | ||
179 | #define GL_DEPTH_BITS 0x0D56 | ||
180 | #define GL_STENCIL_BITS 0x0D57 | ||
181 | #define GL_POLYGON_OFFSET_UNITS 0x2A00 | ||
182 | #define GL_POLYGON_OFFSET_FACTOR 0x8038 | ||
183 | #define GL_TEXTURE_BINDING_2D 0x8069 | ||
184 | #define GL_SAMPLE_BUFFERS 0x80A8 | ||
185 | #define GL_SAMPLES 0x80A9 | ||
186 | #define GL_SAMPLE_COVERAGE_VALUE 0x80AA | ||
187 | #define GL_SAMPLE_COVERAGE_INVERT 0x80AB | ||
188 | #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 | ||
189 | #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 | ||
190 | #define GL_DONT_CARE 0x1100 | ||
191 | #define GL_FASTEST 0x1101 | ||
192 | #define GL_NICEST 0x1102 | ||
193 | #define GL_GENERATE_MIPMAP_HINT 0x8192 | ||
194 | #define GL_BYTE 0x1400 | ||
195 | #define GL_UNSIGNED_BYTE 0x1401 | ||
196 | #define GL_SHORT 0x1402 | ||
197 | #define GL_UNSIGNED_SHORT 0x1403 | ||
198 | #define GL_INT 0x1404 | ||
199 | #define GL_UNSIGNED_INT 0x1405 | ||
200 | #define GL_FLOAT 0x1406 | ||
201 | #define GL_FIXED 0x140C | ||
202 | #define GL_DEPTH_COMPONENT 0x1902 | ||
203 | #define GL_ALPHA 0x1906 | ||
204 | #define GL_RGB 0x1907 | ||
205 | #define GL_RGBA 0x1908 | ||
206 | #define GL_LUMINANCE 0x1909 | ||
207 | #define GL_LUMINANCE_ALPHA 0x190A | ||
208 | #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 | ||
209 | #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 | ||
210 | #define GL_UNSIGNED_SHORT_5_6_5 0x8363 | ||
211 | #define GL_FRAGMENT_SHADER 0x8B30 | ||
212 | #define GL_VERTEX_SHADER 0x8B31 | ||
213 | #define GL_MAX_VERTEX_ATTRIBS 0x8869 | ||
214 | #define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB | ||
215 | #define GL_MAX_VARYING_VECTORS 0x8DFC | ||
216 | #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D | ||
217 | #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C | ||
218 | #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 | ||
219 | #define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD | ||
220 | #define GL_SHADER_TYPE 0x8B4F | ||
221 | #define GL_DELETE_STATUS 0x8B80 | ||
222 | #define GL_LINK_STATUS 0x8B82 | ||
223 | #define GL_VALIDATE_STATUS 0x8B83 | ||
224 | #define GL_ATTACHED_SHADERS 0x8B85 | ||
225 | #define GL_ACTIVE_UNIFORMS 0x8B86 | ||
226 | #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 | ||
227 | #define GL_ACTIVE_ATTRIBUTES 0x8B89 | ||
228 | #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A | ||
229 | #define GL_SHADING_LANGUAGE_VERSION 0x8B8C | ||
230 | #define GL_CURRENT_PROGRAM 0x8B8D | ||
231 | #define GL_NEVER 0x0200 | ||
232 | #define GL_LESS 0x0201 | ||
233 | #define GL_EQUAL 0x0202 | ||
234 | #define GL_LEQUAL 0x0203 | ||
235 | #define GL_GREATER 0x0204 | ||
236 | #define GL_NOTEQUAL 0x0205 | ||
237 | #define GL_GEQUAL 0x0206 | ||
238 | #define GL_ALWAYS 0x0207 | ||
239 | #define GL_KEEP 0x1E00 | ||
240 | #define GL_REPLACE 0x1E01 | ||
241 | #define GL_INCR 0x1E02 | ||
242 | #define GL_DECR 0x1E03 | ||
243 | #define GL_INVERT 0x150A | ||
244 | #define GL_INCR_WRAP 0x8507 | ||
245 | #define GL_DECR_WRAP 0x8508 | ||
246 | #define GL_VENDOR 0x1F00 | ||
247 | #define GL_RENDERER 0x1F01 | ||
248 | #define GL_VERSION 0x1F02 | ||
249 | #define GL_EXTENSIONS 0x1F03 | ||
250 | #define GL_NEAREST 0x2600 | ||
251 | #define GL_LINEAR 0x2601 | ||
252 | #define GL_NEAREST_MIPMAP_NEAREST 0x2700 | ||
253 | #define GL_LINEAR_MIPMAP_NEAREST 0x2701 | ||
254 | #define GL_NEAREST_MIPMAP_LINEAR 0x2702 | ||
255 | #define GL_LINEAR_MIPMAP_LINEAR 0x2703 | ||
256 | #define GL_TEXTURE_MAG_FILTER 0x2800 | ||
257 | #define GL_TEXTURE_MIN_FILTER 0x2801 | ||
258 | #define GL_TEXTURE_WRAP_S 0x2802 | ||
259 | #define GL_TEXTURE_WRAP_T 0x2803 | ||
260 | #define GL_TEXTURE 0x1702 | ||
261 | #define GL_TEXTURE_CUBE_MAP 0x8513 | ||
262 | #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 | ||
263 | #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 | ||
264 | #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 | ||
265 | #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 | ||
266 | #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 | ||
267 | #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 | ||
268 | #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A | ||
269 | #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C | ||
270 | #define GL_TEXTURE0 0x84C0 | ||
271 | #define GL_TEXTURE1 0x84C1 | ||
272 | #define GL_TEXTURE2 0x84C2 | ||
273 | #define GL_TEXTURE3 0x84C3 | ||
274 | #define GL_TEXTURE4 0x84C4 | ||
275 | #define GL_TEXTURE5 0x84C5 | ||
276 | #define GL_TEXTURE6 0x84C6 | ||
277 | #define GL_TEXTURE7 0x84C7 | ||
278 | #define GL_TEXTURE8 0x84C8 | ||
279 | #define GL_TEXTURE9 0x84C9 | ||
280 | #define GL_TEXTURE10 0x84CA | ||
281 | #define GL_TEXTURE11 0x84CB | ||
282 | #define GL_TEXTURE12 0x84CC | ||
283 | #define GL_TEXTURE13 0x84CD | ||
284 | #define GL_TEXTURE14 0x84CE | ||
285 | #define GL_TEXTURE15 0x84CF | ||
286 | #define GL_TEXTURE16 0x84D0 | ||
287 | #define GL_TEXTURE17 0x84D1 | ||
288 | #define GL_TEXTURE18 0x84D2 | ||
289 | #define GL_TEXTURE19 0x84D3 | ||
290 | #define GL_TEXTURE20 0x84D4 | ||
291 | #define GL_TEXTURE21 0x84D5 | ||
292 | #define GL_TEXTURE22 0x84D6 | ||
293 | #define GL_TEXTURE23 0x84D7 | ||
294 | #define GL_TEXTURE24 0x84D8 | ||
295 | #define GL_TEXTURE25 0x84D9 | ||
296 | #define GL_TEXTURE26 0x84DA | ||
297 | #define GL_TEXTURE27 0x84DB | ||
298 | #define GL_TEXTURE28 0x84DC | ||
299 | #define GL_TEXTURE29 0x84DD | ||
300 | #define GL_TEXTURE30 0x84DE | ||
301 | #define GL_TEXTURE31 0x84DF | ||
302 | #define GL_ACTIVE_TEXTURE 0x84E0 | ||
303 | #define GL_REPEAT 0x2901 | ||
304 | #define GL_CLAMP_TO_EDGE 0x812F | ||
305 | #define GL_MIRRORED_REPEAT 0x8370 | ||
306 | #define GL_FLOAT_VEC2 0x8B50 | ||
307 | #define GL_FLOAT_VEC3 0x8B51 | ||
308 | #define GL_FLOAT_VEC4 0x8B52 | ||
309 | #define GL_INT_VEC2 0x8B53 | ||
310 | #define GL_INT_VEC3 0x8B54 | ||
311 | #define GL_INT_VEC4 0x8B55 | ||
312 | #define GL_BOOL 0x8B56 | ||
313 | #define GL_BOOL_VEC2 0x8B57 | ||
314 | #define GL_BOOL_VEC3 0x8B58 | ||
315 | #define GL_BOOL_VEC4 0x8B59 | ||
316 | #define GL_FLOAT_MAT2 0x8B5A | ||
317 | #define GL_FLOAT_MAT3 0x8B5B | ||
318 | #define GL_FLOAT_MAT4 0x8B5C | ||
319 | #define GL_SAMPLER_2D 0x8B5E | ||
320 | #define GL_SAMPLER_CUBE 0x8B60 | ||
321 | #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 | ||
322 | #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 | ||
323 | #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 | ||
324 | #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 | ||
325 | #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A | ||
326 | #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 | ||
327 | #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F | ||
328 | #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A | ||
329 | #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B | ||
330 | #define GL_COMPILE_STATUS 0x8B81 | ||
331 | #define GL_INFO_LOG_LENGTH 0x8B84 | ||
332 | #define GL_SHADER_SOURCE_LENGTH 0x8B88 | ||
333 | #define GL_SHADER_COMPILER 0x8DFA | ||
334 | #define GL_SHADER_BINARY_FORMATS 0x8DF8 | ||
335 | #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 | ||
336 | #define GL_LOW_FLOAT 0x8DF0 | ||
337 | #define GL_MEDIUM_FLOAT 0x8DF1 | ||
338 | #define GL_HIGH_FLOAT 0x8DF2 | ||
339 | #define GL_LOW_INT 0x8DF3 | ||
340 | #define GL_MEDIUM_INT 0x8DF4 | ||
341 | #define GL_HIGH_INT 0x8DF5 | ||
342 | #define GL_FRAMEBUFFER 0x8D40 | ||
343 | #define GL_RENDERBUFFER 0x8D41 | ||
344 | #define GL_RGBA4 0x8056 | ||
345 | #define GL_RGB5_A1 0x8057 | ||
346 | #define GL_RGB565 0x8D62 | ||
347 | #define GL_DEPTH_COMPONENT16 0x81A5 | ||
348 | #define GL_STENCIL_INDEX8 0x8D48 | ||
349 | #define GL_RENDERBUFFER_WIDTH 0x8D42 | ||
350 | #define GL_RENDERBUFFER_HEIGHT 0x8D43 | ||
351 | #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 | ||
352 | #define GL_RENDERBUFFER_RED_SIZE 0x8D50 | ||
353 | #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 | ||
354 | #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 | ||
355 | #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 | ||
356 | #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 | ||
357 | #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 | ||
358 | #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 | ||
359 | #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 | ||
360 | #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 | ||
361 | #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 | ||
362 | #define GL_COLOR_ATTACHMENT0 0x8CE0 | ||
363 | #define GL_DEPTH_ATTACHMENT 0x8D00 | ||
364 | #define GL_STENCIL_ATTACHMENT 0x8D20 | ||
365 | #define GL_NONE 0 | ||
366 | #define GL_FRAMEBUFFER_COMPLETE 0x8CD5 | ||
367 | #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 | ||
368 | #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 | ||
369 | #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9 | ||
370 | #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD | ||
371 | #define GL_FRAMEBUFFER_BINDING 0x8CA6 | ||
372 | #define GL_RENDERBUFFER_BINDING 0x8CA7 | ||
373 | #define GL_MAX_RENDERBUFFER_SIZE 0x84E8 | ||
374 | #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 | ||
375 | GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); | ||
376 | GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); | ||
377 | GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); | ||
378 | GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); | ||
379 | GL_APICALL void GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer); | ||
380 | GL_APICALL void GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer); | ||
381 | GL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture); | ||
382 | GL_APICALL void GL_APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); | ||
383 | GL_APICALL void GL_APIENTRY glBlendEquation (GLenum mode); | ||
384 | GL_APICALL void GL_APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha); | ||
385 | GL_APICALL void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); | ||
386 | GL_APICALL void GL_APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); | ||
387 | GL_APICALL void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage); | ||
388 | GL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); | ||
389 | GL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatus (GLenum target); | ||
390 | GL_APICALL void GL_APIENTRY glClear (GLbitfield mask); | ||
391 | GL_APICALL void GL_APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); | ||
392 | GL_APICALL void GL_APIENTRY glClearDepthf (GLfloat d); | ||
393 | GL_APICALL void GL_APIENTRY glClearStencil (GLint s); | ||
394 | GL_APICALL void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); | ||
395 | GL_APICALL void GL_APIENTRY glCompileShader (GLuint shader); | ||
396 | GL_APICALL void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); | ||
397 | GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); | ||
398 | GL_APICALL void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); | ||
399 | GL_APICALL void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); | ||
400 | GL_APICALL GLuint GL_APIENTRY glCreateProgram (void); | ||
401 | GL_APICALL GLuint GL_APIENTRY glCreateShader (GLenum type); | ||
402 | GL_APICALL void GL_APIENTRY glCullFace (GLenum mode); | ||
403 | GL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); | ||
404 | GL_APICALL void GL_APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers); | ||
405 | GL_APICALL void GL_APIENTRY glDeleteProgram (GLuint program); | ||
406 | GL_APICALL void GL_APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers); | ||
407 | GL_APICALL void GL_APIENTRY glDeleteShader (GLuint shader); | ||
408 | GL_APICALL void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures); | ||
409 | GL_APICALL void GL_APIENTRY glDepthFunc (GLenum func); | ||
410 | GL_APICALL void GL_APIENTRY glDepthMask (GLboolean flag); | ||
411 | GL_APICALL void GL_APIENTRY glDepthRangef (GLfloat n, GLfloat f); | ||
412 | GL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader); | ||
413 | GL_APICALL void GL_APIENTRY glDisable (GLenum cap); | ||
414 | GL_APICALL void GL_APIENTRY glDisableVertexAttribArray (GLuint index); | ||
415 | GL_APICALL void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); | ||
416 | GL_APICALL void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices); | ||
417 | GL_APICALL void GL_APIENTRY glEnable (GLenum cap); | ||
418 | GL_APICALL void GL_APIENTRY glEnableVertexAttribArray (GLuint index); | ||
419 | GL_APICALL void GL_APIENTRY glFinish (void); | ||
420 | GL_APICALL void GL_APIENTRY glFlush (void); | ||
421 | GL_APICALL void GL_APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); | ||
422 | GL_APICALL void GL_APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); | ||
423 | GL_APICALL void GL_APIENTRY glFrontFace (GLenum mode); | ||
424 | GL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers); | ||
425 | GL_APICALL void GL_APIENTRY glGenerateMipmap (GLenum target); | ||
426 | GL_APICALL void GL_APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers); | ||
427 | GL_APICALL void GL_APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers); | ||
428 | GL_APICALL void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures); | ||
429 | GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); | ||
430 | GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); | ||
431 | GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); | ||
432 | GL_APICALL GLint GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar *name); | ||
433 | GL_APICALL void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *params); | ||
434 | GL_APICALL void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params); | ||
435 | GL_APICALL GLenum GL_APIENTRY glGetError (void); | ||
436 | GL_APICALL void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *params); | ||
437 | GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params); | ||
438 | GL_APICALL void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *params); | ||
439 | GL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params); | ||
440 | GL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); | ||
441 | GL_APICALL void GL_APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params); | ||
442 | GL_APICALL void GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params); | ||
443 | GL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); | ||
444 | GL_APICALL void GL_APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); | ||
445 | GL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); | ||
446 | GL_APICALL const GLubyte *GL_APIENTRY glGetString (GLenum name); | ||
447 | GL_APICALL void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params); | ||
448 | GL_APICALL void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params); | ||
449 | GL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params); | ||
450 | GL_APICALL void GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params); | ||
451 | GL_APICALL GLint GL_APIENTRY glGetUniformLocation (GLuint program, const GLchar *name); | ||
452 | GL_APICALL void GL_APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params); | ||
453 | GL_APICALL void GL_APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params); | ||
454 | GL_APICALL void GL_APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer); | ||
455 | GL_APICALL void GL_APIENTRY glHint (GLenum target, GLenum mode); | ||
456 | GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); | ||
457 | GL_APICALL GLboolean GL_APIENTRY glIsEnabled (GLenum cap); | ||
458 | GL_APICALL GLboolean GL_APIENTRY glIsFramebuffer (GLuint framebuffer); | ||
459 | GL_APICALL GLboolean GL_APIENTRY glIsProgram (GLuint program); | ||
460 | GL_APICALL GLboolean GL_APIENTRY glIsRenderbuffer (GLuint renderbuffer); | ||
461 | GL_APICALL GLboolean GL_APIENTRY glIsShader (GLuint shader); | ||
462 | GL_APICALL GLboolean GL_APIENTRY glIsTexture (GLuint texture); | ||
463 | GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width); | ||
464 | GL_APICALL void GL_APIENTRY glLinkProgram (GLuint program); | ||
465 | GL_APICALL void GL_APIENTRY glPixelStorei (GLenum pname, GLint param); | ||
466 | GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); | ||
467 | GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); | ||
468 | GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void); | ||
469 | GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); | ||
470 | GL_APICALL void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); | ||
471 | GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); | ||
472 | GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); | ||
473 | GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); | ||
474 | GL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); | ||
475 | GL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); | ||
476 | GL_APICALL void GL_APIENTRY glStencilMask (GLuint mask); | ||
477 | GL_APICALL void GL_APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask); | ||
478 | GL_APICALL void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); | ||
479 | GL_APICALL void GL_APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); | ||
480 | GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); | ||
481 | GL_APICALL void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); | ||
482 | GL_APICALL void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params); | ||
483 | GL_APICALL void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); | ||
484 | GL_APICALL void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params); | ||
485 | GL_APICALL void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); | ||
486 | GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat v0); | ||
487 | GL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value); | ||
488 | GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint v0); | ||
489 | GL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value); | ||
490 | GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1); | ||
491 | GL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value); | ||
492 | GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint v0, GLint v1); | ||
493 | GL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value); | ||
494 | GL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); | ||
495 | GL_APICALL void GL_APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value); | ||
496 | GL_APICALL void GL_APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2); | ||
497 | GL_APICALL void GL_APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value); | ||
498 | GL_APICALL void GL_APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); | ||
499 | GL_APICALL void GL_APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value); | ||
500 | GL_APICALL void GL_APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); | ||
501 | GL_APICALL void GL_APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value); | ||
502 | GL_APICALL void GL_APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
503 | GL_APICALL void GL_APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
504 | GL_APICALL void GL_APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
505 | GL_APICALL void GL_APIENTRY glUseProgram (GLuint program); | ||
506 | GL_APICALL void GL_APIENTRY glValidateProgram (GLuint program); | ||
507 | GL_APICALL void GL_APIENTRY glVertexAttrib1f (GLuint index, GLfloat x); | ||
508 | GL_APICALL void GL_APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v); | ||
509 | GL_APICALL void GL_APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y); | ||
510 | GL_APICALL void GL_APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v); | ||
511 | GL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z); | ||
512 | GL_APICALL void GL_APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v); | ||
513 | GL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | ||
514 | GL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v); | ||
515 | GL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); | ||
516 | GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); | ||
517 | #endif /* GL_ES_VERSION_2_0 */ | ||
518 | |||
519 | #ifdef __cplusplus | ||
520 | } | ||
521 | #endif | ||
522 | |||
523 | #endif | ||
diff --git a/recipes/opengldummy/files/headers/GLES2/gl2ext.h b/recipes/opengldummy/files/headers/GLES2/gl2ext.h deleted file mode 100644 index 36801be..0000000 --- a/recipes/opengldummy/files/headers/GLES2/gl2ext.h +++ /dev/null | |||
@@ -1,1558 +0,0 @@ | |||
1 | #ifndef __gl2ext_h_ | ||
2 | #define __gl2ext_h_ 1 | ||
3 | |||
4 | #ifdef __cplusplus | ||
5 | extern "C" { | ||
6 | #endif | ||
7 | |||
8 | /* | ||
9 | ** Copyright (c) 2013 The Khronos Group Inc. | ||
10 | ** | ||
11 | ** Permission is hereby granted, free of charge, to any person obtaining a | ||
12 | ** copy of this software and/or associated documentation files (the | ||
13 | ** "Materials"), to deal in the Materials without restriction, including | ||
14 | ** without limitation the rights to use, copy, modify, merge, publish, | ||
15 | ** distribute, sublicense, and/or sell copies of the Materials, and to | ||
16 | ** permit persons to whom the Materials are furnished to do so, subject to | ||
17 | ** the following conditions: | ||
18 | ** | ||
19 | ** The above copyright notice and this permission notice shall be included | ||
20 | ** in all copies or substantial portions of the Materials. | ||
21 | ** | ||
22 | ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
23 | ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
24 | ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
25 | ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
26 | ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
27 | ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
28 | ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. | ||
29 | */ | ||
30 | /* | ||
31 | ** This header is generated from the Khronos OpenGL / OpenGL ES XML | ||
32 | ** API Registry. The current version of the Registry, generator scripts | ||
33 | ** used to make the header, and the header can be found at | ||
34 | ** http://www.opengl.org/registry/ | ||
35 | ** | ||
36 | ** Khronos $Revision: 23581 $ on $Date: 2013-10-18 03:28:51 -0700 (Fri, 18 Oct 2013) $ | ||
37 | */ | ||
38 | |||
39 | #ifndef GL_APIENTRYP | ||
40 | #define GL_APIENTRYP GL_APIENTRY* | ||
41 | #endif | ||
42 | |||
43 | /* Generated C header for: | ||
44 | * API: gles2 | ||
45 | * Profile: common | ||
46 | * Versions considered: 2\.[0-9] | ||
47 | * Versions emitted: _nomatch_^ | ||
48 | * Default extensions included: gles2 | ||
49 | * Additional extensions included: _nomatch_^ | ||
50 | * Extensions removed: _nomatch_^ | ||
51 | */ | ||
52 | |||
53 | #ifndef GL_KHR_debug | ||
54 | #define GL_KHR_debug 1 | ||
55 | typedef void (GL_APIENTRY *GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); | ||
56 | #define GL_SAMPLER 0x82E6 | ||
57 | #define GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR 0x8242 | ||
58 | #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR 0x8243 | ||
59 | #define GL_DEBUG_CALLBACK_FUNCTION_KHR 0x8244 | ||
60 | #define GL_DEBUG_CALLBACK_USER_PARAM_KHR 0x8245 | ||
61 | #define GL_DEBUG_SOURCE_API_KHR 0x8246 | ||
62 | #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR 0x8247 | ||
63 | #define GL_DEBUG_SOURCE_SHADER_COMPILER_KHR 0x8248 | ||
64 | #define GL_DEBUG_SOURCE_THIRD_PARTY_KHR 0x8249 | ||
65 | #define GL_DEBUG_SOURCE_APPLICATION_KHR 0x824A | ||
66 | #define GL_DEBUG_SOURCE_OTHER_KHR 0x824B | ||
67 | #define GL_DEBUG_TYPE_ERROR_KHR 0x824C | ||
68 | #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR 0x824D | ||
69 | #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR 0x824E | ||
70 | #define GL_DEBUG_TYPE_PORTABILITY_KHR 0x824F | ||
71 | #define GL_DEBUG_TYPE_PERFORMANCE_KHR 0x8250 | ||
72 | #define GL_DEBUG_TYPE_OTHER_KHR 0x8251 | ||
73 | #define GL_DEBUG_TYPE_MARKER_KHR 0x8268 | ||
74 | #define GL_DEBUG_TYPE_PUSH_GROUP_KHR 0x8269 | ||
75 | #define GL_DEBUG_TYPE_POP_GROUP_KHR 0x826A | ||
76 | #define GL_DEBUG_SEVERITY_NOTIFICATION_KHR 0x826B | ||
77 | #define GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR 0x826C | ||
78 | #define GL_DEBUG_GROUP_STACK_DEPTH_KHR 0x826D | ||
79 | #define GL_BUFFER_KHR 0x82E0 | ||
80 | #define GL_SHADER_KHR 0x82E1 | ||
81 | #define GL_PROGRAM_KHR 0x82E2 | ||
82 | #define GL_VERTEX_ARRAY_KHR 0x8074 | ||
83 | #define GL_QUERY_KHR 0x82E3 | ||
84 | #define GL_SAMPLER_KHR 0x82E6 | ||
85 | #define GL_MAX_LABEL_LENGTH_KHR 0x82E8 | ||
86 | #define GL_MAX_DEBUG_MESSAGE_LENGTH_KHR 0x9143 | ||
87 | #define GL_MAX_DEBUG_LOGGED_MESSAGES_KHR 0x9144 | ||
88 | #define GL_DEBUG_LOGGED_MESSAGES_KHR 0x9145 | ||
89 | #define GL_DEBUG_SEVERITY_HIGH_KHR 0x9146 | ||
90 | #define GL_DEBUG_SEVERITY_MEDIUM_KHR 0x9147 | ||
91 | #define GL_DEBUG_SEVERITY_LOW_KHR 0x9148 | ||
92 | #define GL_DEBUG_OUTPUT_KHR 0x92E0 | ||
93 | #define GL_CONTEXT_FLAG_DEBUG_BIT_KHR 0x00000002 | ||
94 | #define GL_STACK_OVERFLOW_KHR 0x0503 | ||
95 | #define GL_STACK_UNDERFLOW_KHR 0x0504 | ||
96 | typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLKHRPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); | ||
97 | typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGEINSERTKHRPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); | ||
98 | typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKKHRPROC) (GLDEBUGPROCKHR callback, const void *userParam); | ||
99 | typedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); | ||
100 | typedef void (GL_APIENTRYP PFNGLPUSHDEBUGGROUPKHRPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message); | ||
101 | typedef void (GL_APIENTRYP PFNGLPOPDEBUGGROUPKHRPROC) (void); | ||
102 | typedef void (GL_APIENTRYP PFNGLOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); | ||
103 | typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); | ||
104 | typedef void (GL_APIENTRYP PFNGLOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei length, const GLchar *label); | ||
105 | typedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); | ||
106 | typedef void (GL_APIENTRYP PFNGLGETPOINTERVKHRPROC) (GLenum pname, void **params); | ||
107 | #ifdef GL_GLEXT_PROTOTYPES | ||
108 | GL_APICALL void GL_APIENTRY glDebugMessageControlKHR (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); | ||
109 | GL_APICALL void GL_APIENTRY glDebugMessageInsertKHR (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); | ||
110 | GL_APICALL void GL_APIENTRY glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback, const void *userParam); | ||
111 | GL_APICALL GLuint GL_APIENTRY glGetDebugMessageLogKHR (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); | ||
112 | GL_APICALL void GL_APIENTRY glPushDebugGroupKHR (GLenum source, GLuint id, GLsizei length, const GLchar *message); | ||
113 | GL_APICALL void GL_APIENTRY glPopDebugGroupKHR (void); | ||
114 | GL_APICALL void GL_APIENTRY glObjectLabelKHR (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); | ||
115 | GL_APICALL void GL_APIENTRY glGetObjectLabelKHR (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); | ||
116 | GL_APICALL void GL_APIENTRY glObjectPtrLabelKHR (const void *ptr, GLsizei length, const GLchar *label); | ||
117 | GL_APICALL void GL_APIENTRY glGetObjectPtrLabelKHR (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); | ||
118 | GL_APICALL void GL_APIENTRY glGetPointervKHR (GLenum pname, void **params); | ||
119 | #endif | ||
120 | #endif /* GL_KHR_debug */ | ||
121 | |||
122 | #ifndef GL_KHR_texture_compression_astc_hdr | ||
123 | #define GL_KHR_texture_compression_astc_hdr 1 | ||
124 | #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0 | ||
125 | #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1 | ||
126 | #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2 | ||
127 | #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3 | ||
128 | #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4 | ||
129 | #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5 | ||
130 | #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6 | ||
131 | #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7 | ||
132 | #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8 | ||
133 | #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9 | ||
134 | #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA | ||
135 | #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB | ||
136 | #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC | ||
137 | #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD | ||
138 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0 | ||
139 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1 | ||
140 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2 | ||
141 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3 | ||
142 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4 | ||
143 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5 | ||
144 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6 | ||
145 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7 | ||
146 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8 | ||
147 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9 | ||
148 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA | ||
149 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB | ||
150 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC | ||
151 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD | ||
152 | #endif /* GL_KHR_texture_compression_astc_hdr */ | ||
153 | |||
154 | #ifndef GL_KHR_texture_compression_astc_ldr | ||
155 | #define GL_KHR_texture_compression_astc_ldr 1 | ||
156 | #endif /* GL_KHR_texture_compression_astc_ldr */ | ||
157 | |||
158 | #ifndef GL_OES_EGL_image | ||
159 | #define GL_OES_EGL_image 1 | ||
160 | typedef void *GLeglImageOES; | ||
161 | typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image); | ||
162 | typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image); | ||
163 | #ifdef GL_GLEXT_PROTOTYPES | ||
164 | GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image); | ||
165 | GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image); | ||
166 | #endif | ||
167 | #endif /* GL_OES_EGL_image */ | ||
168 | |||
169 | #ifndef GL_OES_EGL_image_external | ||
170 | #define GL_OES_EGL_image_external 1 | ||
171 | #define GL_TEXTURE_EXTERNAL_OES 0x8D65 | ||
172 | #define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 | ||
173 | #define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 | ||
174 | #define GL_SAMPLER_EXTERNAL_OES 0x8D66 | ||
175 | #endif /* GL_OES_EGL_image_external */ | ||
176 | |||
177 | #ifndef GL_OES_compressed_ETC1_RGB8_texture | ||
178 | #define GL_OES_compressed_ETC1_RGB8_texture 1 | ||
179 | #define GL_ETC1_RGB8_OES 0x8D64 | ||
180 | #endif /* GL_OES_compressed_ETC1_RGB8_texture */ | ||
181 | |||
182 | #ifndef GL_OES_compressed_paletted_texture | ||
183 | #define GL_OES_compressed_paletted_texture 1 | ||
184 | #define GL_PALETTE4_RGB8_OES 0x8B90 | ||
185 | #define GL_PALETTE4_RGBA8_OES 0x8B91 | ||
186 | #define GL_PALETTE4_R5_G6_B5_OES 0x8B92 | ||
187 | #define GL_PALETTE4_RGBA4_OES 0x8B93 | ||
188 | #define GL_PALETTE4_RGB5_A1_OES 0x8B94 | ||
189 | #define GL_PALETTE8_RGB8_OES 0x8B95 | ||
190 | #define GL_PALETTE8_RGBA8_OES 0x8B96 | ||
191 | #define GL_PALETTE8_R5_G6_B5_OES 0x8B97 | ||
192 | #define GL_PALETTE8_RGBA4_OES 0x8B98 | ||
193 | #define GL_PALETTE8_RGB5_A1_OES 0x8B99 | ||
194 | #endif /* GL_OES_compressed_paletted_texture */ | ||
195 | |||
196 | #ifndef GL_OES_depth24 | ||
197 | #define GL_OES_depth24 1 | ||
198 | #define GL_DEPTH_COMPONENT24_OES 0x81A6 | ||
199 | #endif /* GL_OES_depth24 */ | ||
200 | |||
201 | #ifndef GL_OES_depth32 | ||
202 | #define GL_OES_depth32 1 | ||
203 | #define GL_DEPTH_COMPONENT32_OES 0x81A7 | ||
204 | #endif /* GL_OES_depth32 */ | ||
205 | |||
206 | #ifndef GL_OES_depth_texture | ||
207 | #define GL_OES_depth_texture 1 | ||
208 | #endif /* GL_OES_depth_texture */ | ||
209 | |||
210 | #ifndef GL_OES_element_index_uint | ||
211 | #define GL_OES_element_index_uint 1 | ||
212 | #endif /* GL_OES_element_index_uint */ | ||
213 | |||
214 | #ifndef GL_OES_fbo_render_mipmap | ||
215 | #define GL_OES_fbo_render_mipmap 1 | ||
216 | #endif /* GL_OES_fbo_render_mipmap */ | ||
217 | |||
218 | #ifndef GL_OES_fragment_precision_high | ||
219 | #define GL_OES_fragment_precision_high 1 | ||
220 | #endif /* GL_OES_fragment_precision_high */ | ||
221 | |||
222 | #ifndef GL_OES_get_program_binary | ||
223 | #define GL_OES_get_program_binary 1 | ||
224 | #define GL_PROGRAM_BINARY_LENGTH_OES 0x8741 | ||
225 | #define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE | ||
226 | #define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF | ||
227 | typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); | ||
228 | typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLint length); | ||
229 | #ifdef GL_GLEXT_PROTOTYPES | ||
230 | GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); | ||
231 | GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const void *binary, GLint length); | ||
232 | #endif | ||
233 | #endif /* GL_OES_get_program_binary */ | ||
234 | |||
235 | #ifndef GL_OES_mapbuffer | ||
236 | #define GL_OES_mapbuffer 1 | ||
237 | #define GL_WRITE_ONLY_OES 0x88B9 | ||
238 | #define GL_BUFFER_ACCESS_OES 0x88BB | ||
239 | #define GL_BUFFER_MAPPED_OES 0x88BC | ||
240 | #define GL_BUFFER_MAP_POINTER_OES 0x88BD | ||
241 | typedef void *(GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access); | ||
242 | typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target); | ||
243 | typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, void **params); | ||
244 | #ifdef GL_GLEXT_PROTOTYPES | ||
245 | GL_APICALL void *GL_APIENTRY glMapBufferOES (GLenum target, GLenum access); | ||
246 | GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target); | ||
247 | GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, void **params); | ||
248 | #endif | ||
249 | #endif /* GL_OES_mapbuffer */ | ||
250 | |||
251 | #ifndef GL_OES_packed_depth_stencil | ||
252 | #define GL_OES_packed_depth_stencil 1 | ||
253 | #define GL_DEPTH_STENCIL_OES 0x84F9 | ||
254 | #define GL_UNSIGNED_INT_24_8_OES 0x84FA | ||
255 | #define GL_DEPTH24_STENCIL8_OES 0x88F0 | ||
256 | #endif /* GL_OES_packed_depth_stencil */ | ||
257 | |||
258 | #ifndef GL_OES_required_internalformat | ||
259 | #define GL_OES_required_internalformat 1 | ||
260 | #define GL_ALPHA8_OES 0x803C | ||
261 | #define GL_DEPTH_COMPONENT16_OES 0x81A5 | ||
262 | #define GL_LUMINANCE4_ALPHA4_OES 0x8043 | ||
263 | #define GL_LUMINANCE8_ALPHA8_OES 0x8045 | ||
264 | #define GL_LUMINANCE8_OES 0x8040 | ||
265 | #define GL_RGBA4_OES 0x8056 | ||
266 | #define GL_RGB5_A1_OES 0x8057 | ||
267 | #define GL_RGB565_OES 0x8D62 | ||
268 | #define GL_RGB8_OES 0x8051 | ||
269 | #define GL_RGBA8_OES 0x8058 | ||
270 | #define GL_RGB10_EXT 0x8052 | ||
271 | #define GL_RGB10_A2_EXT 0x8059 | ||
272 | #endif /* GL_OES_required_internalformat */ | ||
273 | |||
274 | #ifndef GL_OES_rgb8_rgba8 | ||
275 | #define GL_OES_rgb8_rgba8 1 | ||
276 | #endif /* GL_OES_rgb8_rgba8 */ | ||
277 | |||
278 | #ifndef GL_OES_standard_derivatives | ||
279 | #define GL_OES_standard_derivatives 1 | ||
280 | #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B | ||
281 | #endif /* GL_OES_standard_derivatives */ | ||
282 | |||
283 | #ifndef GL_OES_stencil1 | ||
284 | #define GL_OES_stencil1 1 | ||
285 | #define GL_STENCIL_INDEX1_OES 0x8D46 | ||
286 | #endif /* GL_OES_stencil1 */ | ||
287 | |||
288 | #ifndef GL_OES_stencil4 | ||
289 | #define GL_OES_stencil4 1 | ||
290 | #define GL_STENCIL_INDEX4_OES 0x8D47 | ||
291 | #endif /* GL_OES_stencil4 */ | ||
292 | |||
293 | #ifndef GL_OES_surfaceless_context | ||
294 | #define GL_OES_surfaceless_context 1 | ||
295 | #define GL_FRAMEBUFFER_UNDEFINED_OES 0x8219 | ||
296 | #endif /* GL_OES_surfaceless_context */ | ||
297 | |||
298 | #ifndef GL_OES_texture_3D | ||
299 | #define GL_OES_texture_3D 1 | ||
300 | #define GL_TEXTURE_WRAP_R_OES 0x8072 | ||
301 | #define GL_TEXTURE_3D_OES 0x806F | ||
302 | #define GL_TEXTURE_BINDING_3D_OES 0x806A | ||
303 | #define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073 | ||
304 | #define GL_SAMPLER_3D_OES 0x8B5F | ||
305 | #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4 | ||
306 | typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); | ||
307 | typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); | ||
308 | typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); | ||
309 | typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); | ||
310 | typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); | ||
311 | typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); | ||
312 | #ifdef GL_GLEXT_PROTOTYPES | ||
313 | GL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); | ||
314 | GL_APICALL void GL_APIENTRY glTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); | ||
315 | GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); | ||
316 | GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); | ||
317 | GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); | ||
318 | GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); | ||
319 | #endif | ||
320 | #endif /* GL_OES_texture_3D */ | ||
321 | |||
322 | #ifndef GL_OES_texture_compression_astc | ||
323 | #define GL_OES_texture_compression_astc 1 | ||
324 | #endif /* GL_OES_texture_compression_astc */ | ||
325 | |||
326 | #ifndef GL_OES_texture_float | ||
327 | #define GL_OES_texture_float 1 | ||
328 | #endif /* GL_OES_texture_float */ | ||
329 | |||
330 | #ifndef GL_OES_texture_float_linear | ||
331 | #define GL_OES_texture_float_linear 1 | ||
332 | #endif /* GL_OES_texture_float_linear */ | ||
333 | |||
334 | #ifndef GL_OES_texture_half_float | ||
335 | #define GL_OES_texture_half_float 1 | ||
336 | #define GL_HALF_FLOAT_OES 0x8D61 | ||
337 | #endif /* GL_OES_texture_half_float */ | ||
338 | |||
339 | #ifndef GL_OES_texture_half_float_linear | ||
340 | #define GL_OES_texture_half_float_linear 1 | ||
341 | #endif /* GL_OES_texture_half_float_linear */ | ||
342 | |||
343 | #ifndef GL_OES_texture_npot | ||
344 | #define GL_OES_texture_npot 1 | ||
345 | #endif /* GL_OES_texture_npot */ | ||
346 | |||
347 | #ifndef GL_OES_vertex_array_object | ||
348 | #define GL_OES_vertex_array_object 1 | ||
349 | #define GL_VERTEX_ARRAY_BINDING_OES 0x85B5 | ||
350 | typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array); | ||
351 | typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays); | ||
352 | typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays); | ||
353 | typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); | ||
354 | #ifdef GL_GLEXT_PROTOTYPES | ||
355 | GL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array); | ||
356 | GL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays); | ||
357 | GL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays); | ||
358 | GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array); | ||
359 | #endif | ||
360 | #endif /* GL_OES_vertex_array_object */ | ||
361 | |||
362 | #ifndef GL_OES_vertex_half_float | ||
363 | #define GL_OES_vertex_half_float 1 | ||
364 | #endif /* GL_OES_vertex_half_float */ | ||
365 | |||
366 | #ifndef GL_OES_vertex_type_10_10_10_2 | ||
367 | #define GL_OES_vertex_type_10_10_10_2 1 | ||
368 | #define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6 | ||
369 | #define GL_INT_10_10_10_2_OES 0x8DF7 | ||
370 | #endif /* GL_OES_vertex_type_10_10_10_2 */ | ||
371 | |||
372 | #ifndef GL_AMD_compressed_3DC_texture | ||
373 | #define GL_AMD_compressed_3DC_texture 1 | ||
374 | #define GL_3DC_X_AMD 0x87F9 | ||
375 | #define GL_3DC_XY_AMD 0x87FA | ||
376 | #endif /* GL_AMD_compressed_3DC_texture */ | ||
377 | |||
378 | #ifndef GL_AMD_compressed_ATC_texture | ||
379 | #define GL_AMD_compressed_ATC_texture 1 | ||
380 | #define GL_ATC_RGB_AMD 0x8C92 | ||
381 | #define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93 | ||
382 | #define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE | ||
383 | #endif /* GL_AMD_compressed_ATC_texture */ | ||
384 | |||
385 | #ifndef GL_AMD_performance_monitor | ||
386 | #define GL_AMD_performance_monitor 1 | ||
387 | #define GL_COUNTER_TYPE_AMD 0x8BC0 | ||
388 | #define GL_COUNTER_RANGE_AMD 0x8BC1 | ||
389 | #define GL_UNSIGNED_INT64_AMD 0x8BC2 | ||
390 | #define GL_PERCENTAGE_AMD 0x8BC3 | ||
391 | #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4 | ||
392 | #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 | ||
393 | #define GL_PERFMON_RESULT_AMD 0x8BC6 | ||
394 | typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups); | ||
395 | typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); | ||
396 | typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); | ||
397 | typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); | ||
398 | typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data); | ||
399 | typedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); | ||
400 | typedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); | ||
401 | typedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); | ||
402 | typedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor); | ||
403 | typedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor); | ||
404 | typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); | ||
405 | #ifdef GL_GLEXT_PROTOTYPES | ||
406 | GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups); | ||
407 | GL_APICALL void GL_APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); | ||
408 | GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); | ||
409 | GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); | ||
410 | GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data); | ||
411 | GL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors); | ||
412 | GL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors); | ||
413 | GL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); | ||
414 | GL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor); | ||
415 | GL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor); | ||
416 | GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); | ||
417 | #endif | ||
418 | #endif /* GL_AMD_performance_monitor */ | ||
419 | |||
420 | #ifndef GL_AMD_program_binary_Z400 | ||
421 | #define GL_AMD_program_binary_Z400 1 | ||
422 | #define GL_Z400_BINARY_AMD 0x8740 | ||
423 | #endif /* GL_AMD_program_binary_Z400 */ | ||
424 | |||
425 | #ifndef GL_ANGLE_depth_texture | ||
426 | #define GL_ANGLE_depth_texture 1 | ||
427 | #endif /* GL_ANGLE_depth_texture */ | ||
428 | |||
429 | #ifndef GL_ANGLE_framebuffer_blit | ||
430 | #define GL_ANGLE_framebuffer_blit 1 | ||
431 | #define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8 | ||
432 | #define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9 | ||
433 | #define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6 | ||
434 | #define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA | ||
435 | typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERANGLEPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); | ||
436 | #ifdef GL_GLEXT_PROTOTYPES | ||
437 | GL_APICALL void GL_APIENTRY glBlitFramebufferANGLE (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); | ||
438 | #endif | ||
439 | #endif /* GL_ANGLE_framebuffer_blit */ | ||
440 | |||
441 | #ifndef GL_ANGLE_framebuffer_multisample | ||
442 | #define GL_ANGLE_framebuffer_multisample 1 | ||
443 | #define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB | ||
444 | #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56 | ||
445 | #define GL_MAX_SAMPLES_ANGLE 0x8D57 | ||
446 | typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
447 | #ifdef GL_GLEXT_PROTOTYPES | ||
448 | GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
449 | #endif | ||
450 | #endif /* GL_ANGLE_framebuffer_multisample */ | ||
451 | |||
452 | #ifndef GL_ANGLE_instanced_arrays | ||
453 | #define GL_ANGLE_instanced_arrays 1 | ||
454 | #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE | ||
455 | typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); | ||
456 | typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); | ||
457 | typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index, GLuint divisor); | ||
458 | #ifdef GL_GLEXT_PROTOTYPES | ||
459 | GL_APICALL void GL_APIENTRY glDrawArraysInstancedANGLE (GLenum mode, GLint first, GLsizei count, GLsizei primcount); | ||
460 | GL_APICALL void GL_APIENTRY glDrawElementsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); | ||
461 | GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GLuint divisor); | ||
462 | #endif | ||
463 | #endif /* GL_ANGLE_instanced_arrays */ | ||
464 | |||
465 | #ifndef GL_ANGLE_pack_reverse_row_order | ||
466 | #define GL_ANGLE_pack_reverse_row_order 1 | ||
467 | #define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4 | ||
468 | #endif /* GL_ANGLE_pack_reverse_row_order */ | ||
469 | |||
470 | #ifndef GL_ANGLE_program_binary | ||
471 | #define GL_ANGLE_program_binary 1 | ||
472 | #define GL_PROGRAM_BINARY_ANGLE 0x93A6 | ||
473 | #endif /* GL_ANGLE_program_binary */ | ||
474 | |||
475 | #ifndef GL_ANGLE_texture_compression_dxt3 | ||
476 | #define GL_ANGLE_texture_compression_dxt3 1 | ||
477 | #define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2 | ||
478 | #endif /* GL_ANGLE_texture_compression_dxt3 */ | ||
479 | |||
480 | #ifndef GL_ANGLE_texture_compression_dxt5 | ||
481 | #define GL_ANGLE_texture_compression_dxt5 1 | ||
482 | #define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3 | ||
483 | #endif /* GL_ANGLE_texture_compression_dxt5 */ | ||
484 | |||
485 | #ifndef GL_ANGLE_texture_usage | ||
486 | #define GL_ANGLE_texture_usage 1 | ||
487 | #define GL_TEXTURE_USAGE_ANGLE 0x93A2 | ||
488 | #define GL_FRAMEBUFFER_ATTACHMENT_ANGLE 0x93A3 | ||
489 | #endif /* GL_ANGLE_texture_usage */ | ||
490 | |||
491 | #ifndef GL_ANGLE_translated_shader_source | ||
492 | #define GL_ANGLE_translated_shader_source 1 | ||
493 | #define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0 | ||
494 | typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); | ||
495 | #ifdef GL_GLEXT_PROTOTYPES | ||
496 | GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); | ||
497 | #endif | ||
498 | #endif /* GL_ANGLE_translated_shader_source */ | ||
499 | |||
500 | #ifndef GL_APPLE_copy_texture_levels | ||
501 | #define GL_APPLE_copy_texture_levels 1 | ||
502 | typedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); | ||
503 | #ifdef GL_GLEXT_PROTOTYPES | ||
504 | GL_APICALL void GL_APIENTRY glCopyTextureLevelsAPPLE (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); | ||
505 | #endif | ||
506 | #endif /* GL_APPLE_copy_texture_levels */ | ||
507 | |||
508 | #ifndef GL_APPLE_framebuffer_multisample | ||
509 | #define GL_APPLE_framebuffer_multisample 1 | ||
510 | #define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB | ||
511 | #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56 | ||
512 | #define GL_MAX_SAMPLES_APPLE 0x8D57 | ||
513 | #define GL_READ_FRAMEBUFFER_APPLE 0x8CA8 | ||
514 | #define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9 | ||
515 | #define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6 | ||
516 | #define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA | ||
517 | typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
518 | typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void); | ||
519 | #ifdef GL_GLEXT_PROTOTYPES | ||
520 | GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
521 | GL_APICALL void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void); | ||
522 | #endif | ||
523 | #endif /* GL_APPLE_framebuffer_multisample */ | ||
524 | |||
525 | #ifndef GL_APPLE_rgb_422 | ||
526 | #define GL_APPLE_rgb_422 1 | ||
527 | #define GL_RGB_422_APPLE 0x8A1F | ||
528 | #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA | ||
529 | #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB | ||
530 | #define GL_RGB_RAW_422_APPLE 0x8A51 | ||
531 | #endif /* GL_APPLE_rgb_422 */ | ||
532 | |||
533 | #ifndef GL_APPLE_sync | ||
534 | #define GL_APPLE_sync 1 | ||
535 | #define GL_SYNC_OBJECT_APPLE 0x8A53 | ||
536 | #define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111 | ||
537 | #define GL_OBJECT_TYPE_APPLE 0x9112 | ||
538 | #define GL_SYNC_CONDITION_APPLE 0x9113 | ||
539 | #define GL_SYNC_STATUS_APPLE 0x9114 | ||
540 | #define GL_SYNC_FLAGS_APPLE 0x9115 | ||
541 | #define GL_SYNC_FENCE_APPLE 0x9116 | ||
542 | #define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117 | ||
543 | #define GL_UNSIGNALED_APPLE 0x9118 | ||
544 | #define GL_SIGNALED_APPLE 0x9119 | ||
545 | #define GL_ALREADY_SIGNALED_APPLE 0x911A | ||
546 | #define GL_TIMEOUT_EXPIRED_APPLE 0x911B | ||
547 | #define GL_CONDITION_SATISFIED_APPLE 0x911C | ||
548 | #define GL_WAIT_FAILED_APPLE 0x911D | ||
549 | #define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001 | ||
550 | #define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFFFFull | ||
551 | typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCAPPLEPROC) (GLenum condition, GLbitfield flags); | ||
552 | typedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync); | ||
553 | typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync); | ||
554 | typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); | ||
555 | typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); | ||
556 | typedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64 *params); | ||
557 | typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); | ||
558 | #ifdef GL_GLEXT_PROTOTYPES | ||
559 | GL_APICALL GLsync GL_APIENTRY glFenceSyncAPPLE (GLenum condition, GLbitfield flags); | ||
560 | GL_APICALL GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync); | ||
561 | GL_APICALL void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync); | ||
562 | GL_APICALL GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); | ||
563 | GL_APICALL void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); | ||
564 | GL_APICALL void GL_APIENTRY glGetInteger64vAPPLE (GLenum pname, GLint64 *params); | ||
565 | GL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); | ||
566 | #endif | ||
567 | #endif /* GL_APPLE_sync */ | ||
568 | |||
569 | #ifndef GL_APPLE_texture_format_BGRA8888 | ||
570 | #define GL_APPLE_texture_format_BGRA8888 1 | ||
571 | #define GL_BGRA_EXT 0x80E1 | ||
572 | #define GL_BGRA8_EXT 0x93A1 | ||
573 | #endif /* GL_APPLE_texture_format_BGRA8888 */ | ||
574 | |||
575 | #ifndef GL_APPLE_texture_max_level | ||
576 | #define GL_APPLE_texture_max_level 1 | ||
577 | #define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D | ||
578 | #endif /* GL_APPLE_texture_max_level */ | ||
579 | |||
580 | #ifndef GL_ARM_mali_program_binary | ||
581 | #define GL_ARM_mali_program_binary 1 | ||
582 | #define GL_MALI_PROGRAM_BINARY_ARM 0x8F61 | ||
583 | #endif /* GL_ARM_mali_program_binary */ | ||
584 | |||
585 | #ifndef GL_ARM_mali_shader_binary | ||
586 | #define GL_ARM_mali_shader_binary 1 | ||
587 | #define GL_MALI_SHADER_BINARY_ARM 0x8F60 | ||
588 | #endif /* GL_ARM_mali_shader_binary */ | ||
589 | |||
590 | #ifndef GL_ARM_rgba8 | ||
591 | #define GL_ARM_rgba8 1 | ||
592 | #endif /* GL_ARM_rgba8 */ | ||
593 | |||
594 | #ifndef GL_DMP_shader_binary | ||
595 | #define GL_DMP_shader_binary 1 | ||
596 | #define GL_SHADER_BINARY_DMP 0x9250 | ||
597 | #endif /* GL_DMP_shader_binary */ | ||
598 | |||
599 | #ifndef GL_EXT_blend_minmax | ||
600 | #define GL_EXT_blend_minmax 1 | ||
601 | #define GL_MIN_EXT 0x8007 | ||
602 | #define GL_MAX_EXT 0x8008 | ||
603 | #endif /* GL_EXT_blend_minmax */ | ||
604 | |||
605 | #ifndef GL_EXT_color_buffer_half_float | ||
606 | #define GL_EXT_color_buffer_half_float 1 | ||
607 | #define GL_RGBA16F_EXT 0x881A | ||
608 | #define GL_RGB16F_EXT 0x881B | ||
609 | #define GL_RG16F_EXT 0x822F | ||
610 | #define GL_R16F_EXT 0x822D | ||
611 | #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT 0x8211 | ||
612 | #define GL_UNSIGNED_NORMALIZED_EXT 0x8C17 | ||
613 | #endif /* GL_EXT_color_buffer_half_float */ | ||
614 | |||
615 | #ifndef GL_EXT_debug_label | ||
616 | #define GL_EXT_debug_label 1 | ||
617 | #define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F | ||
618 | #define GL_PROGRAM_OBJECT_EXT 0x8B40 | ||
619 | #define GL_SHADER_OBJECT_EXT 0x8B48 | ||
620 | #define GL_BUFFER_OBJECT_EXT 0x9151 | ||
621 | #define GL_QUERY_OBJECT_EXT 0x9153 | ||
622 | #define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154 | ||
623 | #define GL_TRANSFORM_FEEDBACK 0x8E22 | ||
624 | typedef void (GL_APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label); | ||
625 | typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); | ||
626 | #ifdef GL_GLEXT_PROTOTYPES | ||
627 | GL_APICALL void GL_APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label); | ||
628 | GL_APICALL void GL_APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); | ||
629 | #endif | ||
630 | #endif /* GL_EXT_debug_label */ | ||
631 | |||
632 | #ifndef GL_EXT_debug_marker | ||
633 | #define GL_EXT_debug_marker 1 | ||
634 | typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker); | ||
635 | typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker); | ||
636 | typedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void); | ||
637 | #ifdef GL_GLEXT_PROTOTYPES | ||
638 | GL_APICALL void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker); | ||
639 | GL_APICALL void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker); | ||
640 | GL_APICALL void GL_APIENTRY glPopGroupMarkerEXT (void); | ||
641 | #endif | ||
642 | #endif /* GL_EXT_debug_marker */ | ||
643 | |||
644 | #ifndef GL_EXT_discard_framebuffer | ||
645 | #define GL_EXT_discard_framebuffer 1 | ||
646 | #define GL_COLOR_EXT 0x1800 | ||
647 | #define GL_DEPTH_EXT 0x1801 | ||
648 | #define GL_STENCIL_EXT 0x1802 | ||
649 | typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); | ||
650 | #ifdef GL_GLEXT_PROTOTYPES | ||
651 | GL_APICALL void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments); | ||
652 | #endif | ||
653 | #endif /* GL_EXT_discard_framebuffer */ | ||
654 | |||
655 | #ifndef GL_EXT_disjoint_timer_query | ||
656 | #define GL_EXT_disjoint_timer_query 1 | ||
657 | #define GL_QUERY_COUNTER_BITS_EXT 0x8864 | ||
658 | #define GL_CURRENT_QUERY_EXT 0x8865 | ||
659 | #define GL_QUERY_RESULT_EXT 0x8866 | ||
660 | #define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867 | ||
661 | #define GL_TIME_ELAPSED_EXT 0x88BF | ||
662 | #define GL_TIMESTAMP_EXT 0x8E28 | ||
663 | #define GL_GPU_DISJOINT_EXT 0x8FBB | ||
664 | typedef void (GL_APIENTRYP PFNGLGENQUERIESEXTPROC) (GLsizei n, GLuint *ids); | ||
665 | typedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTPROC) (GLsizei n, const GLuint *ids); | ||
666 | typedef GLboolean (GL_APIENTRYP PFNGLISQUERYEXTPROC) (GLuint id); | ||
667 | typedef void (GL_APIENTRYP PFNGLBEGINQUERYEXTPROC) (GLenum target, GLuint id); | ||
668 | typedef void (GL_APIENTRYP PFNGLENDQUERYEXTPROC) (GLenum target); | ||
669 | typedef void (GL_APIENTRYP PFNGLQUERYCOUNTEREXTPROC) (GLuint id, GLenum target); | ||
670 | typedef void (GL_APIENTRYP PFNGLGETQUERYIVEXTPROC) (GLenum target, GLenum pname, GLint *params); | ||
671 | typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVEXTPROC) (GLuint id, GLenum pname, GLint *params); | ||
672 | typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) (GLuint id, GLenum pname, GLuint *params); | ||
673 | typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params); | ||
674 | typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params); | ||
675 | #ifdef GL_GLEXT_PROTOTYPES | ||
676 | GL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizei n, GLuint *ids); | ||
677 | GL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizei n, const GLuint *ids); | ||
678 | GL_APICALL GLboolean GL_APIENTRY glIsQueryEXT (GLuint id); | ||
679 | GL_APICALL void GL_APIENTRY glBeginQueryEXT (GLenum target, GLuint id); | ||
680 | GL_APICALL void GL_APIENTRY glEndQueryEXT (GLenum target); | ||
681 | GL_APICALL void GL_APIENTRY glQueryCounterEXT (GLuint id, GLenum target); | ||
682 | GL_APICALL void GL_APIENTRY glGetQueryivEXT (GLenum target, GLenum pname, GLint *params); | ||
683 | GL_APICALL void GL_APIENTRY glGetQueryObjectivEXT (GLuint id, GLenum pname, GLint *params); | ||
684 | GL_APICALL void GL_APIENTRY glGetQueryObjectuivEXT (GLuint id, GLenum pname, GLuint *params); | ||
685 | GL_APICALL void GL_APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params); | ||
686 | GL_APICALL void GL_APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params); | ||
687 | #endif | ||
688 | #endif /* GL_EXT_disjoint_timer_query */ | ||
689 | |||
690 | #ifndef GL_EXT_draw_buffers | ||
691 | #define GL_EXT_draw_buffers 1 | ||
692 | #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF | ||
693 | #define GL_MAX_DRAW_BUFFERS_EXT 0x8824 | ||
694 | #define GL_DRAW_BUFFER0_EXT 0x8825 | ||
695 | #define GL_DRAW_BUFFER1_EXT 0x8826 | ||
696 | #define GL_DRAW_BUFFER2_EXT 0x8827 | ||
697 | #define GL_DRAW_BUFFER3_EXT 0x8828 | ||
698 | #define GL_DRAW_BUFFER4_EXT 0x8829 | ||
699 | #define GL_DRAW_BUFFER5_EXT 0x882A | ||
700 | #define GL_DRAW_BUFFER6_EXT 0x882B | ||
701 | #define GL_DRAW_BUFFER7_EXT 0x882C | ||
702 | #define GL_DRAW_BUFFER8_EXT 0x882D | ||
703 | #define GL_DRAW_BUFFER9_EXT 0x882E | ||
704 | #define GL_DRAW_BUFFER10_EXT 0x882F | ||
705 | #define GL_DRAW_BUFFER11_EXT 0x8830 | ||
706 | #define GL_DRAW_BUFFER12_EXT 0x8831 | ||
707 | #define GL_DRAW_BUFFER13_EXT 0x8832 | ||
708 | #define GL_DRAW_BUFFER14_EXT 0x8833 | ||
709 | #define GL_DRAW_BUFFER15_EXT 0x8834 | ||
710 | #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0 | ||
711 | #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1 | ||
712 | #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2 | ||
713 | #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3 | ||
714 | #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4 | ||
715 | #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5 | ||
716 | #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6 | ||
717 | #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7 | ||
718 | #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8 | ||
719 | #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9 | ||
720 | #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA | ||
721 | #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB | ||
722 | #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC | ||
723 | #define GL_COLOR_ATTACHMENT13_EXT 0x8CED | ||
724 | #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE | ||
725 | #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF | ||
726 | typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) (GLsizei n, const GLenum *bufs); | ||
727 | #ifdef GL_GLEXT_PROTOTYPES | ||
728 | GL_APICALL void GL_APIENTRY glDrawBuffersEXT (GLsizei n, const GLenum *bufs); | ||
729 | #endif | ||
730 | #endif /* GL_EXT_draw_buffers */ | ||
731 | |||
732 | #ifndef GL_EXT_draw_instanced | ||
733 | #define GL_EXT_draw_instanced 1 | ||
734 | typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount); | ||
735 | typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); | ||
736 | #ifdef GL_GLEXT_PROTOTYPES | ||
737 | GL_APICALL void GL_APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount); | ||
738 | GL_APICALL void GL_APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); | ||
739 | #endif | ||
740 | #endif /* GL_EXT_draw_instanced */ | ||
741 | |||
742 | #ifndef GL_EXT_instanced_arrays | ||
743 | #define GL_EXT_instanced_arrays 1 | ||
744 | #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT 0x88FE | ||
745 | typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISOREXTPROC) (GLuint index, GLuint divisor); | ||
746 | #ifdef GL_GLEXT_PROTOTYPES | ||
747 | GL_APICALL void GL_APIENTRY glVertexAttribDivisorEXT (GLuint index, GLuint divisor); | ||
748 | #endif | ||
749 | #endif /* GL_EXT_instanced_arrays */ | ||
750 | |||
751 | #ifndef GL_EXT_map_buffer_range | ||
752 | #define GL_EXT_map_buffer_range 1 | ||
753 | #define GL_MAP_READ_BIT_EXT 0x0001 | ||
754 | #define GL_MAP_WRITE_BIT_EXT 0x0002 | ||
755 | #define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004 | ||
756 | #define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008 | ||
757 | #define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010 | ||
758 | #define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020 | ||
759 | typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); | ||
760 | typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length); | ||
761 | #ifdef GL_GLEXT_PROTOTYPES | ||
762 | GL_APICALL void *GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); | ||
763 | GL_APICALL void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length); | ||
764 | #endif | ||
765 | #endif /* GL_EXT_map_buffer_range */ | ||
766 | |||
767 | #ifndef GL_EXT_multi_draw_arrays | ||
768 | #define GL_EXT_multi_draw_arrays 1 | ||
769 | typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); | ||
770 | typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount); | ||
771 | #ifdef GL_GLEXT_PROTOTYPES | ||
772 | GL_APICALL void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); | ||
773 | GL_APICALL void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount); | ||
774 | #endif | ||
775 | #endif /* GL_EXT_multi_draw_arrays */ | ||
776 | |||
777 | #ifndef GL_EXT_multisampled_render_to_texture | ||
778 | #define GL_EXT_multisampled_render_to_texture 1 | ||
779 | #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C | ||
780 | #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB | ||
781 | #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 | ||
782 | #define GL_MAX_SAMPLES_EXT 0x8D57 | ||
783 | typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
784 | typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); | ||
785 | #ifdef GL_GLEXT_PROTOTYPES | ||
786 | GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
787 | GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); | ||
788 | #endif | ||
789 | #endif /* GL_EXT_multisampled_render_to_texture */ | ||
790 | |||
791 | #ifndef GL_EXT_multiview_draw_buffers | ||
792 | #define GL_EXT_multiview_draw_buffers 1 | ||
793 | #define GL_COLOR_ATTACHMENT_EXT 0x90F0 | ||
794 | #define GL_MULTIVIEW_EXT 0x90F1 | ||
795 | #define GL_DRAW_BUFFER_EXT 0x0C01 | ||
796 | #define GL_READ_BUFFER_EXT 0x0C02 | ||
797 | #define GL_MAX_MULTIVIEW_BUFFERS_EXT 0x90F2 | ||
798 | typedef void (GL_APIENTRYP PFNGLREADBUFFERINDEXEDEXTPROC) (GLenum src, GLint index); | ||
799 | typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum *location, const GLint *indices); | ||
800 | typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VEXTPROC) (GLenum target, GLuint index, GLint *data); | ||
801 | #ifdef GL_GLEXT_PROTOTYPES | ||
802 | GL_APICALL void GL_APIENTRY glReadBufferIndexedEXT (GLenum src, GLint index); | ||
803 | GL_APICALL void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *location, const GLint *indices); | ||
804 | GL_APICALL void GL_APIENTRY glGetIntegeri_vEXT (GLenum target, GLuint index, GLint *data); | ||
805 | #endif | ||
806 | #endif /* GL_EXT_multiview_draw_buffers */ | ||
807 | |||
808 | #ifndef GL_EXT_occlusion_query_boolean | ||
809 | #define GL_EXT_occlusion_query_boolean 1 | ||
810 | #define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F | ||
811 | #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A | ||
812 | #endif /* GL_EXT_occlusion_query_boolean */ | ||
813 | |||
814 | #ifndef GL_EXT_pvrtc_sRGB | ||
815 | #define GL_EXT_pvrtc_sRGB 1 | ||
816 | #define GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT 0x8A54 | ||
817 | #define GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT 0x8A55 | ||
818 | #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT 0x8A56 | ||
819 | #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT 0x8A57 | ||
820 | #endif /* GL_EXT_pvrtc_sRGB */ | ||
821 | |||
822 | #ifndef GL_EXT_read_format_bgra | ||
823 | #define GL_EXT_read_format_bgra 1 | ||
824 | #define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365 | ||
825 | #define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366 | ||
826 | #endif /* GL_EXT_read_format_bgra */ | ||
827 | |||
828 | #ifndef GL_EXT_robustness | ||
829 | #define GL_EXT_robustness 1 | ||
830 | #define GL_GUILTY_CONTEXT_RESET_EXT 0x8253 | ||
831 | #define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254 | ||
832 | #define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255 | ||
833 | #define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3 | ||
834 | #define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256 | ||
835 | #define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252 | ||
836 | #define GL_NO_RESET_NOTIFICATION_EXT 0x8261 | ||
837 | typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void); | ||
838 | typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); | ||
839 | typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); | ||
840 | typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); | ||
841 | #ifdef GL_GLEXT_PROTOTYPES | ||
842 | GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusEXT (void); | ||
843 | GL_APICALL void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); | ||
844 | GL_APICALL void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); | ||
845 | GL_APICALL void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint *params); | ||
846 | #endif | ||
847 | #endif /* GL_EXT_robustness */ | ||
848 | |||
849 | #ifndef GL_EXT_sRGB | ||
850 | #define GL_EXT_sRGB 1 | ||
851 | #define GL_SRGB_EXT 0x8C40 | ||
852 | #define GL_SRGB_ALPHA_EXT 0x8C42 | ||
853 | #define GL_SRGB8_ALPHA8_EXT 0x8C43 | ||
854 | #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210 | ||
855 | #endif /* GL_EXT_sRGB */ | ||
856 | |||
857 | #ifndef GL_EXT_sRGB_write_control | ||
858 | #define GL_EXT_sRGB_write_control 1 | ||
859 | #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 | ||
860 | #endif /* GL_EXT_sRGB_write_control */ | ||
861 | |||
862 | #ifndef GL_EXT_separate_shader_objects | ||
863 | #define GL_EXT_separate_shader_objects 1 | ||
864 | #define GL_ACTIVE_PROGRAM_EXT 0x8259 | ||
865 | #define GL_VERTEX_SHADER_BIT_EXT 0x00000001 | ||
866 | #define GL_FRAGMENT_SHADER_BIT_EXT 0x00000002 | ||
867 | #define GL_ALL_SHADER_BITS_EXT 0xFFFFFFFF | ||
868 | #define GL_PROGRAM_SEPARABLE_EXT 0x8258 | ||
869 | #define GL_PROGRAM_PIPELINE_BINDING_EXT 0x825A | ||
870 | typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMEXTPROC) (GLuint pipeline, GLuint program); | ||
871 | typedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEEXTPROC) (GLuint pipeline); | ||
872 | typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVEXTPROC) (GLenum type, GLsizei count, const GLchar **strings); | ||
873 | typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESEXTPROC) (GLsizei n, const GLuint *pipelines); | ||
874 | typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESEXTPROC) (GLsizei n, GLuint *pipelines); | ||
875 | typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); | ||
876 | typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVEXTPROC) (GLuint pipeline, GLenum pname, GLint *params); | ||
877 | typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEEXTPROC) (GLuint pipeline); | ||
878 | typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value); | ||
879 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0); | ||
880 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
881 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0); | ||
882 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
883 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); | ||
884 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
885 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1); | ||
886 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
887 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); | ||
888 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
889 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); | ||
890 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
891 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); | ||
892 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
893 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); | ||
894 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
895 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
896 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
897 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
898 | typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESEXTPROC) (GLuint pipeline, GLbitfield stages, GLuint program); | ||
899 | typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEEXTPROC) (GLuint pipeline); | ||
900 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0); | ||
901 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); | ||
902 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); | ||
903 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); | ||
904 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
905 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
906 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
907 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
908 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
909 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
910 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
911 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
912 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
913 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
914 | #ifdef GL_GLEXT_PROTOTYPES | ||
915 | GL_APICALL void GL_APIENTRY glActiveShaderProgramEXT (GLuint pipeline, GLuint program); | ||
916 | GL_APICALL void GL_APIENTRY glBindProgramPipelineEXT (GLuint pipeline); | ||
917 | GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramvEXT (GLenum type, GLsizei count, const GLchar **strings); | ||
918 | GL_APICALL void GL_APIENTRY glDeleteProgramPipelinesEXT (GLsizei n, const GLuint *pipelines); | ||
919 | GL_APICALL void GL_APIENTRY glGenProgramPipelinesEXT (GLsizei n, GLuint *pipelines); | ||
920 | GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); | ||
921 | GL_APICALL void GL_APIENTRY glGetProgramPipelineivEXT (GLuint pipeline, GLenum pname, GLint *params); | ||
922 | GL_APICALL GLboolean GL_APIENTRY glIsProgramPipelineEXT (GLuint pipeline); | ||
923 | GL_APICALL void GL_APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value); | ||
924 | GL_APICALL void GL_APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0); | ||
925 | GL_APICALL void GL_APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
926 | GL_APICALL void GL_APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0); | ||
927 | GL_APICALL void GL_APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
928 | GL_APICALL void GL_APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1); | ||
929 | GL_APICALL void GL_APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
930 | GL_APICALL void GL_APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1); | ||
931 | GL_APICALL void GL_APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
932 | GL_APICALL void GL_APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); | ||
933 | GL_APICALL void GL_APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
934 | GL_APICALL void GL_APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); | ||
935 | GL_APICALL void GL_APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
936 | GL_APICALL void GL_APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); | ||
937 | GL_APICALL void GL_APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
938 | GL_APICALL void GL_APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); | ||
939 | GL_APICALL void GL_APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
940 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
941 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
942 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
943 | GL_APICALL void GL_APIENTRY glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuint program); | ||
944 | GL_APICALL void GL_APIENTRY glValidateProgramPipelineEXT (GLuint pipeline); | ||
945 | GL_APICALL void GL_APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0); | ||
946 | GL_APICALL void GL_APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1); | ||
947 | GL_APICALL void GL_APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); | ||
948 | GL_APICALL void GL_APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); | ||
949 | GL_APICALL void GL_APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
950 | GL_APICALL void GL_APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
951 | GL_APICALL void GL_APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
952 | GL_APICALL void GL_APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
953 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
954 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
955 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
956 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
957 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
958 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
959 | #endif | ||
960 | #endif /* GL_EXT_separate_shader_objects */ | ||
961 | |||
962 | #ifndef GL_EXT_shader_framebuffer_fetch | ||
963 | #define GL_EXT_shader_framebuffer_fetch 1 | ||
964 | #define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52 | ||
965 | #endif /* GL_EXT_shader_framebuffer_fetch */ | ||
966 | |||
967 | #ifndef GL_EXT_shader_integer_mix | ||
968 | #define GL_EXT_shader_integer_mix 1 | ||
969 | #endif /* GL_EXT_shader_integer_mix */ | ||
970 | |||
971 | #ifndef GL_EXT_shader_texture_lod | ||
972 | #define GL_EXT_shader_texture_lod 1 | ||
973 | #endif /* GL_EXT_shader_texture_lod */ | ||
974 | |||
975 | #ifndef GL_EXT_shadow_samplers | ||
976 | #define GL_EXT_shadow_samplers 1 | ||
977 | #define GL_TEXTURE_COMPARE_MODE_EXT 0x884C | ||
978 | #define GL_TEXTURE_COMPARE_FUNC_EXT 0x884D | ||
979 | #define GL_COMPARE_REF_TO_TEXTURE_EXT 0x884E | ||
980 | #define GL_SAMPLER_2D_SHADOW_EXT 0x8B62 | ||
981 | #endif /* GL_EXT_shadow_samplers */ | ||
982 | |||
983 | #ifndef GL_EXT_texture_compression_dxt1 | ||
984 | #define GL_EXT_texture_compression_dxt1 1 | ||
985 | #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 | ||
986 | #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 | ||
987 | #endif /* GL_EXT_texture_compression_dxt1 */ | ||
988 | |||
989 | #ifndef GL_EXT_texture_compression_s3tc | ||
990 | #define GL_EXT_texture_compression_s3tc 1 | ||
991 | #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 | ||
992 | #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 | ||
993 | #endif /* GL_EXT_texture_compression_s3tc */ | ||
994 | |||
995 | #ifndef GL_EXT_texture_filter_anisotropic | ||
996 | #define GL_EXT_texture_filter_anisotropic 1 | ||
997 | #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE | ||
998 | #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF | ||
999 | #endif /* GL_EXT_texture_filter_anisotropic */ | ||
1000 | |||
1001 | #ifndef GL_EXT_texture_format_BGRA8888 | ||
1002 | #define GL_EXT_texture_format_BGRA8888 1 | ||
1003 | #endif /* GL_EXT_texture_format_BGRA8888 */ | ||
1004 | |||
1005 | #ifndef GL_EXT_texture_rg | ||
1006 | #define GL_EXT_texture_rg 1 | ||
1007 | #define GL_RED_EXT 0x1903 | ||
1008 | #define GL_RG_EXT 0x8227 | ||
1009 | #define GL_R8_EXT 0x8229 | ||
1010 | #define GL_RG8_EXT 0x822B | ||
1011 | #endif /* GL_EXT_texture_rg */ | ||
1012 | |||
1013 | #ifndef GL_EXT_texture_sRGB_decode | ||
1014 | #define GL_EXT_texture_sRGB_decode 1 | ||
1015 | #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48 | ||
1016 | #define GL_DECODE_EXT 0x8A49 | ||
1017 | #define GL_SKIP_DECODE_EXT 0x8A4A | ||
1018 | #endif /* GL_EXT_texture_sRGB_decode */ | ||
1019 | |||
1020 | #ifndef GL_EXT_texture_storage | ||
1021 | #define GL_EXT_texture_storage 1 | ||
1022 | #define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F | ||
1023 | #define GL_ALPHA8_EXT 0x803C | ||
1024 | #define GL_LUMINANCE8_EXT 0x8040 | ||
1025 | #define GL_LUMINANCE8_ALPHA8_EXT 0x8045 | ||
1026 | #define GL_RGBA32F_EXT 0x8814 | ||
1027 | #define GL_RGB32F_EXT 0x8815 | ||
1028 | #define GL_ALPHA32F_EXT 0x8816 | ||
1029 | #define GL_LUMINANCE32F_EXT 0x8818 | ||
1030 | #define GL_LUMINANCE_ALPHA32F_EXT 0x8819 | ||
1031 | #define GL_ALPHA16F_EXT 0x881C | ||
1032 | #define GL_LUMINANCE16F_EXT 0x881E | ||
1033 | #define GL_LUMINANCE_ALPHA16F_EXT 0x881F | ||
1034 | #define GL_R32F_EXT 0x822E | ||
1035 | #define GL_RG32F_EXT 0x8230 | ||
1036 | typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); | ||
1037 | typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); | ||
1038 | typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); | ||
1039 | typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); | ||
1040 | typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); | ||
1041 | typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); | ||
1042 | #ifdef GL_GLEXT_PROTOTYPES | ||
1043 | GL_APICALL void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); | ||
1044 | GL_APICALL void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); | ||
1045 | GL_APICALL void GL_APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); | ||
1046 | GL_APICALL void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); | ||
1047 | GL_APICALL void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); | ||
1048 | GL_APICALL void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); | ||
1049 | #endif | ||
1050 | #endif /* GL_EXT_texture_storage */ | ||
1051 | |||
1052 | #ifndef GL_EXT_texture_type_2_10_10_10_REV | ||
1053 | #define GL_EXT_texture_type_2_10_10_10_REV 1 | ||
1054 | #define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368 | ||
1055 | #endif /* GL_EXT_texture_type_2_10_10_10_REV */ | ||
1056 | |||
1057 | #ifndef GL_EXT_unpack_subimage | ||
1058 | #define GL_EXT_unpack_subimage 1 | ||
1059 | #define GL_UNPACK_ROW_LENGTH_EXT 0x0CF2 | ||
1060 | #define GL_UNPACK_SKIP_ROWS_EXT 0x0CF3 | ||
1061 | #define GL_UNPACK_SKIP_PIXELS_EXT 0x0CF4 | ||
1062 | #endif /* GL_EXT_unpack_subimage */ | ||
1063 | |||
1064 | #ifndef GL_FJ_shader_binary_GCCSO | ||
1065 | #define GL_FJ_shader_binary_GCCSO 1 | ||
1066 | #define GL_GCCSO_SHADER_BINARY_FJ 0x9260 | ||
1067 | #endif /* GL_FJ_shader_binary_GCCSO */ | ||
1068 | |||
1069 | #ifndef GL_IMG_multisampled_render_to_texture | ||
1070 | #define GL_IMG_multisampled_render_to_texture 1 | ||
1071 | #define GL_RENDERBUFFER_SAMPLES_IMG 0x9133 | ||
1072 | #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134 | ||
1073 | #define GL_MAX_SAMPLES_IMG 0x9135 | ||
1074 | #define GL_TEXTURE_SAMPLES_IMG 0x9136 | ||
1075 | typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
1076 | typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); | ||
1077 | #ifdef GL_GLEXT_PROTOTYPES | ||
1078 | GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
1079 | GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); | ||
1080 | #endif | ||
1081 | #endif /* GL_IMG_multisampled_render_to_texture */ | ||
1082 | |||
1083 | #ifndef GL_IMG_program_binary | ||
1084 | #define GL_IMG_program_binary 1 | ||
1085 | #define GL_SGX_PROGRAM_BINARY_IMG 0x9130 | ||
1086 | #endif /* GL_IMG_program_binary */ | ||
1087 | |||
1088 | #ifndef GL_IMG_read_format | ||
1089 | #define GL_IMG_read_format 1 | ||
1090 | #define GL_BGRA_IMG 0x80E1 | ||
1091 | #define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365 | ||
1092 | #endif /* GL_IMG_read_format */ | ||
1093 | |||
1094 | #ifndef GL_IMG_shader_binary | ||
1095 | #define GL_IMG_shader_binary 1 | ||
1096 | #define GL_SGX_BINARY_IMG 0x8C0A | ||
1097 | #endif /* GL_IMG_shader_binary */ | ||
1098 | |||
1099 | #ifndef GL_IMG_texture_compression_pvrtc | ||
1100 | #define GL_IMG_texture_compression_pvrtc 1 | ||
1101 | #define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00 | ||
1102 | #define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01 | ||
1103 | #define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02 | ||
1104 | #define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03 | ||
1105 | #endif /* GL_IMG_texture_compression_pvrtc */ | ||
1106 | |||
1107 | #ifndef GL_IMG_texture_compression_pvrtc2 | ||
1108 | #define GL_IMG_texture_compression_pvrtc2 1 | ||
1109 | #define GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG 0x9137 | ||
1110 | #define GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG 0x9138 | ||
1111 | #endif /* GL_IMG_texture_compression_pvrtc2 */ | ||
1112 | |||
1113 | #ifndef GL_NV_blend_equation_advanced | ||
1114 | #define GL_NV_blend_equation_advanced 1 | ||
1115 | #define GL_BLUE_NV 0x1905 | ||
1116 | #define GL_GREEN_NV 0x1904 | ||
1117 | #define GL_RED_NV 0x1903 | ||
1118 | #define GL_XOR_NV 0x1506 | ||
1119 | #define GL_BLEND_OVERLAP_NV 0x9281 | ||
1120 | #define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280 | ||
1121 | #define GL_COLORBURN_NV 0x929A | ||
1122 | #define GL_COLORDODGE_NV 0x9299 | ||
1123 | #define GL_CONJOINT_NV 0x9284 | ||
1124 | #define GL_CONTRAST_NV 0x92A1 | ||
1125 | #define GL_DARKEN_NV 0x9297 | ||
1126 | #define GL_DIFFERENCE_NV 0x929E | ||
1127 | #define GL_DISJOINT_NV 0x9283 | ||
1128 | #define GL_DST_ATOP_NV 0x928F | ||
1129 | #define GL_DST_IN_NV 0x928B | ||
1130 | #define GL_DST_NV 0x9287 | ||
1131 | #define GL_DST_OUT_NV 0x928D | ||
1132 | #define GL_DST_OVER_NV 0x9289 | ||
1133 | #define GL_EXCLUSION_NV 0x92A0 | ||
1134 | #define GL_HARDLIGHT_NV 0x929B | ||
1135 | #define GL_HARDMIX_NV 0x92A9 | ||
1136 | #define GL_HSL_COLOR_NV 0x92AF | ||
1137 | #define GL_HSL_HUE_NV 0x92AD | ||
1138 | #define GL_HSL_LUMINOSITY_NV 0x92B0 | ||
1139 | #define GL_HSL_SATURATION_NV 0x92AE | ||
1140 | #define GL_INVERT_OVG_NV 0x92B4 | ||
1141 | #define GL_INVERT_RGB_NV 0x92A3 | ||
1142 | #define GL_LIGHTEN_NV 0x9298 | ||
1143 | #define GL_LINEARBURN_NV 0x92A5 | ||
1144 | #define GL_LINEARDODGE_NV 0x92A4 | ||
1145 | #define GL_LINEARLIGHT_NV 0x92A7 | ||
1146 | #define GL_MINUS_CLAMPED_NV 0x92B3 | ||
1147 | #define GL_MINUS_NV 0x929F | ||
1148 | #define GL_MULTIPLY_NV 0x9294 | ||
1149 | #define GL_OVERLAY_NV 0x9296 | ||
1150 | #define GL_PINLIGHT_NV 0x92A8 | ||
1151 | #define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2 | ||
1152 | #define GL_PLUS_CLAMPED_NV 0x92B1 | ||
1153 | #define GL_PLUS_DARKER_NV 0x9292 | ||
1154 | #define GL_PLUS_NV 0x9291 | ||
1155 | #define GL_SCREEN_NV 0x9295 | ||
1156 | #define GL_SOFTLIGHT_NV 0x929C | ||
1157 | #define GL_SRC_ATOP_NV 0x928E | ||
1158 | #define GL_SRC_IN_NV 0x928A | ||
1159 | #define GL_SRC_NV 0x9286 | ||
1160 | #define GL_SRC_OUT_NV 0x928C | ||
1161 | #define GL_SRC_OVER_NV 0x9288 | ||
1162 | #define GL_UNCORRELATED_NV 0x9282 | ||
1163 | #define GL_VIVIDLIGHT_NV 0x92A6 | ||
1164 | typedef void (GL_APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value); | ||
1165 | typedef void (GL_APIENTRYP PFNGLBLENDBARRIERNVPROC) (void); | ||
1166 | #ifdef GL_GLEXT_PROTOTYPES | ||
1167 | GL_APICALL void GL_APIENTRY glBlendParameteriNV (GLenum pname, GLint value); | ||
1168 | GL_APICALL void GL_APIENTRY glBlendBarrierNV (void); | ||
1169 | #endif | ||
1170 | #endif /* GL_NV_blend_equation_advanced */ | ||
1171 | |||
1172 | #ifndef GL_NV_blend_equation_advanced_coherent | ||
1173 | #define GL_NV_blend_equation_advanced_coherent 1 | ||
1174 | #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285 | ||
1175 | #endif /* GL_NV_blend_equation_advanced_coherent */ | ||
1176 | |||
1177 | #ifndef GL_NV_copy_buffer | ||
1178 | #define GL_NV_copy_buffer 1 | ||
1179 | #define GL_COPY_READ_BUFFER_NV 0x8F36 | ||
1180 | #define GL_COPY_WRITE_BUFFER_NV 0x8F37 | ||
1181 | typedef void (GL_APIENTRYP PFNGLCOPYBUFFERSUBDATANVPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); | ||
1182 | #ifdef GL_GLEXT_PROTOTYPES | ||
1183 | GL_APICALL void GL_APIENTRY glCopyBufferSubDataNV (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); | ||
1184 | #endif | ||
1185 | #endif /* GL_NV_copy_buffer */ | ||
1186 | |||
1187 | #ifndef GL_NV_coverage_sample | ||
1188 | #define GL_NV_coverage_sample 1 | ||
1189 | #define GL_COVERAGE_COMPONENT_NV 0x8ED0 | ||
1190 | #define GL_COVERAGE_COMPONENT4_NV 0x8ED1 | ||
1191 | #define GL_COVERAGE_ATTACHMENT_NV 0x8ED2 | ||
1192 | #define GL_COVERAGE_BUFFERS_NV 0x8ED3 | ||
1193 | #define GL_COVERAGE_SAMPLES_NV 0x8ED4 | ||
1194 | #define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5 | ||
1195 | #define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6 | ||
1196 | #define GL_COVERAGE_AUTOMATIC_NV 0x8ED7 | ||
1197 | #define GL_COVERAGE_BUFFER_BIT_NV 0x00008000 | ||
1198 | typedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask); | ||
1199 | typedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation); | ||
1200 | #ifdef GL_GLEXT_PROTOTYPES | ||
1201 | GL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask); | ||
1202 | GL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation); | ||
1203 | #endif | ||
1204 | #endif /* GL_NV_coverage_sample */ | ||
1205 | |||
1206 | #ifndef GL_NV_depth_nonlinear | ||
1207 | #define GL_NV_depth_nonlinear 1 | ||
1208 | #define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C | ||
1209 | #endif /* GL_NV_depth_nonlinear */ | ||
1210 | |||
1211 | #ifndef GL_NV_draw_buffers | ||
1212 | #define GL_NV_draw_buffers 1 | ||
1213 | #define GL_MAX_DRAW_BUFFERS_NV 0x8824 | ||
1214 | #define GL_DRAW_BUFFER0_NV 0x8825 | ||
1215 | #define GL_DRAW_BUFFER1_NV 0x8826 | ||
1216 | #define GL_DRAW_BUFFER2_NV 0x8827 | ||
1217 | #define GL_DRAW_BUFFER3_NV 0x8828 | ||
1218 | #define GL_DRAW_BUFFER4_NV 0x8829 | ||
1219 | #define GL_DRAW_BUFFER5_NV 0x882A | ||
1220 | #define GL_DRAW_BUFFER6_NV 0x882B | ||
1221 | #define GL_DRAW_BUFFER7_NV 0x882C | ||
1222 | #define GL_DRAW_BUFFER8_NV 0x882D | ||
1223 | #define GL_DRAW_BUFFER9_NV 0x882E | ||
1224 | #define GL_DRAW_BUFFER10_NV 0x882F | ||
1225 | #define GL_DRAW_BUFFER11_NV 0x8830 | ||
1226 | #define GL_DRAW_BUFFER12_NV 0x8831 | ||
1227 | #define GL_DRAW_BUFFER13_NV 0x8832 | ||
1228 | #define GL_DRAW_BUFFER14_NV 0x8833 | ||
1229 | #define GL_DRAW_BUFFER15_NV 0x8834 | ||
1230 | #define GL_COLOR_ATTACHMENT0_NV 0x8CE0 | ||
1231 | #define GL_COLOR_ATTACHMENT1_NV 0x8CE1 | ||
1232 | #define GL_COLOR_ATTACHMENT2_NV 0x8CE2 | ||
1233 | #define GL_COLOR_ATTACHMENT3_NV 0x8CE3 | ||
1234 | #define GL_COLOR_ATTACHMENT4_NV 0x8CE4 | ||
1235 | #define GL_COLOR_ATTACHMENT5_NV 0x8CE5 | ||
1236 | #define GL_COLOR_ATTACHMENT6_NV 0x8CE6 | ||
1237 | #define GL_COLOR_ATTACHMENT7_NV 0x8CE7 | ||
1238 | #define GL_COLOR_ATTACHMENT8_NV 0x8CE8 | ||
1239 | #define GL_COLOR_ATTACHMENT9_NV 0x8CE9 | ||
1240 | #define GL_COLOR_ATTACHMENT10_NV 0x8CEA | ||
1241 | #define GL_COLOR_ATTACHMENT11_NV 0x8CEB | ||
1242 | #define GL_COLOR_ATTACHMENT12_NV 0x8CEC | ||
1243 | #define GL_COLOR_ATTACHMENT13_NV 0x8CED | ||
1244 | #define GL_COLOR_ATTACHMENT14_NV 0x8CEE | ||
1245 | #define GL_COLOR_ATTACHMENT15_NV 0x8CEF | ||
1246 | typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum *bufs); | ||
1247 | #ifdef GL_GLEXT_PROTOTYPES | ||
1248 | GL_APICALL void GL_APIENTRY glDrawBuffersNV (GLsizei n, const GLenum *bufs); | ||
1249 | #endif | ||
1250 | #endif /* GL_NV_draw_buffers */ | ||
1251 | |||
1252 | #ifndef GL_NV_draw_instanced | ||
1253 | #define GL_NV_draw_instanced 1 | ||
1254 | typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDNVPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); | ||
1255 | typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDNVPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); | ||
1256 | #ifdef GL_GLEXT_PROTOTYPES | ||
1257 | GL_APICALL void GL_APIENTRY glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, GLsizei primcount); | ||
1258 | GL_APICALL void GL_APIENTRY glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); | ||
1259 | #endif | ||
1260 | #endif /* GL_NV_draw_instanced */ | ||
1261 | |||
1262 | #ifndef GL_NV_explicit_attrib_location | ||
1263 | #define GL_NV_explicit_attrib_location 1 | ||
1264 | #endif /* GL_NV_explicit_attrib_location */ | ||
1265 | |||
1266 | #ifndef GL_NV_fbo_color_attachments | ||
1267 | #define GL_NV_fbo_color_attachments 1 | ||
1268 | #define GL_MAX_COLOR_ATTACHMENTS_NV 0x8CDF | ||
1269 | #endif /* GL_NV_fbo_color_attachments */ | ||
1270 | |||
1271 | #ifndef GL_NV_fence | ||
1272 | #define GL_NV_fence 1 | ||
1273 | #define GL_ALL_COMPLETED_NV 0x84F2 | ||
1274 | #define GL_FENCE_STATUS_NV 0x84F3 | ||
1275 | #define GL_FENCE_CONDITION_NV 0x84F4 | ||
1276 | typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); | ||
1277 | typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); | ||
1278 | typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); | ||
1279 | typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); | ||
1280 | typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); | ||
1281 | typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); | ||
1282 | typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); | ||
1283 | #ifdef GL_GLEXT_PROTOTYPES | ||
1284 | GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences); | ||
1285 | GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences); | ||
1286 | GL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint fence); | ||
1287 | GL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint fence); | ||
1288 | GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params); | ||
1289 | GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint fence); | ||
1290 | GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition); | ||
1291 | #endif | ||
1292 | #endif /* GL_NV_fence */ | ||
1293 | |||
1294 | #ifndef GL_NV_framebuffer_blit | ||
1295 | #define GL_NV_framebuffer_blit 1 | ||
1296 | #define GL_READ_FRAMEBUFFER_NV 0x8CA8 | ||
1297 | #define GL_DRAW_FRAMEBUFFER_NV 0x8CA9 | ||
1298 | #define GL_DRAW_FRAMEBUFFER_BINDING_NV 0x8CA6 | ||
1299 | #define GL_READ_FRAMEBUFFER_BINDING_NV 0x8CAA | ||
1300 | typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERNVPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); | ||
1301 | #ifdef GL_GLEXT_PROTOTYPES | ||
1302 | GL_APICALL void GL_APIENTRY glBlitFramebufferNV (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); | ||
1303 | #endif | ||
1304 | #endif /* GL_NV_framebuffer_blit */ | ||
1305 | |||
1306 | #ifndef GL_NV_framebuffer_multisample | ||
1307 | #define GL_NV_framebuffer_multisample 1 | ||
1308 | #define GL_RENDERBUFFER_SAMPLES_NV 0x8CAB | ||
1309 | #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV 0x8D56 | ||
1310 | #define GL_MAX_SAMPLES_NV 0x8D57 | ||
1311 | typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
1312 | #ifdef GL_GLEXT_PROTOTYPES | ||
1313 | GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleNV (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
1314 | #endif | ||
1315 | #endif /* GL_NV_framebuffer_multisample */ | ||
1316 | |||
1317 | #ifndef GL_NV_generate_mipmap_sRGB | ||
1318 | #define GL_NV_generate_mipmap_sRGB 1 | ||
1319 | #endif /* GL_NV_generate_mipmap_sRGB */ | ||
1320 | |||
1321 | #ifndef GL_NV_instanced_arrays | ||
1322 | #define GL_NV_instanced_arrays 1 | ||
1323 | #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV 0x88FE | ||
1324 | typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORNVPROC) (GLuint index, GLuint divisor); | ||
1325 | #ifdef GL_GLEXT_PROTOTYPES | ||
1326 | GL_APICALL void GL_APIENTRY glVertexAttribDivisorNV (GLuint index, GLuint divisor); | ||
1327 | #endif | ||
1328 | #endif /* GL_NV_instanced_arrays */ | ||
1329 | |||
1330 | #ifndef GL_NV_non_square_matrices | ||
1331 | #define GL_NV_non_square_matrices 1 | ||
1332 | #define GL_FLOAT_MAT2x3_NV 0x8B65 | ||
1333 | #define GL_FLOAT_MAT2x4_NV 0x8B66 | ||
1334 | #define GL_FLOAT_MAT3x2_NV 0x8B67 | ||
1335 | #define GL_FLOAT_MAT3x4_NV 0x8B68 | ||
1336 | #define GL_FLOAT_MAT4x2_NV 0x8B69 | ||
1337 | #define GL_FLOAT_MAT4x3_NV 0x8B6A | ||
1338 | typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1339 | typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1340 | typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1341 | typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1342 | typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1343 | typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1344 | #ifdef GL_GLEXT_PROTOTYPES | ||
1345 | GL_APICALL void GL_APIENTRY glUniformMatrix2x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1346 | GL_APICALL void GL_APIENTRY glUniformMatrix3x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1347 | GL_APICALL void GL_APIENTRY glUniformMatrix2x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1348 | GL_APICALL void GL_APIENTRY glUniformMatrix4x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1349 | GL_APICALL void GL_APIENTRY glUniformMatrix3x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1350 | GL_APICALL void GL_APIENTRY glUniformMatrix4x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1351 | #endif | ||
1352 | #endif /* GL_NV_non_square_matrices */ | ||
1353 | |||
1354 | #ifndef GL_NV_read_buffer | ||
1355 | #define GL_NV_read_buffer 1 | ||
1356 | #define GL_READ_BUFFER_NV 0x0C02 | ||
1357 | typedef void (GL_APIENTRYP PFNGLREADBUFFERNVPROC) (GLenum mode); | ||
1358 | #ifdef GL_GLEXT_PROTOTYPES | ||
1359 | GL_APICALL void GL_APIENTRY glReadBufferNV (GLenum mode); | ||
1360 | #endif | ||
1361 | #endif /* GL_NV_read_buffer */ | ||
1362 | |||
1363 | #ifndef GL_NV_read_buffer_front | ||
1364 | #define GL_NV_read_buffer_front 1 | ||
1365 | #endif /* GL_NV_read_buffer_front */ | ||
1366 | |||
1367 | #ifndef GL_NV_read_depth | ||
1368 | #define GL_NV_read_depth 1 | ||
1369 | #endif /* GL_NV_read_depth */ | ||
1370 | |||
1371 | #ifndef GL_NV_read_depth_stencil | ||
1372 | #define GL_NV_read_depth_stencil 1 | ||
1373 | #endif /* GL_NV_read_depth_stencil */ | ||
1374 | |||
1375 | #ifndef GL_NV_read_stencil | ||
1376 | #define GL_NV_read_stencil 1 | ||
1377 | #endif /* GL_NV_read_stencil */ | ||
1378 | |||
1379 | #ifndef GL_NV_sRGB_formats | ||
1380 | #define GL_NV_sRGB_formats 1 | ||
1381 | #define GL_SLUMINANCE_NV 0x8C46 | ||
1382 | #define GL_SLUMINANCE_ALPHA_NV 0x8C44 | ||
1383 | #define GL_SRGB8_NV 0x8C41 | ||
1384 | #define GL_SLUMINANCE8_NV 0x8C47 | ||
1385 | #define GL_SLUMINANCE8_ALPHA8_NV 0x8C45 | ||
1386 | #define GL_COMPRESSED_SRGB_S3TC_DXT1_NV 0x8C4C | ||
1387 | #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV 0x8C4D | ||
1388 | #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV 0x8C4E | ||
1389 | #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV 0x8C4F | ||
1390 | #define GL_ETC1_SRGB8_NV 0x88EE | ||
1391 | #endif /* GL_NV_sRGB_formats */ | ||
1392 | |||
1393 | #ifndef GL_NV_shadow_samplers_array | ||
1394 | #define GL_NV_shadow_samplers_array 1 | ||
1395 | #define GL_SAMPLER_2D_ARRAY_SHADOW_NV 0x8DC4 | ||
1396 | #endif /* GL_NV_shadow_samplers_array */ | ||
1397 | |||
1398 | #ifndef GL_NV_shadow_samplers_cube | ||
1399 | #define GL_NV_shadow_samplers_cube 1 | ||
1400 | #define GL_SAMPLER_CUBE_SHADOW_NV 0x8DC5 | ||
1401 | #endif /* GL_NV_shadow_samplers_cube */ | ||
1402 | |||
1403 | #ifndef GL_NV_texture_border_clamp | ||
1404 | #define GL_NV_texture_border_clamp 1 | ||
1405 | #define GL_TEXTURE_BORDER_COLOR_NV 0x1004 | ||
1406 | #define GL_CLAMP_TO_BORDER_NV 0x812D | ||
1407 | #endif /* GL_NV_texture_border_clamp */ | ||
1408 | |||
1409 | #ifndef GL_NV_texture_compression_s3tc_update | ||
1410 | #define GL_NV_texture_compression_s3tc_update 1 | ||
1411 | #endif /* GL_NV_texture_compression_s3tc_update */ | ||
1412 | |||
1413 | #ifndef GL_NV_texture_npot_2D_mipmap | ||
1414 | #define GL_NV_texture_npot_2D_mipmap 1 | ||
1415 | #endif /* GL_NV_texture_npot_2D_mipmap */ | ||
1416 | |||
1417 | #ifndef GL_QCOM_alpha_test | ||
1418 | #define GL_QCOM_alpha_test 1 | ||
1419 | #define GL_ALPHA_TEST_QCOM 0x0BC0 | ||
1420 | #define GL_ALPHA_TEST_FUNC_QCOM 0x0BC1 | ||
1421 | #define GL_ALPHA_TEST_REF_QCOM 0x0BC2 | ||
1422 | typedef void (GL_APIENTRYP PFNGLALPHAFUNCQCOMPROC) (GLenum func, GLclampf ref); | ||
1423 | #ifdef GL_GLEXT_PROTOTYPES | ||
1424 | GL_APICALL void GL_APIENTRY glAlphaFuncQCOM (GLenum func, GLclampf ref); | ||
1425 | #endif | ||
1426 | #endif /* GL_QCOM_alpha_test */ | ||
1427 | |||
1428 | #ifndef GL_QCOM_binning_control | ||
1429 | #define GL_QCOM_binning_control 1 | ||
1430 | #define GL_BINNING_CONTROL_HINT_QCOM 0x8FB0 | ||
1431 | #define GL_CPU_OPTIMIZED_QCOM 0x8FB1 | ||
1432 | #define GL_GPU_OPTIMIZED_QCOM 0x8FB2 | ||
1433 | #define GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM 0x8FB3 | ||
1434 | #endif /* GL_QCOM_binning_control */ | ||
1435 | |||
1436 | #ifndef GL_QCOM_driver_control | ||
1437 | #define GL_QCOM_driver_control 1 | ||
1438 | typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei size, GLuint *driverControls); | ||
1439 | typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); | ||
1440 | typedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); | ||
1441 | typedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); | ||
1442 | #ifdef GL_GLEXT_PROTOTYPES | ||
1443 | GL_APICALL void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, GLuint *driverControls); | ||
1444 | GL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); | ||
1445 | GL_APICALL void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl); | ||
1446 | GL_APICALL void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl); | ||
1447 | #endif | ||
1448 | #endif /* GL_QCOM_driver_control */ | ||
1449 | |||
1450 | #ifndef GL_QCOM_extended_get | ||
1451 | #define GL_QCOM_extended_get 1 | ||
1452 | #define GL_TEXTURE_WIDTH_QCOM 0x8BD2 | ||
1453 | #define GL_TEXTURE_HEIGHT_QCOM 0x8BD3 | ||
1454 | #define GL_TEXTURE_DEPTH_QCOM 0x8BD4 | ||
1455 | #define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5 | ||
1456 | #define GL_TEXTURE_FORMAT_QCOM 0x8BD6 | ||
1457 | #define GL_TEXTURE_TYPE_QCOM 0x8BD7 | ||
1458 | #define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8 | ||
1459 | #define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9 | ||
1460 | #define GL_TEXTURE_TARGET_QCOM 0x8BDA | ||
1461 | #define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB | ||
1462 | #define GL_STATE_RESTORE 0x8BDC | ||
1463 | typedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint maxTextures, GLint *numTextures); | ||
1464 | typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); | ||
1465 | typedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); | ||
1466 | typedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); | ||
1467 | typedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); | ||
1468 | typedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum target, GLenum pname, GLint param); | ||
1469 | typedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels); | ||
1470 | typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, void **params); | ||
1471 | #ifdef GL_GLEXT_PROTOTYPES | ||
1472 | GL_APICALL void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTextures, GLint *numTextures); | ||
1473 | GL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); | ||
1474 | GL_APICALL void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); | ||
1475 | GL_APICALL void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); | ||
1476 | GL_APICALL void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); | ||
1477 | GL_APICALL void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLenum pname, GLint param); | ||
1478 | GL_APICALL void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels); | ||
1479 | GL_APICALL void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, void **params); | ||
1480 | #endif | ||
1481 | #endif /* GL_QCOM_extended_get */ | ||
1482 | |||
1483 | #ifndef GL_QCOM_extended_get2 | ||
1484 | #define GL_QCOM_extended_get2 1 | ||
1485 | typedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint maxShaders, GLint *numShaders); | ||
1486 | typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint maxPrograms, GLint *numPrograms); | ||
1487 | typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program); | ||
1488 | typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shadertype, GLchar *source, GLint *length); | ||
1489 | #ifdef GL_GLEXT_PROTOTYPES | ||
1490 | GL_APICALL void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShaders, GLint *numShaders); | ||
1491 | GL_APICALL void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPrograms, GLint *numPrograms); | ||
1492 | GL_APICALL GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program); | ||
1493 | GL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar *source, GLint *length); | ||
1494 | #endif | ||
1495 | #endif /* GL_QCOM_extended_get2 */ | ||
1496 | |||
1497 | #ifndef GL_QCOM_perfmon_global_mode | ||
1498 | #define GL_QCOM_perfmon_global_mode 1 | ||
1499 | #define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0 | ||
1500 | #endif /* GL_QCOM_perfmon_global_mode */ | ||
1501 | |||
1502 | #ifndef GL_QCOM_tiled_rendering | ||
1503 | #define GL_QCOM_tiled_rendering 1 | ||
1504 | #define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001 | ||
1505 | #define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002 | ||
1506 | #define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004 | ||
1507 | #define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008 | ||
1508 | #define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010 | ||
1509 | #define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020 | ||
1510 | #define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040 | ||
1511 | #define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080 | ||
1512 | #define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100 | ||
1513 | #define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200 | ||
1514 | #define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400 | ||
1515 | #define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800 | ||
1516 | #define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000 | ||
1517 | #define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000 | ||
1518 | #define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000 | ||
1519 | #define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000 | ||
1520 | #define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000 | ||
1521 | #define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000 | ||
1522 | #define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000 | ||
1523 | #define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000 | ||
1524 | #define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000 | ||
1525 | #define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000 | ||
1526 | #define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000 | ||
1527 | #define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000 | ||
1528 | #define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000 | ||
1529 | #define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000 | ||
1530 | #define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000 | ||
1531 | #define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000 | ||
1532 | #define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000 | ||
1533 | #define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000 | ||
1534 | #define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000 | ||
1535 | #define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000 | ||
1536 | typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); | ||
1537 | typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask); | ||
1538 | #ifdef GL_GLEXT_PROTOTYPES | ||
1539 | GL_APICALL void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); | ||
1540 | GL_APICALL void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask); | ||
1541 | #endif | ||
1542 | #endif /* GL_QCOM_tiled_rendering */ | ||
1543 | |||
1544 | #ifndef GL_QCOM_writeonly_rendering | ||
1545 | #define GL_QCOM_writeonly_rendering 1 | ||
1546 | #define GL_WRITEONLY_RENDERING_QCOM 0x8823 | ||
1547 | #endif /* GL_QCOM_writeonly_rendering */ | ||
1548 | |||
1549 | #ifndef GL_VIV_shader_binary | ||
1550 | #define GL_VIV_shader_binary 1 | ||
1551 | #define GL_SHADER_BINARY_VIV 0x8FC4 | ||
1552 | #endif /* GL_VIV_shader_binary */ | ||
1553 | |||
1554 | #ifdef __cplusplus | ||
1555 | } | ||
1556 | #endif | ||
1557 | |||
1558 | #endif | ||
diff --git a/recipes/opengldummy/files/headers/GLES2/gl2platform.h b/recipes/opengldummy/files/headers/GLES2/gl2platform.h deleted file mode 100644 index 89d4d44..0000000 --- a/recipes/opengldummy/files/headers/GLES2/gl2platform.h +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | #ifndef __gl2platform_h_ | ||
2 | #define __gl2platform_h_ | ||
3 | |||
4 | /* $Revision: 23328 $ on $Date:: 2013-10-02 02:28:28 -0700 #$ */ | ||
5 | |||
6 | /* | ||
7 | * This document is licensed under the SGI Free Software B License Version | ||
8 | * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . | ||
9 | */ | ||
10 | |||
11 | /* Platform-specific types and definitions for OpenGL ES 2.X gl2.h | ||
12 | * | ||
13 | * Adopters may modify khrplatform.h and this file to suit their platform. | ||
14 | * You are encouraged to submit all modifications to the Khronos group so that | ||
15 | * they can be included in future versions of this file. Please submit changes | ||
16 | * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) | ||
17 | * by filing a bug against product "OpenGL-ES" component "Registry". | ||
18 | */ | ||
19 | |||
20 | #include <KHR/khrplatform.h> | ||
21 | |||
22 | #ifndef GL_APICALL | ||
23 | #define GL_APICALL KHRONOS_APICALL | ||
24 | #endif | ||
25 | |||
26 | #ifndef GL_APIENTRY | ||
27 | #define GL_APIENTRY KHRONOS_APIENTRY | ||
28 | #endif | ||
29 | |||
30 | #endif /* __gl2platform_h_ */ | ||
diff --git a/recipes/opengldummy/files/headers/GLES3/gl3.h b/recipes/opengldummy/files/headers/GLES3/gl3.h deleted file mode 100644 index 81b63bd..0000000 --- a/recipes/opengldummy/files/headers/GLES3/gl3.h +++ /dev/null | |||
@@ -1,937 +0,0 @@ | |||
1 | #ifndef __gl3_h_ | ||
2 | #define __gl3_h_ 1 | ||
3 | |||
4 | #ifdef __cplusplus | ||
5 | extern "C" { | ||
6 | #endif | ||
7 | |||
8 | /* | ||
9 | ** Copyright (c) 2013 The Khronos Group Inc. | ||
10 | ** | ||
11 | ** Permission is hereby granted, free of charge, to any person obtaining a | ||
12 | ** copy of this software and/or associated documentation files (the | ||
13 | ** "Materials"), to deal in the Materials without restriction, including | ||
14 | ** without limitation the rights to use, copy, modify, merge, publish, | ||
15 | ** distribute, sublicense, and/or sell copies of the Materials, and to | ||
16 | ** permit persons to whom the Materials are furnished to do so, subject to | ||
17 | ** the following conditions: | ||
18 | ** | ||
19 | ** The above copyright notice and this permission notice shall be included | ||
20 | ** in all copies or substantial portions of the Materials. | ||
21 | ** | ||
22 | ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
23 | ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
24 | ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
25 | ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
26 | ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
27 | ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
28 | ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. | ||
29 | */ | ||
30 | /* | ||
31 | ** This header is generated from the Khronos OpenGL / OpenGL ES XML | ||
32 | ** API Registry. The current version of the Registry, generator scripts | ||
33 | ** used to make the header, and the header can be found at | ||
34 | ** http://www.opengl.org/registry/ | ||
35 | ** | ||
36 | ** Khronos $Revision$ on $Date$ | ||
37 | */ | ||
38 | |||
39 | #include <GLES3/gl3platform.h> | ||
40 | |||
41 | /* Generated C header for: | ||
42 | * API: gles2 | ||
43 | * Profile: common | ||
44 | * Versions considered: [23]\.[0-9] | ||
45 | * Versions emitted: .* | ||
46 | * Default extensions included: None | ||
47 | * Additional extensions included: _nomatch_^ | ||
48 | * Extensions removed: _nomatch_^ | ||
49 | */ | ||
50 | |||
51 | #ifndef GL_ES_VERSION_2_0 | ||
52 | #define GL_ES_VERSION_2_0 1 | ||
53 | #include <KHR/khrplatform.h> | ||
54 | typedef khronos_int8_t GLbyte; | ||
55 | typedef khronos_float_t GLclampf; | ||
56 | typedef khronos_int32_t GLfixed; | ||
57 | typedef short GLshort; | ||
58 | typedef unsigned short GLushort; | ||
59 | typedef void GLvoid; | ||
60 | typedef struct __GLsync *GLsync; | ||
61 | typedef khronos_int64_t GLint64; | ||
62 | typedef khronos_uint64_t GLuint64; | ||
63 | typedef unsigned int GLenum; | ||
64 | typedef unsigned int GLuint; | ||
65 | typedef char GLchar; | ||
66 | typedef khronos_float_t GLfloat; | ||
67 | typedef khronos_ssize_t GLsizeiptr; | ||
68 | typedef khronos_intptr_t GLintptr; | ||
69 | typedef unsigned int GLbitfield; | ||
70 | typedef int GLint; | ||
71 | typedef unsigned char GLboolean; | ||
72 | typedef int GLsizei; | ||
73 | typedef khronos_uint8_t GLubyte; | ||
74 | #define GL_DEPTH_BUFFER_BIT 0x00000100 | ||
75 | #define GL_STENCIL_BUFFER_BIT 0x00000400 | ||
76 | #define GL_COLOR_BUFFER_BIT 0x00004000 | ||
77 | #define GL_FALSE 0 | ||
78 | #define GL_TRUE 1 | ||
79 | #define GL_POINTS 0x0000 | ||
80 | #define GL_LINES 0x0001 | ||
81 | #define GL_LINE_LOOP 0x0002 | ||
82 | #define GL_LINE_STRIP 0x0003 | ||
83 | #define GL_TRIANGLES 0x0004 | ||
84 | #define GL_TRIANGLE_STRIP 0x0005 | ||
85 | #define GL_TRIANGLE_FAN 0x0006 | ||
86 | #define GL_ZERO 0 | ||
87 | #define GL_ONE 1 | ||
88 | #define GL_SRC_COLOR 0x0300 | ||
89 | #define GL_ONE_MINUS_SRC_COLOR 0x0301 | ||
90 | #define GL_SRC_ALPHA 0x0302 | ||
91 | #define GL_ONE_MINUS_SRC_ALPHA 0x0303 | ||
92 | #define GL_DST_ALPHA 0x0304 | ||
93 | #define GL_ONE_MINUS_DST_ALPHA 0x0305 | ||
94 | #define GL_DST_COLOR 0x0306 | ||
95 | #define GL_ONE_MINUS_DST_COLOR 0x0307 | ||
96 | #define GL_SRC_ALPHA_SATURATE 0x0308 | ||
97 | #define GL_FUNC_ADD 0x8006 | ||
98 | #define GL_BLEND_EQUATION 0x8009 | ||
99 | #define GL_BLEND_EQUATION_RGB 0x8009 | ||
100 | #define GL_BLEND_EQUATION_ALPHA 0x883D | ||
101 | #define GL_FUNC_SUBTRACT 0x800A | ||
102 | #define GL_FUNC_REVERSE_SUBTRACT 0x800B | ||
103 | #define GL_BLEND_DST_RGB 0x80C8 | ||
104 | #define GL_BLEND_SRC_RGB 0x80C9 | ||
105 | #define GL_BLEND_DST_ALPHA 0x80CA | ||
106 | #define GL_BLEND_SRC_ALPHA 0x80CB | ||
107 | #define GL_CONSTANT_COLOR 0x8001 | ||
108 | #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 | ||
109 | #define GL_CONSTANT_ALPHA 0x8003 | ||
110 | #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 | ||
111 | #define GL_BLEND_COLOR 0x8005 | ||
112 | #define GL_ARRAY_BUFFER 0x8892 | ||
113 | #define GL_ELEMENT_ARRAY_BUFFER 0x8893 | ||
114 | #define GL_ARRAY_BUFFER_BINDING 0x8894 | ||
115 | #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 | ||
116 | #define GL_STREAM_DRAW 0x88E0 | ||
117 | #define GL_STATIC_DRAW 0x88E4 | ||
118 | #define GL_DYNAMIC_DRAW 0x88E8 | ||
119 | #define GL_BUFFER_SIZE 0x8764 | ||
120 | #define GL_BUFFER_USAGE 0x8765 | ||
121 | #define GL_CURRENT_VERTEX_ATTRIB 0x8626 | ||
122 | #define GL_FRONT 0x0404 | ||
123 | #define GL_BACK 0x0405 | ||
124 | #define GL_FRONT_AND_BACK 0x0408 | ||
125 | #define GL_TEXTURE_2D 0x0DE1 | ||
126 | #define GL_CULL_FACE 0x0B44 | ||
127 | #define GL_BLEND 0x0BE2 | ||
128 | #define GL_DITHER 0x0BD0 | ||
129 | #define GL_STENCIL_TEST 0x0B90 | ||
130 | #define GL_DEPTH_TEST 0x0B71 | ||
131 | #define GL_SCISSOR_TEST 0x0C11 | ||
132 | #define GL_POLYGON_OFFSET_FILL 0x8037 | ||
133 | #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E | ||
134 | #define GL_SAMPLE_COVERAGE 0x80A0 | ||
135 | #define GL_NO_ERROR 0 | ||
136 | #define GL_INVALID_ENUM 0x0500 | ||
137 | #define GL_INVALID_VALUE 0x0501 | ||
138 | #define GL_INVALID_OPERATION 0x0502 | ||
139 | #define GL_OUT_OF_MEMORY 0x0505 | ||
140 | #define GL_CW 0x0900 | ||
141 | #define GL_CCW 0x0901 | ||
142 | #define GL_LINE_WIDTH 0x0B21 | ||
143 | #define GL_ALIASED_POINT_SIZE_RANGE 0x846D | ||
144 | #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E | ||
145 | #define GL_CULL_FACE_MODE 0x0B45 | ||
146 | #define GL_FRONT_FACE 0x0B46 | ||
147 | #define GL_DEPTH_RANGE 0x0B70 | ||
148 | #define GL_DEPTH_WRITEMASK 0x0B72 | ||
149 | #define GL_DEPTH_CLEAR_VALUE 0x0B73 | ||
150 | #define GL_DEPTH_FUNC 0x0B74 | ||
151 | #define GL_STENCIL_CLEAR_VALUE 0x0B91 | ||
152 | #define GL_STENCIL_FUNC 0x0B92 | ||
153 | #define GL_STENCIL_FAIL 0x0B94 | ||
154 | #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 | ||
155 | #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 | ||
156 | #define GL_STENCIL_REF 0x0B97 | ||
157 | #define GL_STENCIL_VALUE_MASK 0x0B93 | ||
158 | #define GL_STENCIL_WRITEMASK 0x0B98 | ||
159 | #define GL_STENCIL_BACK_FUNC 0x8800 | ||
160 | #define GL_STENCIL_BACK_FAIL 0x8801 | ||
161 | #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 | ||
162 | #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 | ||
163 | #define GL_STENCIL_BACK_REF 0x8CA3 | ||
164 | #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 | ||
165 | #define GL_STENCIL_BACK_WRITEMASK 0x8CA5 | ||
166 | #define GL_VIEWPORT 0x0BA2 | ||
167 | #define GL_SCISSOR_BOX 0x0C10 | ||
168 | #define GL_COLOR_CLEAR_VALUE 0x0C22 | ||
169 | #define GL_COLOR_WRITEMASK 0x0C23 | ||
170 | #define GL_UNPACK_ALIGNMENT 0x0CF5 | ||
171 | #define GL_PACK_ALIGNMENT 0x0D05 | ||
172 | #define GL_MAX_TEXTURE_SIZE 0x0D33 | ||
173 | #define GL_MAX_VIEWPORT_DIMS 0x0D3A | ||
174 | #define GL_SUBPIXEL_BITS 0x0D50 | ||
175 | #define GL_RED_BITS 0x0D52 | ||
176 | #define GL_GREEN_BITS 0x0D53 | ||
177 | #define GL_BLUE_BITS 0x0D54 | ||
178 | #define GL_ALPHA_BITS 0x0D55 | ||
179 | #define GL_DEPTH_BITS 0x0D56 | ||
180 | #define GL_STENCIL_BITS 0x0D57 | ||
181 | #define GL_POLYGON_OFFSET_UNITS 0x2A00 | ||
182 | #define GL_POLYGON_OFFSET_FACTOR 0x8038 | ||
183 | #define GL_TEXTURE_BINDING_2D 0x8069 | ||
184 | #define GL_SAMPLE_BUFFERS 0x80A8 | ||
185 | #define GL_SAMPLES 0x80A9 | ||
186 | #define GL_SAMPLE_COVERAGE_VALUE 0x80AA | ||
187 | #define GL_SAMPLE_COVERAGE_INVERT 0x80AB | ||
188 | #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 | ||
189 | #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 | ||
190 | #define GL_DONT_CARE 0x1100 | ||
191 | #define GL_FASTEST 0x1101 | ||
192 | #define GL_NICEST 0x1102 | ||
193 | #define GL_GENERATE_MIPMAP_HINT 0x8192 | ||
194 | #define GL_BYTE 0x1400 | ||
195 | #define GL_UNSIGNED_BYTE 0x1401 | ||
196 | #define GL_SHORT 0x1402 | ||
197 | #define GL_UNSIGNED_SHORT 0x1403 | ||
198 | #define GL_INT 0x1404 | ||
199 | #define GL_UNSIGNED_INT 0x1405 | ||
200 | #define GL_FLOAT 0x1406 | ||
201 | #define GL_FIXED 0x140C | ||
202 | #define GL_DEPTH_COMPONENT 0x1902 | ||
203 | #define GL_ALPHA 0x1906 | ||
204 | #define GL_RGB 0x1907 | ||
205 | #define GL_RGBA 0x1908 | ||
206 | #define GL_LUMINANCE 0x1909 | ||
207 | #define GL_LUMINANCE_ALPHA 0x190A | ||
208 | #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 | ||
209 | #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 | ||
210 | #define GL_UNSIGNED_SHORT_5_6_5 0x8363 | ||
211 | #define GL_FRAGMENT_SHADER 0x8B30 | ||
212 | #define GL_VERTEX_SHADER 0x8B31 | ||
213 | #define GL_MAX_VERTEX_ATTRIBS 0x8869 | ||
214 | #define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB | ||
215 | #define GL_MAX_VARYING_VECTORS 0x8DFC | ||
216 | #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D | ||
217 | #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C | ||
218 | #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 | ||
219 | #define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD | ||
220 | #define GL_SHADER_TYPE 0x8B4F | ||
221 | #define GL_DELETE_STATUS 0x8B80 | ||
222 | #define GL_LINK_STATUS 0x8B82 | ||
223 | #define GL_VALIDATE_STATUS 0x8B83 | ||
224 | #define GL_ATTACHED_SHADERS 0x8B85 | ||
225 | #define GL_ACTIVE_UNIFORMS 0x8B86 | ||
226 | #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 | ||
227 | #define GL_ACTIVE_ATTRIBUTES 0x8B89 | ||
228 | #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A | ||
229 | #define GL_SHADING_LANGUAGE_VERSION 0x8B8C | ||
230 | #define GL_CURRENT_PROGRAM 0x8B8D | ||
231 | #define GL_NEVER 0x0200 | ||
232 | #define GL_LESS 0x0201 | ||
233 | #define GL_EQUAL 0x0202 | ||
234 | #define GL_LEQUAL 0x0203 | ||
235 | #define GL_GREATER 0x0204 | ||
236 | #define GL_NOTEQUAL 0x0205 | ||
237 | #define GL_GEQUAL 0x0206 | ||
238 | #define GL_ALWAYS 0x0207 | ||
239 | #define GL_KEEP 0x1E00 | ||
240 | #define GL_REPLACE 0x1E01 | ||
241 | #define GL_INCR 0x1E02 | ||
242 | #define GL_DECR 0x1E03 | ||
243 | #define GL_INVERT 0x150A | ||
244 | #define GL_INCR_WRAP 0x8507 | ||
245 | #define GL_DECR_WRAP 0x8508 | ||
246 | #define GL_VENDOR 0x1F00 | ||
247 | #define GL_RENDERER 0x1F01 | ||
248 | #define GL_VERSION 0x1F02 | ||
249 | #define GL_EXTENSIONS 0x1F03 | ||
250 | #define GL_NEAREST 0x2600 | ||
251 | #define GL_LINEAR 0x2601 | ||
252 | #define GL_NEAREST_MIPMAP_NEAREST 0x2700 | ||
253 | #define GL_LINEAR_MIPMAP_NEAREST 0x2701 | ||
254 | #define GL_NEAREST_MIPMAP_LINEAR 0x2702 | ||
255 | #define GL_LINEAR_MIPMAP_LINEAR 0x2703 | ||
256 | #define GL_TEXTURE_MAG_FILTER 0x2800 | ||
257 | #define GL_TEXTURE_MIN_FILTER 0x2801 | ||
258 | #define GL_TEXTURE_WRAP_S 0x2802 | ||
259 | #define GL_TEXTURE_WRAP_T 0x2803 | ||
260 | #define GL_TEXTURE 0x1702 | ||
261 | #define GL_TEXTURE_CUBE_MAP 0x8513 | ||
262 | #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 | ||
263 | #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 | ||
264 | #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 | ||
265 | #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 | ||
266 | #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 | ||
267 | #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 | ||
268 | #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A | ||
269 | #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C | ||
270 | #define GL_TEXTURE0 0x84C0 | ||
271 | #define GL_TEXTURE1 0x84C1 | ||
272 | #define GL_TEXTURE2 0x84C2 | ||
273 | #define GL_TEXTURE3 0x84C3 | ||
274 | #define GL_TEXTURE4 0x84C4 | ||
275 | #define GL_TEXTURE5 0x84C5 | ||
276 | #define GL_TEXTURE6 0x84C6 | ||
277 | #define GL_TEXTURE7 0x84C7 | ||
278 | #define GL_TEXTURE8 0x84C8 | ||
279 | #define GL_TEXTURE9 0x84C9 | ||
280 | #define GL_TEXTURE10 0x84CA | ||
281 | #define GL_TEXTURE11 0x84CB | ||
282 | #define GL_TEXTURE12 0x84CC | ||
283 | #define GL_TEXTURE13 0x84CD | ||
284 | #define GL_TEXTURE14 0x84CE | ||
285 | #define GL_TEXTURE15 0x84CF | ||
286 | #define GL_TEXTURE16 0x84D0 | ||
287 | #define GL_TEXTURE17 0x84D1 | ||
288 | #define GL_TEXTURE18 0x84D2 | ||
289 | #define GL_TEXTURE19 0x84D3 | ||
290 | #define GL_TEXTURE20 0x84D4 | ||
291 | #define GL_TEXTURE21 0x84D5 | ||
292 | #define GL_TEXTURE22 0x84D6 | ||
293 | #define GL_TEXTURE23 0x84D7 | ||
294 | #define GL_TEXTURE24 0x84D8 | ||
295 | #define GL_TEXTURE25 0x84D9 | ||
296 | #define GL_TEXTURE26 0x84DA | ||
297 | #define GL_TEXTURE27 0x84DB | ||
298 | #define GL_TEXTURE28 0x84DC | ||
299 | #define GL_TEXTURE29 0x84DD | ||
300 | #define GL_TEXTURE30 0x84DE | ||
301 | #define GL_TEXTURE31 0x84DF | ||
302 | #define GL_ACTIVE_TEXTURE 0x84E0 | ||
303 | #define GL_REPEAT 0x2901 | ||
304 | #define GL_CLAMP_TO_EDGE 0x812F | ||
305 | #define GL_MIRRORED_REPEAT 0x8370 | ||
306 | #define GL_FLOAT_VEC2 0x8B50 | ||
307 | #define GL_FLOAT_VEC3 0x8B51 | ||
308 | #define GL_FLOAT_VEC4 0x8B52 | ||
309 | #define GL_INT_VEC2 0x8B53 | ||
310 | #define GL_INT_VEC3 0x8B54 | ||
311 | #define GL_INT_VEC4 0x8B55 | ||
312 | #define GL_BOOL 0x8B56 | ||
313 | #define GL_BOOL_VEC2 0x8B57 | ||
314 | #define GL_BOOL_VEC3 0x8B58 | ||
315 | #define GL_BOOL_VEC4 0x8B59 | ||
316 | #define GL_FLOAT_MAT2 0x8B5A | ||
317 | #define GL_FLOAT_MAT3 0x8B5B | ||
318 | #define GL_FLOAT_MAT4 0x8B5C | ||
319 | #define GL_SAMPLER_2D 0x8B5E | ||
320 | #define GL_SAMPLER_CUBE 0x8B60 | ||
321 | #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 | ||
322 | #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 | ||
323 | #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 | ||
324 | #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 | ||
325 | #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A | ||
326 | #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 | ||
327 | #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F | ||
328 | #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A | ||
329 | #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B | ||
330 | #define GL_COMPILE_STATUS 0x8B81 | ||
331 | #define GL_INFO_LOG_LENGTH 0x8B84 | ||
332 | #define GL_SHADER_SOURCE_LENGTH 0x8B88 | ||
333 | #define GL_SHADER_COMPILER 0x8DFA | ||
334 | #define GL_SHADER_BINARY_FORMATS 0x8DF8 | ||
335 | #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 | ||
336 | #define GL_LOW_FLOAT 0x8DF0 | ||
337 | #define GL_MEDIUM_FLOAT 0x8DF1 | ||
338 | #define GL_HIGH_FLOAT 0x8DF2 | ||
339 | #define GL_LOW_INT 0x8DF3 | ||
340 | #define GL_MEDIUM_INT 0x8DF4 | ||
341 | #define GL_HIGH_INT 0x8DF5 | ||
342 | #define GL_FRAMEBUFFER 0x8D40 | ||
343 | #define GL_RENDERBUFFER 0x8D41 | ||
344 | #define GL_RGBA4 0x8056 | ||
345 | #define GL_RGB5_A1 0x8057 | ||
346 | #define GL_RGB565 0x8D62 | ||
347 | #define GL_DEPTH_COMPONENT16 0x81A5 | ||
348 | #define GL_STENCIL_INDEX8 0x8D48 | ||
349 | #define GL_RENDERBUFFER_WIDTH 0x8D42 | ||
350 | #define GL_RENDERBUFFER_HEIGHT 0x8D43 | ||
351 | #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 | ||
352 | #define GL_RENDERBUFFER_RED_SIZE 0x8D50 | ||
353 | #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 | ||
354 | #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 | ||
355 | #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 | ||
356 | #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 | ||
357 | #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 | ||
358 | #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 | ||
359 | #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 | ||
360 | #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 | ||
361 | #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 | ||
362 | #define GL_COLOR_ATTACHMENT0 0x8CE0 | ||
363 | #define GL_DEPTH_ATTACHMENT 0x8D00 | ||
364 | #define GL_STENCIL_ATTACHMENT 0x8D20 | ||
365 | #define GL_NONE 0 | ||
366 | #define GL_FRAMEBUFFER_COMPLETE 0x8CD5 | ||
367 | #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 | ||
368 | #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 | ||
369 | #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9 | ||
370 | #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD | ||
371 | #define GL_FRAMEBUFFER_BINDING 0x8CA6 | ||
372 | #define GL_RENDERBUFFER_BINDING 0x8CA7 | ||
373 | #define GL_MAX_RENDERBUFFER_SIZE 0x84E8 | ||
374 | #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 | ||
375 | GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); | ||
376 | GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); | ||
377 | GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); | ||
378 | GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); | ||
379 | GL_APICALL void GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer); | ||
380 | GL_APICALL void GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer); | ||
381 | GL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture); | ||
382 | GL_APICALL void GL_APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); | ||
383 | GL_APICALL void GL_APIENTRY glBlendEquation (GLenum mode); | ||
384 | GL_APICALL void GL_APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha); | ||
385 | GL_APICALL void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); | ||
386 | GL_APICALL void GL_APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); | ||
387 | GL_APICALL void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage); | ||
388 | GL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); | ||
389 | GL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatus (GLenum target); | ||
390 | GL_APICALL void GL_APIENTRY glClear (GLbitfield mask); | ||
391 | GL_APICALL void GL_APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); | ||
392 | GL_APICALL void GL_APIENTRY glClearDepthf (GLfloat d); | ||
393 | GL_APICALL void GL_APIENTRY glClearStencil (GLint s); | ||
394 | GL_APICALL void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); | ||
395 | GL_APICALL void GL_APIENTRY glCompileShader (GLuint shader); | ||
396 | GL_APICALL void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); | ||
397 | GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); | ||
398 | GL_APICALL void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); | ||
399 | GL_APICALL void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); | ||
400 | GL_APICALL GLuint GL_APIENTRY glCreateProgram (void); | ||
401 | GL_APICALL GLuint GL_APIENTRY glCreateShader (GLenum type); | ||
402 | GL_APICALL void GL_APIENTRY glCullFace (GLenum mode); | ||
403 | GL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); | ||
404 | GL_APICALL void GL_APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers); | ||
405 | GL_APICALL void GL_APIENTRY glDeleteProgram (GLuint program); | ||
406 | GL_APICALL void GL_APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers); | ||
407 | GL_APICALL void GL_APIENTRY glDeleteShader (GLuint shader); | ||
408 | GL_APICALL void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures); | ||
409 | GL_APICALL void GL_APIENTRY glDepthFunc (GLenum func); | ||
410 | GL_APICALL void GL_APIENTRY glDepthMask (GLboolean flag); | ||
411 | GL_APICALL void GL_APIENTRY glDepthRangef (GLfloat n, GLfloat f); | ||
412 | GL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader); | ||
413 | GL_APICALL void GL_APIENTRY glDisable (GLenum cap); | ||
414 | GL_APICALL void GL_APIENTRY glDisableVertexAttribArray (GLuint index); | ||
415 | GL_APICALL void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); | ||
416 | GL_APICALL void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices); | ||
417 | GL_APICALL void GL_APIENTRY glEnable (GLenum cap); | ||
418 | GL_APICALL void GL_APIENTRY glEnableVertexAttribArray (GLuint index); | ||
419 | GL_APICALL void GL_APIENTRY glFinish (void); | ||
420 | GL_APICALL void GL_APIENTRY glFlush (void); | ||
421 | GL_APICALL void GL_APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); | ||
422 | GL_APICALL void GL_APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); | ||
423 | GL_APICALL void GL_APIENTRY glFrontFace (GLenum mode); | ||
424 | GL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers); | ||
425 | GL_APICALL void GL_APIENTRY glGenerateMipmap (GLenum target); | ||
426 | GL_APICALL void GL_APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers); | ||
427 | GL_APICALL void GL_APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers); | ||
428 | GL_APICALL void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures); | ||
429 | GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); | ||
430 | GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); | ||
431 | GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); | ||
432 | GL_APICALL GLint GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar *name); | ||
433 | GL_APICALL void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *params); | ||
434 | GL_APICALL void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params); | ||
435 | GL_APICALL GLenum GL_APIENTRY glGetError (void); | ||
436 | GL_APICALL void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *params); | ||
437 | GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params); | ||
438 | GL_APICALL void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *params); | ||
439 | GL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params); | ||
440 | GL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); | ||
441 | GL_APICALL void GL_APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params); | ||
442 | GL_APICALL void GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params); | ||
443 | GL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); | ||
444 | GL_APICALL void GL_APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); | ||
445 | GL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); | ||
446 | GL_APICALL const GLubyte *GL_APIENTRY glGetString (GLenum name); | ||
447 | GL_APICALL void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params); | ||
448 | GL_APICALL void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params); | ||
449 | GL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params); | ||
450 | GL_APICALL void GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params); | ||
451 | GL_APICALL GLint GL_APIENTRY glGetUniformLocation (GLuint program, const GLchar *name); | ||
452 | GL_APICALL void GL_APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params); | ||
453 | GL_APICALL void GL_APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params); | ||
454 | GL_APICALL void GL_APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer); | ||
455 | GL_APICALL void GL_APIENTRY glHint (GLenum target, GLenum mode); | ||
456 | GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); | ||
457 | GL_APICALL GLboolean GL_APIENTRY glIsEnabled (GLenum cap); | ||
458 | GL_APICALL GLboolean GL_APIENTRY glIsFramebuffer (GLuint framebuffer); | ||
459 | GL_APICALL GLboolean GL_APIENTRY glIsProgram (GLuint program); | ||
460 | GL_APICALL GLboolean GL_APIENTRY glIsRenderbuffer (GLuint renderbuffer); | ||
461 | GL_APICALL GLboolean GL_APIENTRY glIsShader (GLuint shader); | ||
462 | GL_APICALL GLboolean GL_APIENTRY glIsTexture (GLuint texture); | ||
463 | GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width); | ||
464 | GL_APICALL void GL_APIENTRY glLinkProgram (GLuint program); | ||
465 | GL_APICALL void GL_APIENTRY glPixelStorei (GLenum pname, GLint param); | ||
466 | GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); | ||
467 | GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); | ||
468 | GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void); | ||
469 | GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); | ||
470 | GL_APICALL void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); | ||
471 | GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); | ||
472 | GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); | ||
473 | GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); | ||
474 | GL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); | ||
475 | GL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); | ||
476 | GL_APICALL void GL_APIENTRY glStencilMask (GLuint mask); | ||
477 | GL_APICALL void GL_APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask); | ||
478 | GL_APICALL void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); | ||
479 | GL_APICALL void GL_APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); | ||
480 | GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); | ||
481 | GL_APICALL void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); | ||
482 | GL_APICALL void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params); | ||
483 | GL_APICALL void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); | ||
484 | GL_APICALL void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params); | ||
485 | GL_APICALL void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); | ||
486 | GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat v0); | ||
487 | GL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value); | ||
488 | GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint v0); | ||
489 | GL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value); | ||
490 | GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1); | ||
491 | GL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value); | ||
492 | GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint v0, GLint v1); | ||
493 | GL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value); | ||
494 | GL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); | ||
495 | GL_APICALL void GL_APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value); | ||
496 | GL_APICALL void GL_APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2); | ||
497 | GL_APICALL void GL_APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value); | ||
498 | GL_APICALL void GL_APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); | ||
499 | GL_APICALL void GL_APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value); | ||
500 | GL_APICALL void GL_APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); | ||
501 | GL_APICALL void GL_APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value); | ||
502 | GL_APICALL void GL_APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
503 | GL_APICALL void GL_APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
504 | GL_APICALL void GL_APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
505 | GL_APICALL void GL_APIENTRY glUseProgram (GLuint program); | ||
506 | GL_APICALL void GL_APIENTRY glValidateProgram (GLuint program); | ||
507 | GL_APICALL void GL_APIENTRY glVertexAttrib1f (GLuint index, GLfloat x); | ||
508 | GL_APICALL void GL_APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v); | ||
509 | GL_APICALL void GL_APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y); | ||
510 | GL_APICALL void GL_APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v); | ||
511 | GL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z); | ||
512 | GL_APICALL void GL_APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v); | ||
513 | GL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | ||
514 | GL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v); | ||
515 | GL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); | ||
516 | GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); | ||
517 | #endif /* GL_ES_VERSION_2_0 */ | ||
518 | |||
519 | #ifndef GL_ES_VERSION_3_0 | ||
520 | #define GL_ES_VERSION_3_0 1 | ||
521 | typedef unsigned short GLhalf; | ||
522 | #define GL_READ_BUFFER 0x0C02 | ||
523 | #define GL_UNPACK_ROW_LENGTH 0x0CF2 | ||
524 | #define GL_UNPACK_SKIP_ROWS 0x0CF3 | ||
525 | #define GL_UNPACK_SKIP_PIXELS 0x0CF4 | ||
526 | #define GL_PACK_ROW_LENGTH 0x0D02 | ||
527 | #define GL_PACK_SKIP_ROWS 0x0D03 | ||
528 | #define GL_PACK_SKIP_PIXELS 0x0D04 | ||
529 | #define GL_COLOR 0x1800 | ||
530 | #define GL_DEPTH 0x1801 | ||
531 | #define GL_STENCIL 0x1802 | ||
532 | #define GL_RED 0x1903 | ||
533 | #define GL_RGB8 0x8051 | ||
534 | #define GL_RGBA8 0x8058 | ||
535 | #define GL_RGB10_A2 0x8059 | ||
536 | #define GL_TEXTURE_BINDING_3D 0x806A | ||
537 | #define GL_UNPACK_SKIP_IMAGES 0x806D | ||
538 | #define GL_UNPACK_IMAGE_HEIGHT 0x806E | ||
539 | #define GL_TEXTURE_3D 0x806F | ||
540 | #define GL_TEXTURE_WRAP_R 0x8072 | ||
541 | #define GL_MAX_3D_TEXTURE_SIZE 0x8073 | ||
542 | #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 | ||
543 | #define GL_MAX_ELEMENTS_VERTICES 0x80E8 | ||
544 | #define GL_MAX_ELEMENTS_INDICES 0x80E9 | ||
545 | #define GL_TEXTURE_MIN_LOD 0x813A | ||
546 | #define GL_TEXTURE_MAX_LOD 0x813B | ||
547 | #define GL_TEXTURE_BASE_LEVEL 0x813C | ||
548 | #define GL_TEXTURE_MAX_LEVEL 0x813D | ||
549 | #define GL_MIN 0x8007 | ||
550 | #define GL_MAX 0x8008 | ||
551 | #define GL_DEPTH_COMPONENT24 0x81A6 | ||
552 | #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD | ||
553 | #define GL_TEXTURE_COMPARE_MODE 0x884C | ||
554 | #define GL_TEXTURE_COMPARE_FUNC 0x884D | ||
555 | #define GL_CURRENT_QUERY 0x8865 | ||
556 | #define GL_QUERY_RESULT 0x8866 | ||
557 | #define GL_QUERY_RESULT_AVAILABLE 0x8867 | ||
558 | #define GL_BUFFER_MAPPED 0x88BC | ||
559 | #define GL_BUFFER_MAP_POINTER 0x88BD | ||
560 | #define GL_STREAM_READ 0x88E1 | ||
561 | #define GL_STREAM_COPY 0x88E2 | ||
562 | #define GL_STATIC_READ 0x88E5 | ||
563 | #define GL_STATIC_COPY 0x88E6 | ||
564 | #define GL_DYNAMIC_READ 0x88E9 | ||
565 | #define GL_DYNAMIC_COPY 0x88EA | ||
566 | #define GL_MAX_DRAW_BUFFERS 0x8824 | ||
567 | #define GL_DRAW_BUFFER0 0x8825 | ||
568 | #define GL_DRAW_BUFFER1 0x8826 | ||
569 | #define GL_DRAW_BUFFER2 0x8827 | ||
570 | #define GL_DRAW_BUFFER3 0x8828 | ||
571 | #define GL_DRAW_BUFFER4 0x8829 | ||
572 | #define GL_DRAW_BUFFER5 0x882A | ||
573 | #define GL_DRAW_BUFFER6 0x882B | ||
574 | #define GL_DRAW_BUFFER7 0x882C | ||
575 | #define GL_DRAW_BUFFER8 0x882D | ||
576 | #define GL_DRAW_BUFFER9 0x882E | ||
577 | #define GL_DRAW_BUFFER10 0x882F | ||
578 | #define GL_DRAW_BUFFER11 0x8830 | ||
579 | #define GL_DRAW_BUFFER12 0x8831 | ||
580 | #define GL_DRAW_BUFFER13 0x8832 | ||
581 | #define GL_DRAW_BUFFER14 0x8833 | ||
582 | #define GL_DRAW_BUFFER15 0x8834 | ||
583 | #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 | ||
584 | #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A | ||
585 | #define GL_SAMPLER_3D 0x8B5F | ||
586 | #define GL_SAMPLER_2D_SHADOW 0x8B62 | ||
587 | #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B | ||
588 | #define GL_PIXEL_PACK_BUFFER 0x88EB | ||
589 | #define GL_PIXEL_UNPACK_BUFFER 0x88EC | ||
590 | #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED | ||
591 | #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF | ||
592 | #define GL_FLOAT_MAT2x3 0x8B65 | ||
593 | #define GL_FLOAT_MAT2x4 0x8B66 | ||
594 | #define GL_FLOAT_MAT3x2 0x8B67 | ||
595 | #define GL_FLOAT_MAT3x4 0x8B68 | ||
596 | #define GL_FLOAT_MAT4x2 0x8B69 | ||
597 | #define GL_FLOAT_MAT4x3 0x8B6A | ||
598 | #define GL_SRGB 0x8C40 | ||
599 | #define GL_SRGB8 0x8C41 | ||
600 | #define GL_SRGB8_ALPHA8 0x8C43 | ||
601 | #define GL_COMPARE_REF_TO_TEXTURE 0x884E | ||
602 | #define GL_MAJOR_VERSION 0x821B | ||
603 | #define GL_MINOR_VERSION 0x821C | ||
604 | #define GL_NUM_EXTENSIONS 0x821D | ||
605 | #define GL_RGBA32F 0x8814 | ||
606 | #define GL_RGB32F 0x8815 | ||
607 | #define GL_RGBA16F 0x881A | ||
608 | #define GL_RGB16F 0x881B | ||
609 | #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD | ||
610 | #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF | ||
611 | #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904 | ||
612 | #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905 | ||
613 | #define GL_MAX_VARYING_COMPONENTS 0x8B4B | ||
614 | #define GL_TEXTURE_2D_ARRAY 0x8C1A | ||
615 | #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D | ||
616 | #define GL_R11F_G11F_B10F 0x8C3A | ||
617 | #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B | ||
618 | #define GL_RGB9_E5 0x8C3D | ||
619 | #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E | ||
620 | #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76 | ||
621 | #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F | ||
622 | #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80 | ||
623 | #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83 | ||
624 | #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84 | ||
625 | #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85 | ||
626 | #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88 | ||
627 | #define GL_RASTERIZER_DISCARD 0x8C89 | ||
628 | #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A | ||
629 | #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B | ||
630 | #define GL_INTERLEAVED_ATTRIBS 0x8C8C | ||
631 | #define GL_SEPARATE_ATTRIBS 0x8C8D | ||
632 | #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E | ||
633 | #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F | ||
634 | #define GL_RGBA32UI 0x8D70 | ||
635 | #define GL_RGB32UI 0x8D71 | ||
636 | #define GL_RGBA16UI 0x8D76 | ||
637 | #define GL_RGB16UI 0x8D77 | ||
638 | #define GL_RGBA8UI 0x8D7C | ||
639 | #define GL_RGB8UI 0x8D7D | ||
640 | #define GL_RGBA32I 0x8D82 | ||
641 | #define GL_RGB32I 0x8D83 | ||
642 | #define GL_RGBA16I 0x8D88 | ||
643 | #define GL_RGB16I 0x8D89 | ||
644 | #define GL_RGBA8I 0x8D8E | ||
645 | #define GL_RGB8I 0x8D8F | ||
646 | #define GL_RED_INTEGER 0x8D94 | ||
647 | #define GL_RGB_INTEGER 0x8D98 | ||
648 | #define GL_RGBA_INTEGER 0x8D99 | ||
649 | #define GL_SAMPLER_2D_ARRAY 0x8DC1 | ||
650 | #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4 | ||
651 | #define GL_SAMPLER_CUBE_SHADOW 0x8DC5 | ||
652 | #define GL_UNSIGNED_INT_VEC2 0x8DC6 | ||
653 | #define GL_UNSIGNED_INT_VEC3 0x8DC7 | ||
654 | #define GL_UNSIGNED_INT_VEC4 0x8DC8 | ||
655 | #define GL_INT_SAMPLER_2D 0x8DCA | ||
656 | #define GL_INT_SAMPLER_3D 0x8DCB | ||
657 | #define GL_INT_SAMPLER_CUBE 0x8DCC | ||
658 | #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF | ||
659 | #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2 | ||
660 | #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3 | ||
661 | #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4 | ||
662 | #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7 | ||
663 | #define GL_BUFFER_ACCESS_FLAGS 0x911F | ||
664 | #define GL_BUFFER_MAP_LENGTH 0x9120 | ||
665 | #define GL_BUFFER_MAP_OFFSET 0x9121 | ||
666 | #define GL_DEPTH_COMPONENT32F 0x8CAC | ||
667 | #define GL_DEPTH32F_STENCIL8 0x8CAD | ||
668 | #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD | ||
669 | #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210 | ||
670 | #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211 | ||
671 | #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212 | ||
672 | #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213 | ||
673 | #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214 | ||
674 | #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215 | ||
675 | #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 | ||
676 | #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 | ||
677 | #define GL_FRAMEBUFFER_DEFAULT 0x8218 | ||
678 | #define GL_FRAMEBUFFER_UNDEFINED 0x8219 | ||
679 | #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A | ||
680 | #define GL_DEPTH_STENCIL 0x84F9 | ||
681 | #define GL_UNSIGNED_INT_24_8 0x84FA | ||
682 | #define GL_DEPTH24_STENCIL8 0x88F0 | ||
683 | #define GL_UNSIGNED_NORMALIZED 0x8C17 | ||
684 | #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6 | ||
685 | #define GL_READ_FRAMEBUFFER 0x8CA8 | ||
686 | #define GL_DRAW_FRAMEBUFFER 0x8CA9 | ||
687 | #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA | ||
688 | #define GL_RENDERBUFFER_SAMPLES 0x8CAB | ||
689 | #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 | ||
690 | #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF | ||
691 | #define GL_COLOR_ATTACHMENT1 0x8CE1 | ||
692 | #define GL_COLOR_ATTACHMENT2 0x8CE2 | ||
693 | #define GL_COLOR_ATTACHMENT3 0x8CE3 | ||
694 | #define GL_COLOR_ATTACHMENT4 0x8CE4 | ||
695 | #define GL_COLOR_ATTACHMENT5 0x8CE5 | ||
696 | #define GL_COLOR_ATTACHMENT6 0x8CE6 | ||
697 | #define GL_COLOR_ATTACHMENT7 0x8CE7 | ||
698 | #define GL_COLOR_ATTACHMENT8 0x8CE8 | ||
699 | #define GL_COLOR_ATTACHMENT9 0x8CE9 | ||
700 | #define GL_COLOR_ATTACHMENT10 0x8CEA | ||
701 | #define GL_COLOR_ATTACHMENT11 0x8CEB | ||
702 | #define GL_COLOR_ATTACHMENT12 0x8CEC | ||
703 | #define GL_COLOR_ATTACHMENT13 0x8CED | ||
704 | #define GL_COLOR_ATTACHMENT14 0x8CEE | ||
705 | #define GL_COLOR_ATTACHMENT15 0x8CEF | ||
706 | #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 | ||
707 | #define GL_MAX_SAMPLES 0x8D57 | ||
708 | #define GL_HALF_FLOAT 0x140B | ||
709 | #define GL_MAP_READ_BIT 0x0001 | ||
710 | #define GL_MAP_WRITE_BIT 0x0002 | ||
711 | #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004 | ||
712 | #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 | ||
713 | #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010 | ||
714 | #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020 | ||
715 | #define GL_RG 0x8227 | ||
716 | #define GL_RG_INTEGER 0x8228 | ||
717 | #define GL_R8 0x8229 | ||
718 | #define GL_RG8 0x822B | ||
719 | #define GL_R16F 0x822D | ||
720 | #define GL_R32F 0x822E | ||
721 | #define GL_RG16F 0x822F | ||
722 | #define GL_RG32F 0x8230 | ||
723 | #define GL_R8I 0x8231 | ||
724 | #define GL_R8UI 0x8232 | ||
725 | #define GL_R16I 0x8233 | ||
726 | #define GL_R16UI 0x8234 | ||
727 | #define GL_R32I 0x8235 | ||
728 | #define GL_R32UI 0x8236 | ||
729 | #define GL_RG8I 0x8237 | ||
730 | #define GL_RG8UI 0x8238 | ||
731 | #define GL_RG16I 0x8239 | ||
732 | #define GL_RG16UI 0x823A | ||
733 | #define GL_RG32I 0x823B | ||
734 | #define GL_RG32UI 0x823C | ||
735 | #define GL_VERTEX_ARRAY_BINDING 0x85B5 | ||
736 | #define GL_R8_SNORM 0x8F94 | ||
737 | #define GL_RG8_SNORM 0x8F95 | ||
738 | #define GL_RGB8_SNORM 0x8F96 | ||
739 | #define GL_RGBA8_SNORM 0x8F97 | ||
740 | #define GL_SIGNED_NORMALIZED 0x8F9C | ||
741 | #define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69 | ||
742 | #define GL_COPY_READ_BUFFER 0x8F36 | ||
743 | #define GL_COPY_WRITE_BUFFER 0x8F37 | ||
744 | #define GL_COPY_READ_BUFFER_BINDING 0x8F36 | ||
745 | #define GL_COPY_WRITE_BUFFER_BINDING 0x8F37 | ||
746 | #define GL_UNIFORM_BUFFER 0x8A11 | ||
747 | #define GL_UNIFORM_BUFFER_BINDING 0x8A28 | ||
748 | #define GL_UNIFORM_BUFFER_START 0x8A29 | ||
749 | #define GL_UNIFORM_BUFFER_SIZE 0x8A2A | ||
750 | #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B | ||
751 | #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D | ||
752 | #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E | ||
753 | #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F | ||
754 | #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30 | ||
755 | #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31 | ||
756 | #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33 | ||
757 | #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34 | ||
758 | #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35 | ||
759 | #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36 | ||
760 | #define GL_UNIFORM_TYPE 0x8A37 | ||
761 | #define GL_UNIFORM_SIZE 0x8A38 | ||
762 | #define GL_UNIFORM_NAME_LENGTH 0x8A39 | ||
763 | #define GL_UNIFORM_BLOCK_INDEX 0x8A3A | ||
764 | #define GL_UNIFORM_OFFSET 0x8A3B | ||
765 | #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C | ||
766 | #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D | ||
767 | #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E | ||
768 | #define GL_UNIFORM_BLOCK_BINDING 0x8A3F | ||
769 | #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40 | ||
770 | #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41 | ||
771 | #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42 | ||
772 | #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43 | ||
773 | #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44 | ||
774 | #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46 | ||
775 | #define GL_INVALID_INDEX 0xFFFFFFFFu | ||
776 | #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122 | ||
777 | #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125 | ||
778 | #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111 | ||
779 | #define GL_OBJECT_TYPE 0x9112 | ||
780 | #define GL_SYNC_CONDITION 0x9113 | ||
781 | #define GL_SYNC_STATUS 0x9114 | ||
782 | #define GL_SYNC_FLAGS 0x9115 | ||
783 | #define GL_SYNC_FENCE 0x9116 | ||
784 | #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117 | ||
785 | #define GL_UNSIGNALED 0x9118 | ||
786 | #define GL_SIGNALED 0x9119 | ||
787 | #define GL_ALREADY_SIGNALED 0x911A | ||
788 | #define GL_TIMEOUT_EXPIRED 0x911B | ||
789 | #define GL_CONDITION_SATISFIED 0x911C | ||
790 | #define GL_WAIT_FAILED 0x911D | ||
791 | #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001 | ||
792 | #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull | ||
793 | #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE | ||
794 | #define GL_ANY_SAMPLES_PASSED 0x8C2F | ||
795 | #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A | ||
796 | #define GL_SAMPLER_BINDING 0x8919 | ||
797 | #define GL_RGB10_A2UI 0x906F | ||
798 | #define GL_TEXTURE_SWIZZLE_R 0x8E42 | ||
799 | #define GL_TEXTURE_SWIZZLE_G 0x8E43 | ||
800 | #define GL_TEXTURE_SWIZZLE_B 0x8E44 | ||
801 | #define GL_TEXTURE_SWIZZLE_A 0x8E45 | ||
802 | #define GL_GREEN 0x1904 | ||
803 | #define GL_BLUE 0x1905 | ||
804 | #define GL_INT_2_10_10_10_REV 0x8D9F | ||
805 | #define GL_TRANSFORM_FEEDBACK 0x8E22 | ||
806 | #define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23 | ||
807 | #define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24 | ||
808 | #define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25 | ||
809 | #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257 | ||
810 | #define GL_PROGRAM_BINARY_LENGTH 0x8741 | ||
811 | #define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE | ||
812 | #define GL_PROGRAM_BINARY_FORMATS 0x87FF | ||
813 | #define GL_COMPRESSED_R11_EAC 0x9270 | ||
814 | #define GL_COMPRESSED_SIGNED_R11_EAC 0x9271 | ||
815 | #define GL_COMPRESSED_RG11_EAC 0x9272 | ||
816 | #define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273 | ||
817 | #define GL_COMPRESSED_RGB8_ETC2 0x9274 | ||
818 | #define GL_COMPRESSED_SRGB8_ETC2 0x9275 | ||
819 | #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276 | ||
820 | #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277 | ||
821 | #define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278 | ||
822 | #define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279 | ||
823 | #define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F | ||
824 | #define GL_MAX_ELEMENT_INDEX 0x8D6B | ||
825 | #define GL_NUM_SAMPLE_COUNTS 0x9380 | ||
826 | #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF | ||
827 | GL_APICALL void GL_APIENTRY glReadBuffer (GLenum mode); | ||
828 | GL_APICALL void GL_APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); | ||
829 | GL_APICALL void GL_APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); | ||
830 | GL_APICALL void GL_APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); | ||
831 | GL_APICALL void GL_APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); | ||
832 | GL_APICALL void GL_APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); | ||
833 | GL_APICALL void GL_APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); | ||
834 | GL_APICALL void GL_APIENTRY glGenQueries (GLsizei n, GLuint *ids); | ||
835 | GL_APICALL void GL_APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids); | ||
836 | GL_APICALL GLboolean GL_APIENTRY glIsQuery (GLuint id); | ||
837 | GL_APICALL void GL_APIENTRY glBeginQuery (GLenum target, GLuint id); | ||
838 | GL_APICALL void GL_APIENTRY glEndQuery (GLenum target); | ||
839 | GL_APICALL void GL_APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params); | ||
840 | GL_APICALL void GL_APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params); | ||
841 | GL_APICALL GLboolean GL_APIENTRY glUnmapBuffer (GLenum target); | ||
842 | GL_APICALL void GL_APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params); | ||
843 | GL_APICALL void GL_APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs); | ||
844 | GL_APICALL void GL_APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
845 | GL_APICALL void GL_APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
846 | GL_APICALL void GL_APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
847 | GL_APICALL void GL_APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
848 | GL_APICALL void GL_APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
849 | GL_APICALL void GL_APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
850 | GL_APICALL void GL_APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); | ||
851 | GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
852 | GL_APICALL void GL_APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); | ||
853 | GL_APICALL void *GL_APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); | ||
854 | GL_APICALL void GL_APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length); | ||
855 | GL_APICALL void GL_APIENTRY glBindVertexArray (GLuint array); | ||
856 | GL_APICALL void GL_APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays); | ||
857 | GL_APICALL void GL_APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays); | ||
858 | GL_APICALL GLboolean GL_APIENTRY glIsVertexArray (GLuint array); | ||
859 | GL_APICALL void GL_APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data); | ||
860 | GL_APICALL void GL_APIENTRY glBeginTransformFeedback (GLenum primitiveMode); | ||
861 | GL_APICALL void GL_APIENTRY glEndTransformFeedback (void); | ||
862 | GL_APICALL void GL_APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); | ||
863 | GL_APICALL void GL_APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer); | ||
864 | GL_APICALL void GL_APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); | ||
865 | GL_APICALL void GL_APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); | ||
866 | GL_APICALL void GL_APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); | ||
867 | GL_APICALL void GL_APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params); | ||
868 | GL_APICALL void GL_APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params); | ||
869 | GL_APICALL void GL_APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w); | ||
870 | GL_APICALL void GL_APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); | ||
871 | GL_APICALL void GL_APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v); | ||
872 | GL_APICALL void GL_APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v); | ||
873 | GL_APICALL void GL_APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params); | ||
874 | GL_APICALL GLint GL_APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name); | ||
875 | GL_APICALL void GL_APIENTRY glUniform1ui (GLint location, GLuint v0); | ||
876 | GL_APICALL void GL_APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1); | ||
877 | GL_APICALL void GL_APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2); | ||
878 | GL_APICALL void GL_APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); | ||
879 | GL_APICALL void GL_APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value); | ||
880 | GL_APICALL void GL_APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value); | ||
881 | GL_APICALL void GL_APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value); | ||
882 | GL_APICALL void GL_APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value); | ||
883 | GL_APICALL void GL_APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value); | ||
884 | GL_APICALL void GL_APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value); | ||
885 | GL_APICALL void GL_APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value); | ||
886 | GL_APICALL void GL_APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); | ||
887 | GL_APICALL const GLubyte *GL_APIENTRY glGetStringi (GLenum name, GLuint index); | ||
888 | GL_APICALL void GL_APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); | ||
889 | GL_APICALL void GL_APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); | ||
890 | GL_APICALL void GL_APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); | ||
891 | GL_APICALL GLuint GL_APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName); | ||
892 | GL_APICALL void GL_APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); | ||
893 | GL_APICALL void GL_APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); | ||
894 | GL_APICALL void GL_APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); | ||
895 | GL_APICALL void GL_APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount); | ||
896 | GL_APICALL void GL_APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); | ||
897 | GL_APICALL GLsync GL_APIENTRY glFenceSync (GLenum condition, GLbitfield flags); | ||
898 | GL_APICALL GLboolean GL_APIENTRY glIsSync (GLsync sync); | ||
899 | GL_APICALL void GL_APIENTRY glDeleteSync (GLsync sync); | ||
900 | GL_APICALL GLenum GL_APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); | ||
901 | GL_APICALL void GL_APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); | ||
902 | GL_APICALL void GL_APIENTRY glGetInteger64v (GLenum pname, GLint64 *params); | ||
903 | GL_APICALL void GL_APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); | ||
904 | GL_APICALL void GL_APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data); | ||
905 | GL_APICALL void GL_APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params); | ||
906 | GL_APICALL void GL_APIENTRY glGenSamplers (GLsizei count, GLuint *samplers); | ||
907 | GL_APICALL void GL_APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers); | ||
908 | GL_APICALL GLboolean GL_APIENTRY glIsSampler (GLuint sampler); | ||
909 | GL_APICALL void GL_APIENTRY glBindSampler (GLuint unit, GLuint sampler); | ||
910 | GL_APICALL void GL_APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param); | ||
911 | GL_APICALL void GL_APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param); | ||
912 | GL_APICALL void GL_APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param); | ||
913 | GL_APICALL void GL_APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param); | ||
914 | GL_APICALL void GL_APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params); | ||
915 | GL_APICALL void GL_APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params); | ||
916 | GL_APICALL void GL_APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor); | ||
917 | GL_APICALL void GL_APIENTRY glBindTransformFeedback (GLenum target, GLuint id); | ||
918 | GL_APICALL void GL_APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids); | ||
919 | GL_APICALL void GL_APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids); | ||
920 | GL_APICALL GLboolean GL_APIENTRY glIsTransformFeedback (GLuint id); | ||
921 | GL_APICALL void GL_APIENTRY glPauseTransformFeedback (void); | ||
922 | GL_APICALL void GL_APIENTRY glResumeTransformFeedback (void); | ||
923 | GL_APICALL void GL_APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); | ||
924 | GL_APICALL void GL_APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); | ||
925 | GL_APICALL void GL_APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value); | ||
926 | GL_APICALL void GL_APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments); | ||
927 | GL_APICALL void GL_APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); | ||
928 | GL_APICALL void GL_APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); | ||
929 | GL_APICALL void GL_APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); | ||
930 | GL_APICALL void GL_APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); | ||
931 | #endif /* GL_ES_VERSION_3_0 */ | ||
932 | |||
933 | #ifdef __cplusplus | ||
934 | } | ||
935 | #endif | ||
936 | |||
937 | #endif | ||
diff --git a/recipes/opengldummy/files/headers/GLES3/gl31.h b/recipes/opengldummy/files/headers/GLES3/gl31.h deleted file mode 100644 index 6fe473d..0000000 --- a/recipes/opengldummy/files/headers/GLES3/gl31.h +++ /dev/null | |||
@@ -1,1184 +0,0 @@ | |||
1 | #ifndef __gl31_h_ | ||
2 | #define __gl31_h_ 1 | ||
3 | |||
4 | #ifdef __cplusplus | ||
5 | extern "C" { | ||
6 | #endif | ||
7 | |||
8 | /* | ||
9 | ** Copyright (c) 2013-2014 The Khronos Group Inc. | ||
10 | ** | ||
11 | ** Permission is hereby granted, free of charge, to any person obtaining a | ||
12 | ** copy of this software and/or associated documentation files (the | ||
13 | ** "Materials"), to deal in the Materials without restriction, including | ||
14 | ** without limitation the rights to use, copy, modify, merge, publish, | ||
15 | ** distribute, sublicense, and/or sell copies of the Materials, and to | ||
16 | ** permit persons to whom the Materials are furnished to do so, subject to | ||
17 | ** the following conditions: | ||
18 | ** | ||
19 | ** The above copyright notice and this permission notice shall be included | ||
20 | ** in all copies or substantial portions of the Materials. | ||
21 | ** | ||
22 | ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
23 | ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
24 | ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
25 | ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
26 | ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
27 | ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
28 | ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. | ||
29 | */ | ||
30 | /* | ||
31 | ** This header is generated from the Khronos OpenGL / OpenGL ES XML | ||
32 | ** API Registry. The current version of the Registry, generator scripts | ||
33 | ** used to make the header, and the header can be found at | ||
34 | ** http://www.opengl.org/registry/ | ||
35 | ** | ||
36 | ** Khronos $Revision$ on $Date$ | ||
37 | */ | ||
38 | |||
39 | #include <GLES3/gl3platform.h> | ||
40 | |||
41 | /* Generated on date 20140319 */ | ||
42 | |||
43 | /* Generated C header for: | ||
44 | * API: gles2 | ||
45 | * Profile: common | ||
46 | * Versions considered: 2.[0-9]|3.[01] | ||
47 | * Versions emitted: .* | ||
48 | * Default extensions included: None | ||
49 | * Additional extensions included: _nomatch_^ | ||
50 | * Extensions removed: _nomatch_^ | ||
51 | */ | ||
52 | |||
53 | #ifndef GL_ES_VERSION_2_0 | ||
54 | #define GL_ES_VERSION_2_0 1 | ||
55 | #include <KHR/khrplatform.h> | ||
56 | typedef khronos_int8_t GLbyte; | ||
57 | typedef khronos_float_t GLclampf; | ||
58 | typedef khronos_int32_t GLfixed; | ||
59 | typedef short GLshort; | ||
60 | typedef unsigned short GLushort; | ||
61 | typedef void GLvoid; | ||
62 | typedef struct __GLsync *GLsync; | ||
63 | typedef khronos_int64_t GLint64; | ||
64 | typedef khronos_uint64_t GLuint64; | ||
65 | typedef unsigned int GLenum; | ||
66 | typedef unsigned int GLuint; | ||
67 | typedef char GLchar; | ||
68 | typedef khronos_float_t GLfloat; | ||
69 | typedef khronos_ssize_t GLsizeiptr; | ||
70 | typedef khronos_intptr_t GLintptr; | ||
71 | typedef unsigned int GLbitfield; | ||
72 | typedef int GLint; | ||
73 | typedef unsigned char GLboolean; | ||
74 | typedef int GLsizei; | ||
75 | typedef khronos_uint8_t GLubyte; | ||
76 | #define GL_DEPTH_BUFFER_BIT 0x00000100 | ||
77 | #define GL_STENCIL_BUFFER_BIT 0x00000400 | ||
78 | #define GL_COLOR_BUFFER_BIT 0x00004000 | ||
79 | #define GL_FALSE 0 | ||
80 | #define GL_TRUE 1 | ||
81 | #define GL_POINTS 0x0000 | ||
82 | #define GL_LINES 0x0001 | ||
83 | #define GL_LINE_LOOP 0x0002 | ||
84 | #define GL_LINE_STRIP 0x0003 | ||
85 | #define GL_TRIANGLES 0x0004 | ||
86 | #define GL_TRIANGLE_STRIP 0x0005 | ||
87 | #define GL_TRIANGLE_FAN 0x0006 | ||
88 | #define GL_ZERO 0 | ||
89 | #define GL_ONE 1 | ||
90 | #define GL_SRC_COLOR 0x0300 | ||
91 | #define GL_ONE_MINUS_SRC_COLOR 0x0301 | ||
92 | #define GL_SRC_ALPHA 0x0302 | ||
93 | #define GL_ONE_MINUS_SRC_ALPHA 0x0303 | ||
94 | #define GL_DST_ALPHA 0x0304 | ||
95 | #define GL_ONE_MINUS_DST_ALPHA 0x0305 | ||
96 | #define GL_DST_COLOR 0x0306 | ||
97 | #define GL_ONE_MINUS_DST_COLOR 0x0307 | ||
98 | #define GL_SRC_ALPHA_SATURATE 0x0308 | ||
99 | #define GL_FUNC_ADD 0x8006 | ||
100 | #define GL_BLEND_EQUATION 0x8009 | ||
101 | #define GL_BLEND_EQUATION_RGB 0x8009 | ||
102 | #define GL_BLEND_EQUATION_ALPHA 0x883D | ||
103 | #define GL_FUNC_SUBTRACT 0x800A | ||
104 | #define GL_FUNC_REVERSE_SUBTRACT 0x800B | ||
105 | #define GL_BLEND_DST_RGB 0x80C8 | ||
106 | #define GL_BLEND_SRC_RGB 0x80C9 | ||
107 | #define GL_BLEND_DST_ALPHA 0x80CA | ||
108 | #define GL_BLEND_SRC_ALPHA 0x80CB | ||
109 | #define GL_CONSTANT_COLOR 0x8001 | ||
110 | #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 | ||
111 | #define GL_CONSTANT_ALPHA 0x8003 | ||
112 | #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 | ||
113 | #define GL_BLEND_COLOR 0x8005 | ||
114 | #define GL_ARRAY_BUFFER 0x8892 | ||
115 | #define GL_ELEMENT_ARRAY_BUFFER 0x8893 | ||
116 | #define GL_ARRAY_BUFFER_BINDING 0x8894 | ||
117 | #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 | ||
118 | #define GL_STREAM_DRAW 0x88E0 | ||
119 | #define GL_STATIC_DRAW 0x88E4 | ||
120 | #define GL_DYNAMIC_DRAW 0x88E8 | ||
121 | #define GL_BUFFER_SIZE 0x8764 | ||
122 | #define GL_BUFFER_USAGE 0x8765 | ||
123 | #define GL_CURRENT_VERTEX_ATTRIB 0x8626 | ||
124 | #define GL_FRONT 0x0404 | ||
125 | #define GL_BACK 0x0405 | ||
126 | #define GL_FRONT_AND_BACK 0x0408 | ||
127 | #define GL_TEXTURE_2D 0x0DE1 | ||
128 | #define GL_CULL_FACE 0x0B44 | ||
129 | #define GL_BLEND 0x0BE2 | ||
130 | #define GL_DITHER 0x0BD0 | ||
131 | #define GL_STENCIL_TEST 0x0B90 | ||
132 | #define GL_DEPTH_TEST 0x0B71 | ||
133 | #define GL_SCISSOR_TEST 0x0C11 | ||
134 | #define GL_POLYGON_OFFSET_FILL 0x8037 | ||
135 | #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E | ||
136 | #define GL_SAMPLE_COVERAGE 0x80A0 | ||
137 | #define GL_NO_ERROR 0 | ||
138 | #define GL_INVALID_ENUM 0x0500 | ||
139 | #define GL_INVALID_VALUE 0x0501 | ||
140 | #define GL_INVALID_OPERATION 0x0502 | ||
141 | #define GL_OUT_OF_MEMORY 0x0505 | ||
142 | #define GL_CW 0x0900 | ||
143 | #define GL_CCW 0x0901 | ||
144 | #define GL_LINE_WIDTH 0x0B21 | ||
145 | #define GL_ALIASED_POINT_SIZE_RANGE 0x846D | ||
146 | #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E | ||
147 | #define GL_CULL_FACE_MODE 0x0B45 | ||
148 | #define GL_FRONT_FACE 0x0B46 | ||
149 | #define GL_DEPTH_RANGE 0x0B70 | ||
150 | #define GL_DEPTH_WRITEMASK 0x0B72 | ||
151 | #define GL_DEPTH_CLEAR_VALUE 0x0B73 | ||
152 | #define GL_DEPTH_FUNC 0x0B74 | ||
153 | #define GL_STENCIL_CLEAR_VALUE 0x0B91 | ||
154 | #define GL_STENCIL_FUNC 0x0B92 | ||
155 | #define GL_STENCIL_FAIL 0x0B94 | ||
156 | #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 | ||
157 | #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 | ||
158 | #define GL_STENCIL_REF 0x0B97 | ||
159 | #define GL_STENCIL_VALUE_MASK 0x0B93 | ||
160 | #define GL_STENCIL_WRITEMASK 0x0B98 | ||
161 | #define GL_STENCIL_BACK_FUNC 0x8800 | ||
162 | #define GL_STENCIL_BACK_FAIL 0x8801 | ||
163 | #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 | ||
164 | #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 | ||
165 | #define GL_STENCIL_BACK_REF 0x8CA3 | ||
166 | #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 | ||
167 | #define GL_STENCIL_BACK_WRITEMASK 0x8CA5 | ||
168 | #define GL_VIEWPORT 0x0BA2 | ||
169 | #define GL_SCISSOR_BOX 0x0C10 | ||
170 | #define GL_COLOR_CLEAR_VALUE 0x0C22 | ||
171 | #define GL_COLOR_WRITEMASK 0x0C23 | ||
172 | #define GL_UNPACK_ALIGNMENT 0x0CF5 | ||
173 | #define GL_PACK_ALIGNMENT 0x0D05 | ||
174 | #define GL_MAX_TEXTURE_SIZE 0x0D33 | ||
175 | #define GL_MAX_VIEWPORT_DIMS 0x0D3A | ||
176 | #define GL_SUBPIXEL_BITS 0x0D50 | ||
177 | #define GL_RED_BITS 0x0D52 | ||
178 | #define GL_GREEN_BITS 0x0D53 | ||
179 | #define GL_BLUE_BITS 0x0D54 | ||
180 | #define GL_ALPHA_BITS 0x0D55 | ||
181 | #define GL_DEPTH_BITS 0x0D56 | ||
182 | #define GL_STENCIL_BITS 0x0D57 | ||
183 | #define GL_POLYGON_OFFSET_UNITS 0x2A00 | ||
184 | #define GL_POLYGON_OFFSET_FACTOR 0x8038 | ||
185 | #define GL_TEXTURE_BINDING_2D 0x8069 | ||
186 | #define GL_SAMPLE_BUFFERS 0x80A8 | ||
187 | #define GL_SAMPLES 0x80A9 | ||
188 | #define GL_SAMPLE_COVERAGE_VALUE 0x80AA | ||
189 | #define GL_SAMPLE_COVERAGE_INVERT 0x80AB | ||
190 | #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 | ||
191 | #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 | ||
192 | #define GL_DONT_CARE 0x1100 | ||
193 | #define GL_FASTEST 0x1101 | ||
194 | #define GL_NICEST 0x1102 | ||
195 | #define GL_GENERATE_MIPMAP_HINT 0x8192 | ||
196 | #define GL_BYTE 0x1400 | ||
197 | #define GL_UNSIGNED_BYTE 0x1401 | ||
198 | #define GL_SHORT 0x1402 | ||
199 | #define GL_UNSIGNED_SHORT 0x1403 | ||
200 | #define GL_INT 0x1404 | ||
201 | #define GL_UNSIGNED_INT 0x1405 | ||
202 | #define GL_FLOAT 0x1406 | ||
203 | #define GL_FIXED 0x140C | ||
204 | #define GL_DEPTH_COMPONENT 0x1902 | ||
205 | #define GL_ALPHA 0x1906 | ||
206 | #define GL_RGB 0x1907 | ||
207 | #define GL_RGBA 0x1908 | ||
208 | #define GL_LUMINANCE 0x1909 | ||
209 | #define GL_LUMINANCE_ALPHA 0x190A | ||
210 | #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 | ||
211 | #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 | ||
212 | #define GL_UNSIGNED_SHORT_5_6_5 0x8363 | ||
213 | #define GL_FRAGMENT_SHADER 0x8B30 | ||
214 | #define GL_VERTEX_SHADER 0x8B31 | ||
215 | #define GL_MAX_VERTEX_ATTRIBS 0x8869 | ||
216 | #define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB | ||
217 | #define GL_MAX_VARYING_VECTORS 0x8DFC | ||
218 | #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D | ||
219 | #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C | ||
220 | #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 | ||
221 | #define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD | ||
222 | #define GL_SHADER_TYPE 0x8B4F | ||
223 | #define GL_DELETE_STATUS 0x8B80 | ||
224 | #define GL_LINK_STATUS 0x8B82 | ||
225 | #define GL_VALIDATE_STATUS 0x8B83 | ||
226 | #define GL_ATTACHED_SHADERS 0x8B85 | ||
227 | #define GL_ACTIVE_UNIFORMS 0x8B86 | ||
228 | #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 | ||
229 | #define GL_ACTIVE_ATTRIBUTES 0x8B89 | ||
230 | #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A | ||
231 | #define GL_SHADING_LANGUAGE_VERSION 0x8B8C | ||
232 | #define GL_CURRENT_PROGRAM 0x8B8D | ||
233 | #define GL_NEVER 0x0200 | ||
234 | #define GL_LESS 0x0201 | ||
235 | #define GL_EQUAL 0x0202 | ||
236 | #define GL_LEQUAL 0x0203 | ||
237 | #define GL_GREATER 0x0204 | ||
238 | #define GL_NOTEQUAL 0x0205 | ||
239 | #define GL_GEQUAL 0x0206 | ||
240 | #define GL_ALWAYS 0x0207 | ||
241 | #define GL_KEEP 0x1E00 | ||
242 | #define GL_REPLACE 0x1E01 | ||
243 | #define GL_INCR 0x1E02 | ||
244 | #define GL_DECR 0x1E03 | ||
245 | #define GL_INVERT 0x150A | ||
246 | #define GL_INCR_WRAP 0x8507 | ||
247 | #define GL_DECR_WRAP 0x8508 | ||
248 | #define GL_VENDOR 0x1F00 | ||
249 | #define GL_RENDERER 0x1F01 | ||
250 | #define GL_VERSION 0x1F02 | ||
251 | #define GL_EXTENSIONS 0x1F03 | ||
252 | #define GL_NEAREST 0x2600 | ||
253 | #define GL_LINEAR 0x2601 | ||
254 | #define GL_NEAREST_MIPMAP_NEAREST 0x2700 | ||
255 | #define GL_LINEAR_MIPMAP_NEAREST 0x2701 | ||
256 | #define GL_NEAREST_MIPMAP_LINEAR 0x2702 | ||
257 | #define GL_LINEAR_MIPMAP_LINEAR 0x2703 | ||
258 | #define GL_TEXTURE_MAG_FILTER 0x2800 | ||
259 | #define GL_TEXTURE_MIN_FILTER 0x2801 | ||
260 | #define GL_TEXTURE_WRAP_S 0x2802 | ||
261 | #define GL_TEXTURE_WRAP_T 0x2803 | ||
262 | #define GL_TEXTURE 0x1702 | ||
263 | #define GL_TEXTURE_CUBE_MAP 0x8513 | ||
264 | #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 | ||
265 | #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 | ||
266 | #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 | ||
267 | #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 | ||
268 | #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 | ||
269 | #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 | ||
270 | #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A | ||
271 | #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C | ||
272 | #define GL_TEXTURE0 0x84C0 | ||
273 | #define GL_TEXTURE1 0x84C1 | ||
274 | #define GL_TEXTURE2 0x84C2 | ||
275 | #define GL_TEXTURE3 0x84C3 | ||
276 | #define GL_TEXTURE4 0x84C4 | ||
277 | #define GL_TEXTURE5 0x84C5 | ||
278 | #define GL_TEXTURE6 0x84C6 | ||
279 | #define GL_TEXTURE7 0x84C7 | ||
280 | #define GL_TEXTURE8 0x84C8 | ||
281 | #define GL_TEXTURE9 0x84C9 | ||
282 | #define GL_TEXTURE10 0x84CA | ||
283 | #define GL_TEXTURE11 0x84CB | ||
284 | #define GL_TEXTURE12 0x84CC | ||
285 | #define GL_TEXTURE13 0x84CD | ||
286 | #define GL_TEXTURE14 0x84CE | ||
287 | #define GL_TEXTURE15 0x84CF | ||
288 | #define GL_TEXTURE16 0x84D0 | ||
289 | #define GL_TEXTURE17 0x84D1 | ||
290 | #define GL_TEXTURE18 0x84D2 | ||
291 | #define GL_TEXTURE19 0x84D3 | ||
292 | #define GL_TEXTURE20 0x84D4 | ||
293 | #define GL_TEXTURE21 0x84D5 | ||
294 | #define GL_TEXTURE22 0x84D6 | ||
295 | #define GL_TEXTURE23 0x84D7 | ||
296 | #define GL_TEXTURE24 0x84D8 | ||
297 | #define GL_TEXTURE25 0x84D9 | ||
298 | #define GL_TEXTURE26 0x84DA | ||
299 | #define GL_TEXTURE27 0x84DB | ||
300 | #define GL_TEXTURE28 0x84DC | ||
301 | #define GL_TEXTURE29 0x84DD | ||
302 | #define GL_TEXTURE30 0x84DE | ||
303 | #define GL_TEXTURE31 0x84DF | ||
304 | #define GL_ACTIVE_TEXTURE 0x84E0 | ||
305 | #define GL_REPEAT 0x2901 | ||
306 | #define GL_CLAMP_TO_EDGE 0x812F | ||
307 | #define GL_MIRRORED_REPEAT 0x8370 | ||
308 | #define GL_FLOAT_VEC2 0x8B50 | ||
309 | #define GL_FLOAT_VEC3 0x8B51 | ||
310 | #define GL_FLOAT_VEC4 0x8B52 | ||
311 | #define GL_INT_VEC2 0x8B53 | ||
312 | #define GL_INT_VEC3 0x8B54 | ||
313 | #define GL_INT_VEC4 0x8B55 | ||
314 | #define GL_BOOL 0x8B56 | ||
315 | #define GL_BOOL_VEC2 0x8B57 | ||
316 | #define GL_BOOL_VEC3 0x8B58 | ||
317 | #define GL_BOOL_VEC4 0x8B59 | ||
318 | #define GL_FLOAT_MAT2 0x8B5A | ||
319 | #define GL_FLOAT_MAT3 0x8B5B | ||
320 | #define GL_FLOAT_MAT4 0x8B5C | ||
321 | #define GL_SAMPLER_2D 0x8B5E | ||
322 | #define GL_SAMPLER_CUBE 0x8B60 | ||
323 | #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 | ||
324 | #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 | ||
325 | #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 | ||
326 | #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 | ||
327 | #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A | ||
328 | #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 | ||
329 | #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F | ||
330 | #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A | ||
331 | #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B | ||
332 | #define GL_COMPILE_STATUS 0x8B81 | ||
333 | #define GL_INFO_LOG_LENGTH 0x8B84 | ||
334 | #define GL_SHADER_SOURCE_LENGTH 0x8B88 | ||
335 | #define GL_SHADER_COMPILER 0x8DFA | ||
336 | #define GL_SHADER_BINARY_FORMATS 0x8DF8 | ||
337 | #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 | ||
338 | #define GL_LOW_FLOAT 0x8DF0 | ||
339 | #define GL_MEDIUM_FLOAT 0x8DF1 | ||
340 | #define GL_HIGH_FLOAT 0x8DF2 | ||
341 | #define GL_LOW_INT 0x8DF3 | ||
342 | #define GL_MEDIUM_INT 0x8DF4 | ||
343 | #define GL_HIGH_INT 0x8DF5 | ||
344 | #define GL_FRAMEBUFFER 0x8D40 | ||
345 | #define GL_RENDERBUFFER 0x8D41 | ||
346 | #define GL_RGBA4 0x8056 | ||
347 | #define GL_RGB5_A1 0x8057 | ||
348 | #define GL_RGB565 0x8D62 | ||
349 | #define GL_DEPTH_COMPONENT16 0x81A5 | ||
350 | #define GL_STENCIL_INDEX8 0x8D48 | ||
351 | #define GL_RENDERBUFFER_WIDTH 0x8D42 | ||
352 | #define GL_RENDERBUFFER_HEIGHT 0x8D43 | ||
353 | #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 | ||
354 | #define GL_RENDERBUFFER_RED_SIZE 0x8D50 | ||
355 | #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 | ||
356 | #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 | ||
357 | #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 | ||
358 | #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 | ||
359 | #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 | ||
360 | #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 | ||
361 | #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 | ||
362 | #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 | ||
363 | #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 | ||
364 | #define GL_COLOR_ATTACHMENT0 0x8CE0 | ||
365 | #define GL_DEPTH_ATTACHMENT 0x8D00 | ||
366 | #define GL_STENCIL_ATTACHMENT 0x8D20 | ||
367 | #define GL_NONE 0 | ||
368 | #define GL_FRAMEBUFFER_COMPLETE 0x8CD5 | ||
369 | #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 | ||
370 | #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 | ||
371 | #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9 | ||
372 | #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD | ||
373 | #define GL_FRAMEBUFFER_BINDING 0x8CA6 | ||
374 | #define GL_RENDERBUFFER_BINDING 0x8CA7 | ||
375 | #define GL_MAX_RENDERBUFFER_SIZE 0x84E8 | ||
376 | #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 | ||
377 | GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); | ||
378 | GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); | ||
379 | GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); | ||
380 | GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); | ||
381 | GL_APICALL void GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer); | ||
382 | GL_APICALL void GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer); | ||
383 | GL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture); | ||
384 | GL_APICALL void GL_APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); | ||
385 | GL_APICALL void GL_APIENTRY glBlendEquation (GLenum mode); | ||
386 | GL_APICALL void GL_APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha); | ||
387 | GL_APICALL void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); | ||
388 | GL_APICALL void GL_APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); | ||
389 | GL_APICALL void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage); | ||
390 | GL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); | ||
391 | GL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatus (GLenum target); | ||
392 | GL_APICALL void GL_APIENTRY glClear (GLbitfield mask); | ||
393 | GL_APICALL void GL_APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); | ||
394 | GL_APICALL void GL_APIENTRY glClearDepthf (GLfloat d); | ||
395 | GL_APICALL void GL_APIENTRY glClearStencil (GLint s); | ||
396 | GL_APICALL void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); | ||
397 | GL_APICALL void GL_APIENTRY glCompileShader (GLuint shader); | ||
398 | GL_APICALL void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); | ||
399 | GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); | ||
400 | GL_APICALL void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); | ||
401 | GL_APICALL void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); | ||
402 | GL_APICALL GLuint GL_APIENTRY glCreateProgram (void); | ||
403 | GL_APICALL GLuint GL_APIENTRY glCreateShader (GLenum type); | ||
404 | GL_APICALL void GL_APIENTRY glCullFace (GLenum mode); | ||
405 | GL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); | ||
406 | GL_APICALL void GL_APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers); | ||
407 | GL_APICALL void GL_APIENTRY glDeleteProgram (GLuint program); | ||
408 | GL_APICALL void GL_APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers); | ||
409 | GL_APICALL void GL_APIENTRY glDeleteShader (GLuint shader); | ||
410 | GL_APICALL void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures); | ||
411 | GL_APICALL void GL_APIENTRY glDepthFunc (GLenum func); | ||
412 | GL_APICALL void GL_APIENTRY glDepthMask (GLboolean flag); | ||
413 | GL_APICALL void GL_APIENTRY glDepthRangef (GLfloat n, GLfloat f); | ||
414 | GL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader); | ||
415 | GL_APICALL void GL_APIENTRY glDisable (GLenum cap); | ||
416 | GL_APICALL void GL_APIENTRY glDisableVertexAttribArray (GLuint index); | ||
417 | GL_APICALL void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); | ||
418 | GL_APICALL void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices); | ||
419 | GL_APICALL void GL_APIENTRY glEnable (GLenum cap); | ||
420 | GL_APICALL void GL_APIENTRY glEnableVertexAttribArray (GLuint index); | ||
421 | GL_APICALL void GL_APIENTRY glFinish (void); | ||
422 | GL_APICALL void GL_APIENTRY glFlush (void); | ||
423 | GL_APICALL void GL_APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); | ||
424 | GL_APICALL void GL_APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); | ||
425 | GL_APICALL void GL_APIENTRY glFrontFace (GLenum mode); | ||
426 | GL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers); | ||
427 | GL_APICALL void GL_APIENTRY glGenerateMipmap (GLenum target); | ||
428 | GL_APICALL void GL_APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers); | ||
429 | GL_APICALL void GL_APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers); | ||
430 | GL_APICALL void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures); | ||
431 | GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); | ||
432 | GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); | ||
433 | GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); | ||
434 | GL_APICALL GLint GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar *name); | ||
435 | GL_APICALL void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *data); | ||
436 | GL_APICALL void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params); | ||
437 | GL_APICALL GLenum GL_APIENTRY glGetError (void); | ||
438 | GL_APICALL void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *data); | ||
439 | GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params); | ||
440 | GL_APICALL void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *data); | ||
441 | GL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params); | ||
442 | GL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); | ||
443 | GL_APICALL void GL_APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params); | ||
444 | GL_APICALL void GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params); | ||
445 | GL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); | ||
446 | GL_APICALL void GL_APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); | ||
447 | GL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); | ||
448 | GL_APICALL const GLubyte *GL_APIENTRY glGetString (GLenum name); | ||
449 | GL_APICALL void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params); | ||
450 | GL_APICALL void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params); | ||
451 | GL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params); | ||
452 | GL_APICALL void GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params); | ||
453 | GL_APICALL GLint GL_APIENTRY glGetUniformLocation (GLuint program, const GLchar *name); | ||
454 | GL_APICALL void GL_APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params); | ||
455 | GL_APICALL void GL_APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params); | ||
456 | GL_APICALL void GL_APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer); | ||
457 | GL_APICALL void GL_APIENTRY glHint (GLenum target, GLenum mode); | ||
458 | GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); | ||
459 | GL_APICALL GLboolean GL_APIENTRY glIsEnabled (GLenum cap); | ||
460 | GL_APICALL GLboolean GL_APIENTRY glIsFramebuffer (GLuint framebuffer); | ||
461 | GL_APICALL GLboolean GL_APIENTRY glIsProgram (GLuint program); | ||
462 | GL_APICALL GLboolean GL_APIENTRY glIsRenderbuffer (GLuint renderbuffer); | ||
463 | GL_APICALL GLboolean GL_APIENTRY glIsShader (GLuint shader); | ||
464 | GL_APICALL GLboolean GL_APIENTRY glIsTexture (GLuint texture); | ||
465 | GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width); | ||
466 | GL_APICALL void GL_APIENTRY glLinkProgram (GLuint program); | ||
467 | GL_APICALL void GL_APIENTRY glPixelStorei (GLenum pname, GLint param); | ||
468 | GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); | ||
469 | GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); | ||
470 | GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void); | ||
471 | GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); | ||
472 | GL_APICALL void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); | ||
473 | GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); | ||
474 | GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); | ||
475 | GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); | ||
476 | GL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); | ||
477 | GL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); | ||
478 | GL_APICALL void GL_APIENTRY glStencilMask (GLuint mask); | ||
479 | GL_APICALL void GL_APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask); | ||
480 | GL_APICALL void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); | ||
481 | GL_APICALL void GL_APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); | ||
482 | GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); | ||
483 | GL_APICALL void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); | ||
484 | GL_APICALL void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params); | ||
485 | GL_APICALL void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); | ||
486 | GL_APICALL void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params); | ||
487 | GL_APICALL void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); | ||
488 | GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat v0); | ||
489 | GL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value); | ||
490 | GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint v0); | ||
491 | GL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value); | ||
492 | GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1); | ||
493 | GL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value); | ||
494 | GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint v0, GLint v1); | ||
495 | GL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value); | ||
496 | GL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); | ||
497 | GL_APICALL void GL_APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value); | ||
498 | GL_APICALL void GL_APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2); | ||
499 | GL_APICALL void GL_APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value); | ||
500 | GL_APICALL void GL_APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); | ||
501 | GL_APICALL void GL_APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value); | ||
502 | GL_APICALL void GL_APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); | ||
503 | GL_APICALL void GL_APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value); | ||
504 | GL_APICALL void GL_APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
505 | GL_APICALL void GL_APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
506 | GL_APICALL void GL_APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
507 | GL_APICALL void GL_APIENTRY glUseProgram (GLuint program); | ||
508 | GL_APICALL void GL_APIENTRY glValidateProgram (GLuint program); | ||
509 | GL_APICALL void GL_APIENTRY glVertexAttrib1f (GLuint index, GLfloat x); | ||
510 | GL_APICALL void GL_APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v); | ||
511 | GL_APICALL void GL_APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y); | ||
512 | GL_APICALL void GL_APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v); | ||
513 | GL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z); | ||
514 | GL_APICALL void GL_APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v); | ||
515 | GL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); | ||
516 | GL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v); | ||
517 | GL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); | ||
518 | GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); | ||
519 | #endif /* GL_ES_VERSION_2_0 */ | ||
520 | |||
521 | #ifndef GL_ES_VERSION_3_0 | ||
522 | #define GL_ES_VERSION_3_0 1 | ||
523 | typedef unsigned short GLhalf; | ||
524 | #define GL_READ_BUFFER 0x0C02 | ||
525 | #define GL_UNPACK_ROW_LENGTH 0x0CF2 | ||
526 | #define GL_UNPACK_SKIP_ROWS 0x0CF3 | ||
527 | #define GL_UNPACK_SKIP_PIXELS 0x0CF4 | ||
528 | #define GL_PACK_ROW_LENGTH 0x0D02 | ||
529 | #define GL_PACK_SKIP_ROWS 0x0D03 | ||
530 | #define GL_PACK_SKIP_PIXELS 0x0D04 | ||
531 | #define GL_COLOR 0x1800 | ||
532 | #define GL_DEPTH 0x1801 | ||
533 | #define GL_STENCIL 0x1802 | ||
534 | #define GL_RED 0x1903 | ||
535 | #define GL_RGB8 0x8051 | ||
536 | #define GL_RGBA8 0x8058 | ||
537 | #define GL_RGB10_A2 0x8059 | ||
538 | #define GL_TEXTURE_BINDING_3D 0x806A | ||
539 | #define GL_UNPACK_SKIP_IMAGES 0x806D | ||
540 | #define GL_UNPACK_IMAGE_HEIGHT 0x806E | ||
541 | #define GL_TEXTURE_3D 0x806F | ||
542 | #define GL_TEXTURE_WRAP_R 0x8072 | ||
543 | #define GL_MAX_3D_TEXTURE_SIZE 0x8073 | ||
544 | #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 | ||
545 | #define GL_MAX_ELEMENTS_VERTICES 0x80E8 | ||
546 | #define GL_MAX_ELEMENTS_INDICES 0x80E9 | ||
547 | #define GL_TEXTURE_MIN_LOD 0x813A | ||
548 | #define GL_TEXTURE_MAX_LOD 0x813B | ||
549 | #define GL_TEXTURE_BASE_LEVEL 0x813C | ||
550 | #define GL_TEXTURE_MAX_LEVEL 0x813D | ||
551 | #define GL_MIN 0x8007 | ||
552 | #define GL_MAX 0x8008 | ||
553 | #define GL_DEPTH_COMPONENT24 0x81A6 | ||
554 | #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD | ||
555 | #define GL_TEXTURE_COMPARE_MODE 0x884C | ||
556 | #define GL_TEXTURE_COMPARE_FUNC 0x884D | ||
557 | #define GL_CURRENT_QUERY 0x8865 | ||
558 | #define GL_QUERY_RESULT 0x8866 | ||
559 | #define GL_QUERY_RESULT_AVAILABLE 0x8867 | ||
560 | #define GL_BUFFER_MAPPED 0x88BC | ||
561 | #define GL_BUFFER_MAP_POINTER 0x88BD | ||
562 | #define GL_STREAM_READ 0x88E1 | ||
563 | #define GL_STREAM_COPY 0x88E2 | ||
564 | #define GL_STATIC_READ 0x88E5 | ||
565 | #define GL_STATIC_COPY 0x88E6 | ||
566 | #define GL_DYNAMIC_READ 0x88E9 | ||
567 | #define GL_DYNAMIC_COPY 0x88EA | ||
568 | #define GL_MAX_DRAW_BUFFERS 0x8824 | ||
569 | #define GL_DRAW_BUFFER0 0x8825 | ||
570 | #define GL_DRAW_BUFFER1 0x8826 | ||
571 | #define GL_DRAW_BUFFER2 0x8827 | ||
572 | #define GL_DRAW_BUFFER3 0x8828 | ||
573 | #define GL_DRAW_BUFFER4 0x8829 | ||
574 | #define GL_DRAW_BUFFER5 0x882A | ||
575 | #define GL_DRAW_BUFFER6 0x882B | ||
576 | #define GL_DRAW_BUFFER7 0x882C | ||
577 | #define GL_DRAW_BUFFER8 0x882D | ||
578 | #define GL_DRAW_BUFFER9 0x882E | ||
579 | #define GL_DRAW_BUFFER10 0x882F | ||
580 | #define GL_DRAW_BUFFER11 0x8830 | ||
581 | #define GL_DRAW_BUFFER12 0x8831 | ||
582 | #define GL_DRAW_BUFFER13 0x8832 | ||
583 | #define GL_DRAW_BUFFER14 0x8833 | ||
584 | #define GL_DRAW_BUFFER15 0x8834 | ||
585 | #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 | ||
586 | #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A | ||
587 | #define GL_SAMPLER_3D 0x8B5F | ||
588 | #define GL_SAMPLER_2D_SHADOW 0x8B62 | ||
589 | #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B | ||
590 | #define GL_PIXEL_PACK_BUFFER 0x88EB | ||
591 | #define GL_PIXEL_UNPACK_BUFFER 0x88EC | ||
592 | #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED | ||
593 | #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF | ||
594 | #define GL_FLOAT_MAT2x3 0x8B65 | ||
595 | #define GL_FLOAT_MAT2x4 0x8B66 | ||
596 | #define GL_FLOAT_MAT3x2 0x8B67 | ||
597 | #define GL_FLOAT_MAT3x4 0x8B68 | ||
598 | #define GL_FLOAT_MAT4x2 0x8B69 | ||
599 | #define GL_FLOAT_MAT4x3 0x8B6A | ||
600 | #define GL_SRGB 0x8C40 | ||
601 | #define GL_SRGB8 0x8C41 | ||
602 | #define GL_SRGB8_ALPHA8 0x8C43 | ||
603 | #define GL_COMPARE_REF_TO_TEXTURE 0x884E | ||
604 | #define GL_MAJOR_VERSION 0x821B | ||
605 | #define GL_MINOR_VERSION 0x821C | ||
606 | #define GL_NUM_EXTENSIONS 0x821D | ||
607 | #define GL_RGBA32F 0x8814 | ||
608 | #define GL_RGB32F 0x8815 | ||
609 | #define GL_RGBA16F 0x881A | ||
610 | #define GL_RGB16F 0x881B | ||
611 | #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD | ||
612 | #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF | ||
613 | #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904 | ||
614 | #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905 | ||
615 | #define GL_MAX_VARYING_COMPONENTS 0x8B4B | ||
616 | #define GL_TEXTURE_2D_ARRAY 0x8C1A | ||
617 | #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D | ||
618 | #define GL_R11F_G11F_B10F 0x8C3A | ||
619 | #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B | ||
620 | #define GL_RGB9_E5 0x8C3D | ||
621 | #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E | ||
622 | #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76 | ||
623 | #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F | ||
624 | #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80 | ||
625 | #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83 | ||
626 | #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84 | ||
627 | #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85 | ||
628 | #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88 | ||
629 | #define GL_RASTERIZER_DISCARD 0x8C89 | ||
630 | #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A | ||
631 | #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B | ||
632 | #define GL_INTERLEAVED_ATTRIBS 0x8C8C | ||
633 | #define GL_SEPARATE_ATTRIBS 0x8C8D | ||
634 | #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E | ||
635 | #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F | ||
636 | #define GL_RGBA32UI 0x8D70 | ||
637 | #define GL_RGB32UI 0x8D71 | ||
638 | #define GL_RGBA16UI 0x8D76 | ||
639 | #define GL_RGB16UI 0x8D77 | ||
640 | #define GL_RGBA8UI 0x8D7C | ||
641 | #define GL_RGB8UI 0x8D7D | ||
642 | #define GL_RGBA32I 0x8D82 | ||
643 | #define GL_RGB32I 0x8D83 | ||
644 | #define GL_RGBA16I 0x8D88 | ||
645 | #define GL_RGB16I 0x8D89 | ||
646 | #define GL_RGBA8I 0x8D8E | ||
647 | #define GL_RGB8I 0x8D8F | ||
648 | #define GL_RED_INTEGER 0x8D94 | ||
649 | #define GL_RGB_INTEGER 0x8D98 | ||
650 | #define GL_RGBA_INTEGER 0x8D99 | ||
651 | #define GL_SAMPLER_2D_ARRAY 0x8DC1 | ||
652 | #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4 | ||
653 | #define GL_SAMPLER_CUBE_SHADOW 0x8DC5 | ||
654 | #define GL_UNSIGNED_INT_VEC2 0x8DC6 | ||
655 | #define GL_UNSIGNED_INT_VEC3 0x8DC7 | ||
656 | #define GL_UNSIGNED_INT_VEC4 0x8DC8 | ||
657 | #define GL_INT_SAMPLER_2D 0x8DCA | ||
658 | #define GL_INT_SAMPLER_3D 0x8DCB | ||
659 | #define GL_INT_SAMPLER_CUBE 0x8DCC | ||
660 | #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF | ||
661 | #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2 | ||
662 | #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3 | ||
663 | #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4 | ||
664 | #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7 | ||
665 | #define GL_BUFFER_ACCESS_FLAGS 0x911F | ||
666 | #define GL_BUFFER_MAP_LENGTH 0x9120 | ||
667 | #define GL_BUFFER_MAP_OFFSET 0x9121 | ||
668 | #define GL_DEPTH_COMPONENT32F 0x8CAC | ||
669 | #define GL_DEPTH32F_STENCIL8 0x8CAD | ||
670 | #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD | ||
671 | #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210 | ||
672 | #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211 | ||
673 | #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212 | ||
674 | #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213 | ||
675 | #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214 | ||
676 | #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215 | ||
677 | #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 | ||
678 | #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 | ||
679 | #define GL_FRAMEBUFFER_DEFAULT 0x8218 | ||
680 | #define GL_FRAMEBUFFER_UNDEFINED 0x8219 | ||
681 | #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A | ||
682 | #define GL_DEPTH_STENCIL 0x84F9 | ||
683 | #define GL_UNSIGNED_INT_24_8 0x84FA | ||
684 | #define GL_DEPTH24_STENCIL8 0x88F0 | ||
685 | #define GL_UNSIGNED_NORMALIZED 0x8C17 | ||
686 | #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6 | ||
687 | #define GL_READ_FRAMEBUFFER 0x8CA8 | ||
688 | #define GL_DRAW_FRAMEBUFFER 0x8CA9 | ||
689 | #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA | ||
690 | #define GL_RENDERBUFFER_SAMPLES 0x8CAB | ||
691 | #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 | ||
692 | #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF | ||
693 | #define GL_COLOR_ATTACHMENT1 0x8CE1 | ||
694 | #define GL_COLOR_ATTACHMENT2 0x8CE2 | ||
695 | #define GL_COLOR_ATTACHMENT3 0x8CE3 | ||
696 | #define GL_COLOR_ATTACHMENT4 0x8CE4 | ||
697 | #define GL_COLOR_ATTACHMENT5 0x8CE5 | ||
698 | #define GL_COLOR_ATTACHMENT6 0x8CE6 | ||
699 | #define GL_COLOR_ATTACHMENT7 0x8CE7 | ||
700 | #define GL_COLOR_ATTACHMENT8 0x8CE8 | ||
701 | #define GL_COLOR_ATTACHMENT9 0x8CE9 | ||
702 | #define GL_COLOR_ATTACHMENT10 0x8CEA | ||
703 | #define GL_COLOR_ATTACHMENT11 0x8CEB | ||
704 | #define GL_COLOR_ATTACHMENT12 0x8CEC | ||
705 | #define GL_COLOR_ATTACHMENT13 0x8CED | ||
706 | #define GL_COLOR_ATTACHMENT14 0x8CEE | ||
707 | #define GL_COLOR_ATTACHMENT15 0x8CEF | ||
708 | #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 | ||
709 | #define GL_MAX_SAMPLES 0x8D57 | ||
710 | #define GL_HALF_FLOAT 0x140B | ||
711 | #define GL_MAP_READ_BIT 0x0001 | ||
712 | #define GL_MAP_WRITE_BIT 0x0002 | ||
713 | #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004 | ||
714 | #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 | ||
715 | #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010 | ||
716 | #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020 | ||
717 | #define GL_RG 0x8227 | ||
718 | #define GL_RG_INTEGER 0x8228 | ||
719 | #define GL_R8 0x8229 | ||
720 | #define GL_RG8 0x822B | ||
721 | #define GL_R16F 0x822D | ||
722 | #define GL_R32F 0x822E | ||
723 | #define GL_RG16F 0x822F | ||
724 | #define GL_RG32F 0x8230 | ||
725 | #define GL_R8I 0x8231 | ||
726 | #define GL_R8UI 0x8232 | ||
727 | #define GL_R16I 0x8233 | ||
728 | #define GL_R16UI 0x8234 | ||
729 | #define GL_R32I 0x8235 | ||
730 | #define GL_R32UI 0x8236 | ||
731 | #define GL_RG8I 0x8237 | ||
732 | #define GL_RG8UI 0x8238 | ||
733 | #define GL_RG16I 0x8239 | ||
734 | #define GL_RG16UI 0x823A | ||
735 | #define GL_RG32I 0x823B | ||
736 | #define GL_RG32UI 0x823C | ||
737 | #define GL_VERTEX_ARRAY_BINDING 0x85B5 | ||
738 | #define GL_R8_SNORM 0x8F94 | ||
739 | #define GL_RG8_SNORM 0x8F95 | ||
740 | #define GL_RGB8_SNORM 0x8F96 | ||
741 | #define GL_RGBA8_SNORM 0x8F97 | ||
742 | #define GL_SIGNED_NORMALIZED 0x8F9C | ||
743 | #define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69 | ||
744 | #define GL_COPY_READ_BUFFER 0x8F36 | ||
745 | #define GL_COPY_WRITE_BUFFER 0x8F37 | ||
746 | #define GL_COPY_READ_BUFFER_BINDING 0x8F36 | ||
747 | #define GL_COPY_WRITE_BUFFER_BINDING 0x8F37 | ||
748 | #define GL_UNIFORM_BUFFER 0x8A11 | ||
749 | #define GL_UNIFORM_BUFFER_BINDING 0x8A28 | ||
750 | #define GL_UNIFORM_BUFFER_START 0x8A29 | ||
751 | #define GL_UNIFORM_BUFFER_SIZE 0x8A2A | ||
752 | #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B | ||
753 | #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D | ||
754 | #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E | ||
755 | #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F | ||
756 | #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30 | ||
757 | #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31 | ||
758 | #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33 | ||
759 | #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34 | ||
760 | #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35 | ||
761 | #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36 | ||
762 | #define GL_UNIFORM_TYPE 0x8A37 | ||
763 | #define GL_UNIFORM_SIZE 0x8A38 | ||
764 | #define GL_UNIFORM_NAME_LENGTH 0x8A39 | ||
765 | #define GL_UNIFORM_BLOCK_INDEX 0x8A3A | ||
766 | #define GL_UNIFORM_OFFSET 0x8A3B | ||
767 | #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C | ||
768 | #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D | ||
769 | #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E | ||
770 | #define GL_UNIFORM_BLOCK_BINDING 0x8A3F | ||
771 | #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40 | ||
772 | #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41 | ||
773 | #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42 | ||
774 | #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43 | ||
775 | #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44 | ||
776 | #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46 | ||
777 | #define GL_INVALID_INDEX 0xFFFFFFFFu | ||
778 | #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122 | ||
779 | #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125 | ||
780 | #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111 | ||
781 | #define GL_OBJECT_TYPE 0x9112 | ||
782 | #define GL_SYNC_CONDITION 0x9113 | ||
783 | #define GL_SYNC_STATUS 0x9114 | ||
784 | #define GL_SYNC_FLAGS 0x9115 | ||
785 | #define GL_SYNC_FENCE 0x9116 | ||
786 | #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117 | ||
787 | #define GL_UNSIGNALED 0x9118 | ||
788 | #define GL_SIGNALED 0x9119 | ||
789 | #define GL_ALREADY_SIGNALED 0x911A | ||
790 | #define GL_TIMEOUT_EXPIRED 0x911B | ||
791 | #define GL_CONDITION_SATISFIED 0x911C | ||
792 | #define GL_WAIT_FAILED 0x911D | ||
793 | #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001 | ||
794 | #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull | ||
795 | #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE | ||
796 | #define GL_ANY_SAMPLES_PASSED 0x8C2F | ||
797 | #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A | ||
798 | #define GL_SAMPLER_BINDING 0x8919 | ||
799 | #define GL_RGB10_A2UI 0x906F | ||
800 | #define GL_TEXTURE_SWIZZLE_R 0x8E42 | ||
801 | #define GL_TEXTURE_SWIZZLE_G 0x8E43 | ||
802 | #define GL_TEXTURE_SWIZZLE_B 0x8E44 | ||
803 | #define GL_TEXTURE_SWIZZLE_A 0x8E45 | ||
804 | #define GL_GREEN 0x1904 | ||
805 | #define GL_BLUE 0x1905 | ||
806 | #define GL_INT_2_10_10_10_REV 0x8D9F | ||
807 | #define GL_TRANSFORM_FEEDBACK 0x8E22 | ||
808 | #define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23 | ||
809 | #define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24 | ||
810 | #define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25 | ||
811 | #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257 | ||
812 | #define GL_PROGRAM_BINARY_LENGTH 0x8741 | ||
813 | #define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE | ||
814 | #define GL_PROGRAM_BINARY_FORMATS 0x87FF | ||
815 | #define GL_COMPRESSED_R11_EAC 0x9270 | ||
816 | #define GL_COMPRESSED_SIGNED_R11_EAC 0x9271 | ||
817 | #define GL_COMPRESSED_RG11_EAC 0x9272 | ||
818 | #define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273 | ||
819 | #define GL_COMPRESSED_RGB8_ETC2 0x9274 | ||
820 | #define GL_COMPRESSED_SRGB8_ETC2 0x9275 | ||
821 | #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276 | ||
822 | #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277 | ||
823 | #define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278 | ||
824 | #define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279 | ||
825 | #define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F | ||
826 | #define GL_MAX_ELEMENT_INDEX 0x8D6B | ||
827 | #define GL_NUM_SAMPLE_COUNTS 0x9380 | ||
828 | #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF | ||
829 | GL_APICALL void GL_APIENTRY glReadBuffer (GLenum mode); | ||
830 | GL_APICALL void GL_APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); | ||
831 | GL_APICALL void GL_APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); | ||
832 | GL_APICALL void GL_APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); | ||
833 | GL_APICALL void GL_APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); | ||
834 | GL_APICALL void GL_APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); | ||
835 | GL_APICALL void GL_APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); | ||
836 | GL_APICALL void GL_APIENTRY glGenQueries (GLsizei n, GLuint *ids); | ||
837 | GL_APICALL void GL_APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids); | ||
838 | GL_APICALL GLboolean GL_APIENTRY glIsQuery (GLuint id); | ||
839 | GL_APICALL void GL_APIENTRY glBeginQuery (GLenum target, GLuint id); | ||
840 | GL_APICALL void GL_APIENTRY glEndQuery (GLenum target); | ||
841 | GL_APICALL void GL_APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params); | ||
842 | GL_APICALL void GL_APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params); | ||
843 | GL_APICALL GLboolean GL_APIENTRY glUnmapBuffer (GLenum target); | ||
844 | GL_APICALL void GL_APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params); | ||
845 | GL_APICALL void GL_APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs); | ||
846 | GL_APICALL void GL_APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
847 | GL_APICALL void GL_APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
848 | GL_APICALL void GL_APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
849 | GL_APICALL void GL_APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
850 | GL_APICALL void GL_APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
851 | GL_APICALL void GL_APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
852 | GL_APICALL void GL_APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); | ||
853 | GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
854 | GL_APICALL void GL_APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); | ||
855 | GL_APICALL void *GL_APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); | ||
856 | GL_APICALL void GL_APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length); | ||
857 | GL_APICALL void GL_APIENTRY glBindVertexArray (GLuint array); | ||
858 | GL_APICALL void GL_APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays); | ||
859 | GL_APICALL void GL_APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays); | ||
860 | GL_APICALL GLboolean GL_APIENTRY glIsVertexArray (GLuint array); | ||
861 | GL_APICALL void GL_APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data); | ||
862 | GL_APICALL void GL_APIENTRY glBeginTransformFeedback (GLenum primitiveMode); | ||
863 | GL_APICALL void GL_APIENTRY glEndTransformFeedback (void); | ||
864 | GL_APICALL void GL_APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); | ||
865 | GL_APICALL void GL_APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer); | ||
866 | GL_APICALL void GL_APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); | ||
867 | GL_APICALL void GL_APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); | ||
868 | GL_APICALL void GL_APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); | ||
869 | GL_APICALL void GL_APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params); | ||
870 | GL_APICALL void GL_APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params); | ||
871 | GL_APICALL void GL_APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w); | ||
872 | GL_APICALL void GL_APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); | ||
873 | GL_APICALL void GL_APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v); | ||
874 | GL_APICALL void GL_APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v); | ||
875 | GL_APICALL void GL_APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params); | ||
876 | GL_APICALL GLint GL_APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name); | ||
877 | GL_APICALL void GL_APIENTRY glUniform1ui (GLint location, GLuint v0); | ||
878 | GL_APICALL void GL_APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1); | ||
879 | GL_APICALL void GL_APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2); | ||
880 | GL_APICALL void GL_APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); | ||
881 | GL_APICALL void GL_APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value); | ||
882 | GL_APICALL void GL_APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value); | ||
883 | GL_APICALL void GL_APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value); | ||
884 | GL_APICALL void GL_APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value); | ||
885 | GL_APICALL void GL_APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value); | ||
886 | GL_APICALL void GL_APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value); | ||
887 | GL_APICALL void GL_APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value); | ||
888 | GL_APICALL void GL_APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); | ||
889 | GL_APICALL const GLubyte *GL_APIENTRY glGetStringi (GLenum name, GLuint index); | ||
890 | GL_APICALL void GL_APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); | ||
891 | GL_APICALL void GL_APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); | ||
892 | GL_APICALL void GL_APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); | ||
893 | GL_APICALL GLuint GL_APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName); | ||
894 | GL_APICALL void GL_APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); | ||
895 | GL_APICALL void GL_APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); | ||
896 | GL_APICALL void GL_APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); | ||
897 | GL_APICALL void GL_APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount); | ||
898 | GL_APICALL void GL_APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); | ||
899 | GL_APICALL GLsync GL_APIENTRY glFenceSync (GLenum condition, GLbitfield flags); | ||
900 | GL_APICALL GLboolean GL_APIENTRY glIsSync (GLsync sync); | ||
901 | GL_APICALL void GL_APIENTRY glDeleteSync (GLsync sync); | ||
902 | GL_APICALL GLenum GL_APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); | ||
903 | GL_APICALL void GL_APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); | ||
904 | GL_APICALL void GL_APIENTRY glGetInteger64v (GLenum pname, GLint64 *data); | ||
905 | GL_APICALL void GL_APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); | ||
906 | GL_APICALL void GL_APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data); | ||
907 | GL_APICALL void GL_APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params); | ||
908 | GL_APICALL void GL_APIENTRY glGenSamplers (GLsizei count, GLuint *samplers); | ||
909 | GL_APICALL void GL_APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers); | ||
910 | GL_APICALL GLboolean GL_APIENTRY glIsSampler (GLuint sampler); | ||
911 | GL_APICALL void GL_APIENTRY glBindSampler (GLuint unit, GLuint sampler); | ||
912 | GL_APICALL void GL_APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param); | ||
913 | GL_APICALL void GL_APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param); | ||
914 | GL_APICALL void GL_APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param); | ||
915 | GL_APICALL void GL_APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param); | ||
916 | GL_APICALL void GL_APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params); | ||
917 | GL_APICALL void GL_APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params); | ||
918 | GL_APICALL void GL_APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor); | ||
919 | GL_APICALL void GL_APIENTRY glBindTransformFeedback (GLenum target, GLuint id); | ||
920 | GL_APICALL void GL_APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids); | ||
921 | GL_APICALL void GL_APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids); | ||
922 | GL_APICALL GLboolean GL_APIENTRY glIsTransformFeedback (GLuint id); | ||
923 | GL_APICALL void GL_APIENTRY glPauseTransformFeedback (void); | ||
924 | GL_APICALL void GL_APIENTRY glResumeTransformFeedback (void); | ||
925 | GL_APICALL void GL_APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); | ||
926 | GL_APICALL void GL_APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); | ||
927 | GL_APICALL void GL_APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value); | ||
928 | GL_APICALL void GL_APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments); | ||
929 | GL_APICALL void GL_APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); | ||
930 | GL_APICALL void GL_APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); | ||
931 | GL_APICALL void GL_APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); | ||
932 | GL_APICALL void GL_APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); | ||
933 | #endif /* GL_ES_VERSION_3_0 */ | ||
934 | |||
935 | #ifndef GL_ES_VERSION_3_1 | ||
936 | #define GL_ES_VERSION_3_1 1 | ||
937 | #define GL_COMPUTE_SHADER 0x91B9 | ||
938 | #define GL_MAX_COMPUTE_UNIFORM_BLOCKS 0x91BB | ||
939 | #define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC | ||
940 | #define GL_MAX_COMPUTE_IMAGE_UNIFORMS 0x91BD | ||
941 | #define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262 | ||
942 | #define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263 | ||
943 | #define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264 | ||
944 | #define GL_MAX_COMPUTE_ATOMIC_COUNTERS 0x8265 | ||
945 | #define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266 | ||
946 | #define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB | ||
947 | #define GL_MAX_COMPUTE_WORK_GROUP_COUNT 0x91BE | ||
948 | #define GL_MAX_COMPUTE_WORK_GROUP_SIZE 0x91BF | ||
949 | #define GL_COMPUTE_WORK_GROUP_SIZE 0x8267 | ||
950 | #define GL_DISPATCH_INDIRECT_BUFFER 0x90EE | ||
951 | #define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF | ||
952 | #define GL_COMPUTE_SHADER_BIT 0x00000020 | ||
953 | #define GL_DRAW_INDIRECT_BUFFER 0x8F3F | ||
954 | #define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43 | ||
955 | #define GL_MAX_UNIFORM_LOCATIONS 0x826E | ||
956 | #define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310 | ||
957 | #define GL_FRAMEBUFFER_DEFAULT_HEIGHT 0x9311 | ||
958 | #define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313 | ||
959 | #define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314 | ||
960 | #define GL_MAX_FRAMEBUFFER_WIDTH 0x9315 | ||
961 | #define GL_MAX_FRAMEBUFFER_HEIGHT 0x9316 | ||
962 | #define GL_MAX_FRAMEBUFFER_SAMPLES 0x9318 | ||
963 | #define GL_UNIFORM 0x92E1 | ||
964 | #define GL_UNIFORM_BLOCK 0x92E2 | ||
965 | #define GL_PROGRAM_INPUT 0x92E3 | ||
966 | #define GL_PROGRAM_OUTPUT 0x92E4 | ||
967 | #define GL_BUFFER_VARIABLE 0x92E5 | ||
968 | #define GL_SHADER_STORAGE_BLOCK 0x92E6 | ||
969 | #define GL_ATOMIC_COUNTER_BUFFER 0x92C0 | ||
970 | #define GL_TRANSFORM_FEEDBACK_VARYING 0x92F4 | ||
971 | #define GL_ACTIVE_RESOURCES 0x92F5 | ||
972 | #define GL_MAX_NAME_LENGTH 0x92F6 | ||
973 | #define GL_MAX_NUM_ACTIVE_VARIABLES 0x92F7 | ||
974 | #define GL_NAME_LENGTH 0x92F9 | ||
975 | #define GL_TYPE 0x92FA | ||
976 | #define GL_ARRAY_SIZE 0x92FB | ||
977 | #define GL_OFFSET 0x92FC | ||
978 | #define GL_BLOCK_INDEX 0x92FD | ||
979 | #define GL_ARRAY_STRIDE 0x92FE | ||
980 | #define GL_MATRIX_STRIDE 0x92FF | ||
981 | #define GL_IS_ROW_MAJOR 0x9300 | ||
982 | #define GL_ATOMIC_COUNTER_BUFFER_INDEX 0x9301 | ||
983 | #define GL_BUFFER_BINDING 0x9302 | ||
984 | #define GL_BUFFER_DATA_SIZE 0x9303 | ||
985 | #define GL_NUM_ACTIVE_VARIABLES 0x9304 | ||
986 | #define GL_ACTIVE_VARIABLES 0x9305 | ||
987 | #define GL_REFERENCED_BY_VERTEX_SHADER 0x9306 | ||
988 | #define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A | ||
989 | #define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B | ||
990 | #define GL_TOP_LEVEL_ARRAY_SIZE 0x930C | ||
991 | #define GL_TOP_LEVEL_ARRAY_STRIDE 0x930D | ||
992 | #define GL_LOCATION 0x930E | ||
993 | #define GL_VERTEX_SHADER_BIT 0x00000001 | ||
994 | #define GL_FRAGMENT_SHADER_BIT 0x00000002 | ||
995 | #define GL_ALL_SHADER_BITS 0xFFFFFFFF | ||
996 | #define GL_PROGRAM_SEPARABLE 0x8258 | ||
997 | #define GL_ACTIVE_PROGRAM 0x8259 | ||
998 | #define GL_PROGRAM_PIPELINE_BINDING 0x825A | ||
999 | #define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1 | ||
1000 | #define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2 | ||
1001 | #define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3 | ||
1002 | #define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC | ||
1003 | #define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0 | ||
1004 | #define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1 | ||
1005 | #define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2 | ||
1006 | #define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6 | ||
1007 | #define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7 | ||
1008 | #define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8 | ||
1009 | #define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC | ||
1010 | #define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9 | ||
1011 | #define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB | ||
1012 | #define GL_MAX_IMAGE_UNITS 0x8F38 | ||
1013 | #define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA | ||
1014 | #define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE | ||
1015 | #define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF | ||
1016 | #define GL_IMAGE_BINDING_NAME 0x8F3A | ||
1017 | #define GL_IMAGE_BINDING_LEVEL 0x8F3B | ||
1018 | #define GL_IMAGE_BINDING_LAYERED 0x8F3C | ||
1019 | #define GL_IMAGE_BINDING_LAYER 0x8F3D | ||
1020 | #define GL_IMAGE_BINDING_ACCESS 0x8F3E | ||
1021 | #define GL_IMAGE_BINDING_FORMAT 0x906E | ||
1022 | #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001 | ||
1023 | #define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002 | ||
1024 | #define GL_UNIFORM_BARRIER_BIT 0x00000004 | ||
1025 | #define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008 | ||
1026 | #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020 | ||
1027 | #define GL_COMMAND_BARRIER_BIT 0x00000040 | ||
1028 | #define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080 | ||
1029 | #define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100 | ||
1030 | #define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200 | ||
1031 | #define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400 | ||
1032 | #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800 | ||
1033 | #define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000 | ||
1034 | #define GL_ALL_BARRIER_BITS 0xFFFFFFFF | ||
1035 | #define GL_IMAGE_2D 0x904D | ||
1036 | #define GL_IMAGE_3D 0x904E | ||
1037 | #define GL_IMAGE_CUBE 0x9050 | ||
1038 | #define GL_IMAGE_2D_ARRAY 0x9053 | ||
1039 | #define GL_INT_IMAGE_2D 0x9058 | ||
1040 | #define GL_INT_IMAGE_3D 0x9059 | ||
1041 | #define GL_INT_IMAGE_CUBE 0x905B | ||
1042 | #define GL_INT_IMAGE_2D_ARRAY 0x905E | ||
1043 | #define GL_UNSIGNED_INT_IMAGE_2D 0x9063 | ||
1044 | #define GL_UNSIGNED_INT_IMAGE_3D 0x9064 | ||
1045 | #define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066 | ||
1046 | #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069 | ||
1047 | #define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7 | ||
1048 | #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8 | ||
1049 | #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9 | ||
1050 | #define GL_READ_ONLY 0x88B8 | ||
1051 | #define GL_WRITE_ONLY 0x88B9 | ||
1052 | #define GL_READ_WRITE 0x88BA | ||
1053 | #define GL_SHADER_STORAGE_BUFFER 0x90D2 | ||
1054 | #define GL_SHADER_STORAGE_BUFFER_BINDING 0x90D3 | ||
1055 | #define GL_SHADER_STORAGE_BUFFER_START 0x90D4 | ||
1056 | #define GL_SHADER_STORAGE_BUFFER_SIZE 0x90D5 | ||
1057 | #define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6 | ||
1058 | #define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA | ||
1059 | #define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB | ||
1060 | #define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC | ||
1061 | #define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD | ||
1062 | #define GL_MAX_SHADER_STORAGE_BLOCK_SIZE 0x90DE | ||
1063 | #define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF | ||
1064 | #define GL_SHADER_STORAGE_BARRIER_BIT 0x00002000 | ||
1065 | #define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39 | ||
1066 | #define GL_DEPTH_STENCIL_TEXTURE_MODE 0x90EA | ||
1067 | #define GL_STENCIL_INDEX 0x1901 | ||
1068 | #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E | ||
1069 | #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F | ||
1070 | #define GL_SAMPLE_POSITION 0x8E50 | ||
1071 | #define GL_SAMPLE_MASK 0x8E51 | ||
1072 | #define GL_SAMPLE_MASK_VALUE 0x8E52 | ||
1073 | #define GL_TEXTURE_2D_MULTISAMPLE 0x9100 | ||
1074 | #define GL_MAX_SAMPLE_MASK_WORDS 0x8E59 | ||
1075 | #define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E | ||
1076 | #define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F | ||
1077 | #define GL_MAX_INTEGER_SAMPLES 0x9110 | ||
1078 | #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104 | ||
1079 | #define GL_TEXTURE_SAMPLES 0x9106 | ||
1080 | #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107 | ||
1081 | #define GL_TEXTURE_WIDTH 0x1000 | ||
1082 | #define GL_TEXTURE_HEIGHT 0x1001 | ||
1083 | #define GL_TEXTURE_DEPTH 0x8071 | ||
1084 | #define GL_TEXTURE_INTERNAL_FORMAT 0x1003 | ||
1085 | #define GL_TEXTURE_RED_SIZE 0x805C | ||
1086 | #define GL_TEXTURE_GREEN_SIZE 0x805D | ||
1087 | #define GL_TEXTURE_BLUE_SIZE 0x805E | ||
1088 | #define GL_TEXTURE_ALPHA_SIZE 0x805F | ||
1089 | #define GL_TEXTURE_DEPTH_SIZE 0x884A | ||
1090 | #define GL_TEXTURE_STENCIL_SIZE 0x88F1 | ||
1091 | #define GL_TEXTURE_SHARED_SIZE 0x8C3F | ||
1092 | #define GL_TEXTURE_RED_TYPE 0x8C10 | ||
1093 | #define GL_TEXTURE_GREEN_TYPE 0x8C11 | ||
1094 | #define GL_TEXTURE_BLUE_TYPE 0x8C12 | ||
1095 | #define GL_TEXTURE_ALPHA_TYPE 0x8C13 | ||
1096 | #define GL_TEXTURE_DEPTH_TYPE 0x8C16 | ||
1097 | #define GL_TEXTURE_COMPRESSED 0x86A1 | ||
1098 | #define GL_SAMPLER_2D_MULTISAMPLE 0x9108 | ||
1099 | #define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109 | ||
1100 | #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A | ||
1101 | #define GL_VERTEX_ATTRIB_BINDING 0x82D4 | ||
1102 | #define GL_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D5 | ||
1103 | #define GL_VERTEX_BINDING_DIVISOR 0x82D6 | ||
1104 | #define GL_VERTEX_BINDING_OFFSET 0x82D7 | ||
1105 | #define GL_VERTEX_BINDING_STRIDE 0x82D8 | ||
1106 | #define GL_VERTEX_BINDING_BUFFER 0x8F4F | ||
1107 | #define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9 | ||
1108 | #define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA | ||
1109 | #define GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5 | ||
1110 | GL_APICALL void GL_APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); | ||
1111 | GL_APICALL void GL_APIENTRY glDispatchComputeIndirect (GLintptr indirect); | ||
1112 | GL_APICALL void GL_APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect); | ||
1113 | GL_APICALL void GL_APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect); | ||
1114 | GL_APICALL void GL_APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param); | ||
1115 | GL_APICALL void GL_APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params); | ||
1116 | GL_APICALL void GL_APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params); | ||
1117 | GL_APICALL GLuint GL_APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name); | ||
1118 | GL_APICALL void GL_APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); | ||
1119 | GL_APICALL void GL_APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params); | ||
1120 | GL_APICALL GLint GL_APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name); | ||
1121 | GL_APICALL void GL_APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program); | ||
1122 | GL_APICALL void GL_APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program); | ||
1123 | GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings); | ||
1124 | GL_APICALL void GL_APIENTRY glBindProgramPipeline (GLuint pipeline); | ||
1125 | GL_APICALL void GL_APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines); | ||
1126 | GL_APICALL void GL_APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines); | ||
1127 | GL_APICALL GLboolean GL_APIENTRY glIsProgramPipeline (GLuint pipeline); | ||
1128 | GL_APICALL void GL_APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params); | ||
1129 | GL_APICALL void GL_APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0); | ||
1130 | GL_APICALL void GL_APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1); | ||
1131 | GL_APICALL void GL_APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); | ||
1132 | GL_APICALL void GL_APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); | ||
1133 | GL_APICALL void GL_APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0); | ||
1134 | GL_APICALL void GL_APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1); | ||
1135 | GL_APICALL void GL_APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); | ||
1136 | GL_APICALL void GL_APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); | ||
1137 | GL_APICALL void GL_APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0); | ||
1138 | GL_APICALL void GL_APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1); | ||
1139 | GL_APICALL void GL_APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); | ||
1140 | GL_APICALL void GL_APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); | ||
1141 | GL_APICALL void GL_APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
1142 | GL_APICALL void GL_APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
1143 | GL_APICALL void GL_APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
1144 | GL_APICALL void GL_APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
1145 | GL_APICALL void GL_APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
1146 | GL_APICALL void GL_APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
1147 | GL_APICALL void GL_APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
1148 | GL_APICALL void GL_APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
1149 | GL_APICALL void GL_APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
1150 | GL_APICALL void GL_APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
1151 | GL_APICALL void GL_APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
1152 | GL_APICALL void GL_APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
1153 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1154 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1155 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1156 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1157 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1158 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1159 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1160 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1161 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1162 | GL_APICALL void GL_APIENTRY glValidateProgramPipeline (GLuint pipeline); | ||
1163 | GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); | ||
1164 | GL_APICALL void GL_APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); | ||
1165 | GL_APICALL void GL_APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data); | ||
1166 | GL_APICALL void GL_APIENTRY glMemoryBarrier (GLbitfield barriers); | ||
1167 | GL_APICALL void GL_APIENTRY glMemoryBarrierByRegion (GLbitfield barriers); | ||
1168 | GL_APICALL void GL_APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); | ||
1169 | GL_APICALL void GL_APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val); | ||
1170 | GL_APICALL void GL_APIENTRY glSampleMaski (GLuint maskNumber, GLbitfield mask); | ||
1171 | GL_APICALL void GL_APIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params); | ||
1172 | GL_APICALL void GL_APIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params); | ||
1173 | GL_APICALL void GL_APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); | ||
1174 | GL_APICALL void GL_APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); | ||
1175 | GL_APICALL void GL_APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); | ||
1176 | GL_APICALL void GL_APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex); | ||
1177 | GL_APICALL void GL_APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor); | ||
1178 | #endif /* GL_ES_VERSION_3_1 */ | ||
1179 | |||
1180 | #ifdef __cplusplus | ||
1181 | } | ||
1182 | #endif | ||
1183 | |||
1184 | #endif | ||
diff --git a/recipes/opengldummy/files/headers/GLES3/gl3platform.h b/recipes/opengldummy/files/headers/GLES3/gl3platform.h deleted file mode 100644 index b1e869d..0000000 --- a/recipes/opengldummy/files/headers/GLES3/gl3platform.h +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | #ifndef __gl3platform_h_ | ||
2 | #define __gl3platform_h_ | ||
3 | |||
4 | /* $Revision: 23328 $ on $Date:: 2013-10-02 02:28:28 -0700 #$ */ | ||
5 | |||
6 | /* | ||
7 | * This document is licensed under the SGI Free Software B License Version | ||
8 | * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . | ||
9 | */ | ||
10 | |||
11 | /* Platform-specific types and definitions for OpenGL ES 3.X gl3.h | ||
12 | * | ||
13 | * Adopters may modify khrplatform.h and this file to suit their platform. | ||
14 | * You are encouraged to submit all modifications to the Khronos group so that | ||
15 | * they can be included in future versions of this file. Please submit changes | ||
16 | * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) | ||
17 | * by filing a bug against product "OpenGL-ES" component "Registry". | ||
18 | */ | ||
19 | |||
20 | #include <KHR/khrplatform.h> | ||
21 | |||
22 | #ifndef GL_APICALL | ||
23 | #define GL_APICALL KHRONOS_APICALL | ||
24 | #endif | ||
25 | |||
26 | #ifndef GL_APIENTRY | ||
27 | #define GL_APIENTRY KHRONOS_APIENTRY | ||
28 | #endif | ||
29 | |||
30 | #endif /* __gl3platform_h_ */ | ||
diff --git a/recipes/opengldummy/files/headers/KHR/khrplatform.h b/recipes/opengldummy/files/headers/KHR/khrplatform.h deleted file mode 100644 index d976ab5..0000000 --- a/recipes/opengldummy/files/headers/KHR/khrplatform.h +++ /dev/null | |||
@@ -1,298 +0,0 @@ | |||
1 | #ifndef __khrplatform_h_ | ||
2 | #define __khrplatform_h_ | ||
3 | |||
4 | /* | ||
5 | ** Copyright (c) 2008-2009 The Khronos Group Inc. | ||
6 | ** | ||
7 | ** Permission is hereby granted, free of charge, to any person obtaining a | ||
8 | ** copy of this software and/or associated documentation files (the | ||
9 | ** "Materials"), to deal in the Materials without restriction, including | ||
10 | ** without limitation the rights to use, copy, modify, merge, publish, | ||
11 | ** distribute, sublicense, and/or sell copies of the Materials, and to | ||
12 | ** permit persons to whom the Materials are furnished to do so, subject to | ||
13 | ** the following conditions: | ||
14 | ** | ||
15 | ** The above copyright notice and this permission notice shall be included | ||
16 | ** in all copies or substantial portions of the Materials. | ||
17 | ** | ||
18 | ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
19 | ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
20 | ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
21 | ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
22 | ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
23 | ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
24 | ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. | ||
25 | */ | ||
26 | |||
27 | /* Khronos platform-specific types and definitions. | ||
28 | * | ||
29 | * $Revision: 23298 $ on $Date: 2013-09-30 17:07:13 -0700 (Mon, 30 Sep 2013) $ | ||
30 | * | ||
31 | * Adopters may modify this file to suit their platform. Adopters are | ||
32 | * encouraged to submit platform specific modifications to the Khronos | ||
33 | * group so that they can be included in future versions of this file. | ||
34 | * Please submit changes by sending them to the public Khronos Bugzilla | ||
35 | * (http://khronos.org/bugzilla) by filing a bug against product | ||
36 | * "Khronos (general)" component "Registry". | ||
37 | * | ||
38 | * A predefined template which fills in some of the bug fields can be | ||
39 | * reached using http://tinyurl.com/khrplatform-h-bugreport, but you | ||
40 | * must create a Bugzilla login first. | ||
41 | * | ||
42 | * | ||
43 | * See the Implementer's Guidelines for information about where this file | ||
44 | * should be located on your system and for more details of its use: | ||
45 | * http://www.khronos.org/registry/implementers_guide.pdf | ||
46 | * | ||
47 | * This file should be included as | ||
48 | * #include <KHR/khrplatform.h> | ||
49 | * by Khronos client API header files that use its types and defines. | ||
50 | * | ||
51 | * The types in khrplatform.h should only be used to define API-specific types. | ||
52 | * | ||
53 | * Types defined in khrplatform.h: | ||
54 | * khronos_int8_t signed 8 bit | ||
55 | * khronos_uint8_t unsigned 8 bit | ||
56 | * khronos_int16_t signed 16 bit | ||
57 | * khronos_uint16_t unsigned 16 bit | ||
58 | * khronos_int32_t signed 32 bit | ||
59 | * khronos_uint32_t unsigned 32 bit | ||
60 | * khronos_int64_t signed 64 bit | ||
61 | * khronos_uint64_t unsigned 64 bit | ||
62 | * khronos_intptr_t signed same number of bits as a pointer | ||
63 | * khronos_uintptr_t unsigned same number of bits as a pointer | ||
64 | * khronos_ssize_t signed size | ||
65 | * khronos_usize_t unsigned size | ||
66 | * khronos_float_t signed 32 bit floating point | ||
67 | * khronos_time_ns_t unsigned 64 bit time in nanoseconds | ||
68 | * khronos_utime_nanoseconds_t unsigned time interval or absolute time in | ||
69 | * nanoseconds | ||
70 | * khronos_stime_nanoseconds_t signed time interval in nanoseconds | ||
71 | * khronos_boolean_enum_t enumerated boolean type. This should | ||
72 | * only be used as a base type when a client API's boolean type is | ||
73 | * an enum. Client APIs which use an integer or other type for | ||
74 | * booleans cannot use this as the base type for their boolean. | ||
75 | * | ||
76 | * Tokens defined in khrplatform.h: | ||
77 | * | ||
78 | * KHRONOS_FALSE, KHRONOS_TRUE Enumerated boolean false/true values. | ||
79 | * | ||
80 | * KHRONOS_SUPPORT_INT64 is 1 if 64 bit integers are supported; otherwise 0. | ||
81 | * KHRONOS_SUPPORT_FLOAT is 1 if floats are supported; otherwise 0. | ||
82 | * | ||
83 | * Calling convention macros defined in this file: | ||
84 | * KHRONOS_APICALL | ||
85 | * KHRONOS_APIENTRY | ||
86 | * KHRONOS_APIATTRIBUTES | ||
87 | * | ||
88 | * These may be used in function prototypes as: | ||
89 | * | ||
90 | * KHRONOS_APICALL void KHRONOS_APIENTRY funcname( | ||
91 | * int arg1, | ||
92 | * int arg2) KHRONOS_APIATTRIBUTES; | ||
93 | */ | ||
94 | |||
95 | /*------------------------------------------------------------------------- | ||
96 | * Definition of KHRONOS_APICALL | ||
97 | *------------------------------------------------------------------------- | ||
98 | * This precedes the return type of the function in the function prototype. | ||
99 | */ | ||
100 | #if defined(_WIN32) && !defined(__SCITECH_SNAP__) | ||
101 | /* QtGlesStream */ | ||
102 | #ifdef QGS_BUILD_CLIENT_DLL | ||
103 | # define KHRONOS_APICALL __declspec(dllexport) | ||
104 | #else | ||
105 | # define KHRONOS_APICALL __declspec(dllimport) | ||
106 | #endif | ||
107 | #elif defined (__SYMBIAN32__) | ||
108 | # define KHRONOS_APICALL IMPORT_C | ||
109 | #else | ||
110 | # define KHRONOS_APICALL | ||
111 | #endif | ||
112 | |||
113 | /*------------------------------------------------------------------------- | ||
114 | * Definition of KHRONOS_APIENTRY | ||
115 | *------------------------------------------------------------------------- | ||
116 | * This follows the return type of the function and precedes the function | ||
117 | * name in the function prototype. | ||
118 | */ | ||
119 | #if defined(_WIN32) && !defined(_WIN32_WCE) && !defined(__SCITECH_SNAP__) | ||
120 | /* Win32 but not WinCE */ | ||
121 | # define KHRONOS_APIENTRY __stdcall | ||
122 | #else | ||
123 | # define KHRONOS_APIENTRY | ||
124 | #endif | ||
125 | |||
126 | /*------------------------------------------------------------------------- | ||
127 | * Definition of KHRONOS_APIATTRIBUTES | ||
128 | *------------------------------------------------------------------------- | ||
129 | * This follows the closing parenthesis of the function prototype arguments. | ||
130 | */ | ||
131 | #if defined (__ARMCC_2__) | ||
132 | #define KHRONOS_APIATTRIBUTES __softfp | ||
133 | #else | ||
134 | #define KHRONOS_APIATTRIBUTES | ||
135 | #endif | ||
136 | |||
137 | /*------------------------------------------------------------------------- | ||
138 | * basic type definitions | ||
139 | *-----------------------------------------------------------------------*/ | ||
140 | #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || defined(__GNUC__) || defined(__SCO__) || defined(__USLC__) | ||
141 | |||
142 | |||
143 | /* | ||
144 | * Using <stdint.h> | ||
145 | */ | ||
146 | #include <stdint.h> | ||
147 | typedef int32_t khronos_int32_t; | ||
148 | typedef uint32_t khronos_uint32_t; | ||
149 | typedef int64_t khronos_int64_t; | ||
150 | typedef uint64_t khronos_uint64_t; | ||
151 | #define KHRONOS_SUPPORT_INT64 1 | ||
152 | #define KHRONOS_SUPPORT_FLOAT 1 | ||
153 | |||
154 | #elif defined(__VMS ) || defined(__sgi) | ||
155 | |||
156 | /* | ||
157 | * Using <inttypes.h> | ||
158 | */ | ||
159 | #include <inttypes.h> | ||
160 | typedef int32_t khronos_int32_t; | ||
161 | typedef uint32_t khronos_uint32_t; | ||
162 | typedef int64_t khronos_int64_t; | ||
163 | typedef uint64_t khronos_uint64_t; | ||
164 | #define KHRONOS_SUPPORT_INT64 1 | ||
165 | #define KHRONOS_SUPPORT_FLOAT 1 | ||
166 | |||
167 | #elif defined(_WIN32) && !defined(__SCITECH_SNAP__) | ||
168 | |||
169 | /* | ||
170 | * Win32 | ||
171 | */ | ||
172 | typedef __int32 khronos_int32_t; | ||
173 | typedef unsigned __int32 khronos_uint32_t; | ||
174 | typedef __int64 khronos_int64_t; | ||
175 | typedef unsigned __int64 khronos_uint64_t; | ||
176 | #define KHRONOS_SUPPORT_INT64 1 | ||
177 | #define KHRONOS_SUPPORT_FLOAT 1 | ||
178 | |||
179 | #elif defined(__sun__) || defined(__digital__) | ||
180 | |||
181 | /* | ||
182 | * Sun or Digital | ||
183 | */ | ||
184 | typedef int khronos_int32_t; | ||
185 | typedef unsigned int khronos_uint32_t; | ||
186 | #if defined(__arch64__) || defined(_LP64) | ||
187 | typedef long int khronos_int64_t; | ||
188 | typedef unsigned long int khronos_uint64_t; | ||
189 | #else | ||
190 | typedef long long int khronos_int64_t; | ||
191 | typedef unsigned long long int khronos_uint64_t; | ||
192 | #endif /* __arch64__ */ | ||
193 | #define KHRONOS_SUPPORT_INT64 1 | ||
194 | #define KHRONOS_SUPPORT_FLOAT 1 | ||
195 | |||
196 | #elif 0 | ||
197 | |||
198 | /* | ||
199 | * Hypothetical platform with no float or int64 support | ||
200 | */ | ||
201 | typedef int khronos_int32_t; | ||
202 | typedef unsigned int khronos_uint32_t; | ||
203 | #define KHRONOS_SUPPORT_INT64 0 | ||
204 | #define KHRONOS_SUPPORT_FLOAT 0 | ||
205 | |||
206 | #else | ||
207 | |||
208 | /* | ||
209 | * Generic fallback | ||
210 | */ | ||
211 | #include <stdint.h> | ||
212 | typedef int32_t khronos_int32_t; | ||
213 | typedef uint32_t khronos_uint32_t; | ||
214 | typedef int64_t khronos_int64_t; | ||
215 | typedef uint64_t khronos_uint64_t; | ||
216 | #define KHRONOS_SUPPORT_INT64 1 | ||
217 | #define KHRONOS_SUPPORT_FLOAT 1 | ||
218 | |||
219 | #endif | ||
220 | |||
221 | |||
222 | /* | ||
223 | * Types that are (so far) the same on all platforms | ||
224 | */ | ||
225 | typedef signed char khronos_int8_t; | ||
226 | typedef unsigned char khronos_uint8_t; | ||
227 | typedef signed short int khronos_int16_t; | ||
228 | typedef unsigned short int khronos_uint16_t; | ||
229 | |||
230 | #if 1 | ||
231 | |||
232 | /* QtGlesStream */ | ||
233 | #include <stddef.h> | ||
234 | typedef ptrdiff_t khronos_intptr_t; | ||
235 | typedef ptrdiff_t khronos_ssize_t; | ||
236 | |||
237 | #else | ||
238 | |||
239 | /* | ||
240 | * Types that differ between LLP64 and LP64 architectures - in LLP64, | ||
241 | * pointers are 64 bits, but 'long' is still 32 bits. Win64 appears | ||
242 | * to be the only LLP64 architecture in current use. | ||
243 | */ | ||
244 | #ifdef _WIN64 | ||
245 | typedef signed long long int khronos_intptr_t; | ||
246 | typedef unsigned long long int khronos_uintptr_t; | ||
247 | typedef signed long long int khronos_ssize_t; | ||
248 | typedef unsigned long long int khronos_usize_t; | ||
249 | #else | ||
250 | typedef signed long int khronos_intptr_t; | ||
251 | typedef unsigned long int khronos_uintptr_t; | ||
252 | typedef signed long int khronos_ssize_t; | ||
253 | typedef unsigned long int khronos_usize_t; | ||
254 | #endif | ||
255 | |||
256 | #endif | ||
257 | |||
258 | #if KHRONOS_SUPPORT_FLOAT | ||
259 | /* | ||
260 | * Float type | ||
261 | */ | ||
262 | typedef float khronos_float_t; | ||
263 | #endif | ||
264 | |||
265 | #if KHRONOS_SUPPORT_INT64 | ||
266 | /* Time types | ||
267 | * | ||
268 | * These types can be used to represent a time interval in nanoseconds or | ||
269 | * an absolute Unadjusted System Time. Unadjusted System Time is the number | ||
270 | * of nanoseconds since some arbitrary system event (e.g. since the last | ||
271 | * time the system booted). The Unadjusted System Time is an unsigned | ||
272 | * 64 bit value that wraps back to 0 every 584 years. Time intervals | ||
273 | * may be either signed or unsigned. | ||
274 | */ | ||
275 | typedef khronos_uint64_t khronos_utime_nanoseconds_t; | ||
276 | typedef khronos_int64_t khronos_stime_nanoseconds_t; | ||
277 | #endif | ||
278 | |||
279 | /* | ||
280 | * Dummy value used to pad enum types to 32 bits. | ||
281 | */ | ||
282 | #ifndef KHRONOS_MAX_ENUM | ||
283 | #define KHRONOS_MAX_ENUM 0x7FFFFFFF | ||
284 | #endif | ||
285 | |||
286 | /* | ||
287 | * Enumerated boolean type | ||
288 | * | ||
289 | * Values other than zero should be considered to be true. Therefore | ||
290 | * comparisons should not be made against KHRONOS_TRUE. | ||
291 | */ | ||
292 | typedef enum { | ||
293 | KHRONOS_FALSE = 0, | ||
294 | KHRONOS_TRUE = 1, | ||
295 | KHRONOS_BOOLEAN_ENUM_FORCE_SIZE = KHRONOS_MAX_ENUM | ||
296 | } khronos_boolean_enum_t; | ||
297 | |||
298 | #endif /* __khrplatform_h_ */ | ||
diff --git a/recipes/opengldummy/opengldummy.bb b/recipes/opengldummy/opengldummy.bb deleted file mode 100644 index 3f68b17..0000000 --- a/recipes/opengldummy/opengldummy.bb +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | DESCRIPTION = "OpenGL dummy library provides headers and a dummy library for EGL/GLES" | ||
31 | SECTION = "devel" | ||
32 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
33 | LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=80e06902b5f0e94ad0a78ee4f7fcb74b" | ||
34 | |||
35 | PV = "1.0.0" | ||
36 | |||
37 | require opengldummy.inc | ||
38 | |||
39 | do_compile() { | ||
40 | ${CC} ${LDFLAGS} -DQGS_BUILD_CLIENT_DLL -fPIC -shared -Wl,-soname,libEGL.so.1 -I${WORKDIR}/headers -o libEGL.so.1 ${WORKDIR}/egl.cpp | ||
41 | ${CC} ${LDFLAGS} -DQGS_BUILD_CLIENT_DLL -fPIC -shared -Wl,-soname,libGLESv2.so.2 -I${WORKDIR}/headers -o libGLESv2.so.2 ${WORKDIR}/gles2.cpp | ||
42 | } | ||
43 | |||
44 | do_install_append() { | ||
45 | install -m 0755 -d ${D}${libdir} | ||
46 | install -m 0755 ${S}/libEGL.so.1 ${D}${libdir} | ||
47 | ln -s libEGL.so.1 ${D}${libdir}/libEGL.so | ||
48 | install -m 0755 ${S}/libGLESv2.so.2 ${D}${libdir} | ||
49 | ln -s libGLESv2.so.2 ${D}${libdir}/libGLESv2.so | ||
50 | } | ||
diff --git a/recipes/opengldummy/opengldummy.inc b/recipes/opengldummy/opengldummy.inc deleted file mode 100644 index 720b310..0000000 --- a/recipes/opengldummy/opengldummy.inc +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | PROVIDES = "virtual/libgles2 virtual/libgles3 virtual/egl" | ||
31 | |||
32 | SRC_URI = "file://headers \ | ||
33 | file://egl.cpp \ | ||
34 | file://gles2.cpp \ | ||
35 | " | ||
36 | |||
37 | do_install() { | ||
38 | install -m 0755 -d ${D}${includedir}/EGL | ||
39 | install -m 0755 ${WORKDIR}/headers/EGL/* ${D}${includedir}/EGL | ||
40 | |||
41 | install -m 0755 -d ${D}${includedir}/GLES2 | ||
42 | install -m 0755 ${WORKDIR}/headers/GLES2/* ${D}${includedir}/GLES2 | ||
43 | |||
44 | install -m 0755 -d ${D}${includedir}/GLES3 | ||
45 | install -m 0755 ${WORKDIR}/headers/GLES3/* ${D}${includedir}/GLES3 | ||
46 | |||
47 | install -m 0755 -d ${D}${includedir}/KHR | ||
48 | install -m 0755 ${WORKDIR}/headers/KHR/* ${D}${includedir}/KHR | ||
49 | } | ||
diff --git a/recipes/opengldummy/qtglesstream-dummy-client.bb b/recipes/opengldummy/qtglesstream-dummy-client.bb deleted file mode 100644 index ad33127..0000000 --- a/recipes/opengldummy/qtglesstream-dummy-client.bb +++ /dev/null | |||
@@ -1,54 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | DESCRIPTION = "QtGlesStream dummy client provides headers and a dummy library for EGL/GLES" | ||
31 | SECTION = "devel" | ||
32 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
33 | LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=80e06902b5f0e94ad0a78ee4f7fcb74b" | ||
34 | |||
35 | PV = "1.0.0" | ||
36 | SOLIBMAJOR = "1" | ||
37 | SOLIBMINOR = "0" | ||
38 | |||
39 | require opengldummy.inc | ||
40 | |||
41 | S = "${WORKDIR}" | ||
42 | |||
43 | do_compile() { | ||
44 | ${CC} ${LDFLAGS} -DQGS_BUILD_CLIENT_DLL -fPIC -shared -Wl,-soname,libQtGlesStreamClient.so.${SOLIBMAJOR} \ | ||
45 | -I${WORKDIR}/headers -o libQtGlesStreamClient.so.${PV} ${WORKDIR}/egl.cpp ${WORKDIR}/gles2.cpp | ||
46 | } | ||
47 | |||
48 | do_install_append() { | ||
49 | install -m 0755 -d ${D}${libdir} | ||
50 | install -m 0755 ${S}/libQtGlesStreamClient.so.${PV} ${D}${libdir} | ||
51 | ln -s libQtGlesStreamClient.so.${PV} ${D}${libdir}/libQtGlesStreamClient.so.${SOLIBMAJOR}.${SOLIBMINOR} | ||
52 | ln -s libQtGlesStreamClient.so.${PV} ${D}${libdir}/libQtGlesStreamClient.so.${SOLIBMAJOR} | ||
53 | ln -s libQtGlesStreamClient.so.${PV} ${D}${libdir}/libQtGlesStreamClient.so | ||
54 | } | ||
diff --git a/recipes/openssl/openssl/0001-Support-SYSROOT-in-c_rehash.patch b/recipes/openssl/openssl/0001-Support-SYSROOT-in-c_rehash.patch deleted file mode 100644 index 9aa9648..0000000 --- a/recipes/openssl/openssl/0001-Support-SYSROOT-in-c_rehash.patch +++ /dev/null | |||
@@ -1,96 +0,0 @@ | |||
1 | From 9cf8fa1c4dae07a6aff194a3632bc499a813d3f8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@theqtcompany.com> | ||
3 | Date: Wed, 9 Sep 2015 13:37:28 +0300 | ||
4 | Subject: [PATCH] Support SYSROOT in c_rehash | ||
5 | |||
6 | update-ca-certificates is ran during image creation, which in turn runs | ||
7 | c_rehash. Since the symlinks in /etc/ssl/certs/ are pointing to absolute | ||
8 | location, c_rehash does not find the actual files. Add support for SYSROOT | ||
9 | environment variable and use it to locate the actual files during image | ||
10 | creation. | ||
11 | |||
12 | Upstream-status: Pending | ||
13 | --- | ||
14 | tools/c_rehash.in | 30 +++++++++++++++++------------- | ||
15 | 1 file changed, 17 insertions(+), 13 deletions(-) | ||
16 | |||
17 | diff --git a/tools/c_rehash.in b/tools/c_rehash.in | ||
18 | index 92cb503..f3d2703 100644 | ||
19 | --- a/tools/c_rehash.in | ||
20 | +++ b/tools/c_rehash.in | ||
21 | @@ -7,6 +7,7 @@ my $dir; | ||
22 | my $prefix; | ||
23 | |||
24 | my $openssl = $ENV{OPENSSL} || "openssl"; | ||
25 | +my $sysroot = $ENV{SYSROOT} || ""; | ||
26 | my $pwd; | ||
27 | my $verbose = 0; | ||
28 | my $symlink_exists=eval {symlink("",""); 1}; | ||
29 | @@ -101,16 +102,17 @@ sub hash_dir { | ||
30 | } | ||
31 | } | ||
32 | FILE: foreach $fname (grep {/\.(pem)|(crt)|(cer)|(crl)$/} @flist) { | ||
33 | + $fullname = $sysroot . readlink($fname); | ||
34 | # Check to see if certificates and/or CRLs present. | ||
35 | - my ($cert, $crl) = check_file($fname); | ||
36 | + my ($cert, $crl) = check_file($fullname); | ||
37 | if(!$cert && !$crl) { | ||
38 | print STDERR "WARNING: $fname does not contain a certificate or CRL: skipping\n"; | ||
39 | next; | ||
40 | } | ||
41 | - link_hash_cert($fname) if($cert); | ||
42 | - link_hash_cert_old($fname) if($cert); | ||
43 | - link_hash_crl($fname) if($crl); | ||
44 | - link_hash_crl_old($fname) if($crl); | ||
45 | + link_hash_cert($fname, $fullname) if($cert); | ||
46 | + link_hash_cert_old($fname, $fullname) if($cert); | ||
47 | + link_hash_crl($fname, $fullname) if($crl); | ||
48 | + link_hash_crl_old($fname, $fullname) if($crl); | ||
49 | } | ||
50 | } | ||
51 | |||
52 | @@ -143,9 +145,10 @@ sub check_file { | ||
53 | |||
54 | sub link_hash_cert { | ||
55 | my $fname = $_[0]; | ||
56 | - my $x509hash = $_[1] || '-subject_hash'; | ||
57 | - $fname =~ s/'/'\\''/g; | ||
58 | - my ($hash, $fprint) = `"$openssl" x509 $x509hash -fingerprint -noout -in "$fname"`; | ||
59 | + my $fullname = $_[1]; | ||
60 | + my $x509hash = $_[2] || '-subject_hash'; | ||
61 | + $fullname =~ s/'/'\\''/g; | ||
62 | + my ($hash, $fprint) = `"$openssl" x509 $x509hash -fingerprint -noout -in "$fullname"`; | ||
63 | chomp $hash; | ||
64 | chomp $fprint; | ||
65 | $fprint =~ s/^.*=//; | ||
66 | @@ -176,11 +179,11 @@ sub link_hash_cert { | ||
67 | } | ||
68 | |||
69 | sub link_hash_cert_old { | ||
70 | - link_hash_cert($_[0], '-subject_hash_old'); | ||
71 | + link_hash_cert($_[0], $_[1], '-subject_hash_old'); | ||
72 | } | ||
73 | |||
74 | sub link_hash_crl_old { | ||
75 | - link_hash_crl($_[0], '-hash_old'); | ||
76 | + link_hash_crl($_[0], $_[1], '-hash_old'); | ||
77 | } | ||
78 | |||
79 | |||
80 | @@ -188,9 +191,10 @@ sub link_hash_crl_old { | ||
81 | |||
82 | sub link_hash_crl { | ||
83 | my $fname = $_[0]; | ||
84 | - my $crlhash = $_[1] || "-hash"; | ||
85 | - $fname =~ s/'/'\\''/g; | ||
86 | - my ($hash, $fprint) = `"$openssl" crl $crlhash -fingerprint -noout -in '$fname'`; | ||
87 | + my $fullname = $_[1]; | ||
88 | + my $crlhash = $_[2] || "-hash"; | ||
89 | + $fullname =~ s/'/'\\''/g; | ||
90 | + my ($hash, $fprint) = `"$openssl" crl $crlhash -fingerprint -noout -in '$fullname'`; | ||
91 | chomp $hash; | ||
92 | chomp $fprint; | ||
93 | $fprint =~ s/^.*=//; | ||
94 | -- | ||
95 | 1.9.1 | ||
96 | |||
diff --git a/recipes/openssl/openssl_1.%.bbappend b/recipes/openssl/openssl_1.%.bbappend deleted file mode 100644 index bac366d..0000000 --- a/recipes/openssl/openssl_1.%.bbappend +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
31 | SRC_URI += "file://0001-Support-SYSROOT-in-c_rehash.patch" | ||
32 | |||
33 | PACKAGECONFIG += "perl" | ||
34 | |||
diff --git a/recipes/ostree/ostree.bb b/recipes/ostree/ostree.bb deleted file mode 100644 index 267289a..0000000 --- a/recipes/ostree/ostree.bb +++ /dev/null | |||
@@ -1,86 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | SUMMARY = "Shared library with a reference command line tool for managing bootable, immutable, versioned filesystem trees." | ||
31 | |||
32 | LICENSE = "LGPL-2.1" | ||
33 | LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" | ||
34 | |||
35 | inherit autotools pkgconfig systemd | ||
36 | |||
37 | SRC_URI = " \ | ||
38 | git://github.com/ostreedev/ostree.git \ | ||
39 | file://Mount-boot-partition.patch \ | ||
40 | file://ostree-prepare-root-enabler-for-simpler-kernel-arg.patch \ | ||
41 | file://deploy-add-karg-none-argument.patch \ | ||
42 | file://Support-for-booting-without-initramfs.patch \ | ||
43 | file://Allow-updating-files-in-the-boot-directory.patch \ | ||
44 | file://u-boot-add-bootdir-to-the-generated-uEnv.txt.patch \ | ||
45 | file://Create-firmware-convenience-symlinks.patch \ | ||
46 | file://Print-pull-progress-also-when-not-on-console.patch \ | ||
47 | file://Workaround-the-SIGCHLD-handler-issue.patch \ | ||
48 | file://workaround-gtkdocize-configure-issue-in-autog.patch \ | ||
49 | " | ||
50 | |||
51 | SRCREV = "8ece4d6d51bdbe3e41ab318259276bb83e553aa0" | ||
52 | |||
53 | S = "${WORKDIR}/git" | ||
54 | |||
55 | DEPENDS = "glib-2.0 e2fsprogs gpgme attr libsoup-2.4 libassuan xz systemd" | ||
56 | # Bash is needed by the shipped dracut module. This dracut module is used to generate initramfs image. | ||
57 | # The production image do not require bash for proper working. | ||
58 | RDEPENDS_${PN} += "bash" | ||
59 | RRECOMMENDS_${PN} += "gnupg" | ||
60 | |||
61 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" | ||
62 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,,," | ||
63 | |||
64 | SYSTEMD_SERVICE_${PN} = "ostree-prepare-root.service ostree-remount.service" | ||
65 | FILES_${PN} += "${systemd_unitdir}/system/ \ | ||
66 | ${libdir}/dracut/" | ||
67 | |||
68 | EXTRA_OECONF = "--with-dracut \ | ||
69 | --without-selinux \ | ||
70 | --without-libarchive \ | ||
71 | --with-builtin-grub2-mkconfig \ | ||
72 | --enable-rofiles-fuse=no \ | ||
73 | --enable-gtk-doc-html=no \ | ||
74 | --enable-man=no \ | ||
75 | --with-soup \ | ||
76 | --with-static-prepare-root \ | ||
77 | --disable-otmpfile \ | ||
78 | --enable-introspection=no \ | ||
79 | --enable-libsoup-client-certs" | ||
80 | |||
81 | do_configure_prepend() { | ||
82 | cd ${S} | ||
83 | # Update submodules and workaround bugs. | ||
84 | env NOCONFIGURE=1 ./autogen.sh | ||
85 | cd - | ||
86 | } | ||
diff --git a/recipes/ostree/ostree/Allow-updating-files-in-the-boot-directory.patch b/recipes/ostree/ostree/Allow-updating-files-in-the-boot-directory.patch deleted file mode 100644 index d416543..0000000 --- a/recipes/ostree/ostree/Allow-updating-files-in-the-boot-directory.patch +++ /dev/null | |||
@@ -1,161 +0,0 @@ | |||
1 | From cc31c80658a90cf1b13fdf9fe8b6dde1cc9a0d24 Mon Sep 17 00:00:00 2001 | ||
2 | From: Gatis Paeglis <gatis.paeglis@qt.io> | ||
3 | Date: Mon, 22 Aug 2016 11:32:16 +0200 | ||
4 | Subject: [PATCH 1/3] Allow updating files in the /boot directory | ||
5 | |||
6 | This patch adds support for copying (or hardlinking on | ||
7 | single partition systems) all files from the deployment's | ||
8 | /usr/lib/ostree-boot directory to the relevant | ||
9 | /boot/ostree/$os-$bootcsum/ directory. This feature can | ||
10 | be enabled by 'touch .ostree-bootcsumdir-source' in | ||
11 | /usr/lib/ostree-boot. | ||
12 | --- | ||
13 | src/libostree/ostree-sysroot-deploy.c | 101 +++++++++++++++++++++++++++++++--- | ||
14 | 1 file changed, 94 insertions(+), 7 deletions(-) | ||
15 | |||
16 | diff --git a/src/libostree/ostree-sysroot-deploy.c b/src/libostree/ostree-sysroot-deploy.c | ||
17 | index a05ca30..f34e3f3 100644 | ||
18 | --- a/src/libostree/ostree-sysroot-deploy.c | ||
19 | +++ b/src/libostree/ostree-sysroot-deploy.c | ||
20 | @@ -165,12 +165,31 @@ dirfd_copy_attributes_and_xattrs (int src_parent_dfd, | ||
21 | } | ||
22 | |||
23 | static gboolean | ||
24 | +hardlink_or_copy_dir_recurse (int src_parent_dfd, | ||
25 | + int dest_parent_dfd, | ||
26 | + const char *name, | ||
27 | + gboolean hardlink, | ||
28 | + GCancellable *cancellable, | ||
29 | + GError **error); | ||
30 | + | ||
31 | +static gboolean | ||
32 | copy_dir_recurse (int src_parent_dfd, | ||
33 | int dest_parent_dfd, | ||
34 | const char *name, | ||
35 | GCancellable *cancellable, | ||
36 | GError **error) | ||
37 | { | ||
38 | + return hardlink_or_copy_dir_recurse (src_parent_dfd, dest_parent_dfd, name, FALSE, cancellable, error); | ||
39 | +} | ||
40 | + | ||
41 | +static gboolean | ||
42 | +hardlink_or_copy_dir_recurse (int src_parent_dfd, | ||
43 | + int dest_parent_dfd, | ||
44 | + const char *name, | ||
45 | + gboolean hardlink, | ||
46 | + GCancellable *cancellable, | ||
47 | + GError **error) | ||
48 | +{ | ||
49 | g_auto(GLnxDirFdIterator) src_dfd_iter = { 0, }; | ||
50 | glnx_fd_close int dest_dfd = -1; | ||
51 | struct dirent *dent; | ||
52 | @@ -210,17 +229,27 @@ copy_dir_recurse (int src_parent_dfd, | ||
53 | |||
54 | if (S_ISDIR (child_stbuf.st_mode)) | ||
55 | { | ||
56 | - if (!copy_dir_recurse (src_dfd_iter.fd, dest_dfd, dent->d_name, | ||
57 | - cancellable, error)) | ||
58 | + if (!hardlink_or_copy_dir_recurse (src_dfd_iter.fd, dest_dfd, dent->d_name, | ||
59 | + hardlink, cancellable, error)) | ||
60 | return FALSE; | ||
61 | } | ||
62 | else | ||
63 | { | ||
64 | - if (!glnx_file_copy_at (src_dfd_iter.fd, dent->d_name, &child_stbuf, | ||
65 | - dest_dfd, dent->d_name, | ||
66 | - GLNX_FILE_COPY_OVERWRITE, | ||
67 | - cancellable, error)) | ||
68 | - return FALSE; | ||
69 | + if (hardlink) | ||
70 | + { | ||
71 | + if (!hardlink_or_copy_at (src_dfd_iter.fd, dent->d_name, | ||
72 | + dest_dfd, dent->d_name, | ||
73 | + cancellable, error)) | ||
74 | + return FALSE; | ||
75 | + } | ||
76 | + else | ||
77 | + { | ||
78 | + if (!glnx_file_copy_at (src_dfd_iter.fd, dent->d_name, &child_stbuf, | ||
79 | + dest_dfd, dent->d_name, | ||
80 | + GLNX_FILE_COPY_OVERWRITE, | ||
81 | + cancellable, error)) | ||
82 | + return FALSE; | ||
83 | + } | ||
84 | } | ||
85 | } | ||
86 | |||
87 | @@ -1301,6 +1330,7 @@ install_deployment_kernel (OstreeSysroot *sysroot, | ||
88 | g_autofree char *version_key = NULL; | ||
89 | g_autofree char *ostree_kernel_arg = NULL; | ||
90 | g_autofree char *options_key = NULL; | ||
91 | + g_auto(GLnxDirFdIterator) dfd_iter = { 0, }; | ||
92 | GString *title_key; | ||
93 | __attribute__((cleanup(_ostree_kernel_args_cleanup))) OstreeKernelArgs *kargs = NULL; | ||
94 | const char *val; | ||
95 | @@ -1367,6 +1397,63 @@ install_deployment_kernel (OstreeSysroot *sysroot, | ||
96 | } | ||
97 | } | ||
98 | |||
99 | + if (fstatat (tree_boot_dfd, ".ostree-bootcsumdir-source", &stbuf, 0) == 0) | ||
100 | + { | ||
101 | + if (!glnx_dirfd_iterator_init_at (tree_boot_dfd, ".", FALSE, &dfd_iter, error)) | ||
102 | + goto out; | ||
103 | + | ||
104 | + while (TRUE) | ||
105 | + { | ||
106 | + struct dirent *dent; | ||
107 | + | ||
108 | + if (!glnx_dirfd_iterator_next_dent (&dfd_iter, &dent, cancellable, error)) | ||
109 | + goto out; | ||
110 | + if (dent == NULL) | ||
111 | + break; | ||
112 | + | ||
113 | + /* Skip special files - vmlinuz-* and initramfs-* are handled separately */ | ||
114 | + if (g_str_has_prefix (dent->d_name, "vmlinuz-") || g_str_has_prefix (dent->d_name, "initramfs-")) | ||
115 | + continue; | ||
116 | + | ||
117 | + if (fstatat (bootcsum_dfd, dent->d_name, &stbuf, AT_SYMLINK_NOFOLLOW) != 0) | ||
118 | + { | ||
119 | + if (errno != ENOENT) | ||
120 | + { | ||
121 | + glnx_set_prefix_error_from_errno (error, "fstatat %s", dent->d_name); | ||
122 | + goto out; | ||
123 | + } | ||
124 | + | ||
125 | + if (fstatat (dfd_iter.fd, dent->d_name, &stbuf, AT_SYMLINK_NOFOLLOW) != 0) | ||
126 | + { | ||
127 | + glnx_set_error_from_errno (error); | ||
128 | + goto out; | ||
129 | + } | ||
130 | + | ||
131 | + if (S_ISDIR (stbuf.st_mode)) | ||
132 | + { | ||
133 | + if (!hardlink_or_copy_dir_recurse (tree_boot_dfd, bootcsum_dfd, dent->d_name, | ||
134 | + TRUE, cancellable, error)) | ||
135 | + goto out; | ||
136 | + } | ||
137 | + else | ||
138 | + { | ||
139 | + if (!hardlink_or_copy_at (tree_boot_dfd, dent->d_name, | ||
140 | + bootcsum_dfd, dent->d_name, | ||
141 | + cancellable, error)) | ||
142 | + goto out; | ||
143 | + } | ||
144 | + } | ||
145 | + } | ||
146 | + } | ||
147 | + else | ||
148 | + { | ||
149 | + if (errno != ENOENT) | ||
150 | + { | ||
151 | + glnx_set_prefix_error_from_errno (error, "fstatat %s", ".ostree-bootcsumdir-source"); | ||
152 | + goto out; | ||
153 | + } | ||
154 | + } | ||
155 | + | ||
156 | if (fstatat (deployment_dfd, "usr/lib/os-release", &stbuf, 0) != 0) | ||
157 | { | ||
158 | if (errno != ENOENT) | ||
159 | -- | ||
160 | 2.7.4 | ||
161 | |||
diff --git a/recipes/ostree/ostree/Create-firmware-convenience-symlinks.patch b/recipes/ostree/ostree/Create-firmware-convenience-symlinks.patch deleted file mode 100644 index 656887d..0000000 --- a/recipes/ostree/ostree/Create-firmware-convenience-symlinks.patch +++ /dev/null | |||
@@ -1,126 +0,0 @@ | |||
1 | From c4df63488b9e09a9aa69e32ea5c0671c9dc50c9d Mon Sep 17 00:00:00 2001 | ||
2 | From: Gatis Paeglis <gatis.paeglis@qt.io> | ||
3 | Date: Wed, 24 Aug 2016 12:29:38 +0200 | ||
4 | Subject: [PATCH] Create firmware convenience symlinks. | ||
5 | |||
6 | Later this could be moved into utils or a similar | ||
7 | location, if other boot loader backends will need | ||
8 | this functionality. | ||
9 | --- | ||
10 | src/libostree/ostree-bootloader-uboot.c | 93 ++++++++++++++++++++++++++++++++- | ||
11 | 1 file changed, 92 insertions(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/src/libostree/ostree-bootloader-uboot.c b/src/libostree/ostree-bootloader-uboot.c | ||
14 | index 22251da..26a3127 100644 | ||
15 | --- a/src/libostree/ostree-bootloader-uboot.c | ||
16 | +++ b/src/libostree/ostree-bootloader-uboot.c | ||
17 | @@ -62,6 +62,97 @@ _ostree_bootloader_uboot_get_name (OstreeBootloader *bootloader) | ||
18 | return "U-Boot"; | ||
19 | } | ||
20 | |||
21 | +/* It is common for firmware to search / on the boot partition for additional | ||
22 | + * files that are required for booting. It can be difficult to change this search | ||
23 | + * logic if it is hardcoded somewhere low in the stack or is in a read-only memory. | ||
24 | + * This issue can be solved by system builders by creating a convenience symlink: | ||
25 | + * | ||
26 | + * cd sysroot/boot | ||
27 | + * ln -s loader/second-stage-bootloader second-stage-bootloader | ||
28 | + * | ||
29 | + * This function will make sure that loader/second-stage-bootloader points to the | ||
30 | + * correct target file version. This function does nothing if boot/ does not contain | ||
31 | + * symlink files pointing into the loader/ directory. | ||
32 | + */ | ||
33 | +static gboolean | ||
34 | +create_firmware_convenience_symlinks (OstreeBootloaderUboot *self, | ||
35 | + char *bootcsum_dir, | ||
36 | + int bootversion, | ||
37 | + GCancellable *cancellable, | ||
38 | + GError **error) | ||
39 | +{ | ||
40 | + glnx_fd_close int loader_dfd = -1; | ||
41 | + glnx_fd_close int boot_dfd = -1; | ||
42 | + g_autofree char *loader_dir = NULL; | ||
43 | + g_auto(GLnxDirFdIterator) dfd_iter = { 0, }; | ||
44 | + | ||
45 | + loader_dir = g_strdup_printf ("boot/loader.%d/", bootversion); | ||
46 | + if (!glnx_opendirat (self->sysroot->sysroot_fd, loader_dir, FALSE, &loader_dfd, error)) | ||
47 | + return FALSE; | ||
48 | + if (!glnx_opendirat (self->sysroot->sysroot_fd, "boot", FALSE, &boot_dfd, error)) | ||
49 | + return FALSE; | ||
50 | + if (!glnx_dirfd_iterator_init_take_fd (dup (boot_dfd), &dfd_iter, error)) | ||
51 | + return FALSE; | ||
52 | + | ||
53 | + while (TRUE) { | ||
54 | + struct dirent *dent; | ||
55 | + struct stat stbuf; | ||
56 | + | ||
57 | + if (!glnx_dirfd_iterator_next_dent (&dfd_iter, &dent, cancellable, error)) | ||
58 | + return FALSE; | ||
59 | + if (dent == NULL) | ||
60 | + break; | ||
61 | + | ||
62 | + if (fstatat (dfd_iter.fd, dent->d_name, &stbuf, AT_SYMLINK_NOFOLLOW) != 0) | ||
63 | + { | ||
64 | + if (errno == ENOENT) | ||
65 | + continue; | ||
66 | + g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, "fstatat"); | ||
67 | + return FALSE; | ||
68 | + } | ||
69 | + | ||
70 | + if (S_ISLNK(stbuf.st_mode)) | ||
71 | + { | ||
72 | + char path_buffer[PATH_MAX]; | ||
73 | + g_autofree char *symlink_target = NULL; | ||
74 | + symlink_target = glnx_readlinkat_malloc (boot_dfd, dent->d_name, cancellable, error); | ||
75 | + | ||
76 | + if (g_str_has_prefix (symlink_target, "loader/")) | ||
77 | + { | ||
78 | + if (g_strcmp0 (dent->d_name, "uEnv.txt") == 0) | ||
79 | + continue; | ||
80 | + | ||
81 | + snprintf (path_buffer, sizeof(path_buffer), "%s/%s", bootcsum_dir, dent->d_name); | ||
82 | + if (faccessat (boot_dfd, path_buffer + 1, F_OK, AT_SYMLINK_NOFOLLOW) == -1) | ||
83 | + { | ||
84 | + /* This bootcsum dir does not contain the final target, do nothing. */ | ||
85 | + if (errno == ENOENT) | ||
86 | + continue; | ||
87 | + g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, "faccessat"); | ||
88 | + return FALSE; | ||
89 | + } | ||
90 | + | ||
91 | + /* Cleanup from stray symlinks. This can happend when the previous deployment was | ||
92 | + interrupted and no cleanup routines were run before restaring the deployment. */ | ||
93 | + if (unlinkat (loader_dfd, dent->d_name, 0) == -1 && errno != ENOENT) | ||
94 | + { | ||
95 | + g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, "unlinkat"); | ||
96 | + return FALSE; | ||
97 | + } | ||
98 | + /* Complete the link chain to the current boot file version. */ | ||
99 | + snprintf (path_buffer, sizeof(path_buffer), "..%s/%s", bootcsum_dir, dent->d_name); | ||
100 | + if (symlinkat (path_buffer, loader_dfd, dent->d_name) == -1) | ||
101 | + { | ||
102 | + g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, "symlinkat"); | ||
103 | + return FALSE; | ||
104 | + } | ||
105 | + } | ||
106 | + } | ||
107 | + } | ||
108 | + | ||
109 | + return TRUE; | ||
110 | +} | ||
111 | + | ||
112 | static gboolean | ||
113 | create_config_from_boot_loader_entries (OstreeBootloaderUboot *self, | ||
114 | int bootversion, | ||
115 | @@ -138,7 +229,7 @@ create_config_from_boot_loader_entries (OstreeBootloaderUboot *self, | ||
116 | } | ||
117 | } | ||
118 | |||
119 | - return TRUE; | ||
120 | + return create_firmware_convenience_symlinks (self, bootdir, bootversion, cancellable, error); | ||
121 | } | ||
122 | |||
123 | static gboolean | ||
124 | -- | ||
125 | 2.7.4 | ||
126 | |||
diff --git a/recipes/ostree/ostree/Mount-boot-partition.patch b/recipes/ostree/ostree/Mount-boot-partition.patch deleted file mode 100644 index a81f731..0000000 --- a/recipes/ostree/ostree/Mount-boot-partition.patch +++ /dev/null | |||
@@ -1,60 +0,0 @@ | |||
1 | From 33642082578946fdc73ade8b78c05ba8d8521652 Mon Sep 17 00:00:00 2001 | ||
2 | From: Gatis Paeglis <gatis.paeglis@theqtcompany.com> | ||
3 | Date: Mon, 7 Mar 2016 15:17:34 +0100 | ||
4 | Subject: [PATCH] ostree: Mount boot partition from user space | ||
5 | |||
6 | In the current approach we assumed that boot/ | ||
7 | |||
8 | - is on a separate boot partition | ||
9 | - boot partition is right before rootfs partition | ||
10 | - rootfs parition is provided as a *device node* | ||
11 | - has "ext2" filesystem (mount shell cmd tries to | ||
12 | auto detect FS type, mount system call does not.) | ||
13 | |||
14 | The new approch does not assume any of the above, and | ||
15 | moves this logic from early user space (initramfs) to | ||
16 | user space. Initramfs by design should be used only to | ||
17 | prepare the rootfs, other tasks should be done later. | ||
18 | --- | ||
19 | src/switchroot/ostree-remount.c | 19 ++++++++++++++++++- | ||
20 | 1 file changed, 18 insertions(+), 1 deletion(-) | ||
21 | |||
22 | diff --git a/src/switchroot/ostree-remount.c b/src/switchroot/ostree-remount.c | ||
23 | index b8d3a96..33f2645 100644 | ||
24 | --- a/src/switchroot/ostree-remount.c | ||
25 | +++ b/src/switchroot/ostree-remount.c | ||
26 | @@ -77,7 +77,7 @@ maybe_mount_tmpfs_on_var (void) | ||
27 | int | ||
28 | main(int argc, char *argv[]) | ||
29 | { | ||
30 | - const char *remounts[] = { "/sysroot", "/etc", "/home", "/root", "/tmp", "/var", NULL }; | ||
31 | + const char *remounts[] = { "/sysroot", "/etc", "/home", "/root", "/tmp", "/var", "/boot", NULL }; | ||
32 | struct stat stbuf; | ||
33 | int i; | ||
34 | |||
35 | @@ -117,5 +117,22 @@ main(int argc, char *argv[]) | ||
36 | |||
37 | maybe_mount_tmpfs_on_var (); | ||
38 | |||
39 | + /* ostree-prepare-root mounts boot/ if it is on the same partition as root filesystem. | ||
40 | + * If boot/ is not mounted, then it must be on a different partition. Try to mount | ||
41 | + * filesystem where LABEL=boot-ostree. | ||
42 | + */ | ||
43 | + if (!(lstat ("/boot/loader", &stbuf) == 0 && S_ISLNK (stbuf.st_mode))) | ||
44 | + { | ||
45 | + /* mount the real boot parition over the deployment's boot directory */ | ||
46 | + const char *mount_cmd="mount LABEL=boot-ostree /boot"; | ||
47 | + FILE *fp = popen (mount_cmd, "w"); | ||
48 | + if (fp == NULL) | ||
49 | + { | ||
50 | + perrorv ("popen failed for: %s", mount_cmd); | ||
51 | + exit (EXIT_FAILURE); | ||
52 | + } | ||
53 | + pclose (fp); | ||
54 | + } | ||
55 | + | ||
56 | exit (EXIT_SUCCESS); | ||
57 | } | ||
58 | -- | ||
59 | 2.7.0 | ||
60 | |||
diff --git a/recipes/ostree/ostree/Print-pull-progress-also-when-not-on-console.patch b/recipes/ostree/ostree/Print-pull-progress-also-when-not-on-console.patch deleted file mode 100644 index f8e7324..0000000 --- a/recipes/ostree/ostree/Print-pull-progress-also-when-not-on-console.patch +++ /dev/null | |||
@@ -1,94 +0,0 @@ | |||
1 | From b24d691d968bca608142882b453e98ed5ee267e9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Gatis Paeglis <gatis.paeglis@qt.io> | ||
3 | Date: Thu, 29 Sep 2016 11:46:59 +0200 | ||
4 | Subject: [PATCH] Print pull progress also when not on console | ||
5 | |||
6 | glnx_console_text is smart enough: | ||
7 | |||
8 | "On a tty, print to the console @text followed by an ASCII art | ||
9 | progress bar whose percentage is @percentage. If stdout is not a | ||
10 | tty, a more basic line by line change will be printed." | ||
11 | |||
12 | Otherwise, when pulling a lot of data, we do not get any feedback | ||
13 | in a GUI application for a significant amount of time. | ||
14 | --- | ||
15 | src/ostree/ot-admin-builtin-switch.c | 3 +-- | ||
16 | src/ostree/ot-admin-builtin-upgrade.c | 3 +-- | ||
17 | src/ostree/ot-builtin-pull-local.c | 3 +-- | ||
18 | src/ostree/ot-builtin-pull.c | 12 ++++-------- | ||
19 | 4 files changed, 7 insertions(+), 14 deletions(-) | ||
20 | |||
21 | diff --git a/src/ostree/ot-admin-builtin-switch.c b/src/ostree/ot-admin-builtin-switch.c | ||
22 | index 895538a..7f1d6dd 100644 | ||
23 | --- a/src/ostree/ot-admin-builtin-switch.c | ||
24 | +++ b/src/ostree/ot-admin-builtin-switch.c | ||
25 | @@ -126,8 +126,7 @@ ot_admin_builtin_switch (int argc, char **argv, GCancellable *cancellable, GErro | ||
26 | { g_auto(GLnxConsoleRef) console = { 0, }; | ||
27 | glnx_console_lock (&console); | ||
28 | |||
29 | - if (console.is_tty) | ||
30 | - progress = ostree_async_progress_new_and_connect (ostree_repo_pull_default_console_progress_changed, &console); | ||
31 | + progress = ostree_async_progress_new_and_connect (ostree_repo_pull_default_console_progress_changed, &console); | ||
32 | |||
33 | /* Always allow older...there's not going to be a chronological | ||
34 | * relationship necessarily. | ||
35 | diff --git a/src/ostree/ot-admin-builtin-upgrade.c b/src/ostree/ot-admin-builtin-upgrade.c | ||
36 | index 81f9bb6..8147b4f 100644 | ||
37 | --- a/src/ostree/ot-admin-builtin-upgrade.c | ||
38 | +++ b/src/ostree/ot-admin-builtin-upgrade.c | ||
39 | @@ -109,8 +109,7 @@ ot_admin_builtin_upgrade (int argc, char **argv, GCancellable *cancellable, GErr | ||
40 | { g_auto(GLnxConsoleRef) console = { 0, }; | ||
41 | glnx_console_lock (&console); | ||
42 | |||
43 | - if (console.is_tty) | ||
44 | - progress = ostree_async_progress_new_and_connect (ostree_repo_pull_default_console_progress_changed, &console); | ||
45 | + progress = ostree_async_progress_new_and_connect (ostree_repo_pull_default_console_progress_changed, &console); | ||
46 | |||
47 | if (opt_allow_downgrade) | ||
48 | upgraderpullflags |= OSTREE_SYSROOT_UPGRADER_PULL_FLAGS_ALLOW_OLDER; | ||
49 | diff --git a/src/ostree/ot-builtin-pull-local.c b/src/ostree/ot-builtin-pull-local.c | ||
50 | index 5401a28..f2f5b21 100644 | ||
51 | --- a/src/ostree/ot-builtin-pull-local.c | ||
52 | +++ b/src/ostree/ot-builtin-pull-local.c | ||
53 | @@ -159,8 +159,7 @@ ostree_builtin_pull_local (int argc, char **argv, GCancellable *cancellable, GEr | ||
54 | g_variant_builder_add (&builder, "{s@v}", "depth", | ||
55 | g_variant_new_variant (g_variant_new_int32 (opt_depth))); | ||
56 | |||
57 | - if (console.is_tty) | ||
58 | - progress = ostree_async_progress_new_and_connect (ostree_repo_pull_default_console_progress_changed, &console); | ||
59 | + progress = ostree_async_progress_new_and_connect (ostree_repo_pull_default_console_progress_changed, &console); | ||
60 | |||
61 | opts = g_variant_ref_sink (g_variant_builder_end (&builder)); | ||
62 | if (!ostree_repo_pull_with_options (repo, src_repo_uri, | ||
63 | diff --git a/src/ostree/ot-builtin-pull.c b/src/ostree/ot-builtin-pull.c | ||
64 | index 99b2593..78686b3 100644 | ||
65 | --- a/src/ostree/ot-builtin-pull.c | ||
66 | +++ b/src/ostree/ot-builtin-pull.c | ||
67 | @@ -242,20 +242,16 @@ ostree_builtin_pull (int argc, char **argv, GCancellable *cancellable, GError ** | ||
68 | |||
69 | if (!opt_dry_run) | ||
70 | { | ||
71 | - if (console.is_tty) | ||
72 | - progress = ostree_async_progress_new_and_connect (ostree_repo_pull_default_console_progress_changed, &console); | ||
73 | + progress = ostree_async_progress_new_and_connect (ostree_repo_pull_default_console_progress_changed, &console); | ||
74 | } | ||
75 | else | ||
76 | { | ||
77 | progress = ostree_async_progress_new_and_connect (dry_run_console_progress_changed, NULL); | ||
78 | } | ||
79 | |||
80 | - if (console.is_tty) | ||
81 | - { | ||
82 | - signal_handler_id = g_signal_connect (repo, "gpg-verify-result", | ||
83 | - G_CALLBACK (gpg_verify_result_cb), | ||
84 | - &console); | ||
85 | - } | ||
86 | + signal_handler_id = g_signal_connect (repo, "gpg-verify-result", | ||
87 | + G_CALLBACK (gpg_verify_result_cb), | ||
88 | + &console); | ||
89 | |||
90 | if (!ostree_repo_pull_with_options (repo, remote, g_variant_builder_end (&builder), | ||
91 | progress, cancellable, error)) | ||
92 | -- | ||
93 | 2.7.4 | ||
94 | |||
diff --git a/recipes/ostree/ostree/Support-for-booting-without-initramfs.patch b/recipes/ostree/ostree/Support-for-booting-without-initramfs.patch deleted file mode 100644 index 4ec137f..0000000 --- a/recipes/ostree/ostree/Support-for-booting-without-initramfs.patch +++ /dev/null | |||
@@ -1,131 +0,0 @@ | |||
1 | From a31c9083870fd934e242cc9cc56fdd39ad0a42cb Mon Sep 17 00:00:00 2001 | ||
2 | From: Gatis Paeglis <gatis.paeglis@qt.io> | ||
3 | Date: Wed, 24 Aug 2016 12:00:14 +0200 | ||
4 | Subject: [PATCH 3/4] Support for booting without initramfs | ||
5 | |||
6 | Previously when initramfs-* was not found in a deployment's | ||
7 | boot directory, it was assumed that rootfs is prepared for | ||
8 | ostree booting by a kernel patch. | ||
9 | |||
10 | With this patch, the behaviour changes to be - if initramfs-* | ||
11 | is not found, assume that system is using a static | ||
12 | ostree-prepare-root as init process. Booting without initramfs | ||
13 | is a common use case on embedded systems. This approach is | ||
14 | also more convenient, than having to patch the kernel. | ||
15 | --- | ||
16 | Makefile-switchroot.am | 3 +++ | ||
17 | configure.ac | 8 ++++++++ | ||
18 | src/boot/grub2/ostree-grub-generator | 8 +++++--- | ||
19 | src/libostree/ostree-sysroot-deploy.c | 18 +++++++++++++----- | ||
20 | 4 files changed, 29 insertions(+), 8 deletions(-) | ||
21 | |||
22 | diff --git a/Makefile-switchroot.am b/Makefile-switchroot.am | ||
23 | index ef837ce..70a6de7 100644 | ||
24 | --- a/Makefile-switchroot.am | ||
25 | +++ b/Makefile-switchroot.am | ||
26 | @@ -29,6 +29,9 @@ libswitchroot_mountutil_la_SOURCES = \ | ||
27 | ostree_prepare_root_SOURCES = src/switchroot/ostree-prepare-root.c | ||
28 | ostree_prepare_root_LDADD = libswitchroot-mountutil.la | ||
29 | ostree_prepare_root_CFLAGS = $(AM_CFLAGS) -Isrc/switchroot | ||
30 | +if BUILDOPT_STATIC_PREPARE_ROOT | ||
31 | +ostree_prepare_root_LDFLAGS = --static | ||
32 | +endif | ||
33 | |||
34 | ostree_remount_SOURCES = src/switchroot/ostree-remount.c | ||
35 | ostree_remount_LDADD = libswitchroot-mountutil.la | ||
36 | diff --git a/configure.ac b/configure.ac | ||
37 | index 4831bcc..97f3112 100644 | ||
38 | --- a/configure.ac | ||
39 | +++ b/configure.ac | ||
40 | @@ -294,6 +294,13 @@ AS_IF([test x$with_grub2_mkconfig_path = x], [ | ||
41 | ],[GRUB2_MKCONFIG=$with_grub2_mkconfig_path]) | ||
42 | AC_DEFINE_UNQUOTED([GRUB2_MKCONFIG_PATH], ["$GRUB2_MKCONFIG"], [The system grub2-mkconfig executible name]) | ||
43 | |||
44 | +AC_ARG_WITH(static-prepare-root, | ||
45 | + AS_HELP_STRING([--with-static-prepare-root], | ||
46 | + [Build static version of the 'ostree-prepare-root' binary. Useful when | ||
47 | + using 'ostree-prepare-root' as the init (PID 1) process. (default: no)]),, | ||
48 | + [with_static_prepare_root=no]) | ||
49 | +AM_CONDITIONAL(BUILDOPT_STATIC_PREPARE_ROOT, test x$with_static_prepare_root = xyes) | ||
50 | + | ||
51 | dnl for tests | ||
52 | AS_IF([test "x$found_introspection" = xyes], [ | ||
53 | AC_PATH_PROG(GJS, [gjs]) | ||
54 | @@ -327,6 +334,7 @@ echo " | ||
55 | libarchive (parse tar files directly): $with_libarchive | ||
56 | static deltas: yes (always enabled now) | ||
57 | O_TMPFILE: $enable_otmpfile | ||
58 | + static ostree-prepare-root $with_static_prepare_root | ||
59 | man pages (xsltproc): $enable_man | ||
60 | api docs (gtk-doc): $enable_gtk_doc | ||
61 | gjs-based tests: $have_gjs | ||
62 | diff --git a/src/boot/grub2/ostree-grub-generator b/src/boot/grub2/ostree-grub-generator | ||
63 | index 5673b26..ceca806 100644 | ||
64 | --- a/src/boot/grub2/ostree-grub-generator | ||
65 | +++ b/src/boot/grub2/ostree-grub-generator | ||
66 | @@ -28,7 +28,7 @@ entries_path=$(dirname $new_grub2_cfg)/entries | ||
67 | |||
68 | read_config() | ||
69 | { | ||
70 | - config_file=${entries_path}/${1} | ||
71 | + config_file=${1} | ||
72 | title="" | ||
73 | initrd="" | ||
74 | options="" | ||
75 | @@ -62,11 +62,13 @@ read_config() | ||
76 | populate_menu() | ||
77 | { | ||
78 | boot_prefix="${OSTREE_BOOT_PARTITION}" | ||
79 | - for config in $(ls ${entries_path}); do | ||
80 | + for config in $(ls $entries_path/*.conf); do | ||
81 | read_config ${config} | ||
82 | menu="${menu}menuentry '${title}' {\n" | ||
83 | menu="${menu}\t linux ${boot_prefix}${linux} ${options}\n" | ||
84 | - menu="${menu}\t initrd ${boot_prefix}${initrd}\n" | ||
85 | + if [ -n "${initrd}" ] ; then | ||
86 | + menu="${menu}\t initrd ${boot_prefix}${initrd}\n" | ||
87 | + fi | ||
88 | menu="${menu}}\n\n" | ||
89 | done | ||
90 | # The printf command seems to be more reliable across shells for special character (\n, \t) evaluation | ||
91 | diff --git a/src/libostree/ostree-sysroot-deploy.c b/src/libostree/ostree-sysroot-deploy.c | ||
92 | index a05ca30..c0a0347 100644 | ||
93 | --- a/src/libostree/ostree-sysroot-deploy.c | ||
94 | +++ b/src/libostree/ostree-sysroot-deploy.c | ||
95 | @@ -1458,20 +1458,28 @@ install_deployment_kernel (OstreeSysroot *sysroot, | ||
96 | ostree_bootconfig_parser_set (bootconfig, "linux", boot_relpath); | ||
97 | } | ||
98 | |||
99 | + val = ostree_bootconfig_parser_get (bootconfig, "options"); | ||
100 | + kargs = _ostree_kernel_args_from_string (val); | ||
101 | + | ||
102 | if (dest_initramfs_name) | ||
103 | { | ||
104 | g_autofree char * boot_relpath = g_strconcat ("/", bootcsumdir, "/", dest_initramfs_name, NULL); | ||
105 | ostree_bootconfig_parser_set (bootconfig, "initrd", boot_relpath); | ||
106 | } | ||
107 | - | ||
108 | - val = ostree_bootconfig_parser_get (bootconfig, "options"); | ||
109 | + else | ||
110 | + { | ||
111 | + g_autofree char *prepare_root_arg = NULL; | ||
112 | + prepare_root_arg = g_strdup_printf ("init=/ostree/boot.%d/%s/%s/%d/usr/lib/ostree/ostree-prepare-root", | ||
113 | + new_bootversion, osname, bootcsum, | ||
114 | + ostree_deployment_get_bootserial (deployment)); | ||
115 | + _ostree_kernel_args_replace_take (kargs, g_steal_pointer (&prepare_root_arg)); | ||
116 | + } | ||
117 | |||
118 | ostree_kernel_arg = g_strdup_printf ("ostree=/ostree/boot.%d/%s/%s/%d", | ||
119 | new_bootversion, osname, bootcsum, | ||
120 | ostree_deployment_get_bootserial (deployment)); | ||
121 | - kargs = _ostree_kernel_args_from_string (val); | ||
122 | - _ostree_kernel_args_replace_take (kargs, ostree_kernel_arg); | ||
123 | - ostree_kernel_arg = NULL; | ||
124 | + _ostree_kernel_args_replace_take (kargs, g_steal_pointer (&ostree_kernel_arg)); | ||
125 | + | ||
126 | options_key = _ostree_kernel_args_to_string (kargs); | ||
127 | ostree_bootconfig_parser_set (bootconfig, "options", options_key); | ||
128 | |||
129 | -- | ||
130 | 2.7.4 | ||
131 | |||
diff --git a/recipes/ostree/ostree/Workaround-the-SIGCHLD-handler-issue.patch b/recipes/ostree/ostree/Workaround-the-SIGCHLD-handler-issue.patch deleted file mode 100644 index ece69b8..0000000 --- a/recipes/ostree/ostree/Workaround-the-SIGCHLD-handler-issue.patch +++ /dev/null | |||
@@ -1,54 +0,0 @@ | |||
1 | From c7cf5cb80c57423e707d87013050c6f9cc6f6d37 Mon Sep 17 00:00:00 2001 | ||
2 | From: Gatis Paeglis <gatis.paeglis@qt.io> | ||
3 | Date: Tue, 18 Oct 2016 12:19:57 +0200 | ||
4 | Subject: [PATCH] Workaround the SIGCHLD handler issue | ||
5 | |||
6 | REF: https://bugreports.qt.io/browse/QTBUG-56338 | ||
7 | --- | ||
8 | src/libostree/ostree-bootloader-grub2.c | 30 ++++++++++++++++++++++-------- | ||
9 | 1 file changed, 22 insertions(+), 8 deletions(-) | ||
10 | |||
11 | diff --git a/src/libostree/ostree-bootloader-grub2.c b/src/libostree/ostree-bootloader-grub2.c | ||
12 | index f3dc8e1..2c60b80 100644 | ||
13 | --- a/src/libostree/ostree-bootloader-grub2.c | ||
14 | +++ b/src/libostree/ostree-bootloader-grub2.c | ||
15 | @@ -380,14 +380,28 @@ _ostree_bootloader_grub2_write_config (OstreeBootloader *bootloader, | ||
16 | |||
17 | Upstream is fixed though. | ||
18 | */ | ||
19 | - proc = g_subprocess_launcher_spawn (launcher, error, | ||
20 | - grub_exec, "-o", | ||
21 | - gs_file_get_path_cached (new_config_path), | ||
22 | - NULL); | ||
23 | - | ||
24 | - if (!g_subprocess_wait_check (proc, cancellable, error)) | ||
25 | - goto out; | ||
26 | - | ||
27 | + //proc = g_subprocess_launcher_spawn (launcher, error, | ||
28 | + // grub_exec, "-o", | ||
29 | + // gs_file_get_path_cached (new_config_path), | ||
30 | + // NULL); | ||
31 | + | ||
32 | + //if (!g_subprocess_wait_check (proc, cancellable, error)) | ||
33 | + // goto out; | ||
34 | + { | ||
35 | + // REF: https://bugreports.qt.io/browse/QTBUG-56338 | ||
36 | + // We do not use the chroot (grub2_child_setup) code path, so we do not | ||
37 | + // care about GSubprocessLauncher and the custom envvars passed to it. | ||
38 | + const char *cmd = glnx_strjoina (grub_exec, " -o ", gs_file_get_path_cached (new_config_path)); | ||
39 | + FILE *fp = popen(cmd, "r"); | ||
40 | + if (!fp) { | ||
41 | + glnx_set_prefix_error_from_errno (error, "popen (%s)", cmd); | ||
42 | + goto out; | ||
43 | + } | ||
44 | + if (pclose(fp) == -1) { | ||
45 | + glnx_set_prefix_error_from_errno (error, "pclose (%s)", cmd); | ||
46 | + goto out; | ||
47 | + } | ||
48 | + } | ||
49 | /* Now let's fdatasync() for the new file */ | ||
50 | { glnx_fd_close int new_config_fd = open (gs_file_get_path_cached (new_config_path), O_RDONLY | O_CLOEXEC); | ||
51 | if (new_config_fd < 0) | ||
52 | -- | ||
53 | 2.7.4 | ||
54 | |||
diff --git a/recipes/ostree/ostree/deploy-add-karg-none-argument.patch b/recipes/ostree/ostree/deploy-add-karg-none-argument.patch deleted file mode 100644 index 5eaf68f..0000000 --- a/recipes/ostree/ostree/deploy-add-karg-none-argument.patch +++ /dev/null | |||
@@ -1,62 +0,0 @@ | |||
1 | From 9ca3a2cc64bc709649d0d756fa715aaef807dca8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Gatis Paeglis <gatis.paeglis@qt.io> | ||
3 | Date: Fri, 12 Aug 2016 11:51:04 +0200 | ||
4 | Subject: [PATCH 2/4] deploy: add --karg-none argument | ||
5 | |||
6 | If the current deployment has "rootwait root=/dev/sda2", | ||
7 | but the new deployment does not need "rootwait" anymore, | ||
8 | there is no way to clear this arg at the moment (as opposed | ||
9 | to "karg=root=", which overrides any earlier argument with | ||
10 | the same name). With "--karg-none" users can now clear all | ||
11 | the previous args and set new "root=": | ||
12 | |||
13 | ostree admin deploy --karg-none --karg=root=LABEL=rootfs | ||
14 | --- | ||
15 | src/ostree/ot-admin-builtin-deploy.c | 10 +++++++++- | ||
16 | 1 file changed, 9 insertions(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/src/ostree/ot-admin-builtin-deploy.c b/src/ostree/ot-admin-builtin-deploy.c | ||
19 | index c66c9b3..420efa3 100644 | ||
20 | --- a/src/ostree/ot-admin-builtin-deploy.c | ||
21 | +++ b/src/ostree/ot-admin-builtin-deploy.c | ||
22 | @@ -38,6 +38,7 @@ static char **opt_kernel_argv_append; | ||
23 | static gboolean opt_kernel_proc_cmdline; | ||
24 | static char *opt_osname; | ||
25 | static char *opt_origin_path; | ||
26 | +static gboolean opt_kernel_arg_none; | ||
27 | |||
28 | static GOptionEntry options[] = { | ||
29 | { "os", 0, 0, G_OPTION_ARG_STRING, &opt_osname, "Use a different operating system root than the current one", "OSNAME" }, | ||
30 | @@ -46,6 +47,7 @@ static GOptionEntry options[] = { | ||
31 | { "karg-proc-cmdline", 0, 0, G_OPTION_ARG_NONE, &opt_kernel_proc_cmdline, "Import current /proc/cmdline", NULL }, | ||
32 | { "karg", 0, 0, G_OPTION_ARG_STRING_ARRAY, &opt_kernel_argv, "Set kernel argument, like root=/dev/sda1; this overrides any earlier argument with the same name", "NAME=VALUE" }, | ||
33 | { "karg-append", 0, 0, G_OPTION_ARG_STRING_ARRAY, &opt_kernel_argv_append, "Append kernel argument; useful with e.g. console= that can be used multiple times", "NAME=VALUE" }, | ||
34 | + { "karg-none", 0, 0, G_OPTION_ARG_NONE, &opt_kernel_arg_none, "Do not import kernel arguments", NULL }, | ||
35 | { NULL } | ||
36 | }; | ||
37 | |||
38 | @@ -77,6 +79,12 @@ ot_admin_builtin_deploy (int argc, char **argv, GCancellable *cancellable, GErro | ||
39 | goto out; | ||
40 | } | ||
41 | |||
42 | + if (opt_kernel_proc_cmdline && opt_kernel_arg_none) | ||
43 | + { | ||
44 | + ot_util_usage_error (context, "Can't specify both --karg-proc-cmdline and --karg-none", error); | ||
45 | + goto out; | ||
46 | + } | ||
47 | + | ||
48 | refspec = argv[1]; | ||
49 | |||
50 | if (!ostree_sysroot_load (sysroot, cancellable, error)) | ||
51 | @@ -135,7 +143,7 @@ ot_admin_builtin_deploy (int argc, char **argv, GCancellable *cancellable, GErro | ||
52 | if (!_ostree_kernel_args_append_proc_cmdline (kargs, cancellable, error)) | ||
53 | goto out; | ||
54 | } | ||
55 | - else if (merge_deployment) | ||
56 | + else if (merge_deployment && !opt_kernel_arg_none) | ||
57 | { | ||
58 | OstreeBootconfigParser *bootconfig = ostree_deployment_get_bootconfig (merge_deployment); | ||
59 | g_auto(GStrv) previous_args = g_strsplit (ostree_bootconfig_parser_get (bootconfig, "options"), " ", -1); | ||
60 | -- | ||
61 | 2.7.4 | ||
62 | |||
diff --git a/recipes/ostree/ostree/ostree-prepare-root-enabler-for-simpler-kernel-arg.patch b/recipes/ostree/ostree/ostree-prepare-root-enabler-for-simpler-kernel-arg.patch deleted file mode 100644 index 2800618..0000000 --- a/recipes/ostree/ostree/ostree-prepare-root-enabler-for-simpler-kernel-arg.patch +++ /dev/null | |||
@@ -1,54 +0,0 @@ | |||
1 | From d183819e6e7bdc7a9476542cbef384285f592f3f Mon Sep 17 00:00:00 2001 | ||
2 | From: Gatis Paeglis <gatis.paeglis@qt.io> | ||
3 | Date: Fri, 12 Aug 2016 08:50:29 +0200 | ||
4 | Subject: [PATCH 1/4] ostree-prepare-root: enabler for simpler kernel arg | ||
5 | |||
6 | With the current approach, when ostree-prepare-root is used | ||
7 | on the kernel command line as init=, it always assumes that | ||
8 | the next value in the argument list is a path to the sysroot. | ||
9 | The code for falling back to a default path (if none is provided), | ||
10 | would only work if init= is the last arg in the argument list. | ||
11 | We can not rely on that and have to explicitly provide the | ||
12 | path to the sysroot. Which defeats the purpose of a default | ||
13 | path selection code. | ||
14 | |||
15 | To keep command line neater assume that sysroot is on / when | ||
16 | using ostree-prepare-root as init. This probably is what most | ||
17 | people want anyways. Also _ostree_kernel_args* API assumes | ||
18 | that args are space separated list. Which is problematic for: | ||
19 | "init=${ostree}/usr/lib/ostree/ostree-prepare-root /" as it | ||
20 | gets split in two. | ||
21 | --- | ||
22 | src/switchroot/ostree-prepare-root.c | 15 ++++++++++++--- | ||
23 | 1 file changed, 12 insertions(+), 3 deletions(-) | ||
24 | |||
25 | diff --git a/src/switchroot/ostree-prepare-root.c b/src/switchroot/ostree-prepare-root.c | ||
26 | index 895b2e5..449fc33 100644 | ||
27 | --- a/src/switchroot/ostree-prepare-root.c | ||
28 | +++ b/src/switchroot/ostree-prepare-root.c | ||
29 | @@ -199,10 +199,19 @@ main(int argc, char *argv[]) | ||
30 | char srcpath[PATH_MAX]; | ||
31 | struct stat stbuf; | ||
32 | |||
33 | - if (argc < 2) | ||
34 | - root_mountpoint = "/"; | ||
35 | + if (getpid() == 1) | ||
36 | + { | ||
37 | + root_mountpoint = "/"; | ||
38 | + } | ||
39 | else | ||
40 | - root_mountpoint = argv[1]; | ||
41 | + { | ||
42 | + if (argc < 2) | ||
43 | + { | ||
44 | + fprintf (stderr, "usage: ostree-prepare-root SYSROOT\n"); | ||
45 | + exit (EXIT_FAILURE); | ||
46 | + } | ||
47 | + root_mountpoint = argv[1]; | ||
48 | + } | ||
49 | |||
50 | root_mountpoint = realpath (root_mountpoint, NULL); | ||
51 | deploy_path = resolve_deploy_path (root_mountpoint); | ||
52 | -- | ||
53 | 2.7.4 | ||
54 | |||
diff --git a/recipes/ostree/ostree/u-boot-add-bootdir-to-the-generated-uEnv.txt.patch b/recipes/ostree/ostree/u-boot-add-bootdir-to-the-generated-uEnv.txt.patch deleted file mode 100644 index e8c8f16..0000000 --- a/recipes/ostree/ostree/u-boot-add-bootdir-to-the-generated-uEnv.txt.patch +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | From 8323c038733522f7f31fefc8921b7c1760416638 Mon Sep 17 00:00:00 2001 | ||
2 | From: Gatis Paeglis <gatis.paeglis@qt.io> | ||
3 | Date: Mon, 22 Aug 2016 15:52:21 +0200 | ||
4 | Subject: [PATCH 3/3] u-boot: add 'bootdir' to the generated uEnv.txt | ||
5 | |||
6 | When doing a full copy of: | ||
7 | |||
8 | $deployment/usr/lib/ostree-boot -> /boot/ostree/$os-$bootcsum/ | ||
9 | |||
10 | U-Boot bootscript can use the 'bootdir' to find, for example, | ||
11 | the Device Tree (dtb) file, as in: | ||
12 | |||
13 | load ${dtype} ${disk}:${bootpart} ${a_fdt} ${bootdir}${dtbname} | ||
14 | |||
15 | Or u-boot external bootscript: | ||
16 | |||
17 | load ${dtype} ${disk}:${bootpart} ${a_scr} ${bootdir}${scriptname} | ||
18 | |||
19 | It could also be possible to point 'bootdir' directly to the | ||
20 | $deployment/usr/lib/ostree-boot, but this would add unnecessary | ||
21 | restrictions on what file system can be used for rootfs as u-boot, | ||
22 | for example, can not read from BTRFS. So having | ||
23 | bootdir=/boot/ostree/$os-$bootcsum/ is a better approach here, as | ||
24 | /boot can be on a separate partition with its own file system type. | ||
25 | --- | ||
26 | src/libostree/ostree-bootloader-uboot.c | 3 +++ | ||
27 | 1 file changed, 3 insertions(+) | ||
28 | |||
29 | diff --git a/src/libostree/ostree-bootloader-uboot.c b/src/libostree/ostree-bootloader-uboot.c | ||
30 | index f95ea84..0786626 100644 | ||
31 | --- a/src/libostree/ostree-bootloader-uboot.c | ||
32 | +++ b/src/libostree/ostree-bootloader-uboot.c | ||
33 | @@ -72,6 +72,7 @@ create_config_from_boot_loader_entries (OstreeBootloaderUboot *self, | ||
34 | g_autoptr(GPtrArray) boot_loader_configs = NULL; | ||
35 | OstreeBootconfigParser *config; | ||
36 | const char *val; | ||
37 | + g_autofree char *bootdir = NULL; | ||
38 | |||
39 | if (!_ostree_sysroot_read_boot_loader_configs (self->sysroot, bootversion, &boot_loader_configs, | ||
40 | cancellable, error)) | ||
41 | @@ -88,6 +89,8 @@ create_config_from_boot_loader_entries (OstreeBootloaderUboot *self, | ||
42 | return FALSE; | ||
43 | } | ||
44 | g_ptr_array_add (new_lines, g_strdup_printf ("kernel_image=%s", val)); | ||
45 | + bootdir = strndup (val, strrchr(val, '/') - val); | ||
46 | + g_ptr_array_add (new_lines, g_strdup_printf ("bootdir=%s/", bootdir)); | ||
47 | |||
48 | val = ostree_bootconfig_parser_get (config, "initrd"); | ||
49 | if (val) | ||
50 | -- | ||
51 | 2.7.4 | ||
52 | |||
diff --git a/recipes/ostree/ostree/workaround-gtkdocize-configure-issue-in-autog.patch b/recipes/ostree/ostree/workaround-gtkdocize-configure-issue-in-autog.patch deleted file mode 100644 index 5f19007..0000000 --- a/recipes/ostree/ostree/workaround-gtkdocize-configure-issue-in-autog.patch +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | From 0b6711e10d36060d80962472c892c60e8a403422 Mon Sep 17 00:00:00 2001 | ||
2 | From: Mikko Gronoff <mikko.gronoff@qt.io> | ||
3 | Date: Thu, 2 Feb 2017 13:38:54 +0200 | ||
4 | Subject: [PATCH] ostree: workaround gtkdocize configure issue in autogen.sh | ||
5 | |||
6 | Building meta-boot2qt morty branch content with poky 2.2.1 causes | ||
7 | build break in ostree autogen.sh. Called gtkdocize script uses wrong | ||
8 | docdir thus causing error trying to remove gtk-doc.make in wrong | ||
9 | location | ||
10 | --- | ||
11 | autogen.sh | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/autogen.sh b/autogen.sh | ||
15 | index 0f32089..f473fdc 100755 | ||
16 | --- a/autogen.sh | ||
17 | +++ b/autogen.sh | ||
18 | @@ -25,7 +25,7 @@ EXTRA_DIST = | ||
19 | CLEANFILES = | ||
20 | EOF | ||
21 | else | ||
22 | - gtkdocize | ||
23 | + gtkdocize --docdir $srcdir --srcdir $srcdir | ||
24 | fi | ||
25 | |||
26 | cd $olddir | ||
diff --git a/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb b/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb deleted file mode 100644 index 9f43fff..0000000 --- a/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb +++ /dev/null | |||
@@ -1,60 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | DESCRIPTION = "Host packages for B2Qt on embedded Linux SDK" | ||
31 | PR = "r0" | ||
32 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
33 | |||
34 | inherit nativesdk packagegroup | ||
35 | |||
36 | MACHINE_EXTRA_INSTALL_SDK_HOST ?= "" | ||
37 | |||
38 | python __anonymous() { | ||
39 | overrides = d.getVar("OVERRIDES", True).split(":") | ||
40 | if "mingw32" not in overrides: | ||
41 | d.appendVar("OVERRIDES", ":linux") | ||
42 | } | ||
43 | |||
44 | RDEPENDS_${PN} = "\ | ||
45 | nativesdk-gperf \ | ||
46 | ${MACHINE_EXTRA_INSTALL_SDK_HOST} \ | ||
47 | " | ||
48 | |||
49 | RDEPENDS_${PN}_append_linux = "\ | ||
50 | nativesdk-python3-modules \ | ||
51 | nativesdk-python3-misc \ | ||
52 | nativesdk-perl-modules \ | ||
53 | ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "nativesdk-wayland-dev", "", d)} \ | ||
54 | " | ||
55 | |||
56 | RDEPENDS_${PN}_append_mingw32 = "\ | ||
57 | nativesdk-make \ | ||
58 | nativesdk-libgcc \ | ||
59 | nativesdk-libstdc++ \ | ||
60 | " | ||
diff --git a/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb b/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb deleted file mode 100644 index 65f7f5e..0000000 --- a/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb +++ /dev/null | |||
@@ -1,57 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | DESCRIPTION = "Packagegroup for B2Qt embedded Linux image" | ||
31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
32 | PR = "r0" | ||
33 | |||
34 | inherit packagegroup | ||
35 | |||
36 | MACHINE_EXTRA_INSTALL ?= "" | ||
37 | |||
38 | RDEPENDS_${PN} = "\ | ||
39 | kernel-modules \ | ||
40 | linux-firmware \ | ||
41 | ca-certificates \ | ||
42 | liberation-fonts \ | ||
43 | ttf-devanagari \ | ||
44 | ttf-opensans \ | ||
45 | ttf-dejavu-common \ | ||
46 | ttf-dejavu-sans \ | ||
47 | ttf-freefont-mono \ | ||
48 | otf-noto \ | ||
49 | dbus-session-init \ | ||
50 | tzdata \ | ||
51 | tzdata-americas \ | ||
52 | tzdata-asia \ | ||
53 | tzdata-europe \ | ||
54 | connman \ | ||
55 | ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "weston weston-examples", "", d)} \ | ||
56 | ${MACHINE_EXTRA_INSTALL} \ | ||
57 | " | ||
diff --git a/recipes/packagegroup/packagegroup-b2qt-embedded-gstreamer.bb b/recipes/packagegroup/packagegroup-b2qt-embedded-gstreamer.bb deleted file mode 100644 index b1bec0e..0000000 --- a/recipes/packagegroup/packagegroup-b2qt-embedded-gstreamer.bb +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | DESCRIPTION = "Additional gstreamer packagegroup for B2Qt embedded Linux image" | ||
31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
32 | PR = "r0" | ||
33 | |||
34 | inherit packagegroup | ||
35 | |||
36 | MACHINE_GSTREAMER_1_0_PLUGIN ?= "" | ||
37 | |||
38 | RDEPENDS_${PN} = "\ | ||
39 | gstreamer1.0-meta-base \ | ||
40 | gstreamer1.0-meta-video \ | ||
41 | gstreamer1.0-meta-audio \ | ||
42 | gstreamer1.0-plugins-base-meta \ | ||
43 | gstreamer1.0-plugins-good-meta \ | ||
44 | gstreamer1.0-plugins-ugly-meta \ | ||
45 | gstreamer1.0-plugins-bad-meta \ | ||
46 | gstreamer1.0-libav \ | ||
47 | ${MACHINE_GSTREAMER_1_0_PLUGIN} \ | ||
48 | " | ||
diff --git a/recipes/packagegroup/packagegroup-b2qt-embedded-gstreamer010.bb b/recipes/packagegroup/packagegroup-b2qt-embedded-gstreamer010.bb deleted file mode 100644 index af291c7..0000000 --- a/recipes/packagegroup/packagegroup-b2qt-embedded-gstreamer010.bb +++ /dev/null | |||
@@ -1,66 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | DESCRIPTION = "Additional gstreamer packagegroup for B2Qt embedded Linux image" | ||
31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
32 | PR = "r0" | ||
33 | |||
34 | inherit packagegroup | ||
35 | |||
36 | RDEPENDS_${PN} = "\ | ||
37 | gst-meta-video \ | ||
38 | gst-meta-audio \ | ||
39 | gst-plugins-good \ | ||
40 | gst-plugins-base-app \ | ||
41 | gst-plugins-base-audiorate \ | ||
42 | gst-plugins-base-videorate \ | ||
43 | gst-plugins-base-encodebin \ | ||
44 | gst-plugins-good-videofilter \ | ||
45 | gst-plugins-good-id3demux \ | ||
46 | gst-plugins-good-auparse \ | ||
47 | gst-plugins-good-isomp4 \ | ||
48 | gst-plugins-good-icydemux \ | ||
49 | gst-plugins-good-video4linux2 \ | ||
50 | gst-plugins-good-multifile \ | ||
51 | gst-plugins-good-videocrop \ | ||
52 | gst-plugins-good-jpeg \ | ||
53 | gst-plugins-ugly-rmdemux \ | ||
54 | gst-plugins-ugly-asf \ | ||
55 | gst-plugins-ugly-a52dec \ | ||
56 | gst-plugins-bad-mpegdemux \ | ||
57 | gst-plugins-bad-faad \ | ||
58 | gst-plugins-bad-camerabin2 \ | ||
59 | gst-plugins-bad-jpegformat \ | ||
60 | gst-plugins-ugly-mad \ | ||
61 | gst-plugins-ugly-mpegaudioparse \ | ||
62 | gst-plugins-ugly-mpeg2dec \ | ||
63 | gst-plugins-ugly-mpegstream \ | ||
64 | gst-plugins-bad-mpegvideoparse \ | ||
65 | gst-ffmpeg \ | ||
66 | " | ||
diff --git a/recipes/packagegroup/packagegroup-b2qt-embedded-tools.bb b/recipes/packagegroup/packagegroup-b2qt-embedded-tools.bb deleted file mode 100644 index e8936e4..0000000 --- a/recipes/packagegroup/packagegroup-b2qt-embedded-tools.bb +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | DESCRIPTION = "Additional tools packagegroup for B2Qt embedded Linux image" | ||
31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
32 | PR = "r0" | ||
33 | |||
34 | inherit packagegroup | ||
35 | |||
36 | RDEPENDS_${PN} = "\ | ||
37 | alsa-utils-amixer \ | ||
38 | binutils \ | ||
39 | binutils-symlinks \ | ||
40 | connman-client \ | ||
41 | htop \ | ||
42 | i2c-tools \ | ||
43 | iproute2 \ | ||
44 | ldd \ | ||
45 | openssh-sftp-server \ | ||
46 | perf \ | ||
47 | rsync \ | ||
48 | tslib-calibrate \ | ||
49 | ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd-analyze", "", d)} \ | ||
50 | " | ||
diff --git a/recipes/perf/perf.bbappend b/recipes/perf/perf.bbappend deleted file mode 100644 index 487cd41..0000000 --- a/recipes/perf/perf.bbappend +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | PERF_FEATURES_ENABLE = "perf-libunwind" | ||
31 | EXTRA_OEMAKE_remove = "NO_DWARF=1" | ||
diff --git a/recipes/perl/perl_5.%.bbappend b/recipes/perl/perl_5.%.bbappend deleted file mode 100644 index 5f4baf7..0000000 --- a/recipes/perl/perl_5.%.bbappend +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | do_install_append_class-nativesdk () { | ||
31 | sed -i -e 's|$OECORE_NATIVE_SYSROOT/|${SDKPATHNATIVE}|g' ${D}${bindir}/perl | ||
32 | } | ||
diff --git a/recipes/python/nativesdk-prebuild-python.bb b/recipes/python/nativesdk-prebuild-python.bb deleted file mode 100644 index e8edb9e..0000000 --- a/recipes/python/nativesdk-prebuild-python.bb +++ /dev/null | |||
@@ -1,60 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | LICENSE = "PSFv2" | ||
31 | |||
32 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Python-2.0;md5=a5c8025e305fb49e6d405769358851f6" | ||
33 | |||
34 | inherit bin_package nativesdk | ||
35 | |||
36 | COMPATIBLE_HOST = ".*-mingw.*" | ||
37 | |||
38 | SRC_URI[md5sum] = "6d37712f01fa836b1303141a6d4cabda" | ||
39 | SRC_URI[sha256sum] = "3835868c171dddb8cb68ed5578b6d4d639387a038e999a5b008f393b704d6ad7" | ||
40 | SRC_URI = "http://download.qt.io/development_releases/prebuilt/gdb/build-prerequisites/python.zip" | ||
41 | |||
42 | S = "${WORKDIR}" | ||
43 | |||
44 | do_install() { | ||
45 | install -d ${D}${bindir} | ||
46 | install ${WORKDIR}/python/python27.dll ${D}${bindir} | ||
47 | install -d ${D}${includedir} | ||
48 | install ${WORKDIR}/python/include/* ${D}${includedir} | ||
49 | install -d ${D}${libdir} | ||
50 | install ${WORKDIR}/python/libs/* ${D}${libdir} | ||
51 | install -d ${D}${libdir}/python2.7 | ||
52 | cp -r ${WORKDIR}/python/lib/* ${D}${libdir}/python2.7 | ||
53 | } | ||
54 | |||
55 | sysroot_stage_dirs_append() { | ||
56 | sysroot_stage_dir $from${bindir} $to${bindir} | ||
57 | } | ||
58 | |||
59 | # requires /usr/local/bin/python, but no providers found | ||
60 | INSANE_SKIP_${PN} += "file-rdeps" | ||
diff --git a/recipes/python/python3-native_%.bbappend b/recipes/python/python3-native_%.bbappend deleted file mode 100644 index 9015f3f..0000000 --- a/recipes/python/python3-native_%.bbappend +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | SRC_URI_remove = "file://python-3.3-multilib.patch" | ||
diff --git a/recipes/python/python3-virtualenv.bb b/recipes/python/python3-virtualenv.bb deleted file mode 100644 index cc091b8..0000000 --- a/recipes/python/python3-virtualenv.bb +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | SUMMARY = "Virtual Python Environment builder" | ||
2 | HOMEPAGE = "http://github.com/gitpython-developers/GitPython" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "BSD-3-Clause" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=51910050bd6ad04a50033f3e15d6ce43" | ||
6 | |||
7 | PV="15.1.0" | ||
8 | SRC_URI = "https://files.pythonhosted.org/packages/source/v/virtualenv/virtualenv-15.1.0.tar.gz" | ||
9 | |||
10 | SRC_URI[md5sum] = "44e19f4134906fe2d75124427dc9b716" | ||
11 | SRC_URI[sha256sum] = "02f8102c2436bb03b3ee6dede1919d1dac8a427541652e5ec95171ec8adbc93a" | ||
12 | |||
13 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/virtualenv/" | ||
14 | UPSTREAM_CHECK_REGEX = "/virtualenv/(?P<pver>(\d+[\.\-_]*)+)" | ||
15 | |||
16 | S = "${WORKDIR}/virtualenv-${PV}" | ||
17 | |||
18 | BBCLASSEXTEND = "native nativesdk" | ||
19 | |||
20 | inherit setuptools3 | ||
21 | |||
diff --git a/recipes/python/python3_%.bbappend b/recipes/python/python3_%.bbappend deleted file mode 100644 index b3a5eb7..0000000 --- a/recipes/python/python3_%.bbappend +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | SRC_URI_remove = "file://python-3.3-multilib.patch" | ||
2 | |||
3 | # We need to install the python3 binary into the sysroot to let qtivi install that binary | ||
4 | # into the correct location. | ||
5 | # We can't install it directly into ${bindir} as this would be picked up by other recipes | ||
6 | # and produce a lot of errors. Instead put it inside a qt5 folder where only qtivi picks it up | ||
7 | # This is a workaround and needs to be replaced by a proper solution discussed here: | ||
8 | # https://bugreports.qt.io/browse/AUTOSUITE-176 | ||
9 | sysroot_stage_all_append_class-nativesdk () { | ||
10 | sysroot_stage_dir ${D}${bindir} ${SYSROOT_DESTDIR}${bindir}/qt5 | ||
11 | } | ||
diff --git a/recipes/samba/samba_4.%.bbappend b/recipes/samba/samba_4.%.bbappend deleted file mode 100644 index 4a86809..0000000 --- a/recipes/samba/samba_4.%.bbappend +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | DEPENDS += "perl" | ||
31 | |||
diff --git a/recipes/systemd/systemd/usb-rndis.network b/recipes/systemd/systemd/usb-rndis.network deleted file mode 100644 index d529eeb..0000000 --- a/recipes/systemd/systemd/usb-rndis.network +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | [Match] | ||
2 | Type=gadget | ||
3 | |||
4 | [Network] | ||
5 | LinkLocalAddressing=yes | ||
diff --git a/recipes/systemd/systemd_%.bbappend b/recipes/systemd/systemd_%.bbappend deleted file mode 100644 index 96b8910..0000000 --- a/recipes/systemd/systemd_%.bbappend +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
31 | SRC_URI += " \ | ||
32 | file://usb-rndis.network \ | ||
33 | " | ||
34 | |||
35 | PACKAGECONFIG_append = " networkd" | ||
36 | |||
37 | # By default sytemd uses it's build time as epoch. This causes problems when | ||
38 | # using yocto cache since systemd build time might be more than day older than | ||
39 | # the actual image build time. If that kind of image is booted with a device | ||
40 | # that does not have backup battery for RTC, the first fsck interprets successful | ||
41 | # result as failure because last mount time is in the future. This can be worked | ||
42 | # around by setting TIME_EPOCH to 0, which causes fsck to detect the system time as | ||
43 | # insane and ignore the mount time error. | ||
44 | EXTRA_OECONF_append = " --with-time-epoch=0" | ||
45 | |||
46 | do_install_append() { | ||
47 | # remove login from tty1 | ||
48 | rm -f ${D}${sysconfdir}/systemd/system/getty.target.wants/getty@tty1.service | ||
49 | # set up link-local IPs for USB network interface | ||
50 | install -d ${D}${prefix}/lib/systemd/network/ | ||
51 | install -m 0644 ${WORKDIR}/usb-rndis.network ${D}${prefix}/lib/systemd/network/ | ||
52 | } | ||
diff --git a/recipes/v86d/v86d/fbsetup b/recipes/v86d/v86d/fbsetup deleted file mode 100755 index 064e080..0000000 --- a/recipes/v86d/v86d/fbsetup +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | /sbin/modprobe uvesafb mode_option=800x600-32 mtrr=3 scroll=ywrap | ||
diff --git a/recipes/v86d/v86d/uvesafb.options.conf b/recipes/v86d/v86d/uvesafb.options.conf deleted file mode 100644 index 7d0dc96..0000000 --- a/recipes/v86d/v86d/uvesafb.options.conf +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | options uvesafb mode_option=800x600-32 mtrr=3 scroll=ywrap | ||
diff --git a/recipes/v86d/v86d_0.1.10.bbappend b/recipes/v86d/v86d_0.1.10.bbappend deleted file mode 100644 index bf72dee..0000000 --- a/recipes/v86d/v86d_0.1.10.bbappend +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
31 | |||
32 | SRC_URI += "file://uvesafb.options.conf" | ||
33 | |||
34 | do_install_append() { | ||
35 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | ||
36 | install -d ${D}${sysconfdir}/modprobe.d | ||
37 | install -m 0644 ${WORKDIR}/uvesafb.options.conf ${D}${sysconfdir}/modprobe.d/uvesafb.conf | ||
38 | fi | ||
39 | } | ||
diff --git a/recipes/virtualbox/mount-vboxsf/mount-vboxsf.service b/recipes/virtualbox/mount-vboxsf/mount-vboxsf.service deleted file mode 100644 index 7c7211f..0000000 --- a/recipes/virtualbox/mount-vboxsf/mount-vboxsf.service +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | [Unit] | ||
2 | Description=QtSimulator Shared Mount Point | ||
3 | After=systemd-user-sessions.service | ||
4 | |||
5 | [Service] | ||
6 | Type=oneshot | ||
7 | RemainAfterExit=yes | ||
8 | ExecStart=/usr/bin/mount-vboxsf.sh start | ||
9 | ExecStop=/usr/bin/mount-vboxsf.sh stop | ||
10 | |||
11 | [Install] | ||
12 | WantedBy=multi-user.target | ||
diff --git a/recipes/virtualbox/mount-vboxsf/mount-vboxsf.sh b/recipes/virtualbox/mount-vboxsf/mount-vboxsf.sh deleted file mode 100755 index 80476de..0000000 --- a/recipes/virtualbox/mount-vboxsf/mount-vboxsf.sh +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | MOUNTPOINT=/var/vqvideo | ||
4 | |||
5 | case "$1" in | ||
6 | start) | ||
7 | mkdir -p /var/vqvideo | ||
8 | /usr/bin/mount.vboxsf vqvideo $MOUNTPOINT | ||
9 | ;; | ||
10 | stop) | ||
11 | umount $MOUNTPOINT | ||
12 | ;; | ||
13 | *) | ||
14 | echo "Usage: $0 {start|stop}" | ||
15 | exit 1 | ||
16 | esac | ||
17 | exit 0 | ||
diff --git a/recipes/virtualbox/mount-vboxsf_4.3.30.bb b/recipes/virtualbox/mount-vboxsf_4.3.30.bb deleted file mode 100644 index 1eb2652..0000000 --- a/recipes/virtualbox/mount-vboxsf_4.3.30.bb +++ /dev/null | |||
@@ -1,65 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | DESCRIPTION = "VirtualBox Guest Additions for Linux: mount" | ||
31 | LICENSE = "GPLv2" | ||
32 | LIC_FILES_CHKSUM = "file://${WORKDIR}/VirtualBox-${PV}/COPYING;md5=e197d5641bb35b29d46ca8c4bf7f2660" | ||
33 | |||
34 | SRC_URI = "http://download.virtualbox.org/virtualbox/${PV}/VirtualBox-${PV}.tar.bz2 \ | ||
35 | file://mount-vboxsf.sh \ | ||
36 | file://mount-vboxsf.service \ | ||
37 | " | ||
38 | |||
39 | SRC_URI[md5sum] = "cc053340f88922a11ad9d4fab56557bd" | ||
40 | SRC_URI[sha256sum] = "ea9569ec16cd6202ee61bcadb2506d31ac12fd343adb91565773a05eaaea9a36" | ||
41 | |||
42 | S = "${WORKDIR}/VirtualBox-${PV}/src/VBox/Additions/linux/sharedfolders" | ||
43 | |||
44 | do_compile() { | ||
45 | ${CC} ${LDFLAGS} mount.vboxsf.c vbsfmount.c -o mount.vboxsf | ||
46 | } | ||
47 | |||
48 | do_install() { | ||
49 | install -m 0755 -d ${D}${bindir}/ | ||
50 | install -m 0755 mount.vboxsf ${D}${bindir}/ | ||
51 | install -m 0755 ${WORKDIR}/mount-vboxsf.sh ${D}${bindir}/ | ||
52 | |||
53 | install -m 0755 -d ${D}${sysconfdir}/init.d | ||
54 | ln -s ${bindir}/mount-vboxsf.sh ${D}${sysconfdir}/init.d/ | ||
55 | |||
56 | install -m 0755 -d ${D}${systemd_unitdir}/system | ||
57 | install -m 0644 ${WORKDIR}/mount-vboxsf.service ${D}${systemd_unitdir}/system/ | ||
58 | } | ||
59 | |||
60 | INITSCRIPT_NAME = "mount-vboxsf.sh" | ||
61 | INITSCRIPT_PARAMS = "defaults 33" | ||
62 | |||
63 | SYSTEMD_SERVICE_${PN} = "mount-vboxsf.service" | ||
64 | |||
65 | inherit update-rc.d systemd | ||
diff --git a/recipes/virtualbox/virtualbox-guest-additions_5.1.14.bb b/recipes/virtualbox/virtualbox-guest-additions_5.1.14.bb deleted file mode 100644 index 00dcaa5..0000000 --- a/recipes/virtualbox/virtualbox-guest-additions_5.1.14.bb +++ /dev/null | |||
@@ -1,62 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | DESCRIPTION = "Kernel drivers for the VirtualBox guest additions" | ||
31 | LICENSE = "GPLv2" | ||
32 | LIC_FILES_CHKSUM = "file://${WORKDIR}/VirtualBox-${PV}/COPYING;md5=e197d5641bb35b29d46ca8c4bf7f2660" | ||
33 | |||
34 | inherit module | ||
35 | |||
36 | MACHINE_KERNEL_PR_append = "a" | ||
37 | PR = "${MACHINE_KERNEL_PR}" | ||
38 | |||
39 | SRC_URI = "http://download.virtualbox.org/virtualbox/${PV}/VirtualBox-${PV}.tar.bz2" | ||
40 | |||
41 | SRC_URI[md5sum] = "21eaec9f21477d555559a63761779880" | ||
42 | SRC_URI[sha256sum] = "8267bb026717c6e55237eb798210767d9c703cfcdf01224d9bc26f7dac9f228a" | ||
43 | |||
44 | S = "${WORKDIR}/vbox" | ||
45 | |||
46 | export KERN_DIR="${STAGING_KERNEL_DIR}" | ||
47 | export KBUILD_VERBOSE="1" | ||
48 | export BUILD_TARGET_ARCH="${ARCH}" | ||
49 | |||
50 | do_compile_prepend() { | ||
51 | ${WORKDIR}/VirtualBox-${PV}/src/VBox/Additions/linux/export_modules ${WORKDIR}/vbox.tar.gz | ||
52 | tar xf ${WORKDIR}/vbox.tar.gz -C ${WORKDIR}/vbox | ||
53 | } | ||
54 | |||
55 | do_install() { | ||
56 | install -m 0755 -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/vbox | ||
57 | install -m 0644 vboxsf.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/vbox | ||
58 | install -m 0644 vboxguest.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/vbox | ||
59 | install -m 0644 vboxvideo.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/vbox | ||
60 | } | ||
61 | |||
62 | PKG_${PN} = "kernel-module-vbox" | ||
diff --git a/recipes/wpa-supplicant/wpa-supplicant_2.%.bbappend b/recipes/wpa-supplicant/wpa-supplicant_2.%.bbappend deleted file mode 100644 index e880897..0000000 --- a/recipes/wpa-supplicant/wpa-supplicant_2.%.bbappend +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | do_install_append () { | ||
31 | install -d ${D}${includedir}/wpa-supplicant | ||
32 | |||
33 | install -m 0644 ${S}/src/common/wpa_ctrl.c ${D}${includedir}/wpa-supplicant/ | ||
34 | install -m 0644 ${S}/src/common/wpa_ctrl.h ${D}${includedir}/wpa-supplicant/ | ||
35 | |||
36 | install -m 0644 ${S}/src/utils/build_config.h ${D}${includedir}/wpa-supplicant/ | ||
37 | install -m 0644 ${S}/src/utils/common.h ${D}${includedir}/wpa-supplicant/ | ||
38 | install -m 0644 ${S}/src/utils/includes.h ${D}${includedir}/wpa-supplicant/ | ||
39 | install -m 0644 ${S}/src/utils/os.h ${D}${includedir}/wpa-supplicant/ | ||
40 | install -m 0644 ${S}/src/utils/os_unix.c ${D}${includedir}/wpa-supplicant/ | ||
41 | install -m 0644 ${S}/src/utils/trace.h ${D}${includedir}/wpa-supplicant/ | ||
42 | install -m 0644 ${S}/src/utils/wpa_debug.h ${D}${includedir}/wpa-supplicant/ | ||
43 | install -m 0644 ${S}/src/utils/wpabuf.h ${D}${includedir}/wpa-supplicant/ | ||
44 | } | ||
45 | |||
46 | FILES_${PN}-dev += "${includedir}/wpa-supplicant/*" | ||
47 | |||