diff options
131 files changed, 9087 insertions, 655 deletions
diff --git a/b2qt-init-build-env b/b2qt-init-build-env index 76e2b7c..ddc12d3 100755 --- a/b2qt-init-build-env +++ b/b2qt-init-build-env | |||
@@ -23,57 +23,167 @@ | |||
23 | 23 | ||
24 | set -e | 24 | set -e |
25 | 25 | ||
26 | if [ $# -ne 1 ]; then | 26 | usage() { |
27 | echo "Usage: $0 <yocto build directory>" | 27 | echo "Usage: $(basename $0) COMMAND [ARGS]" |
28 | echo | ||
29 | echo "Initialize build environment:" | ||
30 | echo " $(basename $0) init --device <name> [--reference <mirror path>]" | ||
31 | echo "Initialize local mirror:" | ||
32 | echo " $(basename $0) mirror" | ||
33 | echo "List available devices:" | ||
34 | echo " $(basename $0) list-devices" | ||
35 | } | ||
36 | |||
37 | while test -n "$1"; do | ||
38 | case "$1" in | ||
39 | "help" | "--help" | "-h") | ||
40 | usage | ||
41 | exit 0 | ||
42 | ;; | ||
43 | "--reference" | "-r") | ||
44 | shift | ||
45 | REFERENCE=$1 | ||
46 | ;; | ||
47 | "--device" | "-d") | ||
48 | shift | ||
49 | DEVICE=$1 | ||
50 | ;; | ||
51 | *) | ||
52 | if [ -n "$COMMAND" ]; then | ||
53 | echo "Unknown argument: $1" | ||
54 | usage | ||
55 | exit 1 | ||
56 | fi | ||
57 | COMMAND=$1 | ||
58 | ;; | ||
59 | esac | ||
60 | shift | ||
61 | done | ||
62 | |||
63 | if [ -z "${COMMAND}" ]; then | ||
64 | usage | ||
28 | exit 1 | 65 | exit 1 |
29 | fi | 66 | fi |
30 | 67 | ||
31 | mkdir -p ${1} | ||
32 | |||
33 | DIR=$(readlink -f $(dirname $0)) | 68 | DIR=$(readlink -f $(dirname $0)) |
34 | BUILDDIR=$(readlink -f $1) | 69 | if [ -n "${REFERENCE}" ]; then |
70 | REFERENCE="--reference $(readlink -f ${REFERENCE})" | ||
71 | fi | ||
72 | |||
73 | get_repo() { | ||
74 | REPO="./repo" | ||
75 | if [ -n "$(command -v repo)" ]; then | ||
76 | REPO="repo" | ||
77 | elif [ ! -x "./repo" ]; then | ||
78 | curl -s https://storage.googleapis.com/git-repo-downloads/repo > "./repo" | ||
79 | chmod +x ./repo | ||
80 | fi | ||
81 | } | ||
82 | |||
83 | get_groups() { | ||
84 | case ${DEVICE} in | ||
85 | apalis-imx6|colibri-vf) | ||
86 | PROJECT_GROUPS="toradex" | ||
87 | ;; | ||
88 | imx53qsb|imx6qsabresd|nitrogen6x) | ||
89 | PROJECT_GROUPS="fsl" | ||
90 | ;; | ||
91 | tibidabo) | ||
92 | PROJECT_GROUPS="architech" | ||
93 | ;; | ||
94 | beagleboard|am335x-evm) | ||
95 | PROJECT_GROUPS="ti" | ||
96 | ;; | ||
97 | beaglebone) | ||
98 | PROJECT_GROUPS="bbb" | ||
99 | ;; | ||
100 | raspberrypi) | ||
101 | PROJECT_GROUPS="rpi" | ||
102 | ;; | ||
103 | emulator) | ||
104 | PROJECT_GROUPS="emulator" | ||
105 | ;; | ||
106 | *) | ||
107 | echo "Unknown device configuration, including all meta layers" | ||
108 | PROJECT_GROUPS="all" | ||
109 | ;; | ||
110 | esac | ||
111 | |||
112 | PROJECT_GROUPS="${PROJECT_GROUPS} default" | ||
113 | } | ||
114 | |||
115 | list_devices() { | ||
116 | echo "Available device configurations:" | ||
117 | for device in $(ls $DIR/conf/distro/include/*.conf); do | ||
118 | echo " $(basename ${device%%.*})" | ||
119 | done | ||
120 | } | ||
35 | 121 | ||
36 | checkout() { | 122 | mirror() { |
37 | REPO=$1 | 123 | mkdir -p .repo/manifests |
38 | REPODIR=${REPO##*/} | 124 | cp ${DIR}/scripts/manifest.xml .repo/manifests/ |
39 | if [ ${REPODIR} != "poky" ]; then | 125 | MANIFEST="manifest.xml" |
40 | REPODIR="poky/${REPODIR}" | 126 | ${REPO} init -u ${PWD}/.repo/repo -b default -m ${MANIFEST} -g all --mirror |
127 | ${REPO} sync | ||
128 | } | ||
129 | |||
130 | patch_poky() { | ||
131 | cd sources/poky | ||
132 | found=$(git rev-list --grep="bitbake: cooker: add support for using % as a wildcard in bbappend filename" HEAD) | ||
133 | if [ -z "$found" ]; then | ||
134 | git cherry-pick 381d5920188398bc53b2454843054c8690bca243 > /dev/null | ||
41 | fi | 135 | fi |
42 | REF=${2%%:*} | 136 | |
43 | SHA1=${2##*:} | 137 | found=$(git rev-list --grep="bitbake: cooker: Fix support for wildcards in bbappend filenames" HEAD) |
44 | if [ ! -d ${BUILDDIR}/${REPODIR} ]; then | 138 | if [ -z "$found" ]; then |
45 | mkdir ${BUILDDIR}/${REPODIR} | 139 | git cherry-pick f91a3f46a1ee586e330be0868e8fbc4d2e78d361 > /dev/null |
46 | cd ${BUILDDIR}/${REPODIR} | ||
47 | git init | ||
48 | git remote add origin ${REPO} -f | ||
49 | git checkout ${REF} | ||
50 | git reset --hard ${SHA1} | ||
51 | cd - | ||
52 | fi | 140 | fi |
141 | cd - | ||
53 | } | 142 | } |
54 | 143 | ||
55 | checkout git://git.yoctoproject.org/poky "daisy:b0ce70ffa820c8b4069bdb413f7aa9db668b9428" | 144 | init() { |
56 | checkout git://git.yoctoproject.org/meta-fsl-arm "daisy:f5bf277a5a5fba2c3b64ed7d2dbec1903d96386b" | 145 | if [ -z "${DEVICE}" ]; then |
57 | checkout git://github.com/Freescale/meta-fsl-arm-extra "daisy:456c27085a70bb1385a4c2e28ba80ac74d6f533e" | 146 | echo "device not defined" |
58 | checkout git://git.yoctoproject.org/meta-ti "daisy:5dad1bc02dd922a6c4fa4d68f6ea9ec779cf5e66" | 147 | usage |
59 | checkout git://git.yoctoproject.org/meta-raspberrypi "daisy:cc74bf6c1f9ab9beea52c4c75797f3ad51f72c55" | 148 | exit 1 |
60 | checkout git://git.toradex.com/meta-toradex "V2.2:371ea626f29a2a12294ab6ea30e36743a9e2f78f" | 149 | fi |
61 | checkout git://git.openembedded.org/meta-openembedded "daisy:a6dcf6265822ca1484d991d10a3042e04a960cdb" | ||
62 | 150 | ||
63 | if [ ! -d ${BUILDDIR}/poky/meta-b2qt ]; then | 151 | get_groups |
64 | ln -s ${DIR} ${BUILDDIR}/poky/meta-b2qt | 152 | mkdir -p .repo/manifests |
65 | fi | 153 | cp ${DIR}/scripts/manifest*.xml .repo/manifests |
154 | if [ -f .repo/manifests/manifest_${DEVICE}.xml ]; then | ||
155 | MANIFEST="manifest_${DEVICE}.xml" | ||
156 | else | ||
157 | MANIFEST="manifest.xml" | ||
158 | fi | ||
159 | ${REPO} init -u ${PWD}/.repo/repo -b default -m ${MANIFEST} -g "${PROJECT_GROUPS}" ${REFERENCE} | ||
160 | ${REPO} sync | ||
161 | |||
162 | patch_poky | ||
66 | 163 | ||
67 | echo | 164 | if [ ! -e "sources/meta-b2qt" ]; then |
68 | echo "Yocto build system is ready" | 165 | ln -s ${DIR} sources/meta-b2qt |
69 | echo "next initialize the build env for your target machine, for example:" | 166 | fi |
70 | echo | 167 | |
71 | echo "cd ${BUILDDIR}" | 168 | cp ${DIR}/scripts/setup-environment.sh . |
72 | echo "export TEMPLATECONF=meta-b2qt/conf" | 169 | |
73 | echo "export MACHINE=raspberrypi" | 170 | } |
74 | echo ". ./poky/oe-init-build-env build-raspberrypi" | 171 | |
75 | echo | 172 | get_repo |
76 | echo "and build B2Qt image with:" | 173 | |
77 | echo | 174 | case "$COMMAND" in |
78 | echo "bitbake b2qt-embedded-image" | 175 | "init") |
79 | echo | 176 | init |
177 | ;; | ||
178 | "mirror") | ||
179 | mirror | ||
180 | ;; | ||
181 | "list-devices") | ||
182 | list_devices | ||
183 | ;; | ||
184 | *) | ||
185 | echo "Unknown command" | ||
186 | usage | ||
187 | exit 1 | ||
188 | ;; | ||
189 | esac | ||
diff --git a/classes/bootfs-image.bbclass b/classes/bootfs-image.bbclass index e5694e8..7203b01 100644 --- a/classes/bootfs-image.bbclass +++ b/classes/bootfs-image.bbclass | |||
@@ -36,7 +36,7 @@ fakeroot do_bootfs () { | |||
36 | src=`echo $item | awk -F':' '{ print $1 }'` | 36 | src=`echo $item | awk -F':' '{ print $1 }'` |
37 | dst=`echo $item | awk -F':' '{ print $2 }'` | 37 | dst=`echo $item | awk -F':' '{ print $2 }'` |
38 | 38 | ||
39 | install -m 0755 ${DEPLOY_DIR_IMAGE}/$src ${S}/bootfs/$dst | 39 | install -D -m 0755 ${DEPLOY_DIR_IMAGE}/$src ${S}/bootfs/$dst |
40 | done | 40 | done |
41 | 41 | ||
42 | cd ${S}/bootfs | 42 | cd ${S}/bootfs |
diff --git a/classes/local-sources.bbclass b/classes/local-sources.bbclass new file mode 100644 index 0000000..b7c68fb --- /dev/null +++ b/classes/local-sources.bbclass | |||
@@ -0,0 +1,81 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | python do_fetch () { | ||
24 | src_uri = (d.getVar('SRC_URI', True) or "").split() | ||
25 | if len(src_uri) == 0: | ||
26 | return | ||
27 | |||
28 | sdk_path = d.getVar('QT_SDK_PATH', True) or "" | ||
29 | if len(sdk_path) != 0: | ||
30 | uris = list(src_uri); | ||
31 | for url in uris: | ||
32 | ud = list(bb.fetch2.decodeurl(url)) | ||
33 | if ("local-uri" in ud[5]): | ||
34 | src_uri.remove(url) | ||
35 | |||
36 | try: | ||
37 | fetcher = bb.fetch2.Fetch(src_uri, d) | ||
38 | fetcher.download() | ||
39 | except bb.fetch2.BBFetchException as e: | ||
40 | raise bb.build.FuncFailed(e) | ||
41 | } | ||
42 | |||
43 | python do_unpack () { | ||
44 | src_uri = (d.getVar('SRC_URI', True) or "").split() | ||
45 | if len(src_uri) == 0: | ||
46 | return | ||
47 | |||
48 | rootdir = d.getVar('WORKDIR', True) | ||
49 | |||
50 | sdk_path = d.getVar('QT_SDK_PATH', True) or "" | ||
51 | if len(sdk_path) != 0: | ||
52 | uris = list(src_uri); | ||
53 | for url in uris: | ||
54 | ud = list(bb.fetch2.decodeurl(url)) | ||
55 | if ("local-uri" in ud[5]): | ||
56 | unpack_local_uri(ud, d) | ||
57 | src_uri.remove(url) | ||
58 | |||
59 | try: | ||
60 | fetcher = bb.fetch2.Fetch(src_uri, d) | ||
61 | fetcher.unpack(rootdir) | ||
62 | except bb.fetch2.BBFetchException as e: | ||
63 | raise bb.build.FuncFailed(e) | ||
64 | } | ||
65 | |||
66 | def unpack_local_uri(ud, d): | ||
67 | import subprocess | ||
68 | rootdir = d.getVar('WORKDIR', True) | ||
69 | sdk_path = d.getVar('QT_SDK_PATH', True) | ||
70 | |||
71 | destdir = os.path.join(rootdir, ud[5].get("destsuffix", "git")) | ||
72 | srcdir = os.path.join(sdk_path, ud[5].get("local-uri")) | ||
73 | cmd = "cp -vrf %s %s" % (srcdir, destdir) | ||
74 | |||
75 | if os.path.exists(destdir): | ||
76 | bb.utils.prunedir(destdir) | ||
77 | |||
78 | ret = subprocess.call(cmd, shell=True) | ||
79 | |||
80 | if ret != 0: | ||
81 | raise bb.fetch.UnpackError("Unpack command %s failed with return value %s" % (cmd, ret), ud) | ||
diff --git a/conf/bblayers.conf.bbb.sample b/conf/bblayers.conf.bbb.sample new file mode 100644 index 0000000..f7374a0 --- /dev/null +++ b/conf/bblayers.conf.bbb.sample | |||
@@ -0,0 +1,44 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf | ||
24 | # changes incompatibly | ||
25 | LCONF_VERSION = "6" | ||
26 | |||
27 | BBPATH = "${TOPDIR}" | ||
28 | BBFILES ?= "" | ||
29 | BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" | ||
30 | |||
31 | BBLAYERS ?= " \ | ||
32 | ${BSPDIR}/sources/poky/meta \ | ||
33 | ${BSPDIR}/sources/poky/meta-yocto \ | ||
34 | ${BSPDIR}/sources/meta-beagleboard/common-bsp \ | ||
35 | ${BSPDIR}/sources/meta-ti \ | ||
36 | ${BSPDIR}/sources/meta-openembedded/meta-oe \ | ||
37 | ${BSPDIR}/sources/meta-b2qt \ | ||
38 | ${BSPDIR}/sources/meta-b2qt/meta-ti-extras \ | ||
39 | ${BSPDIR}/sources/meta-b2qt/meta-beagleboard-extras \ | ||
40 | " | ||
41 | BBLAYERS_NON_REMOVABLE ?= " \ | ||
42 | ${BSPDIR}/sources/poky/meta \ | ||
43 | ${BSPDIR}/sources/poky/meta-yocto \ | ||
44 | " | ||
diff --git a/conf/bblayers.conf.emulator.sample b/conf/bblayers.conf.emulator.sample new file mode 100644 index 0000000..c961b9f --- /dev/null +++ b/conf/bblayers.conf.emulator.sample | |||
@@ -0,0 +1,40 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf | ||
24 | # changes incompatibly | ||
25 | LCONF_VERSION = "6" | ||
26 | |||
27 | BBPATH = "${TOPDIR}" | ||
28 | BBFILES ?= "" | ||
29 | BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" | ||
30 | |||
31 | BBLAYERS ?= " \ | ||
32 | ${BSPDIR}/sources/poky/meta \ | ||
33 | ${BSPDIR}/sources/poky/meta-yocto \ | ||
34 | ${BSPDIR}/sources/meta-openembedded/meta-oe \ | ||
35 | ${BSPDIR}/sources/meta-b2qt \ | ||
36 | " | ||
37 | BBLAYERS_NON_REMOVABLE ?= " \ | ||
38 | ${BSPDIR}/sources/poky/meta \ | ||
39 | ${BSPDIR}/sources/poky/meta-yocto \ | ||
40 | " | ||
diff --git a/conf/bblayers.conf.fsl.sample b/conf/bblayers.conf.fsl.sample new file mode 100644 index 0000000..c867cda --- /dev/null +++ b/conf/bblayers.conf.fsl.sample | |||
@@ -0,0 +1,43 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf | ||
24 | # changes incompatibly | ||
25 | LCONF_VERSION = "6" | ||
26 | |||
27 | BBPATH = "${TOPDIR}" | ||
28 | BBFILES ?= "" | ||
29 | BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" | ||
30 | |||
31 | BBLAYERS ?= " \ | ||
32 | ${BSPDIR}/sources/poky/meta \ | ||
33 | ${BSPDIR}/sources/poky/meta-yocto \ | ||
34 | ${BSPDIR}/sources/meta-fsl-arm \ | ||
35 | ${BSPDIR}/sources/meta-fsl-arm-extra \ | ||
36 | ${BSPDIR}/sources/meta-openembedded/meta-oe \ | ||
37 | ${BSPDIR}/sources/meta-b2qt \ | ||
38 | ${BSPDIR}/sources/meta-b2qt/meta-fsl-extras \ | ||
39 | " | ||
40 | BBLAYERS_NON_REMOVABLE ?= " \ | ||
41 | ${BSPDIR}/sources/poky/meta \ | ||
42 | ${BSPDIR}/sources/poky/meta-yocto \ | ||
43 | " | ||
diff --git a/conf/bblayers.conf.rpi.sample b/conf/bblayers.conf.rpi.sample new file mode 100644 index 0000000..d6bda2e --- /dev/null +++ b/conf/bblayers.conf.rpi.sample | |||
@@ -0,0 +1,41 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf | ||
24 | # changes incompatibly | ||
25 | LCONF_VERSION = "6" | ||
26 | |||
27 | BBPATH = "${TOPDIR}" | ||
28 | BBFILES ?= "" | ||
29 | BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" | ||
30 | |||
31 | BBLAYERS ?= " \ | ||
32 | ${BSPDIR}/sources/poky/meta \ | ||
33 | ${BSPDIR}/sources/poky/meta-yocto \ | ||
34 | ${BSPDIR}/sources/meta-raspberrypi \ | ||
35 | ${BSPDIR}/sources/meta-openembedded/meta-oe \ | ||
36 | ${BSPDIR}/sources/meta-b2qt \ | ||
37 | " | ||
38 | BBLAYERS_NON_REMOVABLE ?= " \ | ||
39 | ${BSPDIR}/sources/poky/meta \ | ||
40 | ${BSPDIR}/sources/poky/meta-yocto \ | ||
41 | " | ||
diff --git a/conf/bblayers.conf.sample b/conf/bblayers.conf.sample index ae4338e..d01c12a 100644 --- a/conf/bblayers.conf.sample +++ b/conf/bblayers.conf.sample | |||
@@ -26,19 +26,25 @@ LCONF_VERSION = "6" | |||
26 | 26 | ||
27 | BBPATH = "${TOPDIR}" | 27 | BBPATH = "${TOPDIR}" |
28 | BBFILES ?= "" | 28 | BBFILES ?= "" |
29 | BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" | ||
29 | 30 | ||
30 | BBLAYERS ?= " \ | 31 | BBLAYERS ?= " \ |
31 | ##COREBASE##/meta \ | 32 | ${BSPDIR}/sources/poky/meta \ |
32 | ##COREBASE##/meta-yocto \ | 33 | ${BSPDIR}/sources/poky/meta-yocto \ |
33 | ##COREBASE##/meta-fsl-arm \ | 34 | ${BSPDIR}/sources/meta-fsl-arm \ |
34 | ##COREBASE##/meta-fsl-arm-extra \ | 35 | ${BSPDIR}/sources/meta-fsl-arm-extra \ |
35 | ##COREBASE##/meta-ti \ | 36 | ${BSPDIR}/sources/meta-beagleboard/common-bsp \ |
36 | ##COREBASE##/meta-raspberrypi \ | 37 | ${BSPDIR}/sources/meta-ti \ |
37 | ##COREBASE##/meta-toradex \ | 38 | ${BSPDIR}/sources/meta-raspberrypi \ |
38 | ##COREBASE##/meta-openembedded/meta-oe \ | 39 | ${BSPDIR}/sources/meta-toradex \ |
39 | ##COREBASE##/meta-b2qt \ | 40 | ${BSPDIR}/sources/meta-openembedded/meta-oe \ |
41 | ${BSPDIR}/sources/meta-b2qt \ | ||
42 | ${BSPDIR}/sources/meta-b2qt/meta-ti-extras \ | ||
43 | ${BSPDIR}/sources/meta-b2qt/meta-fsl-extras \ | ||
44 | ${BSPDIR}/sources/meta-b2qt/meta-beagleboard-extras \ | ||
45 | ${BSPDIR}/sources/meta-b2qt/meta-toradex-extras \ | ||
40 | " | 46 | " |
41 | BBLAYERS_NON_REMOVABLE ?= " \ | 47 | BBLAYERS_NON_REMOVABLE ?= " \ |
42 | ##COREBASE##/meta \ | 48 | ${BSPDIR}/sources/poky/meta \ |
43 | ##COREBASE##/meta-yocto \ | 49 | ${BSPDIR}/sources/poky/meta-yocto \ |
44 | " | 50 | " |
diff --git a/conf/bblayers.conf.ti.sample b/conf/bblayers.conf.ti.sample new file mode 100644 index 0000000..df762a1 --- /dev/null +++ b/conf/bblayers.conf.ti.sample | |||
@@ -0,0 +1,42 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf | ||
24 | # changes incompatibly | ||
25 | LCONF_VERSION = "6" | ||
26 | |||
27 | BBPATH = "${TOPDIR}" | ||
28 | BBFILES ?= "" | ||
29 | BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" | ||
30 | |||
31 | BBLAYERS ?= " \ | ||
32 | ${BSPDIR}/sources/poky/meta \ | ||
33 | ${BSPDIR}/sources/poky/meta-yocto \ | ||
34 | ${BSPDIR}/sources/meta-ti \ | ||
35 | ${BSPDIR}/sources/meta-openembedded/meta-oe \ | ||
36 | ${BSPDIR}/sources/meta-b2qt \ | ||
37 | ${BSPDIR}/sources/meta-b2qt/meta-ti-extras \ | ||
38 | " | ||
39 | BBLAYERS_NON_REMOVABLE ?= " \ | ||
40 | ${BSPDIR}/sources/poky/meta \ | ||
41 | ${BSPDIR}/sources/poky/meta-yocto \ | ||
42 | " | ||
diff --git a/conf/bblayers.conf.tibidabo.sample b/conf/bblayers.conf.tibidabo.sample new file mode 100644 index 0000000..c12cde1 --- /dev/null +++ b/conf/bblayers.conf.tibidabo.sample | |||
@@ -0,0 +1,44 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf | ||
24 | # changes incompatibly | ||
25 | LCONF_VERSION = "6" | ||
26 | |||
27 | BBPATH = "${TOPDIR}" | ||
28 | BBFILES ?= "" | ||
29 | BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" | ||
30 | |||
31 | BBLAYERS ?= " \ | ||
32 | ${BSPDIR}/sources/poky/meta \ | ||
33 | ${BSPDIR}/sources/poky/meta-yocto \ | ||
34 | ${BSPDIR}/sources/meta-fsl-arm \ | ||
35 | ${BSPDIR}/sources/meta-tibidabo \ | ||
36 | ${BSPDIR}/sources/meta-openembedded/meta-oe \ | ||
37 | ${BSPDIR}/sources/meta-b2qt \ | ||
38 | ${BSPDIR}/sources/meta-b2qt/meta-fsl-extras \ | ||
39 | ${BSPDIR}/sources/meta-b2qt/meta-architech-extras \ | ||
40 | " | ||
41 | BBLAYERS_NON_REMOVABLE ?= " \ | ||
42 | ${BSPDIR}/sources/poky/meta \ | ||
43 | ${BSPDIR}/sources/poky/meta-yocto \ | ||
44 | " | ||
diff --git a/conf/bblayers.conf.toradex.sample b/conf/bblayers.conf.toradex.sample new file mode 100644 index 0000000..00c64f7 --- /dev/null +++ b/conf/bblayers.conf.toradex.sample | |||
@@ -0,0 +1,45 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf | ||
24 | # changes incompatibly | ||
25 | LCONF_VERSION = "6" | ||
26 | |||
27 | BBPATH = "${TOPDIR}" | ||
28 | BBFILES ?= "" | ||
29 | BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" | ||
30 | |||
31 | BBLAYERS ?= " \ | ||
32 | ${BSPDIR}/sources/poky/meta \ | ||
33 | ${BSPDIR}/sources/poky/meta-yocto \ | ||
34 | ${BSPDIR}/sources/meta-fsl-arm \ | ||
35 | ${BSPDIR}/sources/meta-fsl-arm-extra \ | ||
36 | ${BSPDIR}/sources/meta-toradex \ | ||
37 | ${BSPDIR}/sources/meta-openembedded/meta-oe \ | ||
38 | ${BSPDIR}/sources/meta-b2qt \ | ||
39 | ${BSPDIR}/sources/meta-b2qt/meta-fsl-extras \ | ||
40 | ${BSPDIR}/sources/meta-b2qt/meta-toradex-extras \ | ||
41 | " | ||
42 | BBLAYERS_NON_REMOVABLE ?= " \ | ||
43 | ${BSPDIR}/sources/poky/meta \ | ||
44 | ${BSPDIR}/sources/poky/meta-yocto \ | ||
45 | " | ||
diff --git a/conf/distro/b2qt.conf b/conf/distro/b2qt.conf index 8ddaeb7..894397d 100644 --- a/conf/distro/b2qt.conf +++ b/conf/distro/b2qt.conf | |||
@@ -35,18 +35,25 @@ SANITY_TESTED_DISTROS += " \ | |||
35 | LinuxMint-16 \n \ | 35 | LinuxMint-16 \n \ |
36 | " | 36 | " |
37 | 37 | ||
38 | include conf/distro/include/${MACHINE}.conf | ||
39 | |||
40 | SYSVINIT_ENABLED_GETTYS = "" | 38 | SYSVINIT_ENABLED_GETTYS = "" |
41 | 39 | ||
42 | DISTRO_FEATURES_DEFAULT = "alsa argp bluetooth ext2 largefile usbgadget usbhost wifi xattr nfs" | 40 | DISTRO_FEATURES_DEFAULT = "alsa argp bluetooth ext2 largefile usbgadget usbhost wifi xattr nfs" |
43 | POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl multiarch" | 41 | POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl multiarch" |
44 | DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio" | 42 | DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio" |
45 | 43 | ||
44 | PREFERRED_PROVIDER_jpeg ?= "libjpeg-turbo" | ||
45 | PREFERRED_PROVIDER_jpeg-native ?= "libjpeg-turbo-native" | ||
46 | |||
46 | COMMERCIAL_AUDIO_PLUGINS ?= "gst-plugins-ugly-mad gst-plugins-ugly-mpegaudioparse" | 47 | COMMERCIAL_AUDIO_PLUGINS ?= "gst-plugins-ugly-mad gst-plugins-ugly-mpegaudioparse" |
47 | COMMERCIAL_VIDEO_PLUGINS ?= "gst-plugins-ugly-mpeg2dec gst-plugins-ugly-mpegstream gst-plugins-bad-mpegvideoparse" | 48 | COMMERCIAL_VIDEO_PLUGINS ?= "gst-plugins-ugly-mpeg2dec gst-plugins-ugly-mpegstream gst-plugins-bad-mpegvideoparse" |
48 | 49 | ||
49 | MACHINE_EXTRA_INSTALL ?= "" | 50 | MACHINE_EXTRA_INSTALL ?= "" |
51 | MACHINE_EXTRA_INSTALL_SDK ?= "" | ||
52 | MACHINE_EXTRA_INSTALL_SDK_HOST ?= "" | ||
53 | |||
54 | IMAGE_FSTYPES ?= "tar.gz" | ||
50 | 55 | ||
51 | LICENSE_CREATE_PACKAGE = "1" | 56 | LICENSE_CREATE_PACKAGE = "1" |
52 | COPY_LIC_MANIFEST = "1" | 57 | COPY_LIC_MANIFEST = "1" |
58 | |||
59 | include conf/distro/include/${MACHINE}.conf | ||
diff --git a/conf/distro/include/am335x-evm.conf b/conf/distro/include/am335x-evm.conf index 6b71514..fcdd6da 100644 --- a/conf/distro/include/am335x-evm.conf +++ b/conf/distro/include/am335x-evm.conf | |||
@@ -20,8 +20,6 @@ | |||
20 | ## | 20 | ## |
21 | ############################################################################# | 21 | ############################################################################# |
22 | 22 | ||
23 | IMAGE_FSTYPES = "tar.gz" | ||
24 | |||
25 | BOOTFS_CONTENT = "\ | 23 | BOOTFS_CONTENT = "\ |
26 | u-boot-${MACHINE}.img:u-boot.img \ | 24 | u-boot-${MACHINE}.img:u-boot.img \ |
27 | MLO-${MACHINE}:MLO \ | 25 | MLO-${MACHINE}:MLO \ |
diff --git a/conf/distro/include/apalis-imx6.conf b/conf/distro/include/apalis-imx6.conf index 7767b79..0d69898 100644 --- a/conf/distro/include/apalis-imx6.conf +++ b/conf/distro/include/apalis-imx6.conf | |||
@@ -20,17 +20,16 @@ | |||
20 | ## | 20 | ## |
21 | ############################################################################# | 21 | ############################################################################# |
22 | 22 | ||
23 | IMAGE_FSTYPES = "tar.gz" | 23 | include conf/distro/include/toradex.inc |
24 | 24 | ||
25 | BOOTFS_CONTENT = "\ | 25 | BOOTFS_CONTENT = "\ |
26 | ${KERNEL_IMAGETYPE}:${KERNEL_IMAGETYPE} \ | 26 | ${KERNEL_IMAGETYPE}:${KERNEL_IMAGETYPE} \ |
27 | ${KERNEL_IMAGETYPE}-imx6q-apalis-eval.dtb:imx6q-apalis-eval.dtb \ | ||
27 | u-boot-${MACHINE}.imx:u-boot.imx \ | 28 | u-boot-${MACHINE}.imx:u-boot.imx \ |
29 | flash_mmc-${MACHINE}.img:flash_mmc.img \ | ||
28 | " | 30 | " |
29 | BOOTFS_DEPENDS = "u-boot:do_deploy" | 31 | BOOTFS_DEPENDS = "u-boot:do_deploy" |
30 | 32 | ||
31 | PREFERRED_VERSION_gpu-viv-bin-mx6q = "3.10.9-1.0.0-hfp" | ||
32 | PREFERRED_VERSION_imx-lib = "3.10.9-1.0.0" | ||
33 | |||
34 | MACHINE_EXTRA_INSTALL = "\ | 33 | MACHINE_EXTRA_INSTALL = "\ |
35 | libgal-mx6 \ | 34 | libgal-mx6 \ |
36 | libegl-mx6 \ | 35 | libegl-mx6 \ |
@@ -46,7 +45,5 @@ MACHINE_EXTRA_INSTALL_SDK = " \ | |||
46 | libgles2-mx6-dev \ | 45 | libgles2-mx6-dev \ |
47 | " | 46 | " |
48 | 47 | ||
49 | ADB_PRODUCTID = "0x0000" | ||
50 | |||
51 | SERIAL_CONSOLES = "115200;ttymxc0 \ | 48 | SERIAL_CONSOLES = "115200;ttymxc0 \ |
52 | 115200;ttymxc1" | 49 | 115200;ttymxc1" |
diff --git a/conf/distro/include/beagleboard.conf b/conf/distro/include/beagleboard.conf index 382ed68..87c986c 100644 --- a/conf/distro/include/beagleboard.conf +++ b/conf/distro/include/beagleboard.conf | |||
@@ -20,8 +20,6 @@ | |||
20 | ## | 20 | ## |
21 | ############################################################################# | 21 | ############################################################################# |
22 | 22 | ||
23 | IMAGE_FSTYPES = "tar.gz" | ||
24 | |||
25 | BOOTFS_CONTENT = "\ | 23 | BOOTFS_CONTENT = "\ |
26 | u-boot-${MACHINE}.img:u-boot.img \ | 24 | u-boot-${MACHINE}.img:u-boot.img \ |
27 | MLO-${MACHINE}:MLO \ | 25 | MLO-${MACHINE}:MLO \ |
diff --git a/conf/distro/include/beaglebone.conf b/conf/distro/include/beaglebone.conf index 6e678e8..96662d6 100644 --- a/conf/distro/include/beaglebone.conf +++ b/conf/distro/include/beaglebone.conf | |||
@@ -15,8 +15,6 @@ | |||
15 | ## contact form at http://www.qt.io | 15 | ## contact form at http://www.qt.io |
16 | ## | 16 | ## |
17 | ############################################################################ | 17 | ############################################################################ |
18 | IMAGE_FSTYPES = "tar.gz" | ||
19 | |||
20 | BOOTFS_CONTENT = "\ | 18 | BOOTFS_CONTENT = "\ |
21 | u-boot-${MACHINE}.img:u-boot.img \ | 19 | u-boot-${MACHINE}.img:u-boot.img \ |
22 | MLO-${MACHINE}:MLO \ | 20 | MLO-${MACHINE}:MLO \ |
@@ -26,6 +24,14 @@ BOOTFS_DEPENDS = "u-boot:do_deploy u-boot-uenv-script:do_deploy" | |||
26 | 24 | ||
27 | EXTRA_IMAGEDEPENDS += "u-boot-uenv-script" | 25 | EXTRA_IMAGEDEPENDS += "u-boot-uenv-script" |
28 | 26 | ||
27 | PREFERRED_VERSION_libgles-omap3 = "4.10.00.01" | ||
28 | PREFERRED_VERSION_omap3-sgx-modules = "4.10.00.01" | ||
29 | |||
30 | PREFERRED_PROVIDER_u-boot = "u-boot" | ||
31 | EXTRA_IMAGEDEPENDS_remove = "u-boot-denx" | ||
32 | UBOOT_MACHINE = "am335x_boneblack_config" | ||
33 | KERNEL_IMAGETYPE = "zImage" | ||
34 | |||
29 | MACHINE_EXTRA_INSTALL = "\ | 35 | MACHINE_EXTRA_INSTALL = "\ |
30 | libgles-omap3 \ | 36 | libgles-omap3 \ |
31 | libgles-omap3-rawdemos \ | 37 | libgles-omap3-rawdemos \ |
diff --git a/conf/distro/include/colibri-vf.conf b/conf/distro/include/colibri-vf.conf new file mode 100644 index 0000000..df85419 --- /dev/null +++ b/conf/distro/include/colibri-vf.conf | |||
@@ -0,0 +1,40 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | include conf/distro/include/toradex.inc | ||
24 | |||
25 | BOOTFS_CONTENT = "\ | ||
26 | ${KERNEL_IMAGETYPE}:${KERNEL_IMAGETYPE} \ | ||
27 | u-boot-${MACHINE}.imx:u-boot.imx \ | ||
28 | " | ||
29 | BOOTFS_DEPENDS = "u-boot:do_deploy" | ||
30 | |||
31 | SERIAL_CONSOLES = "115200;ttymxc0 \ | ||
32 | 115200;ttymxc1" | ||
33 | |||
34 | MACHINE_EXTRA_INSTALL = "\ | ||
35 | opengldummy \ | ||
36 | " | ||
37 | |||
38 | MACHINE_EXTRA_INSTALL_SDK = "\ | ||
39 | opengldummy-dev \ | ||
40 | " | ||
diff --git a/conf/distro/include/emulator.conf b/conf/distro/include/emulator.conf index 91d79cb..3888cc5 100644 --- a/conf/distro/include/emulator.conf +++ b/conf/distro/include/emulator.conf | |||
@@ -32,12 +32,9 @@ MACHINE_EXTRA_RRECOMMENDS += "\ | |||
32 | kernel_autoload_snd-intel8x0 = "snd-intel8x0" | 32 | kernel_autoload_snd-intel8x0 = "snd-intel8x0" |
33 | 33 | ||
34 | MACHINE_EXTRA_INSTALL = "\ | 34 | MACHINE_EXTRA_INSTALL = "\ |
35 | libegl-mesa \ | ||
36 | libgles2-mesa \ | ||
37 | mount-vboxsf \ | 35 | mount-vboxsf \ |
38 | " | 36 | " |
39 | 37 | ||
40 | MACHINE_EXTRA_INSTALL_SDK = "\ | 38 | MACHINE_EXTRA_INSTALL_SDK = "\ |
41 | libegl-mesa-dev \ | 39 | qtglesstream-dummy-client-dev \ |
42 | libgles2-mesa-dev \ | ||
43 | " | 40 | " |
diff --git a/conf/distro/include/imx53qsb.conf b/conf/distro/include/imx53qsb.conf index 64ecadb..39c4688 100644 --- a/conf/distro/include/imx53qsb.conf +++ b/conf/distro/include/imx53qsb.conf | |||
@@ -20,8 +20,6 @@ | |||
20 | ## | 20 | ## |
21 | ############################################################################# | 21 | ############################################################################# |
22 | 22 | ||
23 | IMAGE_FSTYPES = "tar.gz" | ||
24 | |||
25 | BOOTFS_CONTENT = "\ | 23 | BOOTFS_CONTENT = "\ |
26 | u-boot-${MACHINE}.${UBOOT_SUFFIX}:u-boot.${UBOOT_SUFFIX} \ | 24 | u-boot-${MACHINE}.${UBOOT_SUFFIX}:u-boot.${UBOOT_SUFFIX} \ |
27 | ${KERNEL_IMAGETYPE}:${KERNEL_IMAGETYPE} \ | 25 | ${KERNEL_IMAGETYPE}:${KERNEL_IMAGETYPE} \ |
diff --git a/recipes/amd-gpu-x11-bin-mx51/amd-gpu-x11-bin-mx51_11.09.01.bbappend b/conf/distro/include/imx6dlsabresd.conf index 66ae7b1..7a209ed 100644 --- a/recipes/amd-gpu-x11-bin-mx51/amd-gpu-x11-bin-mx51_11.09.01.bbappend +++ b/conf/distro/include/imx6dlsabresd.conf | |||
@@ -20,5 +20,4 @@ | |||
20 | ## | 20 | ## |
21 | ############################################################################# | 21 | ############################################################################# |
22 | 22 | ||
23 | # dependency to x11 only when distro features have it | 23 | require imx6qsabresd.conf |
24 | DEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}" | ||
diff --git a/conf/distro/include/imx6qsabresd.conf b/conf/distro/include/imx6qsabresd.conf index 3d92a6b..0323a42 100644 --- a/conf/distro/include/imx6qsabresd.conf +++ b/conf/distro/include/imx6qsabresd.conf | |||
@@ -20,25 +20,31 @@ | |||
20 | ## | 20 | ## |
21 | ############################################################################# | 21 | ############################################################################# |
22 | 22 | ||
23 | IMAGE_FSTYPES = "tar.gz ext3 sdcard" | ||
24 | |||
25 | BOOTFS_CONTENT = "\ | 23 | BOOTFS_CONTENT = "\ |
26 | ${KERNEL_IMAGETYPE}:${KERNEL_IMAGETYPE} \ | 24 | ${KERNEL_IMAGETYPE}:${KERNEL_IMAGETYPE} \ |
27 | ${KERNEL_IMAGETYPE}-imx6q-sabresd.dtb:imx6q-sabresd.dtb \ | 25 | ${KERNEL_IMAGETYPE}-imx6q-sabresd.dtb:imx6q-sabresd.dtb \ |
28 | ${KERNEL_IMAGETYPE}-imx6q-sabresd-hdcp.dtb:imx6q-sabresd-hdcp.dtb \ | 26 | ${KERNEL_IMAGETYPE}-imx6q-sabresd-hdcp.dtb:imx6q-sabresd-hdcp.dtb \ |
29 | ${KERNEL_IMAGETYPE}-imx6q-sabresd-ldo.dtb:imx6q-sabresd-ldo.dtb \ | 27 | ${KERNEL_IMAGETYPE}-imx6q-sabresd-ldo.dtb:imx6q-sabresd-ldo.dtb \ |
28 | ${KERNEL_IMAGETYPE}-imx6dl-sabresd.dtb:imx6dl-sabresd.dtb \ | ||
29 | ${KERNEL_IMAGETYPE}-imx6dl-sabresd-hdcp.dtb:imx6dl-sabresd-hdcp.dtb \ | ||
30 | ${KERNEL_IMAGETYPE}-imx6dl-sabresd-ldo.dtb:imx6dl-sabresd-ldo.dtb \ | ||
30 | u-boot-${MACHINE}.imx:u-boot.imx \ | 31 | u-boot-${MACHINE}.imx:u-boot.imx \ |
31 | " | 32 | " |
32 | BOOTFS_DEPENDS = "u-boot:do_deploy" | 33 | BOOTFS_DEPENDS = "u-boot:do_deploy virtual/kernel:do_deploy" |
33 | 34 | ||
34 | PREFERRED_VERSION_gpu-viv-bin-mx6q = "3.10.17-1.0.0-hfp" | 35 | PREFERRED_VERSION_gpu-viv-bin-mx6q = "3.10.17-1.0.1-hfp" |
35 | PREFERRED_VERSION_imx-lib = "3.10.17-1.0.0" | 36 | PREFERRED_VERSION_imx-lib = "3.10.17-1.0.0" |
36 | 37 | ||
38 | DISTRO_FEATURES_DEFAULT += "wayland" | ||
39 | |||
37 | MACHINE_EXTRA_INSTALL = "\ | 40 | MACHINE_EXTRA_INSTALL = "\ |
38 | libgal-mx6 \ | 41 | libgal-mx6 \ |
39 | libegl-mx6 \ | 42 | libegl-mx6 \ |
40 | libgles2-mx6 \ | 43 | libgles2-mx6 \ |
41 | gst-fsl-plugin \ | 44 | gst-fsl-plugin \ |
45 | wayland \ | ||
46 | weston \ | ||
47 | weston-examples \ | ||
42 | " | 48 | " |
43 | 49 | ||
44 | MACHINE_EXTRA_INSTALL_SDK = " \ | 50 | MACHINE_EXTRA_INSTALL_SDK = " \ |
@@ -47,6 +53,17 @@ MACHINE_EXTRA_INSTALL_SDK = " \ | |||
47 | libegl-mx6-dev \ | 53 | libegl-mx6-dev \ |
48 | libgles2-mx6 \ | 54 | libgles2-mx6 \ |
49 | libgles2-mx6-dev \ | 55 | libgles2-mx6-dev \ |
56 | libwayland-egl-mx6-dev \ | ||
50 | " | 57 | " |
51 | 58 | ||
52 | ADB_PRODUCTID = "0x0000" | 59 | MACHINE_EXTRA_INSTALL_SDK_HOST = "\ |
60 | wayland-nativesdk \ | ||
61 | " | ||
62 | |||
63 | module_autoload_mxc_v4l2_capture = "mxc_v4l2_capture" | ||
64 | |||
65 | # add support for both imx6qsabresd and imx6dlsabresd | ||
66 | KERNEL_DEVICETREE = "imx6q-sabresd.dtb imx6q-sabresd-ldo.dtb imx6q-sabresd-hdcp.dtb \ | ||
67 | imx6dl-sabresd.dtb imx6dl-sabresd-ldo.dtb imx6dl-sabresd-hdcp.dtb \ | ||
68 | " | ||
69 | MACHINE_FIRMWARE_append = " firmware-imx-vpu-imx6q firmware-imx-vpu-imx6d" | ||
diff --git a/conf/distro/include/nitrogen6x.conf b/conf/distro/include/nitrogen6x.conf index aa00b5f..266e95d 100644 --- a/conf/distro/include/nitrogen6x.conf +++ b/conf/distro/include/nitrogen6x.conf | |||
@@ -20,28 +20,45 @@ | |||
20 | ## | 20 | ## |
21 | ############################################################################# | 21 | ############################################################################# |
22 | 22 | ||
23 | IMAGE_FSTYPES = "tar.gz" | ||
24 | |||
25 | BOOTFS_CONTENT = "\ | 23 | BOOTFS_CONTENT = "\ |
26 | ${KERNEL_IMAGETYPE}:${KERNEL_IMAGETYPE} \ | 24 | ${KERNEL_IMAGETYPE}:${KERNEL_IMAGETYPE} \ |
27 | ${KERNEL_IMAGETYPE}-imx6q-${MACHINE}.dtb:imx6q-${MACHINE}.dtb \ | 25 | ${KERNEL_IMAGETYPE}-imx6q-${MACHINE}.dtb:imx6q-${MACHINE}.dtb \ |
28 | ${KERNEL_IMAGETYPE}-imx6dl-${MACHINE}.dtb:imx6dl-${MACHINE}.dtb \ | 26 | ${KERNEL_IMAGETYPE}-imx6dl-${MACHINE}.dtb:imx6dl-${MACHINE}.dtb \ |
29 | ${KERNEL_IMAGETYPE}-imx6q-sabrelite.dtb:imx6q-sabrelite.dtb \ | 27 | ${KERNEL_IMAGETYPE}-imx6q-sabrelite.dtb:imx6q-sabrelite.dtb \ |
28 | ${KERNEL_IMAGETYPE}-imx6dl-nit6xlite.dtb:imx6dl-nit6xlite.dtb \ | ||
29 | ${KERNEL_IMAGETYPE}-imx6dl-nitrogen6_max.dtb:imx6dl-nitrogen6_max.dtb \ | ||
30 | ${KERNEL_IMAGETYPE}-imx6q-nitrogen6_max.dtb:imx6q-nitrogen6_max.dtb \ | ||
30 | 6x_bootscript-${MACHINE}:6x_bootscript \ | 31 | 6x_bootscript-${MACHINE}:6x_bootscript \ |
31 | 6x_upgrade-${MACHINE}:6x_upgrade \ | 32 | 6x_upgrade-${MACHINE}:6x_upgrade \ |
33 | ${KERNEL_IMAGETYPE}:update/${KERNEL_IMAGETYPE} \ | ||
34 | ${KERNEL_IMAGETYPE}-imx6q-${MACHINE}.dtb:update/imx6q-${MACHINE}.dtb \ | ||
35 | ${KERNEL_IMAGETYPE}-imx6dl-${MACHINE}.dtb:update/imx6dl-${MACHINE}.dtb \ | ||
36 | ${KERNEL_IMAGETYPE}-imx6q-sabrelite.dtb:update/imx6q-sabrelite.dtb \ | ||
37 | ${KERNEL_IMAGETYPE}-imx6dl-nit6xlite.dtb:update/imx6dl-nit6xlite.dtb \ | ||
38 | ${KERNEL_IMAGETYPE}-imx6dl-nitrogen6_max.dtb:update/imx6dl-nitrogen6_max.dtb \ | ||
39 | ${KERNEL_IMAGETYPE}-imx6q-nitrogen6_max.dtb:update/imx6q-nitrogen6_max.dtb \ | ||
40 | update/platform:update/platform \ | ||
32 | " | 41 | " |
33 | BOOTFS_DEPENDS = "u-boot:do_deploy virtual/kernel:do_deploy u-boot-script-boundary:do_deploy" | 42 | BOOTFS_DEPENDS = "u-boot:do_deploy virtual/kernel:do_deploy u-boot-script-boundary:do_deploy b2qt-update-framework:do_deploy" |
34 | 43 | ||
35 | EXTRA_IMAGEDEPENDS += "u-boot-script-boundary" | 44 | EXTRA_IMAGEDEPENDS += "u-boot-script-boundary" |
36 | 45 | ||
37 | PREFERRED_VERSION_gpu-viv-bin-mx6q = "3.10.17-1.0.0-hfp" | 46 | PREFERRED_VERSION_gpu-viv-bin-mx6q = "3.10.17-1.0.1-hfp" |
38 | PREFERRED_VERSION_imx-lib = "3.10.17-1.0.0" | 47 | PREFERRED_VERSION_imx-lib = "3.10.17-1.0.0" |
39 | 48 | ||
49 | KERNEL_DEVICETREE += "imx6dl-nit6xlite.dtb" | ||
50 | |||
51 | DISTRO_FEATURES_DEFAULT += "wayland" | ||
52 | |||
40 | MACHINE_EXTRA_INSTALL = "\ | 53 | MACHINE_EXTRA_INSTALL = "\ |
41 | libgal-mx6 \ | 54 | libgal-mx6 \ |
42 | libegl-mx6 \ | 55 | libegl-mx6 \ |
43 | libgles2-mx6 \ | 56 | libgles2-mx6 \ |
44 | gst-fsl-plugin \ | 57 | gst-fsl-plugin \ |
58 | wayland \ | ||
59 | weston \ | ||
60 | weston-examples \ | ||
61 | bcm4330-nvram-config \ | ||
45 | " | 62 | " |
46 | 63 | ||
47 | MACHINE_EXTRA_INSTALL_SDK = " \ | 64 | MACHINE_EXTRA_INSTALL_SDK = " \ |
@@ -50,6 +67,13 @@ MACHINE_EXTRA_INSTALL_SDK = " \ | |||
50 | libegl-mx6-dev \ | 67 | libegl-mx6-dev \ |
51 | libgles2-mx6 \ | 68 | libgles2-mx6 \ |
52 | libgles2-mx6-dev \ | 69 | libgles2-mx6-dev \ |
70 | libwayland-egl-mx6-dev \ | ||
53 | " | 71 | " |
54 | 72 | ||
73 | MACHINE_EXTRA_INSTALL_SDK_HOST = "\ | ||
74 | wayland-nativesdk \ | ||
75 | " | ||
76 | |||
77 | B2QT_PLATFORM = "iMX6-eLinux" | ||
78 | |||
55 | ADB_PRODUCTID = "0x0d02" | 79 | ADB_PRODUCTID = "0x0d02" |
diff --git a/conf/distro/include/raspberrypi.conf b/conf/distro/include/raspberrypi.conf index ebc32d7..33f3728 100644 --- a/conf/distro/include/raspberrypi.conf +++ b/conf/distro/include/raspberrypi.conf | |||
@@ -20,8 +20,6 @@ | |||
20 | ## | 20 | ## |
21 | ############################################################################# | 21 | ############################################################################# |
22 | 22 | ||
23 | IMAGE_FSTYPES = "tar.gz" | ||
24 | |||
25 | BOOTFS_CONTENT = "\ | 23 | BOOTFS_CONTENT = "\ |
26 | bcm2835-bootfiles/*: \ | 24 | bcm2835-bootfiles/*: \ |
27 | ${KERNEL_IMAGETYPE}:kernel.img \ | 25 | ${KERNEL_IMAGETYPE}:kernel.img \ |
@@ -39,6 +37,10 @@ MACHINE_EXTRA_INSTALL_SDK = " \ | |||
39 | " | 37 | " |
40 | 38 | ||
41 | module_autoload_snd-bcm2835 = "snd-bcm2835" | 39 | module_autoload_snd-bcm2835 = "snd-bcm2835" |
40 | module_autoload_bcm2835-v4l2 = "bcm2835-v4l2" | ||
41 | module_conf_bcm2835-v4l2 = "options bcm2835-v4l2 gst_v4l2src_is_broken=1" | ||
42 | 42 | ||
43 | # additional memory for GPU | 43 | # additional memory for GPU |
44 | GPU_MEM = "128" | 44 | GPU_MEM = "128" |
45 | # video camera support | ||
46 | VIDEO_CAMERA = "1" | ||
diff --git a/conf/distro/include/tibidabo.conf b/conf/distro/include/tibidabo.conf new file mode 100644 index 0000000..1e5e7e0 --- /dev/null +++ b/conf/distro/include/tibidabo.conf | |||
@@ -0,0 +1,46 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | BOOTFS_CONTENT = "\ | ||
24 | ${KERNEL_IMAGETYPE}:${KERNEL_IMAGETYPE} \ | ||
25 | bootscript:bootscript \ | ||
26 | " | ||
27 | BOOTFS_DEPENDS = "tibidabo-bootscript-sd:do_deploy virtual/kernel:do_deploy" | ||
28 | |||
29 | MACHINE_EXTRA_INSTALL = "\ | ||
30 | libgal-mx6 \ | ||
31 | libegl-mx6 \ | ||
32 | libgles2-mx6 \ | ||
33 | gst-fsl-plugin \ | ||
34 | " | ||
35 | |||
36 | MACHINE_EXTRA_INSTALL_SDK = " \ | ||
37 | libgal-mx6 \ | ||
38 | libegl-mx6 \ | ||
39 | libegl-mx6-dev \ | ||
40 | libgles2-mx6 \ | ||
41 | libgles2-mx6-dev \ | ||
42 | " | ||
43 | |||
44 | module_autoload_mxc_v4l2_capture = "mxc_v4l2_capture" | ||
45 | |||
46 | BBMASK += "|meta-fsl-extras/recipes/u-boot|meta-fsl-extras/recipes/linux/linux-boundary|meta-fsl-extras/recipes/broadcom-nvram-config" | ||
diff --git a/conf/distro/include/toradex.inc b/conf/distro/include/toradex.inc new file mode 100644 index 0000000..616b77f --- /dev/null +++ b/conf/distro/include/toradex.inc | |||
@@ -0,0 +1 @@ | |||
BBMASK += "|meta-toradex/recipes-mozilla|meta-toradex/recipes-browser|meta-toradex/recipes-lxde|meta-toradex/recipes-connectivity|meta-toradex/recipes-gnome|meta-toradex/recipes/trdx-config|meta-toradex/recipes-multimedia/webm|meta-toradex/recipes-qt|meta-toradex/recipes-core/psplash|meta-toradex/recipes-support/florence|meta-toradex/recipes-core/systemd|meta-toradex/recipes-efl|meta-toradex/recipes-core/dropbear" | |||
diff --git a/conf/local.conf.sample b/conf/local.conf.sample index e1e893a..474db68 100644 --- a/conf/local.conf.sample +++ b/conf/local.conf.sample | |||
@@ -39,12 +39,18 @@ | |||
39 | # These two options control how much parallelism BitBake should use. The first | 39 | # These two options control how much parallelism BitBake should use. The first |
40 | # option determines how many tasks bitbake should run in parallel: | 40 | # option determines how many tasks bitbake should run in parallel: |
41 | # | 41 | # |
42 | BB_NUMBER_THREADS = "4" | 42 | BB_NUMBER_THREADS ?= "4" |
43 | # | ||
44 | # Default to setting automatically based on cpu count | ||
45 | #BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}" | ||
43 | # | 46 | # |
44 | # The second option controls how many processes make should run in parallel when | 47 | # The second option controls how many processes make should run in parallel when |
45 | # running compile tasks: | 48 | # running compile tasks: |
46 | # | 49 | # |
47 | PARALLEL_MAKE = "-j 4" | 50 | PARALLEL_MAKE ?= "-j 4" |
51 | # | ||
52 | # Default to setting automatically based on cpu count | ||
53 | #PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}" | ||
48 | # | 54 | # |
49 | # For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would | 55 | # For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would |
50 | # be appropriate for example. | 56 | # be appropriate for example. |
@@ -64,10 +70,11 @@ PARALLEL_MAKE = "-j 4" | |||
64 | # There are also the following hardware board target machines included for | 70 | # There are also the following hardware board target machines included for |
65 | # demonstration purposes: | 71 | # demonstration purposes: |
66 | # | 72 | # |
67 | #MACHINE ?= "atom-pc" | 73 | #MACHINE ?= "beaglebone" |
68 | #MACHINE ?= "beagleboard" | 74 | #MACHINE ?= "genericx86" |
75 | #MACHINE ?= "genericx86-64" | ||
69 | #MACHINE ?= "mpc8315e-rdb" | 76 | #MACHINE ?= "mpc8315e-rdb" |
70 | #MACHINE ?= "routerstationpro" | 77 | #MACHINE ?= "edgerouter" |
71 | # | 78 | # |
72 | # This sets the default machine to be qemux86 if no other machine is selected: | 79 | # This sets the default machine to be qemux86 if no other machine is selected: |
73 | MACHINE ??= "qemux86" | 80 | MACHINE ??= "qemux86" |
@@ -86,9 +93,6 @@ MACHINE_HOSTNAME ?= "b2qt-linux-${MACHINE}" | |||
86 | # | 93 | # |
87 | DL_DIR ?= "${TOPDIR}/../downloads" | 94 | DL_DIR ?= "${TOPDIR}/../downloads" |
88 | 95 | ||
89 | PREMIRRORS = "http://qt-rnd.it-local/yocto/" | ||
90 | |||
91 | |||
92 | # | 96 | # |
93 | # Where to place shared-state files | 97 | # Where to place shared-state files |
94 | # | 98 | # |
@@ -149,9 +153,9 @@ PACKAGE_CLASSES ?= "package_ipk" | |||
149 | # | 153 | # |
150 | # SDK/ADT target architecture | 154 | # SDK/ADT target architecture |
151 | # | 155 | # |
152 | # This variable specified the architecture to build SDK/ADT items for and means | 156 | # This variable specifies the architecture to build SDK/ADT items for and means |
153 | # you can build the SDK packages for architectures other than the machine you are | 157 | # you can build the SDK packages for architectures other than the machine you are |
154 | # running the build on (i.e. building i686 packages on an x86_64 host._ | 158 | # running the build on (i.e. building i686 packages on an x86_64 host). |
155 | # Supported values are i686 and x86_64 | 159 | # Supported values are i686 and x86_64 |
156 | #SDKMACHINE ?= "i686" | 160 | #SDKMACHINE ?= "i686" |
157 | 161 | ||
@@ -198,23 +202,9 @@ USER_CLASSES ?= "buildstats image-mklibs" | |||
198 | # | 202 | # |
199 | # The build system can test booting virtual machine images under qemu (an emulator) | 203 | # The build system can test booting virtual machine images under qemu (an emulator) |
200 | # after any root filesystems are created and run tests against those images. To | 204 | # after any root filesystems are created and run tests against those images. To |
201 | # enable this uncomment this line | 205 | # enable this uncomment this line. See classes/testimage(-auto).bbclass for |
202 | #IMAGETEST = "qemu" | 206 | # further details. |
203 | # | 207 | #TEST_IMAGE = "1" |
204 | # This variable controls which tests are run against virtual images if enabled | ||
205 | # above. The following would enable bat, boot the test case under the sanity suite | ||
206 | # and perform toolchain tests | ||
207 | #TEST_SCEN = "sanity bat sanity:boot toolchain" | ||
208 | # | ||
209 | # Because of the QEMU booting slowness issue (see bug #646 and #618), the | ||
210 | # autobuilder may suffer a timeout issue when running sanity tests. We introduce | ||
211 | # the variable TEST_SERIALIZE here to reduce the time taken by the sanity tests. | ||
212 | # It is set to 1 by default, which will boot the image and run cases in the same | ||
213 | # image without rebooting or killing the machine instance. If it is set to 0, the | ||
214 | # image will be copied and tested for each case, which will take longer but be | ||
215 | # more precise. | ||
216 | #TEST_SERIALIZE = "1" | ||
217 | |||
218 | # | 208 | # |
219 | # Interactive shell configuration | 209 | # Interactive shell configuration |
220 | # | 210 | # |
@@ -268,6 +258,18 @@ BB_DISKMON_DIRS = "\ | |||
268 | #file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \ | 258 | #file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \ |
269 | #file://.* file:///some/local/dir/sstate/PATH" | 259 | #file://.* file:///some/local/dir/sstate/PATH" |
270 | 260 | ||
261 | |||
262 | # | ||
263 | # Qemu configuration | ||
264 | # | ||
265 | # By default qemu will build with a builtin VNC server where graphical output can be | ||
266 | # seen. The two lines below enable the SDL backend too. This assumes there is a | ||
267 | # libsdl library available on your build system. | ||
268 | #PACKAGECONFIG_pn-qemu-native = "sdl" | ||
269 | #PACKAGECONFIG_pn-nativesdk-qemu = "sdl" | ||
270 | #ASSUME_PROVIDED += "libsdl-native" | ||
271 | |||
272 | |||
271 | # CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to | 273 | # CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to |
272 | # track the version of this file when it was generated. This can safely be ignored if | 274 | # track the version of this file when it was generated. This can safely be ignored if |
273 | # this doesn't mean anything to you. | 275 | # this doesn't mean anything to you. |
@@ -275,8 +277,7 @@ CONF_VERSION = "1" | |||
275 | 277 | ||
276 | INHERIT += "rm_work" | 278 | INHERIT += "rm_work" |
277 | 279 | ||
278 | BBMASK = "meta-ti/recipes-misc" | ||
279 | BBMASK += "|meta-toradex/recipes/images|meta-toradex/recipes-browser|meta-toradex/recipes-connectivity|meta-toradex/recipes-gnome|meta-toradex/recipes-mozilla|meta-toradex/recipes-graphics|meta-toradex/recipes-devtools/mtd|meta-toradex/recipes-core/psplash|meta-toradex/recipes-lxde|meta-toradex/recipes-multimedia/webm|meta-toradex/recipes/trdx-config|meta-toradex/recipes-core/util-linux|meta-toradex/recipes-core/systemd|meta-toradex/recipes-support|meta-toradex/recipes-core/dropbear|meta-toradex/recipes/base-files|meta-toradex/recipes-multimedia/gstreamer" | ||
280 | ACCEPT_FSL_EULA = "1" | 280 | ACCEPT_FSL_EULA = "1" |
281 | LICENSE_FLAGS_WHITELIST = "commercial" | 281 | LICENSE_FLAGS_WHITELIST = "commercial" |
282 | 282 | ||
283 | QT_SDK_PATH = "" | ||
diff --git a/meta-architech-extras/conf/layer.conf b/meta-architech-extras/conf/layer.conf new file mode 100644 index 0000000..749ea42 --- /dev/null +++ b/meta-architech-extras/conf/layer.conf | |||
@@ -0,0 +1,33 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | # We have a conf and classes directory, append to BBPATH | ||
24 | BBPATH .= ":${LAYERDIR}" | ||
25 | |||
26 | # We have a recipes directory, add to BBFILES | ||
27 | BBFILES += "${LAYERDIR}/recipes*/*/*.bb \ | ||
28 | ${LAYERDIR}/recipes*/*/*.bbappend \ | ||
29 | " | ||
30 | |||
31 | BBFILE_COLLECTIONS += "b2qt_architech" | ||
32 | BBFILE_PATTERN_b2qt_architech := "^${LAYERDIR}/" | ||
33 | BBFILE_PRIORITY_b2qt_architech = "20" | ||
diff --git a/meta-architech-extras/recipes/bootscript/tibidabo-bootscript-sd/0001-Updated-kernel-arguments-for-tibidabo.patch b/meta-architech-extras/recipes/bootscript/tibidabo-bootscript-sd/0001-Updated-kernel-arguments-for-tibidabo.patch new file mode 100644 index 0000000..6df6cd6 --- /dev/null +++ b/meta-architech-extras/recipes/bootscript/tibidabo-bootscript-sd/0001-Updated-kernel-arguments-for-tibidabo.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | From 020c8ffc859d03b26ae50d0b4cf008ec655e26a0 Mon Sep 17 00:00:00 2001 | ||
2 | From: aavit <eirik.aavitsland@theqtcompany.com> | ||
3 | Date: Mon, 27 Oct 2014 12:41:32 +0100 | ||
4 | Subject: [PATCH] Updated kernel arguments for tibidabo | ||
5 | |||
6 | |||
7 | diff --git a/recipes-bsp/bootscript/tibidabo-bootscript-sd-1.0/bootscript.source b/recipes-bsp/bootscript/tibidabo-bootscript-sd-1.0/bootscript.source | ||
8 | index 1902d81..4247a08 100644 | ||
9 | --- a/bootscript.source | ||
10 | +++ b/bootscript.source | ||
11 | @@ -1,5 +1,6 @@ | ||
12 | setenv bootargs ${bootargs} vmalloc=400M root=/dev/mmcblk0p2 rw,rootwait consoleblank=0 video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24 video=mxcfb1:dev=lcd,CLAA-WVGA,if=RGB666 fbmem=28M,10M | ||
13 | mmc dev 0 | ||
14 | +setenv bootargs ${bootargs} vt.global_cursor_default=0 | ||
15 | for file_system in fat ext2; do | ||
16 | ${file_system}load mmc 0:1 ${loadaddr} /uImage && bootm ${loadaddr} | ||
17 | done | ||
diff --git a/recipes/mesa/mesa_9.2.5.bbappend b/meta-architech-extras/recipes/bootscript/tibidabo-bootscript-sd_1.0.bbappend index 21e9905..f00eddb 100644 --- a/recipes/mesa/mesa_9.2.5.bbappend +++ b/meta-architech-extras/recipes/bootscript/tibidabo-bootscript-sd_1.0.bbappend | |||
@@ -20,7 +20,7 @@ | |||
20 | ## | 20 | ## |
21 | ############################################################################# | 21 | ############################################################################# |
22 | 22 | ||
23 | EGL_PLATFORMS = "fbdev" | 23 | FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" |
24 | DRIDRIVERS_remove = "swrast,radeon,r200,nouveau,i965,i915" | 24 | SRC_URI += " \ |
25 | DRIDRIVERS_append += "swrast" | 25 | file://0001-Updated-kernel-arguments-for-tibidabo.patch \ |
26 | EXTRA_OECONF += "--with-dri-drivers=""" | 26 | " |
diff --git a/meta-beagleboard-extras/conf/layer.conf b/meta-beagleboard-extras/conf/layer.conf new file mode 100644 index 0000000..3394604 --- /dev/null +++ b/meta-beagleboard-extras/conf/layer.conf | |||
@@ -0,0 +1,33 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | # We have a conf and classes directory, append to BBPATH | ||
24 | BBPATH .= ":${LAYERDIR}" | ||
25 | |||
26 | # We have a recipes directory, add to BBFILES | ||
27 | BBFILES += "${LAYERDIR}/recipes*/*/*.bb \ | ||
28 | ${LAYERDIR}/recipes*/*/*.bbappend \ | ||
29 | " | ||
30 | |||
31 | BBFILE_COLLECTIONS += "b2qt_bb" | ||
32 | BBFILE_PATTERN_b2qt_bb := "^${LAYERDIR}/" | ||
33 | BBFILE_PRIORITY_b2qt_bb = "20" | ||
diff --git a/meta-beagleboard-extras/recipes/linux/linux-mainline/0001-AM335x-Adding-SGX-DT-node.patch b/meta-beagleboard-extras/recipes/linux/linux-mainline/0001-AM335x-Adding-SGX-DT-node.patch new file mode 100755 index 0000000..97ce000 --- /dev/null +++ b/meta-beagleboard-extras/recipes/linux/linux-mainline/0001-AM335x-Adding-SGX-DT-node.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From 1400fbf3e8e02eb1efd210a892a0d602061c7ca8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Prathap M S <msprathap@ti.com> | ||
3 | Date: Mon, 2 Sep 2013 11:42:13 +0530 | ||
4 | Subject: [PATCH 1/3] AM335x : Adding SGX DT node | ||
5 | |||
6 | This adds the SGX DT node for AM335x. | ||
7 | |||
8 | Signed-off-by: Prathap M S <msprathap@ti.com> | ||
9 | --- | ||
10 | arch/arm/boot/dts/am33xx.dtsi | 8 ++++++++ | ||
11 | 1 files changed, 8 insertions(+), 0 deletions(-) | ||
12 | |||
13 | diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi | ||
14 | index 17e0da8..74c6e41 100644 | ||
15 | --- a/arch/arm/boot/dts/am33xx.dtsi | ||
16 | +++ b/arch/arm/boot/dts/am33xx.dtsi | ||
17 | @@ -96,6 +96,14 @@ | ||
18 | reg = <0x48200000 0x1000>; | ||
19 | }; | ||
20 | |||
21 | + sgx@0x56000000 { | ||
22 | + compatible = "ti,sgx"; | ||
23 | + ti,hwmods = "gfx"; | ||
24 | + clock-frequency = <200000000>; | ||
25 | + reg = <0x56000000 0x1000000>; | ||
26 | + interrupts = <37>; | ||
27 | + }; | ||
28 | + | ||
29 | edma: edma@49000000 { | ||
30 | compatible = "ti,edma3"; | ||
31 | ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2"; | ||
32 | -- | ||
33 | 1.7.1 | ||
34 | |||
diff --git a/meta-beagleboard-extras/recipes/linux/linux-mainline/0002-AM33XX-Invoke-hwmod-deassert-for-SGX-graphics-device.patch b/meta-beagleboard-extras/recipes/linux/linux-mainline/0002-AM33XX-Invoke-hwmod-deassert-for-SGX-graphics-device.patch new file mode 100755 index 0000000..05672d3 --- /dev/null +++ b/meta-beagleboard-extras/recipes/linux/linux-mainline/0002-AM33XX-Invoke-hwmod-deassert-for-SGX-graphics-device.patch | |||
@@ -0,0 +1,121 @@ | |||
1 | From 4179cd27a2caa23688646e043e2872e89c9a7bc7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Prathap M S <msprathap@ti.com> | ||
3 | Date: Mon, 2 Sep 2013 11:52:03 +0530 | ||
4 | Subject: [PATCH 2/3] AM33XX : Invoke hwmod deassert for SGX(graphics device) | ||
5 | |||
6 | By default reset is asserted for SGX. | ||
7 | Adding gpu.c file introducing omap_sgx_init_of() for deasserting SGX reset. | ||
8 | This calls omap_device_deassert_hardreset() for deasserting the reset for SGX. | ||
9 | |||
10 | Signed-off-by: Prathap M S <msprathap@ti.com> | ||
11 | --- | ||
12 | arch/arm/mach-omap2/Makefile | 2 +- | ||
13 | arch/arm/mach-omap2/board-generic.c | 4 +++ | ||
14 | arch/arm/mach-omap2/common.h | 1 + | ||
15 | arch/arm/mach-omap2/gpu.c | 48 +++++++++++++++++++++++++++++++++++ | ||
16 | 4 files changed, 54 insertions(+), 1 deletions(-) | ||
17 | create mode 100644 arch/arm/mach-omap2/gpu.c | ||
18 | |||
19 | diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile | ||
20 | index d4f6715..b65cc56 100644 | ||
21 | --- a/arch/arm/mach-omap2/Makefile | ||
22 | +++ b/arch/arm/mach-omap2/Makefile | ||
23 | @@ -8,7 +8,7 @@ ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \ | ||
24 | # Common support | ||
25 | obj-y := id.o io.o control.o mux.o devices.o fb.o serial.o gpmc.o timer.o pm.o \ | ||
26 | common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o \ | ||
27 | - omap_device.o sram.o | ||
28 | + omap_device.o sram.o gpu.o | ||
29 | |||
30 | omap-2-3-common = irq.o | ||
31 | hwmod-common = omap_hwmod.o omap_hwmod_reset.o \ | ||
32 | diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c | ||
33 | index be5d005..e2b3981 100644 | ||
34 | --- a/arch/arm/mach-omap2/board-generic.c | ||
35 | +++ b/arch/arm/mach-omap2/board-generic.c | ||
36 | @@ -22,6 +22,7 @@ | ||
37 | #include "common.h" | ||
38 | #include "common-board-devices.h" | ||
39 | #include "dss-common.h" | ||
40 | +#include "soc.h" | ||
41 | |||
42 | #if !(defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3)) | ||
43 | #define intc_of_init NULL | ||
44 | @@ -50,6 +50,8 @@ static void __init omap_generic_init(void) | ||
45 | omap4_panda_display_init_of(); | ||
46 | else if (of_machine_is_compatible("ti,omap4-sdp")) | ||
47 | omap_4430sdp_display_init_of(); | ||
48 | + if (omap3_has_sgx()) | ||
49 | + omap_sgx_init_of(); | ||
50 | } | ||
51 | |||
52 | #ifdef CONFIG_SOC_OMAP2420 | ||
53 | diff --git a/arch/arm/mach-omap2/common.h b/arch/arm/mach-omap2/common.h | ||
54 | index dfcc182..7d2f04e 100644 | ||
55 | --- a/arch/arm/mach-omap2/common.h | ||
56 | +++ b/arch/arm/mach-omap2/common.h | ||
57 | @@ -296,6 +296,7 @@ extern void omap_reserve(void); | ||
58 | |||
59 | struct omap_hwmod; | ||
60 | extern int omap_dss_reset(struct omap_hwmod *); | ||
61 | +void __init omap_sgx_init_of(void); | ||
62 | |||
63 | /* SoC specific clock initializer */ | ||
64 | extern int (*omap_clk_init)(void); | ||
65 | diff --git a/arch/arm/mach-omap2/gpu.c b/arch/arm/mach-omap2/gpu.c | ||
66 | new file mode 100644 | ||
67 | index 0000000..98a66cf | ||
68 | --- /dev/null | ||
69 | +++ b/arch/arm/mach-omap2/gpu.c | ||
70 | @@ -0,0 +1,48 @@ | ||
71 | +/* | ||
72 | + * Deassert reset for AM33xx graphics device(SGX) hwmod | ||
73 | + * | ||
74 | + * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
75 | + * Prathap MS <msprathap@ti.com> | ||
76 | + * | ||
77 | + * This program is free software; you can redistribute it and/or | ||
78 | + * modify it under the terms of the GNU General Public License as | ||
79 | + * published by the Free Software Foundation version 2. | ||
80 | + * | ||
81 | + * This program is distributed "as is" WITHOUT ANY WARRANTY of any | ||
82 | + * kind, whether express or implied; without even the implied warranty | ||
83 | + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
84 | + * GNU General Public License for more details. | ||
85 | + */ | ||
86 | +#include <linux/of_platform.h> | ||
87 | +#include "omap_device.h" | ||
88 | + | ||
89 | +void __init omap_sgx_init_of(void) | ||
90 | +{ | ||
91 | + struct device_node *node; | ||
92 | + struct platform_device *pdev; | ||
93 | + int ret = 0; | ||
94 | + node = of_find_compatible_node(NULL, NULL, "ti,sgx"); | ||
95 | + if (!node) | ||
96 | + return; | ||
97 | + pdev = of_find_device_by_node(node); | ||
98 | + if (!pdev) { | ||
99 | + pr_warn("of_find_device_by_node() failed for sgx\n"); | ||
100 | + return; | ||
101 | + } | ||
102 | + ret = omap_device_deassert_hardreset(pdev, "gfx"); | ||
103 | + if (ret != 0) | ||
104 | + pr_warn("omap_device_deassert_hardreset() failed for sgx(gfx hwmod)\n"); | ||
105 | + | ||
106 | + node = of_find_compatible_node(NULL, NULL, "ti,am335x-timer"); | ||
107 | + if (!node) | ||
108 | + return; | ||
109 | + pdev = of_find_device_by_node(node); | ||
110 | + if (!pdev) { | ||
111 | + pr_warn("of_find_device_by_node() failed for sgx\n"); | ||
112 | + return; | ||
113 | + } | ||
114 | + ret = omap_device_deassert_hardreset(pdev, "timer7"); | ||
115 | + if (ret != 0) | ||
116 | + pr_warn("omap_device_deassert_hardreset() failed for sgx(gfx hwmod)\n"); | ||
117 | +} | ||
118 | + | ||
119 | -- | ||
120 | 1.7.1 | ||
121 | |||
diff --git a/meta-beagleboard-extras/recipes/linux/linux-mainline/0003-video-da8xx-fb-Add-API-to-register-wait-for-vsync-ca.patch b/meta-beagleboard-extras/recipes/linux/linux-mainline/0003-video-da8xx-fb-Add-API-to-register-wait-for-vsync-ca.patch new file mode 100755 index 0000000..c425982 --- /dev/null +++ b/meta-beagleboard-extras/recipes/linux/linux-mainline/0003-video-da8xx-fb-Add-API-to-register-wait-for-vsync-ca.patch | |||
@@ -0,0 +1,97 @@ | |||
1 | From 0f4e7d4b7d7314b38a9fd3497d7d4e0c36d19bff Mon Sep 17 00:00:00 2001 | ||
2 | From: Prathap M S <msprathap@ti.com> | ||
3 | Date: Mon, 2 Sep 2013 12:05:23 +0530 | ||
4 | Subject: [PATCH 3/3] video: da8xx-fb: Add API to register wait for vsync callback | ||
5 | |||
6 | This patch adds APIs to register and unregister wait for vsync callback. | ||
7 | This is derived from commit id 2d44302545da24fd22912d964102bc31a7489e97 | ||
8 | This commit id was part of 3.2 kernel sources. | ||
9 | |||
10 | Signed-off-by: Prathap M S <msprathap@ti.com> | ||
11 | --- | ||
12 | drivers/video/da8xx-fb.c | 33 +++++++++++++++++++++++++++++++++ | ||
13 | include/video/da8xx-fb.h | 4 ++++ | ||
14 | 2 files changed, 37 insertions(+), 0 deletions(-) | ||
15 | |||
16 | diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c | ||
17 | index 131cf4c..ef06b85 100644 | ||
18 | --- a/drivers/video/da8xx-fb.c | ||
19 | +++ b/drivers/video/da8xx-fb.c | ||
20 | @@ -199,6 +199,9 @@ static struct fb_fix_screeninfo da8xx_fb_fix = { | ||
21 | .accel = FB_ACCEL_NONE | ||
22 | }; | ||
23 | |||
24 | +static vsync_callback_t vsync_cb_handler; | ||
25 | +static void *vsync_cb_arg; | ||
26 | + | ||
27 | static struct fb_videomode known_lcd_panels[] = { | ||
28 | /* Sharp LCD035Q3DG01 */ | ||
29 | [0] = { | ||
30 | @@ -806,6 +809,32 @@ static int lcd_init(struct da8xx_fb_par *par, const struct lcd_ctrl_config *cfg, | ||
31 | return 0; | ||
32 | } | ||
33 | |||
34 | +int register_vsync_cb(vsync_callback_t handler, void *arg, int idx) | ||
35 | +{ | ||
36 | + if ((vsync_cb_handler == NULL) && (vsync_cb_arg == NULL)) { | ||
37 | + vsync_cb_arg = arg; | ||
38 | + vsync_cb_handler = handler; | ||
39 | + } else { | ||
40 | + return -EEXIST; | ||
41 | + } | ||
42 | + | ||
43 | + return 0; | ||
44 | +} | ||
45 | +EXPORT_SYMBOL(register_vsync_cb); | ||
46 | + | ||
47 | +int unregister_vsync_cb(vsync_callback_t handler, void *arg, int idx) | ||
48 | +{ | ||
49 | + if ((vsync_cb_handler == handler) && (vsync_cb_arg == arg)) { | ||
50 | + vsync_cb_handler = NULL; | ||
51 | + vsync_cb_arg = NULL; | ||
52 | + } else { | ||
53 | + return -ENXIO; | ||
54 | + } | ||
55 | + | ||
56 | + return 0; | ||
57 | +} | ||
58 | +EXPORT_SYMBOL(unregister_vsync_cb); | ||
59 | + | ||
60 | /* IRQ handler for version 2 of LCDC */ | ||
61 | static irqreturn_t lcdc_irq_handler_rev02(int irq, void *arg) | ||
62 | { | ||
63 | @@ -843,6 +872,8 @@ static irqreturn_t lcdc_irq_handler_rev02(int irq, void *arg) | ||
64 | LCD_DMA_FRM_BUF_CEILING_ADDR_0_REG); | ||
65 | par->vsync_flag = 1; | ||
66 | wake_up_interruptible(&par->vsync_wait); | ||
67 | + if (vsync_cb_handler) | ||
68 | + vsync_cb_handler(vsync_cb_arg); | ||
69 | } | ||
70 | |||
71 | if (stat & LCD_END_OF_FRAME1) { | ||
72 | @@ -918,6 +949,8 @@ static irqreturn_t lcdc_irq_handler_rev01(int irq, void *arg) | ||
73 | LCD_DMA_FRM_BUF_CEILING_ADDR_1_REG); | ||
74 | par->vsync_flag = 1; | ||
75 | wake_up_interruptible(&par->vsync_wait); | ||
76 | + if (vsync_cb_handler) | ||
77 | + vsync_cb_handler(vsync_cb_arg); | ||
78 | } | ||
79 | } | ||
80 | |||
81 | diff --git a/include/video/da8xx-fb.h b/include/video/da8xx-fb.h | ||
82 | index efed3c3..a6cc484 100644 | ||
83 | --- a/include/video/da8xx-fb.h | ||
84 | +++ b/include/video/da8xx-fb.h | ||
85 | @@ -91,5 +91,9 @@ struct lcd_sync_arg { | ||
86 | /* Proprietary FB_SYNC_ flags */ | ||
87 | #define FB_SYNC_CLK_INVERT 0x40000000 | ||
88 | |||
89 | +typedef void (*vsync_callback_t)(void *arg); | ||
90 | +int register_vsync_cb(vsync_callback_t handler, void *arg, int idx); | ||
91 | +int unregister_vsync_cb(vsync_callback_t handler, void *arg, int idx); | ||
92 | + | ||
93 | #endif /* ifndef DA8XX_FB_H */ | ||
94 | |||
95 | -- | ||
96 | 1.7.1 | ||
97 | |||
diff --git a/meta-beagleboard-extras/recipes/linux/linux-mainline_3.8.bbappend b/meta-beagleboard-extras/recipes/linux/linux-mainline_3.8.bbappend new file mode 100644 index 0000000..f91ea8e --- /dev/null +++ b/meta-beagleboard-extras/recipes/linux/linux-mainline_3.8.bbappend | |||
@@ -0,0 +1,9 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | SRC_URI += "\ | ||
3 | file://0001-AM335x-Adding-SGX-DT-node.patch \ | ||
4 | file://0002-AM33XX-Invoke-hwmod-deassert-for-SGX-graphics-device.patch \ | ||
5 | file://0003-video-da8xx-fb-Add-API-to-register-wait-for-vsync-ca.patch \ | ||
6 | " | ||
7 | |||
8 | INSANE_SKIP_${PN} = "installed-vs-shipped" | ||
9 | KERNEL_IMAGETYPE = "zImage" | ||
diff --git a/recipes/u-boot/u-boot-uenv-script.bb b/meta-beagleboard-extras/recipes/u-boot/u-boot-uenv-script.bb index d970045..d970045 100644 --- a/recipes/u-boot/u-boot-uenv-script.bb +++ b/meta-beagleboard-extras/recipes/u-boot/u-boot-uenv-script.bb | |||
diff --git a/meta-beagleboard-extras/recipes/u-boot/u-boot-uenv-script/uEnv.txt b/meta-beagleboard-extras/recipes/u-boot/u-boot-uenv-script/uEnv.txt new file mode 100644 index 0000000..d41ef60 --- /dev/null +++ b/meta-beagleboard-extras/recipes/u-boot/u-boot-uenv-script/uEnv.txt | |||
@@ -0,0 +1,6 @@ | |||
1 | optargs=consoleblank=0 vt.global_cursor_default=0 quiet | ||
2 | # extra options to support older u-boot (2013) | ||
3 | bootfile=zImage | ||
4 | loadaddr=0x80200000 | ||
5 | loaduimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile} | ||
6 | mmcboot=echo Booting from mmc ...; run mmcargs; bootz ${loadaddr} - ${fdtaddr} | ||
diff --git a/meta-fsl-extras/conf/layer.conf b/meta-fsl-extras/conf/layer.conf new file mode 100644 index 0000000..b00b76e --- /dev/null +++ b/meta-fsl-extras/conf/layer.conf | |||
@@ -0,0 +1,33 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | # We have a conf and classes directory, append to BBPATH | ||
24 | BBPATH .= ":${LAYERDIR}" | ||
25 | |||
26 | # We have a recipes directory, add to BBFILES | ||
27 | BBFILES += "${LAYERDIR}/recipes*/*/*.bb \ | ||
28 | ${LAYERDIR}/recipes*/*/*.bbappend \ | ||
29 | " | ||
30 | |||
31 | BBFILE_COLLECTIONS += "b2qt_fsl" | ||
32 | BBFILE_PATTERN_b2qt_fsl := "^${LAYERDIR}/" | ||
33 | BBFILE_PRIORITY_b2qt_fsl = "20" | ||
diff --git a/meta-fsl-extras/recipes/amd-gpu-bin-mx51/amd-gpu-bin-mx51/0001-fix-glTexImage2D-API.patch b/meta-fsl-extras/recipes/amd-gpu-bin-mx51/amd-gpu-bin-mx51/0001-fix-glTexImage2D-API.patch new file mode 100644 index 0000000..0a3cd76 --- /dev/null +++ b/meta-fsl-extras/recipes/amd-gpu-bin-mx51/amd-gpu-bin-mx51/0001-fix-glTexImage2D-API.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From ec1c2b5f637145e2a473820401ab96ecf0f16def Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@digia.com> | ||
3 | Date: Mon, 8 Sep 2014 10:23:46 +0300 | ||
4 | Subject: [PATCH] fix glTexImage2D API | ||
5 | |||
6 | internalformat should be GLint and not GLenum. | ||
7 | --- | ||
8 | usr/include/GLES2/gl2.h | 2 +- | ||
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
10 | |||
11 | diff --git a/usr/include/GLES2/gl2.h b/usr/include/GLES2/gl2.h | ||
12 | index c0e3a44..5aa6c26 100755 | ||
13 | --- a/usr/include/GLES2/gl2.h | ||
14 | +++ b/usr/include/GLES2/gl2.h | ||
15 | @@ -579,7 +579,7 @@ GL_APICALL void GL_APIENTRY glStencilMask (GLuint mask); | ||
16 | GL_APICALL void GL_APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask); | ||
17 | GL_APICALL void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); | ||
18 | GL_APICALL void GL_APIENTRY glStencilOpSeparate (GLenum face, GLenum fail, GLenum zfail, GLenum zpass); | ||
19 | -GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void* pixels); | ||
20 | +GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels); | ||
21 | GL_APICALL void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); | ||
22 | GL_APICALL void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat* params); | ||
23 | GL_APICALL void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); | ||
24 | -- | ||
25 | 1.8.3.2 | ||
26 | |||
diff --git a/meta-fsl-extras/recipes/amd-gpu-bin-mx51/amd-gpu-bin-mx51_11.09.01.bbappend b/meta-fsl-extras/recipes/amd-gpu-bin-mx51/amd-gpu-bin-mx51_11.09.01.bbappend new file mode 100644 index 0000000..2635710 --- /dev/null +++ b/meta-fsl-extras/recipes/amd-gpu-bin-mx51/amd-gpu-bin-mx51_11.09.01.bbappend | |||
@@ -0,0 +1,26 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" | ||
24 | SRC_URI += " \ | ||
25 | file://0001-fix-glTexImage2D-API.patch \ | ||
26 | " | ||
diff --git a/meta-fsl-extras/recipes/broadcom-nvram-config/bcm4330-nvram-config.bbappend b/meta-fsl-extras/recipes/broadcom-nvram-config/bcm4330-nvram-config.bbappend new file mode 100644 index 0000000..e7331d5 --- /dev/null +++ b/meta-fsl-extras/recipes/broadcom-nvram-config/bcm4330-nvram-config.bbappend | |||
@@ -0,0 +1,3 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${MACHINE}:" | ||
2 | |||
3 | COMPATIBLE_MACHINE = "(nitrogen6x|nitrogen6x-lite|wandboard-dual|wandboard-quad)" | ||
diff --git a/meta-fsl-extras/recipes/broadcom-nvram-config/nitrogen6x/brcmfmac4330-sdio.txt b/meta-fsl-extras/recipes/broadcom-nvram-config/nitrogen6x/brcmfmac4330-sdio.txt new file mode 100644 index 0000000..6183cca --- /dev/null +++ b/meta-fsl-extras/recipes/broadcom-nvram-config/nitrogen6x/brcmfmac4330-sdio.txt | |||
@@ -0,0 +1,80 @@ | |||
1 | # | ||
2 | # Board configuration for Boundary Devices Nitrogen6-Lite | ||
3 | # | ||
4 | manfid=0x2d0 | ||
5 | prodid=0x0547 | ||
6 | vendid=0x14e4 | ||
7 | devid=0x4360 | ||
8 | boardtype=0x05e1 | ||
9 | boardrev=0x1202 | ||
10 | boardflags=0x0080200 | ||
11 | nocrc=1 | ||
12 | xtalfreq=37400 | ||
13 | boardnum=22 | ||
14 | ag0=254 | ||
15 | aa2g=1 | ||
16 | ccode=ALL | ||
17 | pa0itssit=0x20 | ||
18 | pa0b0=5367 | ||
19 | pa0b1=-633 | ||
20 | pa0b2=-158 | ||
21 | rssismf2g=0xa | ||
22 | rssismc2g=0x3 | ||
23 | rssisav2g=0x7 | ||
24 | #rssi params for 5GHz | ||
25 | rssismf5g=0x4 | ||
26 | rssismc5g=0x3 | ||
27 | rssisav5g=0x7 | ||
28 | #PA parameters for lower a-band | ||
29 | pa1lob0=4378 | ||
30 | pa1lob1=-596 | ||
31 | pa1lob2=-180 | ||
32 | #PA parameters for midband | ||
33 | pa1b0=4672 | ||
34 | pa1b1=-603 | ||
35 | pa1b2=-172 | ||
36 | #PA parameters for high band | ||
37 | pa1hib0=4752 | ||
38 | pa1hib1=-609 | ||
39 | pa1hib2=-173 | ||
40 | rxpo5g=0 | ||
41 | maxp2ga0=76 | ||
42 | maxp5ga0=0x42 | ||
43 | maxp5gla0=0x42 | ||
44 | maxp5gha0=0x42 | ||
45 | # 2.4G Tx Power offsets | ||
46 | cck2gpo=0x4444 | ||
47 | ofdm2gpo=0x66666666 | ||
48 | mcs2gpo0=0x8888 | ||
49 | mcs2gpo1=0x8888 | ||
50 | # 5G Tx Power offsets | ||
51 | ofdm5gpo=0x44444444 | ||
52 | ofdm5glpo=0x44444444 | ||
53 | ofdm5ghpo=0x44444444 | ||
54 | mcs5gpo0=0x6666 | ||
55 | mcs5gpo1=0x6666 | ||
56 | mcs5glpo0=0x6666 | ||
57 | mcs5glpo1=0x6666 | ||
58 | mcs5ghpo0=0x6666 | ||
59 | mcs5ghpo1=0x46666 | ||
60 | sromrev=3 | ||
61 | # il0macaddr=00:90:4c:c5:12:38 | ||
62 | wl0id=0x431b | ||
63 | cckPwrOffset=4 | ||
64 | swctrlmap_2g=0x44844484,0x42824282,0x40804484,0x18282,0x1ff | ||
65 | triso5g=0 | ||
66 | swctrlmap_5g=0x00100010,0x20202020,0x20202020,0x14202,0x0f0 | ||
67 | rfreg033=0x19 | ||
68 | rfreg033_cck=0x1f | ||
69 | dacrate2g=160 | ||
70 | dacrate5g=160 | ||
71 | txalpfbyp2g=1 | ||
72 | bphyscale=17 | ||
73 | cckPwrIdxCorr=-15 | ||
74 | pacalidx2g=50 | ||
75 | #pacalidx5g=20 | ||
76 | noise_cal_ref_2g=53 | ||
77 | noise_cal_po_2g=0 | ||
78 | noise_cal_ref_5g=52 | ||
79 | noise_cal_po_5g=5,0,0 | ||
80 | |||
diff --git a/meta-fsl-extras/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.%-hfp.bbappend b/meta-fsl-extras/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.%-hfp.bbappend new file mode 100644 index 0000000..428e942 --- /dev/null +++ b/meta-fsl-extras/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.%-hfp.bbappend | |||
@@ -0,0 +1,2 @@ | |||
1 | RDEPENDS_libgl-mx6-dev = "" | ||
2 | FILES_libgal-mx6-dev = "${libdir}/libGAL${SOLIBSDEV} ${includedir}/HAL" | ||
diff --git a/recipes/linux/linux-boundary_3.10.17.bbappend b/meta-fsl-extras/recipes/linux/linux-boundary_3.10.17.bbappend index a1e3ec7..19c2c13 100644 --- a/recipes/linux/linux-boundary_3.10.17.bbappend +++ b/meta-fsl-extras/recipes/linux/linux-boundary_3.10.17.bbappend | |||
@@ -20,21 +20,19 @@ | |||
20 | ## | 20 | ## |
21 | ############################################################################# | 21 | ############################################################################# |
22 | 22 | ||
23 | # kernel image files are not needed in the image | ||
24 | RDEPENDS_kernel-base = "" | ||
23 | 25 | ||
24 | do_configure_prepend() { | 26 | do_configure_prepend() { |
25 | # Use multitouch protocol for touchscreen that support it | 27 | # fix imx-vpu break on video decoding |
26 | echo "CONFIG_TOUCHSCREEN_EGALAX_SINGLE_TOUCH=n" >> ${WORKDIR}/defconfig | 28 | echo "CONFIG_VMSPLIT_2G=y" >> ${WORKDIR}/defconfig |
27 | echo "CONFIG_TOUCHSCREEN_FT5X06_SINGLE_TOUCH=n" >> ${WORKDIR}/defconfig | ||
28 | 29 | ||
29 | # FunctionFS for adb | 30 | # include H4 UART for Broadcom BT on Nitrogen6_Lite |
30 | echo "CONFIG_USB_FUNCTIONFS=m" >> ${WORKDIR}/defconfig | 31 | echo "CONFIG_BT_HCIUART_H4=y" >> ${WORKDIR}/defconfig |
31 | 32 | ||
32 | # Enable USB serial support | 33 | # include Broadcom WiFi for Nitrogen6_Lite |
33 | echo "CONFIG_USB_SERIAL=m" >> ${WORKDIR}/defconfig | 34 | echo "CONFIG_BRCMFMAC=m" >> ${WORKDIR}/defconfig |
34 | echo "CONFIG_USB_SERIAL_GENERIC=y" >> ${WORKDIR}/defconfig | ||
35 | echo "CONFIG_USB_SERIAL_FTDI_SIO=m" >> ${WORKDIR}/defconfig | ||
36 | echo "CONFIG_USB_SERIAL_PL2303=m" >> ${WORKDIR}/defconfig | ||
37 | 35 | ||
38 | # fix imx-vpu break on video decoding | 36 | # include LEDS_GPIO for Nitrogen6_Lite |
39 | echo "CONFIG_VMSPLIT_2G=y" >> ${WORKDIR}/defconfig | 37 | echo "CONFIG_LEDS_GPIO=y" >> ${WORKDIR}/defconfig |
40 | } | 38 | } |
diff --git a/recipes/linux/linux-imx_3.10.17.bbappend b/meta-fsl-extras/recipes/linux/linux-imx_3.%.bbappend index f281acc..d01efb2 100644 --- a/recipes/linux/linux-imx_3.10.17.bbappend +++ b/meta-fsl-extras/recipes/linux/linux-imx_3.%.bbappend | |||
@@ -20,6 +20,9 @@ | |||
20 | ## | 20 | ## |
21 | ############################################################################# | 21 | ############################################################################# |
22 | 22 | ||
23 | # kernel image files are not needed in the image | ||
24 | RDEPENDS_kernel-base = "" | ||
25 | |||
23 | do_configure_prepend() { | 26 | do_configure_prepend() { |
24 | # FunctionFS for adb | 27 | # FunctionFS for adb |
25 | echo "CONFIG_USB_FUNCTIONFS=m" >> ${WORKDIR}/defconfig | 28 | echo "CONFIG_USB_FUNCTIONFS=m" >> ${WORKDIR}/defconfig |
diff --git a/recipes/u-boot/u-boot-fslc/0001-Updated-kernel-arguments-for-sabre-sd.patch b/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Updated-kernel-arguments-for-sabre-sd.patch index 59a4505..59a4505 100644 --- a/recipes/u-boot/u-boot-fslc/0001-Updated-kernel-arguments-for-sabre-sd.patch +++ b/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Updated-kernel-arguments-for-sabre-sd.patch | |||
diff --git a/recipes/u-boot/u-boot-fslc_2014.01.bbappend b/meta-fsl-extras/recipes/u-boot/u-boot-fslc_2014.%.bbappend index a1a3b27..a1a3b27 100644 --- a/recipes/u-boot/u-boot-fslc_2014.01.bbappend +++ b/meta-fsl-extras/recipes/u-boot/u-boot-fslc_2014.%.bbappend | |||
diff --git a/recipes/u-boot/u-boot-script-boundary/0001-nitrogen6x-disable-console-cursor-blinking.patch b/meta-fsl-extras/recipes/u-boot/u-boot-script-boundary/0001-nitrogen6x-disable-console-cursor-blinking.patch index d97921c..d97921c 100644 --- a/recipes/u-boot/u-boot-script-boundary/0001-nitrogen6x-disable-console-cursor-blinking.patch +++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-boundary/0001-nitrogen6x-disable-console-cursor-blinking.patch | |||
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-script-boundary/0002-nitrogen6x-update.patch b/meta-fsl-extras/recipes/u-boot/u-boot-script-boundary/0002-nitrogen6x-update.patch new file mode 100644 index 0000000..dd699d8 --- /dev/null +++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-boundary/0002-nitrogen6x-update.patch | |||
@@ -0,0 +1,84 @@ | |||
1 | From 3d7276b2b27317c5067d2095ea5c3952d11f4390 Mon Sep 17 00:00:00 2001 | ||
2 | From: Rainer Keller <rainer.keller@digia.com> | ||
3 | Date: Fri, 5 Sep 2014 14:39:50 +0200 | ||
4 | Subject: [PATCH] Add support for update recovery linux | ||
5 | |||
6 | --- | ||
7 | board/boundary/nitrogen6x/6x_bootscript-yocto.txt | 61 +++++++++++++++++++++++ | ||
8 | 1 file changed, 61 insertions(+) | ||
9 | |||
10 | diff --git a/board/boundary/nitrogen6x/6x_bootscript-yocto.txt b/board/boundary/nitrogen6x/6x_bootscript-yocto.txt | ||
11 | index 5bc6170..4116ed4 100644 | ||
12 | --- a/board/boundary/nitrogen6x/6x_bootscript-yocto.txt | ||
13 | +++ b/board/boundary/nitrogen6x/6x_bootscript-yocto.txt | ||
14 | @@ -1,3 +1,67 @@ | ||
15 | +# Boot2Qt update part begin | ||
16 | +echo "Boot to Qt" | ||
17 | +mw.b 0x13000000 0x76 1 # v | ||
18 | +mw.b 0x13000001 0x75 1 # u | ||
19 | +mw.b 0x13000002 0x74 1 # t | ||
20 | +mw.b 0x13000003 0x69 1 # i | ||
21 | + | ||
22 | +fdtaddr=0x12000000 | ||
23 | + | ||
24 | +if test "x$boot2qt_update_state" = "x" ; then | ||
25 | + setenv boot2qt_update_state valid | ||
26 | + saveenv | ||
27 | +fi | ||
28 | + | ||
29 | +# This is a workaround because environment partition is read-only. | ||
30 | +if fatload mmc 1:1 0x12000000 update/state ; then | ||
31 | + if cmp.b 0x12000000 0x13000000 1 ; then | ||
32 | + echo "State: Valid" | ||
33 | + setenv boot2qt_fat_state valid | ||
34 | + setenv boot2qt_update_state valid | ||
35 | + saveenv | ||
36 | + fi | ||
37 | + if cmp.b 0x12000000 0x13000001 1 ; then | ||
38 | + echo "State: Update" | ||
39 | + setenv boot2qt_fat_state update | ||
40 | + fi | ||
41 | + if cmp.b 0x12000000 0x13000002 1 ; then | ||
42 | + echo "State: Testing" | ||
43 | + setenv boot2qt_fat_state testing | ||
44 | + fi | ||
45 | +fi | ||
46 | + | ||
47 | +if test "x$boot2qt_fat_state" = "xupdate" || test "x$boot2qt_update_state" = "xinvalid" ; then | ||
48 | + setenv boot2qt_update_state testing | ||
49 | + saveenv | ||
50 | + echo "Recovery linux starting..." | ||
51 | + setenv bootargs "console=ttymxc1,115200 vmalloc=400M consoleblank=0 vt.global_cursor_default=0 root=/dev/ram0" | ||
52 | + | ||
53 | + # Guess dtb name | ||
54 | + dtbname="imx6"; | ||
55 | + if itest.s x6S != "x$cpu" ; then | ||
56 | + dtbname=${dtbname}q-; | ||
57 | + else | ||
58 | + dtbname=${dtbname}s-; | ||
59 | + fi | ||
60 | + | ||
61 | + if itest.s x == "x$board" ; then | ||
62 | + board=sabrelite | ||
63 | + fi | ||
64 | + dtbname=${dtbname}${board}.dtb; | ||
65 | + | ||
66 | + fatload mmc 1:1 ${loadaddr} update/uImage | ||
67 | + fatload mmc 1:1 ${fdtaddr} update/${dtbname} | ||
68 | + fatload mmc 1:1 0x13000000 update/uRamdisk | ||
69 | + bootm ${loadaddr} 0x13000000 ${fdtaddr} | ||
70 | +fi | ||
71 | + | ||
72 | +if test "x$boot2qt_fat_state" = "xtesting" || test "x$boot2qt_update_state" = "xtesting"; then | ||
73 | + setenv boot2qt_update_state invalid | ||
74 | + saveenv | ||
75 | +fi | ||
76 | + | ||
77 | +# Boot2Qt update part end | ||
78 | + | ||
79 | # Yocto-specifics | ||
80 | setenv bootpart 2 | ||
81 | setenv bootdir / | ||
82 | -- | ||
83 | 1.8.5.5 | ||
84 | |||
diff --git a/recipes/u-boot/u-boot-script-boundary_git.bbappend b/meta-fsl-extras/recipes/u-boot/u-boot-script-boundary_git.bbappend index bd33267..1a0fe52 100644 --- a/recipes/u-boot/u-boot-script-boundary_git.bbappend +++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-boundary_git.bbappend | |||
@@ -23,4 +23,5 @@ | |||
23 | FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" | 23 | FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" |
24 | SRC_URI += " \ | 24 | SRC_URI += " \ |
25 | file://0001-nitrogen6x-disable-console-cursor-blinking.patch \ | 25 | file://0001-nitrogen6x-disable-console-cursor-blinking.patch \ |
26 | file://0002-nitrogen6x-update.patch \ | ||
26 | " | 27 | " |
diff --git a/meta-ti-extras/conf/layer.conf b/meta-ti-extras/conf/layer.conf new file mode 100644 index 0000000..75d9174 --- /dev/null +++ b/meta-ti-extras/conf/layer.conf | |||
@@ -0,0 +1,33 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | # We have a conf and classes directory, append to BBPATH | ||
24 | BBPATH .= ":${LAYERDIR}" | ||
25 | |||
26 | # We have a recipes directory, add to BBFILES | ||
27 | BBFILES += "${LAYERDIR}/recipes*/*/*.bb \ | ||
28 | ${LAYERDIR}/recipes*/*/*.bbappend \ | ||
29 | " | ||
30 | |||
31 | BBFILE_COLLECTIONS += "b2qt_ti" | ||
32 | BBFILE_PATTERN_b2qt_ti := "^${LAYERDIR}/" | ||
33 | BBFILE_PRIORITY_b2qt_ti = "20" | ||
diff --git a/meta-ti-extras/recipes/libgles/libgles-omap3/rc.pvr b/meta-ti-extras/recipes/libgles/libgles-omap3/rc.pvr new file mode 100755 index 0000000..d6f6c82 --- /dev/null +++ b/meta-ti-extras/recipes/libgles/libgles-omap3/rc.pvr | |||
@@ -0,0 +1,117 @@ | |||
1 | #!/bin/sh | ||
2 | PATH=$PATH:/usr/sbin | ||
3 | |||
4 | # Check if an fb device is available. If not then just go ahead and | ||
5 | # exit because we have no display. | ||
6 | fbset > /dev/null 2>&1 | ||
7 | if [ "$?" == "1" ] | ||
8 | then | ||
9 | # looks like there is no display, so let's exit | ||
10 | exit 0 | ||
11 | fi | ||
12 | |||
13 | BITSPERPIXEL="$(fbset | grep geom | awk '{print $6}')" | ||
14 | YRES="$(fbset | grep geom | awk '{print $3}')" | ||
15 | |||
16 | CPUTYPE="$(cputype)" | ||
17 | |||
18 | if [ "$1" = "" ]; then | ||
19 | echo PVR-INIT: Please use start, stop, or restart. | ||
20 | exit 1 | ||
21 | fi | ||
22 | |||
23 | if [ "$1" = "stop" -o "$1" = "restart" ]; then | ||
24 | echo Stopping PVR | ||
25 | rmmod bufferclass_ti | ||
26 | rmmod omaplfb 2>/dev/null | ||
27 | rmmod pvrsrvkm 2>/dev/null | ||
28 | fi | ||
29 | |||
30 | if [ "$1" = "stop" ]; then | ||
31 | exit 0 | ||
32 | fi | ||
33 | |||
34 | # Set RGBA ordering to something the drivers like | ||
35 | if [ "$BITSPERPIXEL" = "32" ] ; then | ||
36 | fbset -rgba 8/16,8/8,8/0,8/24 | ||
37 | fi | ||
38 | |||
39 | # Try to enable triple buffering when there's enough VRAM | ||
40 | fbset -vyres $(expr $YRES \* 3) | ||
41 | |||
42 | sgxprepare () { | ||
43 | echo Starting PVR | ||
44 | |||
45 | modprobe omaplfb | ||
46 | modprobe bufferclass_ti | ||
47 | |||
48 | pvr_maj=`grep "pvrsrvkm$" /proc/devices | cut -b1,2,3` | ||
49 | bc_maj=`grep "bc" /proc/devices | cut -b1,2,3` | ||
50 | |||
51 | if [ -e /dev/pvrsrvkm ] ; then | ||
52 | rm -f /dev/pvrsrvkm | ||
53 | fi | ||
54 | |||
55 | mknod /dev/pvrsrvkm c $pvr_maj 0 | ||
56 | chmod 666 /dev/pvrsrvkm | ||
57 | |||
58 | touch /etc/powervr-esrev | ||
59 | |||
60 | SAVED_ESREVISION="$(cat /etc/powervr-esrev)" | ||
61 | } | ||
62 | |||
63 | sgxfinish () { | ||
64 | # Fix up a bug in opkg | ||
65 | if [ $(readlink /usr/lib/libsrv_um.so) != $(readlink /usr/lib/libsrv_um.so.1) ] ; then | ||
66 | cd /usr/lib | ||
67 | ln -sf $(readlink /usr/lib/libsrv_um.so.1) libsrv_um.so | ||
68 | fi | ||
69 | |||
70 | if [ "${ES_REVISION}" != "${SAVED_ESREVISION}" ] ; then | ||
71 | echo -n "Starting SGX fixup for" | ||
72 | echo " ES${ES_REVISION}.x" | ||
73 | cp -a /usr/lib/ES${ES_REVISION}.0/* /usr/lib | ||
74 | cp -a /usr/bin/ES${ES_REVISION}.0/* /usr/bin | ||
75 | echo "${ES_REVISION}" > /etc/powervr-esrev | ||
76 | fi | ||
77 | |||
78 | /usr/bin/pvrsrvctl --start --no-module | ||
79 | } | ||
80 | |||
81 | case $CPUTYPE in | ||
82 | "OMAP3530") | ||
83 | sgxprepare | ||
84 | |||
85 | devmem2 0x48004B48 w 0x2 > /dev/null | ||
86 | devmem2 0x48004B10 w 0x1 > /dev/null | ||
87 | devmem2 0x48004B00 w 0x2 > /dev/null | ||
88 | |||
89 | ES_REVISION="$(devmem2 0x50000014 | sed -e s:0x00010205:5: -e s:0x00010201:3: -e s:0x00010003:2: | tail -n1 | awk -F': ' '{print $2}')" | ||
90 | |||
91 | sgxfinish | ||
92 | ;; | ||
93 | "TI33XX") | ||
94 | sgxprepare | ||
95 | |||
96 | devmem2 0x44e01104 w 0x0 > /dev/null | ||
97 | devmem2 0x44e00904 w 0x2 > /dev/null | ||
98 | |||
99 | ES_REVISION="$(devmem2 0x56000014 | sed -e s:0x00010205:8: | tail -n1 | awk -F': ' '{print $2}')" | ||
100 | |||
101 | sgxfinish | ||
102 | ;; | ||
103 | "TI816x") | ||
104 | sgxprepare | ||
105 | |||
106 | devmem2 0x48180F04 w 0x0 > /dev/null | ||
107 | devmem2 0x48180900 w 0x2 > /dev/null | ||
108 | devmem2 0x48180920 w 0x2 > /dev/null | ||
109 | |||
110 | ES_REVISION="$(devmem2 0x56000014 | sed -e s:0x00010205:6: -e s:0x00010201:3: -e s:0x00010003:2: | tail -n1 | awk -F': ' '{print $2}')" | ||
111 | |||
112 | sgxfinish | ||
113 | ;; | ||
114 | *) | ||
115 | echo No SGX hardware, not starting PVR | ||
116 | ;; | ||
117 | esac | ||
diff --git a/recipes/libgles/libgles-omap3_4.09.00.01.bbappend b/meta-ti-extras/recipes/libgles/libgles-omap3_4.09.00.01.bbappend index 3cad977..3cad977 100644 --- a/recipes/libgles/libgles-omap3_4.09.00.01.bbappend +++ b/meta-ti-extras/recipes/libgles/libgles-omap3_4.09.00.01.bbappend | |||
diff --git a/meta-ti-extras/recipes/libgles/libgles-omap3_4.10.00.01.bb b/meta-ti-extras/recipes/libgles/libgles-omap3_4.10.00.01.bb new file mode 100644 index 0000000..1c9824c --- /dev/null +++ b/meta-ti-extras/recipes/libgles/libgles-omap3_4.10.00.01.bb | |||
@@ -0,0 +1,48 @@ | |||
1 | require recipes-graphics/libgles/libgles-omap3-no-x.inc | ||
2 | |||
3 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:${COREBASE}/../meta-ti/recipes-graphics/libgles/${PN}" | ||
4 | |||
5 | LICENSE = "TI-TSPA" | ||
6 | |||
7 | PR = "${INC_PR}.3" | ||
8 | |||
9 | BINLOCATION_omap3 = "${S}/gfx_rel_es3.x" | ||
10 | BINLOCATION_ti816x = "${S}/gfx_rel_es6.x" | ||
11 | BINLOCATION_ti814x = "${S}/gfx_rel_es6.x" | ||
12 | BINLOCATION_ti33x = "${S}/gfx_rel_es8.x" | ||
13 | |||
14 | PLATFORM = "LinuxARMV7" | ||
15 | PVR_INIT = "pvrsrvctl" | ||
16 | |||
17 | # download required binary distribution from: | ||
18 | # http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html | ||
19 | # see libgles-omap3.inc for detailed installation instructions | ||
20 | |||
21 | SGXPV = "4_10_00_01" | ||
22 | IMGPV = "1.9.2188537" | ||
23 | |||
24 | TI_BIN_UNPK_WDEXT := "/Graphics_SDK_${SGXPV}" | ||
25 | |||
26 | # Select the corresponding hardfp/softfp filename and checksums based on tune flags | ||
27 | BINFILE_SOFTFP = "Graphics_SDK_setuplinux_${SGXPV}_minimal_demos.bin" | ||
28 | MD5SUM_SOFTFP = "bd35e9d8843aff3a2aca9d41e7db1c7d" | ||
29 | SHA256SUM_SOFTFP = "eb37f75ddde4640b09e760fa86e689beb394330ecdf68786188c34f249247647" | ||
30 | |||
31 | BINFILE_HARDFP = "Graphics_SDK_setuplinux_${SGXPV}_hardfp_minimal_demos.bin" | ||
32 | MD5SUM_HARDFP = "15a3ccb66e98580e474fc112565f66b6" | ||
33 | SHA256SUM_HARDFP = "4d94d5a1869b228ce12027783fc5425c92e9b66685c501247889f1f167e66c9d" | ||
34 | |||
35 | BINFILE = "${@base_contains('TUNE_FEATURES', 'callconvention-hard', '${BINFILE_HARDFP}', '${BINFILE_SOFTFP}', d)}" | ||
36 | |||
37 | SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE} \ | ||
38 | file://cputype \ | ||
39 | file://rc.pvr \ | ||
40 | file://99-bufferclass.rules \ | ||
41 | " | ||
42 | |||
43 | SRC_URI[md5sum] := "${@base_contains('TUNE_FEATURES', 'callconvention-hard', '${MD5SUM_HARDFP}', '${MD5SUM_SOFTFP}', d)}" | ||
44 | SRC_URI[sha256sum] := "${@base_contains('TUNE_FEATURES', 'callconvention-hard', '${SHA256SUM_HARDFP}', '${SHA256SUM_SOFTFP}', d)}" | ||
45 | |||
46 | S = "${WORKDIR}/Graphics_SDK_${SGXPV}" | ||
47 | |||
48 | LIBGLESWINDOWSYSTEM = "libpvrPVR2D_FRONTWSEGL.so.1" | ||
diff --git a/recipes/libgles/libgles-omap3_5.01.01.01.bbappend b/meta-ti-extras/recipes/libgles/libgles-omap3_5.01.01.01.bbappend index 9917d00..9917d00 100644 --- a/recipes/libgles/libgles-omap3_5.01.01.01.bbappend +++ b/meta-ti-extras/recipes/libgles/libgles-omap3_5.01.01.01.bbappend | |||
diff --git a/recipes/linux/linux-am335x-psp_3.2.bbappend b/meta-ti-extras/recipes/linux/linux-am335x-psp_3.2.bbappend index 0b4beff..0b4beff 100644 --- a/recipes/linux/linux-am335x-psp_3.2.bbappend +++ b/meta-ti-extras/recipes/linux/linux-am335x-psp_3.2.bbappend | |||
diff --git a/recipes/linux/linux-mainline_3.2.bbappend b/meta-ti-extras/recipes/linux/linux-mainline_3.2.bbappend index 502edf1..502edf1 100644 --- a/recipes/linux/linux-mainline_3.2.bbappend +++ b/meta-ti-extras/recipes/linux/linux-mainline_3.2.bbappend | |||
diff --git a/recipes/linux/linux-ti-staging/usb-serial.cfg b/meta-ti-extras/recipes/linux/linux-ti-staging/usb-serial.cfg index 8f0688e..8f0688e 100644 --- a/recipes/linux/linux-ti-staging/usb-serial.cfg +++ b/meta-ti-extras/recipes/linux/linux-ti-staging/usb-serial.cfg | |||
diff --git a/recipes/linux/linux-ti-staging_3.12.bbappend b/meta-ti-extras/recipes/linux/linux-ti-staging_3.12.bbappend index b6f70cd..b6f70cd 100644 --- a/recipes/linux/linux-ti-staging_3.12.bbappend +++ b/meta-ti-extras/recipes/linux/linux-ti-staging_3.12.bbappend | |||
diff --git a/meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules/0001-Graphics-SDK-04.10.00.01-AM335x-sgx-irq-change.patch b/meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules/0001-Graphics-SDK-04.10.00.01-AM335x-sgx-irq-change.patch new file mode 100644 index 0000000..ce50479 --- /dev/null +++ b/meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules/0001-Graphics-SDK-04.10.00.01-AM335x-sgx-irq-change.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From e55f63a07e5266095da89b7f94122fcba9bdef04 Mon Sep 17 00:00:00 2001 | ||
2 | From: Prathap M S <msprathap@ti.com> | ||
3 | Date: Tue, 19 Nov 2013 16:33:24 +0530 | ||
4 | Subject: [PATCH 1/1] Graphics SDK 04.10.00.01 : AM335x sgx irq change | ||
5 | |||
6 | This patch enables PVR_LINUX_DYNAMIC_SGX_RESOURCE_INFO for AM335x. | ||
7 | This is required with 3.8 kernel onwards which uses DT. | ||
8 | This will enable the path of getting sgx irq number dynamically. | ||
9 | |||
10 | Signed-off-by: Prathap M S <msprathap@ti.com> | ||
11 | --- | ||
12 | services4/system/ti335x/syslocal.h | 4 ++-- | ||
13 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
14 | |||
15 | diff --git a/services4/system/ti335x/syslocal.h b/services4/system/ti335x/syslocal.h | ||
16 | index 090b38d..222d52d 100644 | ||
17 | --- a/services4/system/ti335x/syslocal.h | ||
18 | +++ b/services4/system/ti335x/syslocal.h | ||
19 | @@ -69,8 +69,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
20 | #if !defined(LDM_PLATFORM) | ||
21 | #error "LDM_PLATFORM must be set" | ||
22 | #endif | ||
23 | -//#define PVR_LINUX_DYNAMIC_SGX_RESOURCE_INFO | ||
24 | -//#include <linux/platform_device.h> | ||
25 | +#define PVR_LINUX_DYNAMIC_SGX_RESOURCE_INFO | ||
26 | +#include <linux/platform_device.h> | ||
27 | #endif | ||
28 | |||
29 | #if ((defined(DEBUG) || defined(TIMING)) && \ | ||
30 | -- | ||
31 | 1.7.9.5 | ||
32 | |||
diff --git a/meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules/Change-for-interfacing-with-SGX-DT-node.patch b/meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules/Change-for-interfacing-with-SGX-DT-node.patch new file mode 100644 index 0000000..c553354 --- /dev/null +++ b/meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules/Change-for-interfacing-with-SGX-DT-node.patch | |||
@@ -0,0 +1,51 @@ | |||
1 | diff --git a/services4/srvkm/env/linux/module.c b/services4/srvkm/env/linux/module.c | ||
2 | index 668dc2d..2247aad 100644 | ||
3 | --- a/services4/srvkm/env/linux/module.c | ||
4 | +++ b/services4/srvkm/env/linux/module.c | ||
5 | @@ -84,6 +84,9 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
6 | #include <linux/module.h> | ||
7 | #include <linux/fs.h> | ||
8 | #include <linux/proc_fs.h> | ||
9 | +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0)) | ||
10 | +#include <linux/of.h> | ||
11 | +#endif | ||
12 | |||
13 | #if defined(SUPPORT_DRI_DRM) | ||
14 | #include <drm/drmP.h> | ||
15 | @@ -296,10 +299,24 @@ static struct platform_device_id powervr_id_table[] __devinitdata = { | ||
16 | }; | ||
17 | #endif | ||
18 | |||
19 | +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0)) | ||
20 | +static const struct of_device_id omap_sgx_of_match[] = { | ||
21 | + { | ||
22 | + .compatible = "ti,sgx", | ||
23 | + }, | ||
24 | + {}, | ||
25 | +}; | ||
26 | +MODULE_DEVICE_TABLE(of, omap_sgx_of_match); | ||
27 | +#endif | ||
28 | + | ||
29 | + | ||
30 | static LDM_DRV powervr_driver = { | ||
31 | #if defined(PVR_LDM_PLATFORM_MODULE) | ||
32 | .driver = { | ||
33 | .name = DRVNAME, | ||
34 | +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0)) | ||
35 | + .of_match_table = of_match_ptr(omap_sgx_of_match), | ||
36 | +#endif | ||
37 | }, | ||
38 | #endif | ||
39 | #if defined(PVR_LDM_PCI_MODULE) | ||
40 | @@ -362,7 +379,7 @@ static int __devinit PVRSRVDriverProbe(LDM_DEV *pDevice, const struct pci_device | ||
41 | #endif | ||
42 | { | ||
43 | SYS_DATA *psSysData; | ||
44 | - | ||
45 | + | ||
46 | PVR_TRACE(("PVRSRVDriverProbe(pDevice=%p)", pDevice)); | ||
47 | |||
48 | #if 0 /* INTEGRATION_POINT */ | ||
49 | -- | ||
50 | 1.7.9.5 | ||
51 | |||
diff --git a/meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules/linux-3.8.patch b/meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules/linux-3.8.patch new file mode 100644 index 0000000..acef54b --- /dev/null +++ b/meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules/linux-3.8.patch | |||
@@ -0,0 +1,63 @@ | |||
1 | diff --git a/services4/3rdparty/linux_drm/Kbuild b/services4/3rdparty/linux_drm/Kbuild | ||
2 | index d01ef39..ccca3cd 100755 | ||
3 | --- a/services4/3rdparty/linux_drm/Kbuild | ||
4 | +++ b/services4/3rdparty/linux_drm/Kbuild | ||
5 | @@ -26,38 +26,38 @@ endif | ||
6 | endif | ||
7 | |||
8 | obj-m := drm.o | ||
9 | -ifeq ($(TI_PLATFORM),omap4) | ||
10 | -drm-y := pvr_drm_stubs.o drm_auth.o drm_bufs.o drm_cache.o drm_context.o drm_dma.o drm_drawable.o drm_drv.o drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \ | ||
11 | - drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \ | ||
12 | - drm_agpsupport.o drm_scatter.o ati_pcigart.o drm_pci.o \ | ||
13 | - drm_sysfs.o drm_hashtab.o drm_sman.o drm_mm.o \ | ||
14 | - drm_crtc.o drm_modes.o drm_edid.o \ | ||
15 | - drm_info.o drm_debugfs.o drm_encoder_slave.o | ||
16 | -else | ||
17 | +#ifeq ($(TI_PLATFORM),omap4) | ||
18 | +#drm-y := pvr_drm_stubs.o drm_auth.o drm_bufs.o drm_cache.o drm_context.o drm_dma.o drm_drawable.o drm_drv.o drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \ | ||
19 | +# drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \ | ||
20 | +# drm_agpsupport.o drm_scatter.o ati_pcigart.o drm_pci.o \ | ||
21 | +# drm_sysfs.o drm_hashtab.o drm_sman.o drm_mm.o \ | ||
22 | +# drm_crtc.o drm_modes.o drm_edid.o \ | ||
23 | +# drm_info.o drm_debugfs.o drm_encoder_slave.o | ||
24 | +#else | ||
25 | # Works for 2.6.37 till 3.2 kernel | ||
26 | -drm-y := pvr_drm_stubs.o drm_auth.o drm_bufs.o drm_cache.o drm_context.o drm_dma.o drm_drv.o drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \ | ||
27 | - drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \ | ||
28 | - drm_agpsupport.o drm_scatter.o ati_pcigart.o drm_pci.o \ | ||
29 | - drm_sysfs.o drm_hashtab.o drm_sman.o drm_mm.o \ | ||
30 | - drm_crtc.o drm_modes.o drm_edid.o \ | ||
31 | - drm_info.o drm_debugfs.o drm_encoder_slave.o drm_global.o drm_platform.o drm_trace_points.o | ||
32 | -endif | ||
33 | - | ||
34 | -# For 3.3 kernel only | ||
35 | #drm-y := pvr_drm_stubs.o drm_auth.o drm_bufs.o drm_cache.o drm_context.o drm_dma.o drm_drv.o drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \ | ||
36 | # drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \ | ||
37 | # drm_agpsupport.o drm_scatter.o ati_pcigart.o drm_pci.o \ | ||
38 | -# drm_sysfs.o drm_hashtab.o drm_mm.o \ | ||
39 | +# drm_sysfs.o drm_hashtab.o drm_sman.o drm_mm.o \ | ||
40 | # drm_crtc.o drm_modes.o drm_edid.o \ | ||
41 | # drm_info.o drm_debugfs.o drm_encoder_slave.o drm_global.o drm_platform.o drm_trace_points.o | ||
42 | +#endif | ||
43 | |||
44 | -# For greater than/equal to 3.4 till 3.8 kernel | ||
45 | +# For 3.3 kernel only | ||
46 | #drm-y := pvr_drm_stubs.o drm_auth.o drm_bufs.o drm_cache.o drm_context.o drm_dma.o drm_drv.o drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \ | ||
47 | # drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \ | ||
48 | # drm_agpsupport.o drm_scatter.o ati_pcigart.o drm_pci.o \ | ||
49 | # drm_sysfs.o drm_hashtab.o drm_mm.o \ | ||
50 | # drm_crtc.o drm_modes.o drm_edid.o \ | ||
51 | -# drm_info.o drm_debugfs.o drm_encoder_slave.o drm_global.o drm_platform.o drm_trace_points.o drm_prime.o | ||
52 | +# drm_info.o drm_debugfs.o drm_encoder_slave.o drm_global.o drm_platform.o drm_trace_points.o | ||
53 | + | ||
54 | +# For greater than/equal to 3.4 till 3.8 kernel | ||
55 | +drm-y := pvr_drm_stubs.o drm_auth.o drm_bufs.o drm_cache.o drm_context.o drm_dma.o drm_drv.o drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \ | ||
56 | + drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \ | ||
57 | + drm_agpsupport.o drm_scatter.o ati_pcigart.o drm_pci.o \ | ||
58 | + drm_sysfs.o drm_hashtab.o drm_mm.o \ | ||
59 | + drm_crtc.o drm_modes.o drm_edid.o \ | ||
60 | + drm_info.o drm_debugfs.o drm_encoder_slave.o drm_global.o drm_platform.o drm_trace_points.o drm_prime.o | ||
61 | |||
62 | # less than 2.6.32 kernel | ||
63 | |||
diff --git a/meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules_4.10.00.01.bb b/meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules_4.10.00.01.bb new file mode 100644 index 0000000..b83e1ee --- /dev/null +++ b/meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules_4.10.00.01.bb | |||
@@ -0,0 +1,66 @@ | |||
1 | DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs" | ||
2 | LICENSE = "GPLv2" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=ea5743acf520dd81ca172e69f818a3d4" | ||
4 | |||
5 | TI_BIN_UNPK_CMDS="Y: qY:workdir:Y" | ||
6 | require recipes-ti/includes/ti-eula-unpack.inc | ||
7 | |||
8 | SGXPV = "4_10_00_01" | ||
9 | IMGPV = "1.9.2188537" | ||
10 | |||
11 | inherit module | ||
12 | |||
13 | MACHINE_KERNEL_PR_append = "c" | ||
14 | PR = "${MACHINE_KERNEL_PR}" | ||
15 | |||
16 | DEFAULT_PREFERENCE = "-1" | ||
17 | |||
18 | # Select the corresponding hardfp/softfp filename and checksums based on tune flags | ||
19 | BINFILE_SOFTFP = "Graphics_SDK_setuplinux_${SGXPV}_minimal_demos.bin" | ||
20 | MD5SUM_SOFTFP = "bd35e9d8843aff3a2aca9d41e7db1c7d" | ||
21 | SHA256SUM_SOFTFP = "eb37f75ddde4640b09e760fa86e689beb394330ecdf68786188c34f249247647" | ||
22 | |||
23 | BINFILE_HARDFP = "Graphics_SDK_setuplinux_${SGXPV}_hardfp_minimal_demos.bin" | ||
24 | MD5SUM_HARDFP = "15a3ccb66e98580e474fc112565f66b6" | ||
25 | SHA256SUM_HARDFP = "4d94d5a1869b228ce12027783fc5425c92e9b66685c501247889f1f167e66c9d" | ||
26 | |||
27 | BINFILE = "${@base_contains('TUNE_FEATURES', 'callconvention-hard', '${BINFILE_HARDFP}', '${BINFILE_SOFTFP}', d)}" | ||
28 | |||
29 | SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE} \ | ||
30 | file://Change-for-interfacing-with-SGX-DT-node.patch \ | ||
31 | file://linux-3.8.patch \ | ||
32 | file://0001-Graphics-SDK-04.10.00.01-AM335x-sgx-irq-change.patch \ | ||
33 | " | ||
34 | |||
35 | SRC_URI[md5sum] := "${@base_contains('TUNE_FEATURES', 'callconvention-hard', '${MD5SUM_HARDFP}', '${MD5SUM_SOFTFP}', d)}" | ||
36 | SRC_URI[sha256sum] := "${@base_contains('TUNE_FEATURES', 'callconvention-hard', '${SHA256SUM_HARDFP}', '${SHA256SUM_SOFTFP}', d)}" | ||
37 | |||
38 | TI_BIN_UNPK_WDEXT="/Graphics_SDK_${SGXPV}" | ||
39 | S = "${WORKDIR}${TI_BIN_UNPK_WDEXT}/GFX_Linux_KM" | ||
40 | |||
41 | PVRBUILD = "release" | ||
42 | export KERNELDIR = "${STAGING_KERNEL_DIR}" | ||
43 | |||
44 | INHIBIT_PACKAGE_STRIP = "1" | ||
45 | |||
46 | TI_PLATFORM_omap3 = "omap3630" | ||
47 | TI_PLATFORM_ti814x = "ti81xx" | ||
48 | TI_PLATFORM_ti816x = "ti81xx" | ||
49 | TI_PLATFORM_ti33x = "ti335x" | ||
50 | |||
51 | MODULESLOCATION_omap3 = "dc_omapfb3_linux" | ||
52 | MODULESLOCATION_ti814x = "dc_ti81xx_linux" | ||
53 | MODULESLOCATION_ti816x = "dc_ti81xx_linux" | ||
54 | MODULESLOCATION_ti33x = "dc_ti335x_linux" | ||
55 | |||
56 | MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM} SUPPORT_XORG=0" | ||
57 | |||
58 | MAKE_TARGETS_append_ti33x = " PM_RUNTIME=1" | ||
59 | |||
60 | do_install() { | ||
61 | mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr | ||
62 | cp ${S}/pvrsrvkm.ko \ | ||
63 | ${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko \ | ||
64 | ${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \ | ||
65 | ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr | ||
66 | } | ||
diff --git a/recipes/u-boot/u-boot-am33x/0001-am335x-evm-disable-console-cursor-blinking.patch b/meta-ti-extras/recipes/u-boot/u-boot-am33x/0001-am335x-evm-disable-console-cursor-blinking.patch index 8c3ee2d..8c3ee2d 100644 --- a/recipes/u-boot/u-boot-am33x/0001-am335x-evm-disable-console-cursor-blinking.patch +++ b/meta-ti-extras/recipes/u-boot/u-boot-am33x/0001-am335x-evm-disable-console-cursor-blinking.patch | |||
diff --git a/recipes/u-boot/u-boot-am33x_2013.01.01.bbappend b/meta-ti-extras/recipes/u-boot/u-boot-am33x_2013.01.01.bbappend index 4ea1893..4ea1893 100644 --- a/recipes/u-boot/u-boot-am33x_2013.01.01.bbappend +++ b/meta-ti-extras/recipes/u-boot/u-boot-am33x_2013.01.01.bbappend | |||
diff --git a/recipes/u-boot/u-boot-ti-staging/0001-BBB-disable-console-cursor-blinking.patch b/meta-ti-extras/recipes/u-boot/u-boot-ti-staging/0001-BBB-disable-console-cursor-blinking.patch index 25dd9e4..25dd9e4 100644 --- a/recipes/u-boot/u-boot-ti-staging/0001-BBB-disable-console-cursor-blinking.patch +++ b/meta-ti-extras/recipes/u-boot/u-boot-ti-staging/0001-BBB-disable-console-cursor-blinking.patch | |||
diff --git a/recipes/u-boot/u-boot-ti-staging_2013.10.bbappend b/meta-ti-extras/recipes/u-boot/u-boot-ti-staging_2013.10.bbappend index 4c8818a..4c8818a 100644 --- a/recipes/u-boot/u-boot-ti-staging_2013.10.bbappend +++ b/meta-ti-extras/recipes/u-boot/u-boot-ti-staging_2013.10.bbappend | |||
diff --git a/meta-toradex-extras/conf/layer.conf b/meta-toradex-extras/conf/layer.conf new file mode 100644 index 0000000..1d0c27f --- /dev/null +++ b/meta-toradex-extras/conf/layer.conf | |||
@@ -0,0 +1,33 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | # We have a conf and classes directory, append to BBPATH | ||
24 | BBPATH .= ":${LAYERDIR}" | ||
25 | |||
26 | # We have a recipes directory, add to BBFILES | ||
27 | BBFILES += "${LAYERDIR}/recipes*/*/*.bb \ | ||
28 | ${LAYERDIR}/recipes*/*/*.bbappend \ | ||
29 | " | ||
30 | |||
31 | BBFILE_COLLECTIONS += "b2qt_toradex" | ||
32 | BBFILE_PATTERN_b2qt_toradex := "^${LAYERDIR}/" | ||
33 | BBFILE_PRIORITY_b2qt_toradex = "20" | ||
diff --git a/recipes/linux/linux-toradex-fsl_git.bbappend b/meta-toradex-extras/recipes/linux/linux-toradex-fsl_git.bbappend index 2a8c875..f054071 100644 --- a/recipes/linux/linux-toradex-fsl_git.bbappend +++ b/meta-toradex-extras/recipes/linux/linux-toradex-fsl_git.bbappend | |||
@@ -20,6 +20,9 @@ | |||
20 | ## | 20 | ## |
21 | ############################################################################# | 21 | ############################################################################# |
22 | 22 | ||
23 | # kernel image files are not needed in the image | ||
24 | RDEPENDS_kernel-base = "" | ||
25 | |||
23 | config_script () { | 26 | config_script () { |
24 | # FunctionFS for adb | 27 | # FunctionFS for adb |
25 | echo "CONFIG_USB_FUNCTIONFS=m" >> ${S}/.config | 28 | echo "CONFIG_USB_FUNCTIONFS=m" >> ${S}/.config |
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex.bb b/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex.bb new file mode 100644 index 0000000..b83e6a0 --- /dev/null +++ b/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex.bb | |||
@@ -0,0 +1,58 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | LICENSE = "CLOSED" | ||
24 | DEPENDS = "u-boot-mkimage-native" | ||
25 | |||
26 | PV = "v2.3" | ||
27 | |||
28 | SRC_URI = "file://flash_mmc.scr" | ||
29 | |||
30 | inherit deploy | ||
31 | |||
32 | UPDATESCRIPT = "${WORKDIR}/flash_mmc.scr" | ||
33 | |||
34 | do_mkimage () { | ||
35 | uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ | ||
36 | -n "update script" -d ${UPDATESCRIPT} \ | ||
37 | flash_mmc.img | ||
38 | } | ||
39 | |||
40 | addtask mkimage after do_compile before do_install | ||
41 | |||
42 | do_deploy () { | ||
43 | install -d ${DEPLOYDIR} | ||
44 | install ${S}/flash_mmc.img ${DEPLOYDIR}/flash_mmc-${MACHINE}-${PV}-${PR}.img | ||
45 | |||
46 | cd ${DEPLOYDIR} | ||
47 | rm -f flash_mmc-${MACHINE}.img | ||
48 | ln -sf flash_mmc-${MACHINE}-${PV}-${PR}.img flash_mmc-${MACHINE}.img | ||
49 | } | ||
50 | |||
51 | addtask deploy after do_install before do_build | ||
52 | |||
53 | do_compile[noexec] = "1" | ||
54 | do_install[noexec] = "1" | ||
55 | do_populate_sysroot[noexec] = "1" | ||
56 | |||
57 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
58 | COMPATIBLE_MACHINE = "(apalis-imx6)" | ||
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/flash_mmc.scr b/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/flash_mmc.scr new file mode 100644 index 0000000..5b7dc80 --- /dev/null +++ b/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/flash_mmc.scr | |||
@@ -0,0 +1,2 @@ | |||
1 | setenv update_uboot 'fatload mmc ${drive}:1 ${loadaddr} u-boot.imx && setexpr blkcnt $filesize + 0x1ff && setexpr blkcnt ${blkcnt} / 0x200 && mmc dev 0 && mmc write ${loadaddr} 2 ${blkcnt}' | ||
2 | echo 'enter "run update_uboot" to update the uboot' | ||
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-toradex-fsl/0001-Update-default-args-for-apalis-imx6.patch b/meta-toradex-extras/recipes/u-boot/u-boot-toradex-fsl/0001-Update-default-args-for-apalis-imx6.patch new file mode 100644 index 0000000..c7f0f9b --- /dev/null +++ b/meta-toradex-extras/recipes/u-boot/u-boot-toradex-fsl/0001-Update-default-args-for-apalis-imx6.patch | |||
@@ -0,0 +1,53 @@ | |||
1 | From 7872f8e770a202f41fbcf0372b27eb3669c433a1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@digia.com> | ||
3 | Date: Mon, 27 Oct 2014 14:53:25 +0200 | ||
4 | Subject: [PATCH] Update default args for apalis imx6 | ||
5 | |||
6 | Boot from sd card by default, disable kernel logs from tty1, and | ||
7 | disable cursor blinking. | ||
8 | --- | ||
9 | include/configs/apalis-imx6.h | 15 ++++++++------- | ||
10 | 1 file changed, 8 insertions(+), 7 deletions(-) | ||
11 | |||
12 | diff --git a/include/configs/apalis-imx6.h b/include/configs/apalis-imx6.h | ||
13 | index 3fb17e2..728c5dd 100644 | ||
14 | --- a/include/configs/apalis-imx6.h | ||
15 | +++ b/include/configs/apalis-imx6.h | ||
16 | @@ -205,18 +205,19 @@ | ||
17 | "&& setenv dtbparam \" - ${fdt_addr_r}\" && true\0" | ||
18 | |||
19 | #define SD_BOOTCMD \ | ||
20 | - "sdargs=ip=off root=/dev/mmcblk1p2 rw,noatime rootfstype=ext3 " \ | ||
21 | - "rootwait\0" \ | ||
22 | + "drive=2\0" \ | ||
23 | "sdboot=" "run setup; " \ | ||
24 | - "setenv bootargs ${defargs} ${sdargs} ${setupargs} " \ | ||
25 | + "setenv bootargs ${defargs} ip=off root=/dev/mmcblk${drive}p2 " \ | ||
26 | + "rw,noatime rootfstype=ext3 rootwait ${setupargs} " \ | ||
27 | "${vidargs}; echo Booting from SD card in 8bit slot...; " \ | ||
28 | - "run sddtbload; fatload mmc 1:1 ${kernel_addr_r} " \ | ||
29 | + "run sddtbload; fatload mmc ${drive}:1 ${kernel_addr_r} " \ | ||
30 | "${boot_file} && bootm ${kernel_addr_r} ${dtbparam}\0" \ | ||
31 | - "sddtbload=setenv dtbparam; fatload mmc 1:1 ${fdt_addr_r} " \ | ||
32 | + "sddtbload=setenv dtbparam; fatload mmc ${drive}:1 ${fdt_addr_r} " \ | ||
33 | "${fdt_file} && setenv dtbparam \" - ${fdt_addr_r}\" && true\0" | ||
34 | |||
35 | #define CONFIG_EXTRA_ENV_SETTINGS \ | ||
36 | - "bootcmd=run emmcboot ; echo ; echo emmcboot failed ; " \ | ||
37 | + "bootcmd=run sdboot ; echo ; echo sdboot failed ; " \ | ||
38 | + "run emmcboot ; echo ; echo emmcboot failed ; " \ | ||
39 | "run nfsboot ; echo ; echo nfsboot failed ; " \ | ||
40 | "usb start ;" \ | ||
41 | "setenv stdout serial,vga ; setenv stdin serial,usbkbd\0" \ | ||
42 | @@ -229,7 +230,7 @@ | ||
43 | NFS_BOOTCMD \ | ||
44 | SD_BOOTCMD \ | ||
45 | "setup=setenv setupargs fec_mac=${ethaddr} " \ | ||
46 | - "consoleblank=0 no_console_suspend=1 console=tty1 " \ | ||
47 | + "consoleblank=0 no_console_suspend=1 vt.global_cursor_default=0 " \ | ||
48 | "console=${console},${baudrate}n8\0 " \ | ||
49 | "setupdate=setenv drive 1; fatload mmc ${drive}:1 ${kernel_addr_r} " \ | ||
50 | "flash_mmc.img || setenv drive 2; fatload mmc ${drive}:1 " \ | ||
51 | -- | ||
52 | 1.8.3.2 | ||
53 | |||
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-toradex-fsl_git.bbappend b/meta-toradex-extras/recipes/u-boot/u-boot-toradex-fsl_git.bbappend new file mode 100644 index 0000000..08f1b1a --- /dev/null +++ b/meta-toradex-extras/recipes/u-boot/u-boot-toradex-fsl_git.bbappend | |||
@@ -0,0 +1,26 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
24 | SRC_URI_apalis-imx6 += " \ | ||
25 | file://0001-Update-default-args-for-apalis-imx6.patch \ | ||
26 | " | ||
diff --git a/recipes/adbd/files/apalis-imx6/defaults b/recipes/adbd/files/apalis-imx6/defaults deleted file mode 100644 index 0fbba4c..0000000 --- a/recipes/adbd/files/apalis-imx6/defaults +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | VENDOR=0x18d1 | ||
2 | PRODUCT=0x0000 | ||
3 | SERIAL=$(hostname)-$(sed -e 's/://g' /sys/class/net/eth0/address) | ||
4 | USE_ETHERNET=yes | ||
diff --git a/recipes/adbd/files/defaults b/recipes/adbd/files/defaults index d2a3cc0..c04d07b 100644 --- a/recipes/adbd/files/defaults +++ b/recipes/adbd/files/defaults | |||
@@ -2,3 +2,4 @@ VENDOR=0x18d1 | |||
2 | PRODUCT=0x0000 | 2 | PRODUCT=0x0000 |
3 | SERIAL=$(hostname)-$(sed -e 's/://g' /sys/class/net/eth0/address) | 3 | SERIAL=$(hostname)-$(sed -e 's/://g' /sys/class/net/eth0/address) |
4 | USE_ETHERNET=no | 4 | USE_ETHERNET=no |
5 | HOME=/data | ||
diff --git a/recipes/adbd/files/emulator/defaults b/recipes/adbd/files/emulator/defaults index 0fbba4c..9b7edf5 100644 --- a/recipes/adbd/files/emulator/defaults +++ b/recipes/adbd/files/emulator/defaults | |||
@@ -2,3 +2,4 @@ VENDOR=0x18d1 | |||
2 | PRODUCT=0x0000 | 2 | PRODUCT=0x0000 |
3 | SERIAL=$(hostname)-$(sed -e 's/://g' /sys/class/net/eth0/address) | 3 | SERIAL=$(hostname)-$(sed -e 's/://g' /sys/class/net/eth0/address) |
4 | USE_ETHERNET=yes | 4 | USE_ETHERNET=yes |
5 | HOME=/data | ||
diff --git a/recipes/adbd/files/imx53qsb/defaults b/recipes/adbd/files/imx53qsb/defaults index 0fbba4c..9b7edf5 100644 --- a/recipes/adbd/files/imx53qsb/defaults +++ b/recipes/adbd/files/imx53qsb/defaults | |||
@@ -2,3 +2,4 @@ VENDOR=0x18d1 | |||
2 | PRODUCT=0x0000 | 2 | PRODUCT=0x0000 |
3 | SERIAL=$(hostname)-$(sed -e 's/://g' /sys/class/net/eth0/address) | 3 | SERIAL=$(hostname)-$(sed -e 's/://g' /sys/class/net/eth0/address) |
4 | USE_ETHERNET=yes | 4 | USE_ETHERNET=yes |
5 | HOME=/data | ||
diff --git a/recipes/adbd/files/raspberrypi/defaults b/recipes/adbd/files/raspberrypi/defaults index 0fbba4c..9b7edf5 100644 --- a/recipes/adbd/files/raspberrypi/defaults +++ b/recipes/adbd/files/raspberrypi/defaults | |||
@@ -2,3 +2,4 @@ VENDOR=0x18d1 | |||
2 | PRODUCT=0x0000 | 2 | PRODUCT=0x0000 |
3 | SERIAL=$(hostname)-$(sed -e 's/://g' /sys/class/net/eth0/address) | 3 | SERIAL=$(hostname)-$(sed -e 's/://g' /sys/class/net/eth0/address) |
4 | USE_ETHERNET=yes | 4 | USE_ETHERNET=yes |
5 | HOME=/data | ||
diff --git a/recipes/b2qt-update-framework/b2qt-update-framework.bb b/recipes/b2qt-update-framework/b2qt-update-framework.bb new file mode 100644 index 0000000..ceae95a --- /dev/null +++ b/recipes/b2qt-update-framework/b2qt-update-framework.bb | |||
@@ -0,0 +1,45 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | DESCRIPTION = "Boot to Qt update framework" | ||
24 | HOMEPAGE = "http://www.qt.io" | ||
25 | SECTION = "devel" | ||
26 | LICENSE = "CLOSED" | ||
27 | |||
28 | PV = "1.0.0" | ||
29 | PR = "r0" | ||
30 | SRCREV = "${PV}" | ||
31 | |||
32 | inherit deploy | ||
33 | |||
34 | do_deploy() { | ||
35 | install -d ${DEPLOYDIR}/update/ | ||
36 | echo ${B2QT_PLATFORM} > ${DEPLOYDIR}/update/platform | ||
37 | } | ||
38 | |||
39 | addtask deploy after do_install before do_build | ||
40 | |||
41 | do_compile[noexec] = "1" | ||
42 | do_install[noexec] = "1" | ||
43 | do_populate_sysroot[noexec] = "1" | ||
44 | |||
45 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
diff --git a/recipes/busybox/busybox_1.22.1.bbappend b/recipes/busybox/busybox_1.%.bbappend index e6a7205..e6a7205 100644 --- a/recipes/busybox/busybox_1.22.1.bbappend +++ b/recipes/busybox/busybox_1.%.bbappend | |||
diff --git a/recipes/ca-certificates/ca-certificates_20130610.bbappend b/recipes/ca-certificates/ca-certificates_%.bbappend index 9ad02d6..9ad02d6 100644 --- a/recipes/ca-certificates/ca-certificates_20130610.bbappend +++ b/recipes/ca-certificates/ca-certificates_%.bbappend | |||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc deleted file mode 100644 index f661539..0000000 --- a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc +++ /dev/null | |||
@@ -1,246 +0,0 @@ | |||
1 | # Copyright (C) 2012-2013 Freescale Semiconductor | ||
2 | # Copyright (C) 2012-2013 O.S. Systems Software LTDA. | ||
3 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
4 | |||
5 | DESCRIPTION = "GPU driver and apps for imx6" | ||
6 | SECTION = "libs" | ||
7 | LICENSE = "Proprietary" | ||
8 | LIC_FILES_CHKSUM = "file://usr/include/gc_vdk.h;endline=11;md5=19f5925343fa3da65596eeaa4ddb5fd3" | ||
9 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes mesa', '', d)}" | ||
10 | PROVIDES += "virtual/wayland-egl virtual/libgl virtual/libgal-x11 virtual/egl virtual/libgles1 virtual/libgles2 virtual/libopenvg" | ||
11 | |||
12 | PE = "1" | ||
13 | |||
14 | inherit fsl-eula-unpack | ||
15 | |||
16 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true \ | ||
17 | file://egl.pc \ | ||
18 | file://egl_x11.pc \ | ||
19 | file://glesv1_cm.pc \ | ||
20 | file://glesv1_cm_x11.pc \ | ||
21 | file://glesv2.pc \ | ||
22 | file://glesv2_x11.pc \ | ||
23 | file://vg.pc \ | ||
24 | file://vg_x11.pc \ | ||
25 | file://gc_wayland_protocol.pc \ | ||
26 | file://wayland-egl.pc \ | ||
27 | file://wayland-viv.pc \ | ||
28 | " | ||
29 | |||
30 | PACKAGES =+ "libclc-mx6 libclc-mx6-dev libclc-mx6-dbg \ | ||
31 | libgl-mx6 libgl-mx6-dev libgl-mx6-dbg \ | ||
32 | libgles-mx6 libgles-mx6-dev libgles-mx6-dbg \ | ||
33 | libgles2-mx6 libgles2-mx6-dev libgles2-mx6-dbg \ | ||
34 | libglslc-mx6 libglslc-mx6-dev libglslc-mx6-dbg \ | ||
35 | libopencl-mx6 libopencl-mx6-dev libopencl-mx6-dbg \ | ||
36 | libopenvg-mx6 libopenvg-mx6-dev libopenvg-mx6-dbg \ | ||
37 | libvdk-mx6 libvdk-mx6-dev libvdk-mx6-dbg \ | ||
38 | libegl-mx6 libegl-mx6-dev libegl-mx6-dbg \ | ||
39 | libgal-mx6 libgal-mx6-dev libgal-mx6-dbg \ | ||
40 | libvivante-mx6 libvivante-mx6-dev libvivante-mx6-dbg \ | ||
41 | libvivante-dri-mx6 \ | ||
42 | libvivante-dfb-mx6 \ | ||
43 | libwayland-viv-mx6 libwayland-viv-mx6-dev libwayland-viv-mx6-dbg \ | ||
44 | libgc-wayland-protocol-mx6 libgc-wayland-protocol-mx6-dev libgc-wayland-protocol-mx6-dbg \ | ||
45 | libwayland-egl-mx6-dev \ | ||
46 | " | ||
47 | |||
48 | # Skip package if it does not match the machine float-point type in use | ||
49 | python __anonymous () { | ||
50 | is_machine_hardfp = base_contains("TUNE_FEATURES", "callconvention-hard", True, False, d) | ||
51 | is_package_hardfp = d.getVar("PACKAGE_FP_TYPE", True) == "hardfp" | ||
52 | |||
53 | if is_package_hardfp != is_machine_hardfp: | ||
54 | PN = d.getVar("PN", True) | ||
55 | PV = d.getVar("PV", True) | ||
56 | bb.debug(1, "Skipping %s (%s) as machine and package float-point does not match" % (PN, PV)) | ||
57 | raise bb.parse.SkipPackage("Package Float-Point is not compatible with the machine") | ||
58 | } | ||
59 | |||
60 | USE_X11 = "${@base_contains("DISTRO_FEATURES", "x11", "yes", "no", d)}" | ||
61 | USE_DFB = "${@base_contains("DISTRO_FEATURES", "directfb", "yes", "no", d)}" | ||
62 | USE_WL = "${@base_contains("DISTRO_FEATURES", "wayland", "yes", "no", d)}" | ||
63 | |||
64 | # Inhibit warnings about files being stripped. | ||
65 | INHIBIT_PACKAGE_STRIP = "1" | ||
66 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
67 | |||
68 | # FIXME: The provided binary doesn't provide soname. If in future BSP | ||
69 | # release the libraries are fixed, we can drop this hack. | ||
70 | REALSOLIBS := "${SOLIBS}" | ||
71 | SOLIBS = "${SOLIBSDEV}" | ||
72 | |||
73 | # For the packages that make up the OpenGL interfaces, inject variables so that | ||
74 | # they don't get Debian-renamed (which would remove the -mx6 suffix). | ||
75 | # | ||
76 | # FIXME: All binaries lack GNU_HASH in elf binary but as we don't have | ||
77 | # the source we cannot fix it. Disable the insane check for now. | ||
78 | python __anonymous() { | ||
79 | packages = d.getVar('PACKAGES', True).split() | ||
80 | for p in packages: | ||
81 | d.appendVar("INSANE_SKIP_%s" % p, " ldflags") | ||
82 | |||
83 | for p in (("libegl", "libegl1"), ("libgl", "libgl1"), | ||
84 | ("libgles1", "libglesv1-cm1"), ("libgles2", "libglesv2-2"), | ||
85 | ("libgles3",)): | ||
86 | fullp = p[0] + "-mx6" | ||
87 | pkgs = " ".join(p) | ||
88 | d.setVar("DEBIAN_NOAUTONAME_" + fullp, "1") | ||
89 | d.appendVar("RREPLACES_" + fullp, pkgs) | ||
90 | d.appendVar("RPROVIDES_" + fullp, pkgs) | ||
91 | d.appendVar("RCONFLICTS_" + fullp, pkgs) | ||
92 | |||
93 | # For -dev, the first element is both the Debian and original name | ||
94 | fullp += "-dev" | ||
95 | pkgs = p[0] + "-dev" | ||
96 | d.setVar("DEBIAN_NOAUTONAME_" + fullp, "1") | ||
97 | d.appendVar("RREPLACES_" + fullp, pkgs) | ||
98 | d.appendVar("RPROVIDES_" + fullp, pkgs) | ||
99 | d.appendVar("RCONFLICTS_" + fullp, pkgs) | ||
100 | } | ||
101 | |||
102 | do_install () { | ||
103 | install -d ${D}${libdir} | ||
104 | install -d ${D}${includedir} | ||
105 | |||
106 | cp -a ${S}/usr/lib/*.so* ${D}${libdir} | ||
107 | cp -axr ${S}/usr/include/* ${D}${includedir} | ||
108 | cp -axr ${S}/opt ${D} | ||
109 | |||
110 | install -d ${D}${libdir}/pkgconfig | ||
111 | |||
112 | # The preference order, based in DISTRO_FEATURES, is x11, wayland, directfb and fb | ||
113 | if [ "${USE_X11}" = "yes" ]; then | ||
114 | cp -r ${S}/usr/lib/dri ${D}${libdir} | ||
115 | backend=x11 | ||
116 | |||
117 | install -m 0644 ${WORKDIR}/egl_x11.pc ${D}${libdir}/pkgconfig/egl.pc | ||
118 | install -m 0644 ${WORKDIR}/glesv1_cm_x11.pc ${D}${libdir}/pkgconfig/glesv1_cm.pc | ||
119 | install -m 0644 ${WORKDIR}/glesv2_x11.pc ${D}${libdir}/pkgconfig/glesv2.pc | ||
120 | install -m 0644 ${WORKDIR}/vg_x11.pc ${D}${libdir}/pkgconfig/vg.pc | ||
121 | #FIXME: WL & X11 is not currently functional | ||
122 | #if [ "${USE_WL}" = "yes" ]; then | ||
123 | # install -m 0644 ${WORKDIR}/gc_wayland_protocol.pc ${D}${libdir}/pkgconfig/gc_wayland_protocol.pc | ||
124 | # install -m 0644 ${WORKDIR}/wayland-egl.pc ${D}${libdir}/pkgconfig/wayland-egl.pc | ||
125 | # install -m 0644 ${WORKDIR}/wayland-viv.pc ${D}${libdir}/pkgconfig/wayland-viv.pc | ||
126 | #fi | ||
127 | elif [ "${USE_WL}" = "yes" ]; then | ||
128 | backend=wl | ||
129 | |||
130 | install -m 0644 ${WORKDIR}/egl.pc ${D}${libdir}/pkgconfig/egl.pc | ||
131 | install -m 0644 ${WORKDIR}/glesv1_cm.pc ${D}${libdir}/pkgconfig/glesv1_cm.pc | ||
132 | install -m 0644 ${WORKDIR}/glesv2.pc ${D}${libdir}/pkgconfig/glesv2.pc | ||
133 | install -m 0644 ${WORKDIR}/vg.pc ${D}${libdir}/pkgconfig/vg.pc | ||
134 | install -m 0644 ${WORKDIR}/gc_wayland_protocol.pc ${D}${libdir}/pkgconfig/gc_wayland_protocol.pc | ||
135 | install -m 0644 ${WORKDIR}/wayland-egl.pc ${D}${libdir}/pkgconfig/wayland-egl.pc | ||
136 | install -m 0644 ${WORKDIR}/wayland-viv.pc ${D}${libdir}/pkgconfig/wayland-viv.pc | ||
137 | else | ||
138 | install -m 0644 ${WORKDIR}/egl.pc ${D}${libdir}/pkgconfig/egl.pc | ||
139 | install -m 0644 ${WORKDIR}/glesv1_cm.pc ${D}${libdir}/pkgconfig/glesv1_cm.pc | ||
140 | install -m 0644 ${WORKDIR}/glesv2.pc ${D}${libdir}/pkgconfig/glesv2.pc | ||
141 | install -m 0644 ${WORKDIR}/vg.pc ${D}${libdir}/pkgconfig/vg.pc | ||
142 | |||
143 | if [ "${USE_DFB}" = "yes" ]; then | ||
144 | cp -r ${S}/usr/lib/directfb-1.6-0 ${D}${libdir} | ||
145 | backend=dfb | ||
146 | else | ||
147 | # Regular framebuffer | ||
148 | backend=fb | ||
149 | fi | ||
150 | fi | ||
151 | |||
152 | # We'll only have one backend here so we rename it to generic name | ||
153 | # and avoid rework in other packages, when possible | ||
154 | mv ${D}${libdir}/libGL.so.1.2 ${D}${libdir}/libGL.so.1.2.0 | ||
155 | ln -sf libGL.so.1.2.0 ${D}${libdir}/libGL.so.1.2 | ||
156 | ln -sf libGL.so.1.2.0 ${D}${libdir}/libGL.so | ||
157 | mv ${D}${libdir}/libEGL-${backend}.so ${D}${libdir}/libEGL.so.1.0 | ||
158 | ln -sf libEGL.so.1.0 ${D}${libdir}/libEGL.so.1 | ||
159 | ln -sf libEGL.so.1.0 ${D}${libdir}/libEGL.so | ||
160 | mv ${D}${libdir}/libGAL-${backend}.so ${D}${libdir}/libGAL.so | ||
161 | mv ${D}${libdir}/libVIVANTE-${backend}.so ${D}${libdir}/libVIVANTE.so | ||
162 | |||
163 | for backend in wl x11 fb dfb; do | ||
164 | find ${D}${libdir} -name "*-$backend.so" -exec rm '{}' ';' | ||
165 | done | ||
166 | |||
167 | find ${D}${libdir} -type f -exec chmod 644 {} \; | ||
168 | find ${D}${includedir} -type f -exec chmod 644 {} \; | ||
169 | } | ||
170 | |||
171 | S = "${WORKDIR}/${PN}-${PV}" | ||
172 | |||
173 | FILES_${PN} += "/opt" | ||
174 | FILES_${PN}-dev = "${includedir}" | ||
175 | FILES_${PN}-dbg = "${libdir}/.debug /opt/viv_samples/*/*/.debug" | ||
176 | |||
177 | FILES_libclc-mx6 = "${libdir}/libCLC${SOLIBS}" | ||
178 | FILES_libclc-mx6-dev = "${includedir}/CL ${libdir}/libCLC${SOLIBSDEV}" | ||
179 | FILES_libclc-mx6-dbg = "${libdir}/.debug/libCLC${SOLIBS}" | ||
180 | |||
181 | # libEGL.so is used by some demo apps from Freescale | ||
182 | INSANE_SKIP_libegl-mx6 += "dev-so" | ||
183 | FILES_libegl-mx6 = "${libdir}/libEGL${REALSOLIBS} ${libdir}/libEGL${SOLIBSDEV} " | ||
184 | FILES_libegl-mx6-dev = "${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc" | ||
185 | FILES_libegl-mx6-dbg = "${libdir}/.debug/libEGL${SOLIBS}" | ||
186 | |||
187 | FILES_libgal-mx6 = "${libdir}/libGAL${SOLIBS}" | ||
188 | FILES_libgal-mx6-dev = "${libdir}/libGAL${SOLIBSDEV}" | ||
189 | FILES_libgal-mx6-dbg = "${libdir}/.debug/libGAL${SOLIBS}" | ||
190 | |||
191 | FILES_libgl-mx6 = "${libdir}/libGL${REALSOLIBS}" | ||
192 | FILES_libgl-mx6-dev = "${libdir}/libGL${SOLIBSDEV}" | ||
193 | FILES_libgl-mx6-dbg = "${libdir}/.debug/libGL.${SOLIBS}" | ||
194 | RDEPENDS_libgl-mx6-dev = "libgl-mesa-dev" | ||
195 | |||
196 | # libEGL needs to open libGLESv1.so | ||
197 | INSANE_SKIP_libgles-mx6 += "dev-so" | ||
198 | FILES_libgles-mx6 = "${libdir}/libGLESv1*${REALSOLIBS} ${libdir}/libGLESv1*${SOLIBS} ${libdir}/libGLES_*${SOLIBS}" | ||
199 | FILES_libgles-mx6-dev = "${includedir}/GLES ${libdir}/libGLESv1*${SOLIBS} ${libdir}/libGLES_*${SOLIBSDEV} ${libdir}/pkgconfig/glesv1_cm.pc" | ||
200 | FILES_libgles-mx6-dbg = "${libdir}/.debug/libGLESv1*${SOLIBS} ${libdir}/.debug/libGLES_*${SOLIBS}" | ||
201 | |||
202 | # libEGL needs to open libGLESv2.so | ||
203 | INSANE_SKIP_libgles2-mx6 += "dev-so" | ||
204 | FILES_libgles2-mx6 = "${libdir}/libGLESv2${REALSOLIBS} ${libdir}/libGLESv2${SOLIBS}" | ||
205 | FILES_libgles2-mx6-dev = "${includedir}/GLES2 ${libdir}/libGLESv2${SOLIBSDEV} ${libdir}/pkgconfig/glesv2.pc" | ||
206 | FILES_libgles2-mx6-dbg = "${libdir}/.debug/libGLESv2${SOLIBS}" | ||
207 | RDEPENDS_libgles2-mx6 = "libglslc-mx6" | ||
208 | |||
209 | FILES_libglslc-mx6 = "${libdir}/libGLSLC${SOLIBS}" | ||
210 | FILES_libglslc-mx6-dev = "${includedir}/CL ${libdir}/libGLSLC${SOLIBSDEV}" | ||
211 | FILES_libglslc-mx6-dbg = "${libdir}/.debug/libGLSLC${SOLIBS}" | ||
212 | |||
213 | FILES_libopencl-mx6 = "${libdir}/libOpenCL${SOLIBS}" | ||
214 | FILES_libopencl-mx6-dev = "${includedir}/CL ${libdir}/libOpenCL${SOLIBSDEV}" | ||
215 | FILES_libopencl-mx6-dbg = "${libdir}/.debug/libOpenCL${SOLIBS}" | ||
216 | RDEPENDS_libopencl-mx6 = "libclc-mx6" | ||
217 | |||
218 | FILES_libopenvg-mx6 = "${libdir}/libOpenVG*${SOLIBS}" | ||
219 | FILES_libopenvg-mx6-dev = "${includedir}/VG ${libdir}/libOpenVG*${SOLIBSDEV} ${libdir}/pkgconfig/vg.pc" | ||
220 | FILES_libopenvg-mx6-dbg = "${libdir}/.debug/libOpenVG*${SOLIBS}" | ||
221 | |||
222 | FILES_libvdk-mx6 = "${libdir}/libVDK${SOLIBS}" | ||
223 | FILES_libvdk-mx6-dev = "${includedir}/*vdk.h ${libdir}/libVDK${SOLIBSDEV}" | ||
224 | FILES_libvdk-mx6-dbg = "${libdir}/.debug/libVDK${SOLIBS}" | ||
225 | |||
226 | FILES_libvivante-mx6 = "${libdir}/libVIVANTE${SOLIBS}" | ||
227 | FILES_libvivante-mx6-dev = "${libdir}/libVIVANTE${SOLIBSDEV}" | ||
228 | FILES_libvivante-mx6-dbg = "${libdir}/.debug/libVIVANTE${SOLIBS}" | ||
229 | |||
230 | FILES_libvivante-dri-mx6 = "${libdir}/dri/vivante_dri.so" | ||
231 | |||
232 | FILES_libvivante-dfb-mx6 = "${libdir}/directfb-1.6-0/gfxdrivers/libdirectfb_gal.so" | ||
233 | |||
234 | INSANE_SKIP_libwayland-viv-mx6 += "dev-so" | ||
235 | FILES_libwayland-viv-mx6 = "${libdir}/libwayland-viv${REALSOLIBS} ${libdir}/libwayland-viv${SOLIBS}" | ||
236 | FILES_libwayland-viv-mx6-dev = "${libdir})/libwayland-viv${SOLIBSDEV} ${libdir}/pkgconfig/wayland-viv.pc" | ||
237 | FILES_libwayland-viv-mx6-dbg = "${libdir}/.debug/libwayland-viv${SOLIBS}" | ||
238 | |||
239 | INSANE_SKIP_libgc-wayland-protocol-mx6 += "dev-so" | ||
240 | FILES_libgc-wayland-protocol-mx6 = "${libdir}/libgc_wayland_protocol${REALSOLIBS} ${libdir}/libgc_wayland_protocol${SOLIBS}" | ||
241 | FILES_libgc-wayland-protocol-mx6-dev = "${libdir}/libgc_wayland_protocol${SOLIBSDEV} ${libdir}/pkgconfig/gc_wayland_protocol.pc" | ||
242 | FILES_libgc-wayland-protocol-mx6-dbg = "${libdir}/libgc_wayland_protocol${SOLIBS}" | ||
243 | |||
244 | FILES_libwayland-egl-mx6-dev = "${libdir}/pkgconfig/wayland-egl.pc" | ||
245 | |||
246 | COMPATIBLE_MACHINE = "(mx6)" | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/0001-change-header-path-to-HAL.patch b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/0001-change-header-path-to-HAL.patch deleted file mode 100644 index dc91d7c..0000000 --- a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/0001-change-header-path-to-HAL.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | From 1a4a35678ef70283d1a31835deecd39711a9db86 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jeremy Stashluk <jstashluk@dekaresearch.com> | ||
3 | Date: Wed, 30 Jan 2013 13:16:53 -0500 | ||
4 | Subject: [PATCH] change header path to HAL | ||
5 | |||
6 | The gpu-viv-bin-mx6q package from Freescale puts this header in the HAL | ||
7 | directory under the system. I think this is a problem in the LTIB release as | ||
8 | well. | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | |||
12 | Signed-off-by: Jeremy Stashluk <jstashluk@dekaresearch.com> | ||
13 | |||
14 | --- | ||
15 | usr/include/gc_vdk_types.h | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
18 | Index: gpu-viv-bin-mx6q-1.1.0/usr/include/gc_vdk_types.h | ||
19 | =================================================================== | ||
20 | --- gpu-viv-bin-mx6q-1.1.0.orig/usr/include/gc_vdk_types.h | ||
21 | +++ gpu-viv-bin-mx6q-1.1.0/usr/include/gc_vdk_types.h | ||
22 | @@ -39,7 +39,7 @@ extern "C" { | ||
23 | #endif | ||
24 | |||
25 | #include <EGL/egl.h> | ||
26 | -#include "gc_hal_eglplatform_type.h" | ||
27 | +#include <HAL/gc_hal_eglplatform_type.h> | ||
28 | |||
29 | |||
30 | /******************************************************************************* | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/egl.pc b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/egl.pc deleted file mode 100644 index a21922d..0000000 --- a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/egl.pc +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=/usr/lib | ||
4 | includedir=/usr/include | ||
5 | |||
6 | Name: egl | ||
7 | Description: Vivante EGL library | ||
8 | Requires.private: | ||
9 | Version: 8.0 | ||
10 | Libs: -L${libdir} -lEGL | ||
11 | Libs.private: -lm -lpthread -ldl | ||
12 | Cflags: -I${includedir} -DLINUX | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/egl_x11.pc b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/egl_x11.pc deleted file mode 100644 index 5921583..0000000 --- a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/egl_x11.pc +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=/usr/lib | ||
4 | includedir=/usr/include | ||
5 | |||
6 | Name: egl | ||
7 | Description: Vivante EGL library | ||
8 | Requires.private: libdrm x11 xext xdamage xfixes xcb | ||
9 | Version: 8.0 | ||
10 | Libs: -L${libdir} -lEGL | ||
11 | Libs.private: -lm -lpthread -ldl | ||
12 | Cflags: -I${includedir} -DLINUX | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/fix-conflicting-TLS-definition.patch b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/fix-conflicting-TLS-definition.patch deleted file mode 100644 index 3eac116..0000000 --- a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/fix-conflicting-TLS-definition.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | Avoid conflicting types with Xorg newer code | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
5 | |||
6 | Index: gpu-viv-bin-mx6q-1.1.0/usr/include/HAL/gc_hal_base.h | ||
7 | =================================================================== | ||
8 | --- gpu-viv-bin-mx6q-1.1.0.orig/usr/include/HAL/gc_hal_base.h | ||
9 | +++ gpu-viv-bin-mx6q-1.1.0/usr/include/HAL/gc_hal_base.h | ||
10 | @@ -101,7 +101,7 @@ extern gcsPLS gcPLS; | ||
11 | typedef struct _gcsTLS * gcsTLS_PTR; | ||
12 | |||
13 | typedef void (* gctTLS_DESTRUCTOR) ( | ||
14 | - gcsTLS_PTR TLS | ||
15 | + gcsTLS_PTR pTLS | ||
16 | ); | ||
17 | |||
18 | typedef struct _gcsTLS | ||
19 | @@ -648,10 +648,10 @@ gcoOS_SetPLSValue( | ||
20 | /* Get access to the thread local storage. */ | ||
21 | gceSTATUS | ||
22 | gcoOS_GetTLS( | ||
23 | - OUT gcsTLS_PTR * TLS | ||
24 | + OUT gcsTLS_PTR * pTLS | ||
25 | ); | ||
26 | |||
27 | - /* Copy the TLS from a source thread. */ | ||
28 | + /* Copy the pTLS from a source thread. */ | ||
29 | gceSTATUS gcoOS_CopyTLS(IN gcsTLS_PTR Source); | ||
30 | |||
31 | /* Destroy the objects associated with the current thread. */ | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/gc_hal_eglplatform-remove-xlib-undefs.patch b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/gc_hal_eglplatform-remove-xlib-undefs.patch deleted file mode 100644 index 732a073..0000000 --- a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/gc_hal_eglplatform-remove-xlib-undefs.patch +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | From c59f9640d185759208f9d55a93b6602936dcb5e8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Adrian Alonso <aalonso00@gmail.com> | ||
3 | Date: Sat, 26 Jan 2013 17:52:04 -0600 | ||
4 | Subject: [PATCH 2/2] gc_hal_eglplatform: remove xlib undefs | ||
5 | |||
6 | * Remove header undefs for Always and Status definitions | ||
7 | |||
8 | Signed-off-by: Adrian Alonso <aalonso00@gmail.com> | ||
9 | --- | ||
10 | usr/include/HAL/gc_hal_eglplatform.h | 3 --- | ||
11 | 1 file changed, 3 deletions(-) | ||
12 | |||
13 | diff --git a/usr/include/HAL/gc_hal_eglplatform.h b/usr/include/HAL/gc_hal_eglplatform.h | ||
14 | index a968fe7..e80c65a 100644 | ||
15 | --- a/usr/include/HAL/gc_hal_eglplatform.h | ||
16 | +++ b/usr/include/HAL/gc_hal_eglplatform.h | ||
17 | @@ -341,14 +341,11 @@ typedef Pixmap HALNativePixmapType; | ||
18 | /* Rename some badly named X defines. */ | ||
19 | #ifdef Status | ||
20 | # define XStatus int | ||
21 | -# undef Status | ||
22 | #endif | ||
23 | #ifdef Always | ||
24 | # define XAlways 2 | ||
25 | -# undef Always | ||
26 | #endif | ||
27 | #ifdef CurrentTime | ||
28 | -# undef CurrentTime | ||
29 | # define XCurrentTime 0 | ||
30 | #endif | ||
31 | |||
32 | -- | ||
33 | 1.8.1 | ||
34 | |||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/gc_wayland_protocol.pc b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/gc_wayland_protocol.pc deleted file mode 100644 index f4610ea..0000000 --- a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/gc_wayland_protocol.pc +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=${exec_prefix}/lib | ||
4 | includedir=${prefix}/include | ||
5 | |||
6 | Name: gc_wayland_protocol | ||
7 | Description: Vivante Wayland Protocol Extension Library | ||
8 | Version: 0.1 | ||
9 | Cflags: -I${includedir} | ||
10 | Libs: -L${libdir} -lgc_wayland_protocol | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv1_cm.pc b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv1_cm.pc deleted file mode 100644 index d97b067..0000000 --- a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv1_cm.pc +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=/usr/lib | ||
4 | includedir=/usr/include | ||
5 | |||
6 | Name: glesv1_cm | ||
7 | Description: Vivante OpenGL ES 1.1 CM library | ||
8 | Requires.private: | ||
9 | Version: 8.0 | ||
10 | Libs: -L${libdir} -lGLESv1_CM -lEGL -lGAL | ||
11 | Libs.private: -lm -lpthread -ldl | ||
12 | Cflags: -I${includedir} | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv1_cm_x11.pc b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv1_cm_x11.pc deleted file mode 100644 index e801633..0000000 --- a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv1_cm_x11.pc +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=/usr/lib | ||
4 | includedir=/usr/include | ||
5 | |||
6 | Name: glesv1_cm | ||
7 | Description: Vivante OpenGL ES 1.1 CM library | ||
8 | Requires.private: libdrm x11 xext xdamage xfixes xcb | ||
9 | Version: 8.0 | ||
10 | Libs: -L${libdir} -lGLESv1_CM -lEGL -lGAL | ||
11 | Libs.private: -lm -lpthread -ldl | ||
12 | Cflags: -I${includedir} | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv2.pc b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv2.pc deleted file mode 100644 index 9be46f2..0000000 --- a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv2.pc +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=/usr/lib | ||
4 | includedir=/usr/include | ||
5 | |||
6 | Name: glesv2 | ||
7 | Description: Vivante OpenGL ES 2.0 library | ||
8 | Requires.private: | ||
9 | Version: 8.0 | ||
10 | Libs: -L${libdir} -lGLESv2 -lEGL -lGAL | ||
11 | Libs.private: -lpthread -lrt | ||
12 | Cflags: -I${includedir} | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv2_x11.pc b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv2_x11.pc deleted file mode 100644 index 57ad807..0000000 --- a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv2_x11.pc +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=/usr/lib | ||
4 | includedir=/usr/include | ||
5 | |||
6 | Name: glesv2 | ||
7 | Description: Vivante OpenGL ES 2.0 library | ||
8 | Requires.private: libdrm x11 xext xdamage xfixes xcb | ||
9 | Version: 8.0 | ||
10 | Libs: -L${libdir} -lGLESv2 -lEGL -lGAL | ||
11 | Libs.private: -lpthread -lrt | ||
12 | Cflags: -I${includedir} | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/vg.pc b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/vg.pc deleted file mode 100644 index 7c00def..0000000 --- a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/vg.pc +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=/usr/lib | ||
4 | includedir=/usr/include | ||
5 | |||
6 | Name: vg | ||
7 | Description: Vivante OpenVG 1.1 library | ||
8 | Requires.private: | ||
9 | Version: 8.0 | ||
10 | Libs: -L${libdir} -lOpenVG -lEGL -lGAL | ||
11 | Libs.private: -lpthread -lrt | ||
12 | Cflags: -I${includedir} | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/vg_x11.pc b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/vg_x11.pc deleted file mode 100644 index 94fb91e..0000000 --- a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/vg_x11.pc +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=/usr/lib | ||
4 | includedir=/usr/include | ||
5 | |||
6 | Name: vg | ||
7 | Description: Vivante OpenVG 1.1 library | ||
8 | Requires.private: libdrm x11 xext xdamage xfixes xcb | ||
9 | Version: 8.0 | ||
10 | Libs: -L${libdir} -lOpenVG -lEGL -lGAL | ||
11 | Libs.private: -lpthread -lrt | ||
12 | Cflags: -I${includedir} | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/wayland-egl.pc b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/wayland-egl.pc deleted file mode 100644 index ba1b898..0000000 --- a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/wayland-egl.pc +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=${exec_prefix}/lib | ||
4 | includedir=${prefix}/include | ||
5 | |||
6 | Name: wayland-egl | ||
7 | Description: Bind the driver EGL to the Wayland API | ||
8 | Version: 1.0.0 | ||
9 | Libs: -L${libdir} -lEGL | ||
10 | Cflags: -I${includedir} | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/wayland-viv.pc b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/wayland-viv.pc deleted file mode 100644 index 3fdedd0..0000000 --- a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/wayland-viv.pc +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=${exec_prefix}/lib | ||
4 | includedir=${prefix}/include | ||
5 | |||
6 | Name: Wayland Vivante Lib | ||
7 | Description: Wayland server side library for Vivante's EGL driver | ||
8 | Version: 0.1 | ||
9 | Cflags: -I${includedir}/wayland-viv | ||
10 | Libs: -L${libdir} -lwayland-viv | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.17-1.0.0-hfp.bbappend b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.17-1.0.0-hfp.bbappend deleted file mode 100644 index bed361e..0000000 --- a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.17-1.0.0-hfp.bbappend +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | RDEPENDS_libgl-mx6-dev = "" | ||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.9-1.0.0-hfp.bb b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.9-1.0.0-hfp.bb deleted file mode 100644 index 5c7727b..0000000 --- a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.9-1.0.0-hfp.bb +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | # Copyright (C) 2013 Freescale Semiconductor | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | require gpu-viv-bin-mx6q.inc | ||
5 | |||
6 | SRC_URI[md5sum] = "52f5ebbb6a9b5d0eafdb952246de584e" | ||
7 | SRC_URI[sha256sum] = "8b0386e13d4a7c770f8bc8e7a6119629c5ed379488dd5ef635bc92353f906003" | ||
8 | |||
9 | PACKAGE_FP_TYPE = "hardfp" | ||
10 | |||
11 | RDEPENDS_libgl-mx6-dev = "" | ||
diff --git a/recipes/gstreamer/gst-plugins-bad_0.10.23.bbappend b/recipes/gstreamer/gst-plugins-bad_0.10.23.bbappend new file mode 100644 index 0000000..1c5cc7c --- /dev/null +++ b/recipes/gstreamer/gst-plugins-bad_0.10.23.bbappend | |||
@@ -0,0 +1 @@ | |||
PACKAGECONFIG_append = " faad" | |||
diff --git a/recipes/imx-lib/imx-lib_3.10.9-1.0.0.bb b/recipes/imx-lib/imx-lib_3.10.9-1.0.0.bb deleted file mode 100644 index f2a736a..0000000 --- a/recipes/imx-lib/imx-lib_3.10.9-1.0.0.bb +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | # Copyright (C) 2013 Freescale Semiconductor | ||
2 | |||
3 | require recipes-bsp/imx-lib/imx-lib.inc | ||
4 | |||
5 | SRC_URI[md5sum] = "5cc9c8d09c7ba401cdab4a2ecbda89e2" | ||
6 | SRC_URI[sha256sum] = "d1581c2f2956731da0c42e9dc17514a4d00790deeb83defeb5e07d14746190d8" | ||
7 | |||
8 | PE = "1" | ||
9 | |||
10 | COMPATIBLE_MACHINE = "(mx6)" | ||
diff --git a/recipes/init-ifupdown/init-ifupdown/nitrogen6x/interfaces b/recipes/init-ifupdown/init-ifupdown/nitrogen6x/interfaces new file mode 100644 index 0000000..93ba671 --- /dev/null +++ b/recipes/init-ifupdown/init-ifupdown/nitrogen6x/interfaces | |||
@@ -0,0 +1,31 @@ | |||
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/tibidabo/interfaces b/recipes/init-ifupdown/init-ifupdown/tibidabo/interfaces new file mode 100644 index 0000000..cb45575 --- /dev/null +++ b/recipes/init-ifupdown/init-ifupdown/tibidabo/interfaces | |||
@@ -0,0 +1,37 @@ | |||
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 | iface eth1 inet dhcp | ||
20 | |||
21 | auto pt0 | ||
22 | iface pt0 inet dhcp | ||
23 | hostname `/bin/hostname` | ||
24 | auto pt1 | ||
25 | iface pt1 inet dhcp | ||
26 | hostname `/bin/hostname` | ||
27 | |||
28 | # Ethernet/RNDIS gadget (g_ether) | ||
29 | # ... or on host side, usbnet and random hwaddr | ||
30 | iface usb0 inet static | ||
31 | address 192.168.7.2 | ||
32 | netmask 255.255.255.0 | ||
33 | network 192.168.7.0 | ||
34 | gateway 192.168.7.1 | ||
35 | |||
36 | # Bluetooth networking | ||
37 | iface bnep0 inet dhcp | ||
diff --git a/recipes/libgles/libgles-omap3/0001-Add-GLchar-typedef.patch b/recipes/libgles/libgles-omap3/0001-Add-GLchar-typedef.patch deleted file mode 100644 index 15c85cc..0000000 --- a/recipes/libgles/libgles-omap3/0001-Add-GLchar-typedef.patch +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | From a5fdf434b402d4c90390bf5db08ab6bc8bf0a5a3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@digia.com> | ||
3 | Date: Thu, 6 Sep 2012 15:18:20 +0300 | ||
4 | Subject: [PATCH] Add GLchar typedef | ||
5 | |||
6 | --- | ||
7 | .../SDKPackage/Builds/OGLES2/Include/GLES2/gl2.h | 1 + | ||
8 | 1 files changed, 1 insertions(+), 0 deletions(-) | ||
9 | |||
10 | diff --git a/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/Include/GLES2/gl2.h b/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/Include/GLES2/gl2.h | ||
11 | index d9ae403..225f2f1 100644 | ||
12 | --- a/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/Include/GLES2/gl2.h | ||
13 | +++ b/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/Include/GLES2/gl2.h | ||
14 | @@ -17,6 +17,7 @@ extern "C" { | ||
15 | *-----------------------------------------------------------------------*/ | ||
16 | |||
17 | typedef void GLvoid; | ||
18 | +typedef char GLchar; | ||
19 | typedef unsigned int GLenum; | ||
20 | typedef unsigned char GLboolean; | ||
21 | typedef unsigned int GLbitfield; | ||
22 | -- | ||
23 | 1.7.4.1 | ||
24 | |||
diff --git a/recipes/linux/linux-yocto_3.14.bbappend b/recipes/linux/linux-yocto_3.%.bbappend index 7d6289e..7d6289e 100644 --- a/recipes/linux/linux-yocto_3.14.bbappend +++ b/recipes/linux/linux-yocto_3.%.bbappend | |||
diff --git a/recipes/opengldummy/files/egl.cpp b/recipes/opengldummy/files/egl.cpp new file mode 100644 index 0000000..7c28b41 --- /dev/null +++ b/recipes/opengldummy/files/egl.cpp | |||
@@ -0,0 +1,178 @@ | |||
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 new file mode 100644 index 0000000..3f632a3 --- /dev/null +++ b/recipes/opengldummy/files/gles2.cpp | |||
@@ -0,0 +1,728 @@ | |||
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 new file mode 100644 index 0000000..99ea342 --- /dev/null +++ b/recipes/opengldummy/files/headers/EGL/egl.h | |||
@@ -0,0 +1,329 @@ | |||
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 new file mode 100644 index 0000000..a392b31 --- /dev/null +++ b/recipes/opengldummy/files/headers/EGL/eglext.h | |||
@@ -0,0 +1,628 @@ | |||
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 new file mode 100644 index 0000000..bcbda98 --- /dev/null +++ b/recipes/opengldummy/files/headers/EGL/eglplatform.h | |||
@@ -0,0 +1,143 @@ | |||
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 unsigned int EGLNativeDisplayType; | ||
109 | typedef unsigned int EGLNativeWindowType; | ||
110 | typedef unsigned int 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 new file mode 100644 index 0000000..f6bed7d --- /dev/null +++ b/recipes/opengldummy/files/headers/GLES2/gl2.h | |||
@@ -0,0 +1,523 @@ | |||
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 new file mode 100644 index 0000000..36801be --- /dev/null +++ b/recipes/opengldummy/files/headers/GLES2/gl2ext.h | |||
@@ -0,0 +1,1558 @@ | |||
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 new file mode 100644 index 0000000..89d4d44 --- /dev/null +++ b/recipes/opengldummy/files/headers/GLES2/gl2platform.h | |||
@@ -0,0 +1,30 @@ | |||
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 new file mode 100644 index 0000000..81b63bd --- /dev/null +++ b/recipes/opengldummy/files/headers/GLES3/gl3.h | |||
@@ -0,0 +1,937 @@ | |||
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 new file mode 100644 index 0000000..6fe473d --- /dev/null +++ b/recipes/opengldummy/files/headers/GLES3/gl31.h | |||
@@ -0,0 +1,1184 @@ | |||
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 new file mode 100644 index 0000000..b1e869d --- /dev/null +++ b/recipes/opengldummy/files/headers/GLES3/gl3platform.h | |||
@@ -0,0 +1,30 @@ | |||
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 new file mode 100644 index 0000000..d976ab5 --- /dev/null +++ b/recipes/opengldummy/files/headers/KHR/khrplatform.h | |||
@@ -0,0 +1,298 @@ | |||
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 new file mode 100644 index 0000000..b33e060 --- /dev/null +++ b/recipes/opengldummy/opengldummy.bb | |||
@@ -0,0 +1,40 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | DESCRIPTION = "OpenGL dummy library provides headers and a dummy library for EGL/GLES" | ||
24 | SECTION = "devel" | ||
25 | LICENSE = "CLOSED" | ||
26 | |||
27 | PV = "1.0.0" | ||
28 | |||
29 | require opengldummy.inc | ||
30 | |||
31 | do_compile() { | ||
32 | ${CC} -DQGS_BUILD_CLIENT_DLL -fPIC -shared -I${WORKDIR}/headers -o libEGL.so ${WORKDIR}/egl.cpp | ||
33 | ${CC} -DQGS_BUILD_CLIENT_DLL -fPIC -shared -I${WORKDIR}/headers -o libGLESv2.so ${WORKDIR}/gles2.cpp | ||
34 | } | ||
35 | |||
36 | do_install_append() { | ||
37 | install -m 0755 -d ${D}${libdir} | ||
38 | install -m 0755 ${S}/libEGL.so ${D}${libdir} | ||
39 | install -m 0755 ${S}/libGLESv2.so ${D}${libdir} | ||
40 | } | ||
diff --git a/recipes/opengldummy/opengldummy.inc b/recipes/opengldummy/opengldummy.inc new file mode 100644 index 0000000..23af5df --- /dev/null +++ b/recipes/opengldummy/opengldummy.inc | |||
@@ -0,0 +1,45 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | PROVIDES = "virtual/libgles2 virtual/libgles3 virtual/egl" | ||
24 | |||
25 | SRC_URI = "file://headers \ | ||
26 | file://egl.cpp \ | ||
27 | file://gles2.cpp \ | ||
28 | " | ||
29 | |||
30 | FILES_${PN} = "${libdir}" | ||
31 | FILES_${PN}-dev = "${includedir}/" | ||
32 | |||
33 | do_install() { | ||
34 | install -m 0755 -d ${D}${includedir}/EGL | ||
35 | install -m 0755 ${WORKDIR}/headers/EGL/* ${D}${includedir}/EGL | ||
36 | |||
37 | install -m 0755 -d ${D}${includedir}/GLES2 | ||
38 | install -m 0755 ${WORKDIR}/headers/GLES2/* ${D}${includedir}/GLES2 | ||
39 | |||
40 | install -m 0755 -d ${D}${includedir}/GLES3 | ||
41 | install -m 0755 ${WORKDIR}/headers/GLES3/* ${D}${includedir}/GLES3 | ||
42 | |||
43 | install -m 0755 -d ${D}${includedir}/KHR | ||
44 | install -m 0755 ${WORKDIR}/headers/KHR/* ${D}${includedir}/KHR | ||
45 | } | ||
diff --git a/recipes/opengldummy/qtglesstream-dummy-client.bb b/recipes/opengldummy/qtglesstream-dummy-client.bb new file mode 100644 index 0000000..4c8c86a --- /dev/null +++ b/recipes/opengldummy/qtglesstream-dummy-client.bb | |||
@@ -0,0 +1,38 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | DESCRIPTION = "QtGlesStream dummy client provides headers and a dummy library for EGL/GLES" | ||
24 | SECTION = "devel" | ||
25 | LICENSE = "CLOSED" | ||
26 | |||
27 | PV = "1.0.0" | ||
28 | |||
29 | require opengldummy.inc | ||
30 | |||
31 | do_compile() { | ||
32 | ${CC} -DQGS_BUILD_CLIENT_DLL -fPIC -shared -I${WORKDIR}/headers -o libQtGlesStreamClient.so ${WORKDIR}/egl.cpp ${WORKDIR}/gles2.cpp | ||
33 | } | ||
34 | |||
35 | do_install_append() { | ||
36 | install -m 0755 -d ${D}${libdir} | ||
37 | install -m 0755 ${S}/libQtGlesStreamClient.so ${D}${libdir} | ||
38 | } | ||
diff --git a/recipes/openssl/openssl_1.0.1g.bbappend b/recipes/openssl/openssl_1.%.bbappend index 792ad2f..792ad2f 100644 --- a/recipes/openssl/openssl_1.0.1g.bbappend +++ b/recipes/openssl/openssl_1.%.bbappend | |||
diff --git a/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb b/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb index c17089b..5eeaec1 100644 --- a/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb +++ b/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb | |||
@@ -34,6 +34,7 @@ RDEPENDS_${PN} = "\ | |||
34 | python-multiprocessing-nativesdk \ | 34 | python-multiprocessing-nativesdk \ |
35 | python-shell-nativesdk \ | 35 | python-shell-nativesdk \ |
36 | python-threading-nativesdk \ | 36 | python-threading-nativesdk \ |
37 | ${MACHINE_EXTRA_INSTALL_SDK_HOST} \ | ||
37 | " | 38 | " |
38 | 39 | ||
39 | 40 | ||
diff --git a/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-target.bb b/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-target.bb index ce1eaad..f4b70bf 100644 --- a/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-target.bb +++ b/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-target.bb | |||
@@ -30,8 +30,7 @@ PACKAGES = "${PN}" | |||
30 | MACHINE_EXTRA_INSTALL_SDK ?= "" | 30 | MACHINE_EXTRA_INSTALL_SDK ?= "" |
31 | 31 | ||
32 | RDEPENDS_${PN} += "\ | 32 | RDEPENDS_${PN} += "\ |
33 | task-core-standalone-sdk-target \ | 33 | packagegroup-core-standalone-sdk-target \ |
34 | task-core-standalone-sdk-target-dbg \ | ||
35 | base-files \ | 34 | base-files \ |
36 | glib-2.0-dev \ | 35 | glib-2.0-dev \ |
37 | openssl-dev \ | 36 | openssl-dev \ |
diff --git a/recipes/packagegroup/packagegroup-b2qt-embedded-gstreamer.bb b/recipes/packagegroup/packagegroup-b2qt-embedded-gstreamer.bb index a51ffdb..dd8b176 100644 --- a/recipes/packagegroup/packagegroup-b2qt-embedded-gstreamer.bb +++ b/recipes/packagegroup/packagegroup-b2qt-embedded-gstreamer.bb | |||
@@ -31,13 +31,23 @@ RDEPENDS_${PN} = "\ | |||
31 | gst-meta-audio \ | 31 | gst-meta-audio \ |
32 | gst-plugins-good \ | 32 | gst-plugins-good \ |
33 | gst-plugins-base-app \ | 33 | gst-plugins-base-app \ |
34 | gst-plugins-base-audiorate \ | ||
35 | gst-plugins-base-videorate \ | ||
36 | gst-plugins-base-encodebin \ | ||
34 | gst-plugins-good-videofilter \ | 37 | gst-plugins-good-videofilter \ |
35 | gst-plugins-good-id3demux \ | 38 | gst-plugins-good-id3demux \ |
36 | gst-plugins-good-auparse \ | 39 | gst-plugins-good-auparse \ |
37 | gst-plugins-good-isomp4 \ | 40 | gst-plugins-good-isomp4 \ |
38 | gst-plugins-good-icydemux \ | 41 | gst-plugins-good-icydemux \ |
42 | gst-plugins-good-video4linux2 \ | ||
43 | gst-plugins-good-multifile \ | ||
44 | gst-plugins-good-videocrop \ | ||
39 | gst-plugins-ugly-rmdemux \ | 45 | gst-plugins-ugly-rmdemux \ |
40 | gst-plugins-ugly-asf \ | 46 | gst-plugins-ugly-asf \ |
41 | gst-plugins-ugly-a52dec \ | 47 | gst-plugins-ugly-a52dec \ |
48 | gst-plugins-bad-mpegdemux \ | ||
49 | gst-plugins-bad-faad \ | ||
50 | gst-plugins-bad-camerabin2 \ | ||
51 | gst-plugins-bad-jpegformat \ | ||
42 | gst-ffmpeg \ | 52 | gst-ffmpeg \ |
43 | " | 53 | " |
diff --git a/recipes/u-boot/u-boot-uenv-script/uEnv.txt b/recipes/u-boot/u-boot-uenv-script/uEnv.txt deleted file mode 100644 index f8385a4..0000000 --- a/recipes/u-boot/u-boot-uenv-script/uEnv.txt +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | bootfile=zImage | ||
2 | optargs=consoleblank=0 vt.global_cursor_default=0 | ||
3 | mmcboot=echo Booting from mmc ...; run mmcargs; bootz ${kloadaddr} - ${fdtaddr} | ||
diff --git a/recipes/wayland/wayland/0001-Use-native-wayland-scanner-when-building-nativesdk-w.patch b/recipes/wayland/wayland/0001-Use-native-wayland-scanner-when-building-nativesdk-w.patch new file mode 100644 index 0000000..2a691a1 --- /dev/null +++ b/recipes/wayland/wayland/0001-Use-native-wayland-scanner-when-building-nativesdk-w.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From a9ab89496d32ab42d9f697c43cf8bb04feaeabfa Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@digia.com> | ||
3 | Date: Fri, 26 Sep 2014 10:39:51 +0300 | ||
4 | Subject: [PATCH] Use native wayland-scanner when building nativesdk-wayland | ||
5 | |||
6 | The wayland-scanner built for the nativesdk cannot be run during the build, | ||
7 | so instead use the wayland-scanner from native build. | ||
8 | --- | ||
9 | src/Makefile.am | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/src/Makefile.am b/src/Makefile.am | ||
13 | index b938d17..84fcdf6 100644 | ||
14 | --- a/src/Makefile.am | ||
15 | +++ b/src/Makefile.am | ||
16 | @@ -41,7 +41,7 @@ AM_CFLAGS = $(GCC_CFLAGS) -pthread | ||
17 | protocoldir = $(top_srcdir)/protocol | ||
18 | |||
19 | if ENABLE_SCANNER | ||
20 | -wayland_scanner = $(top_builddir)/src/wayland-scanner | ||
21 | +wayland_scanner = wayland-scanner | ||
22 | else | ||
23 | wayland_scanner = wayland-scanner | ||
24 | endif | ||
25 | -- | ||
26 | 1.8.3.2 | ||
27 | |||
diff --git a/recipes/wayland/wayland_1.%.bbappend b/recipes/wayland/wayland_1.%.bbappend new file mode 100644 index 0000000..8df7524 --- /dev/null +++ b/recipes/wayland/wayland_1.%.bbappend | |||
@@ -0,0 +1,32 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
24 | SRC_URI_append_class-nativesdk = " file://just-scanner.patch \ | ||
25 | file://disable-macro-checks-not-used-for-scanner.patch \ | ||
26 | file://0001-Use-native-wayland-scanner-when-building-nativesdk-w.patch \ | ||
27 | " | ||
28 | |||
29 | EXTRA_OECONF_class-nativesdk = "--disable-documentation --enable-scanner" | ||
30 | DEPENDS_class-nativesdk = "libffi-nativesdk wayland-native" | ||
31 | |||
32 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/recipes/wpa-supplicant/wpa-supplicant_2.1.bbappend b/recipes/wpa-supplicant/wpa-supplicant_2.%.bbappend index 9a200b2..9a200b2 100644 --- a/recipes/wpa-supplicant/wpa-supplicant_2.1.bbappend +++ b/recipes/wpa-supplicant/wpa-supplicant_2.%.bbappend | |||
diff --git a/recipes/x264/x264_git.bbappend b/recipes/x264/x264_git.bbappend new file mode 100644 index 0000000..6aed778 --- /dev/null +++ b/recipes/x264/x264_git.bbappend | |||
@@ -0,0 +1,25 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | # Workaround: at the sha version defined by tibidabo, the x264 recipe | ||
24 | # defines a nonexisting SRCREV sha. | ||
25 | SRCREV_tibidabo = "ffc3ad4945da69f3caa2b40e4eed715a9a8d9526" | ||
diff --git a/scripts/manifest.xml b/scripts/manifest.xml new file mode 100644 index 0000000..0eb2fb9 --- /dev/null +++ b/scripts/manifest.xml | |||
@@ -0,0 +1,53 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <manifest> | ||
3 | |||
4 | <default sync-j="4" revision="daisy"/> | ||
5 | |||
6 | <remote fetch="git://git.yoctoproject.org" name="yocto"/> | ||
7 | <remote fetch="git://git.openembedded.org" name="oe"/> | ||
8 | <remote fetch="git://github.com/Freescale" name="freescale"/> | ||
9 | <remote fetch="git://github.com/beagleboard" name="beagleboard"/> | ||
10 | <remote fetch="git://git.toradex.com" name="toradex"/> | ||
11 | |||
12 | <project name="poky" | ||
13 | remote="yocto" | ||
14 | revision="18d859a8c982a76dda5bfe27a32d1a0905947d2e" | ||
15 | path="sources/poky"/> | ||
16 | <project name="meta-openembedded" | ||
17 | remote="oe" | ||
18 | revision="8065dd8456913457a0114ddb2b4bd4842847b2a3" | ||
19 | path="sources/meta-openembedded"/> | ||
20 | |||
21 | <project name="meta-fsl-arm" | ||
22 | remote="yocto" | ||
23 | revision="4e694e727aa8babfd0ba06c5e98bab3753b39a8b" | ||
24 | path="sources/meta-fsl-arm" | ||
25 | groups="notdefault,fsl,toradex"/> | ||
26 | <project name="meta-ti" | ||
27 | remote="yocto" | ||
28 | revision="c06f25913317160e03d172df73919edf9bdf8554" | ||
29 | path="sources/meta-ti" | ||
30 | groups="notdefault,ti,bbb"/> | ||
31 | <project name="meta-raspberrypi" | ||
32 | remote="yocto" | ||
33 | revision="946b69299737cc2f1378c864f1b9075280db1b53" | ||
34 | path="sources/meta-raspberrypi" | ||
35 | groups="notdefault,rpi"/> | ||
36 | <project name="meta-fsl-arm-extra" | ||
37 | remote="freescale" | ||
38 | revision="e1085deb3d915d2a95a65cceadc77c6de0dadfb6" | ||
39 | path="sources/meta-fsl-arm-extra" | ||
40 | groups="notdefault,fsl,toradex"/> | ||
41 | <project name="meta-beagleboard" | ||
42 | remote="beagleboard" | ||
43 | revision="b5c709b2b6bd3bf236df923fa8f245a00fbb1b60" | ||
44 | path="sources/meta-beagleboard" | ||
45 | groups="notdefault,bbb"/> | ||
46 | <project name="meta-toradex" | ||
47 | remote="toradex" | ||
48 | revision="d2a0c91d9fe0836113700daf28390588d2ddc9a8" | ||
49 | path="sources/meta-toradex" | ||
50 | groups="notdefault,toradex"/> | ||
51 | |||
52 | </manifest> | ||
53 | |||
diff --git a/scripts/manifest_daisy.xml b/scripts/manifest_daisy.xml new file mode 100644 index 0000000..2668398 --- /dev/null +++ b/scripts/manifest_daisy.xml | |||
@@ -0,0 +1,53 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <manifest> | ||
3 | |||
4 | <default sync-j="4" revision="daisy"/> | ||
5 | |||
6 | <remote fetch="git://git.yoctoproject.org" name="yocto"/> | ||
7 | <remote fetch="git://git.openembedded.org" name="oe"/> | ||
8 | <remote fetch="git://github.com/Freescale" name="freescale"/> | ||
9 | <remote fetch="git://github.com/beagleboard" name="beagleboard"/> | ||
10 | <remote fetch="git://git.toradex.com" name="toradex"/> | ||
11 | |||
12 | <project name="poky" | ||
13 | remote="yocto" | ||
14 | revision="daisy" | ||
15 | path="sources/poky"/> | ||
16 | <project name="meta-openembedded" | ||
17 | remote="oe" | ||
18 | revision="daisy" | ||
19 | path="sources/meta-openembedded"/> | ||
20 | |||
21 | <project name="meta-fsl-arm" | ||
22 | remote="yocto" | ||
23 | revision="daisy" | ||
24 | path="sources/meta-fsl-arm" | ||
25 | groups="notdefault,fsl,toradex"/> | ||
26 | <project name="meta-ti" | ||
27 | remote="yocto" | ||
28 | revision="daisy" | ||
29 | path="sources/meta-ti" | ||
30 | groups="notdefault,ti,bbb"/> | ||
31 | <project name="meta-raspberrypi" | ||
32 | remote="yocto" | ||
33 | revision="daisy" | ||
34 | path="sources/meta-raspberrypi" | ||
35 | groups="notdefault,rpi"/> | ||
36 | <project name="meta-fsl-arm-extra" | ||
37 | remote="freescale" | ||
38 | revision="daisy" | ||
39 | path="sources/meta-fsl-arm-extra" | ||
40 | groups="notdefault,fsl,toradex"/> | ||
41 | <project name="meta-beagleboard" | ||
42 | remote="beagleboard" | ||
43 | revision="master" | ||
44 | path="sources/meta-beagleboard" | ||
45 | groups="notdefault,bbb"/> | ||
46 | <project name="meta-toradex" | ||
47 | remote="toradex" | ||
48 | revision="V2.3" | ||
49 | path="sources/meta-toradex" | ||
50 | groups="notdefault,toradex"/> | ||
51 | |||
52 | </manifest> | ||
53 | |||
diff --git a/scripts/manifest_tibidabo.xml b/scripts/manifest_tibidabo.xml new file mode 100644 index 0000000..97c18dd --- /dev/null +++ b/scripts/manifest_tibidabo.xml | |||
@@ -0,0 +1,31 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <manifest> | ||
3 | |||
4 | <default sync-j="4" revision="dora"/> | ||
5 | |||
6 | <remote fetch="git://git.yoctoproject.org" name="yocto"/> | ||
7 | <remote fetch="git://git.openembedded.org" name="oe"/> | ||
8 | <remote fetch="git://github.com/Freescale" name="freescale"/> | ||
9 | <remote fetch="https://github.com/architech-boards/" name="architech"/> | ||
10 | |||
11 | <project name="poky" | ||
12 | remote="yocto" | ||
13 | revision="84c2763fa0bf08a83caa2c5ee532b5bef2ff918b" | ||
14 | path="sources/poky"/> | ||
15 | <project name="meta-openembedded" | ||
16 | remote="oe" | ||
17 | revision="40e0f371f3eb1628655c484feac0cebf810737b4" | ||
18 | path="sources/meta-openembedded"/> | ||
19 | |||
20 | <project name="meta-fsl-arm" | ||
21 | remote="yocto" | ||
22 | revision="fb1681666fac9c096314cd01242be4613b7ff140" | ||
23 | path="sources/meta-fsl-arm" | ||
24 | groups="notdefault,architech"/> | ||
25 | <project name="meta-tibidabo" | ||
26 | remote="architech" | ||
27 | revision="06c6b09e0776507e1230aa98b5ca10d9d3968286" | ||
28 | path="sources/meta-tibidabo" | ||
29 | groups="notdefault,architech"/> | ||
30 | |||
31 | </manifest> | ||
diff --git a/scripts/setup-environment.sh b/scripts/setup-environment.sh new file mode 100755 index 0000000..62055a2 --- /dev/null +++ b/scripts/setup-environment.sh | |||
@@ -0,0 +1,96 @@ | |||
1 | #!/bin/sh | ||
2 | ############################################################################# | ||
3 | ## | ||
4 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
5 | ## | ||
6 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
7 | ## framework. | ||
8 | ## | ||
9 | ## $QT_BEGIN_LICENSE$ | ||
10 | ## Commercial License Usage Only | ||
11 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
12 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
13 | ## may use this file in accordance with the terms contained in said license | ||
14 | ## agreement. | ||
15 | ## | ||
16 | ## For further information use the contact form at | ||
17 | ## http://www.qt.io/contact-us. | ||
18 | ## | ||
19 | ## | ||
20 | ## $QT_END_LICENSE$ | ||
21 | ## | ||
22 | ############################################################################# | ||
23 | |||
24 | while test -n "$1"; do | ||
25 | case "$1" in | ||
26 | "--help" | "-h") | ||
27 | echo "Usage: . $0 [build directory]" | ||
28 | return 0 | ||
29 | ;; | ||
30 | *) | ||
31 | BUILDDIR=$1 | ||
32 | ;; | ||
33 | esac | ||
34 | shift | ||
35 | done | ||
36 | |||
37 | THIS_SCRIPT="setup-environment.sh" | ||
38 | if [ "$(basename $0)" = "${THIS_SCRIPT}" ]; then | ||
39 | echo "Error: This script needs to be sourced. Please run as '. $0'" | ||
40 | exit 1 | ||
41 | fi | ||
42 | |||
43 | if [ -z "$MACHINE" ]; then | ||
44 | echo "Error: MACHINE environment variable not defined" | ||
45 | return 1 | ||
46 | fi | ||
47 | |||
48 | BUILDDIR=${BUILDDIR:-build-${MACHINE}} | ||
49 | |||
50 | if [ ! -f ${PWD}/${BUILDDIR}/conf/bblayers.conf ]; then | ||
51 | case ${MACHINE} in | ||
52 | apalis-imx6|colibri-vf) | ||
53 | LAYERSCONF="bblayers.conf.toradex.sample" | ||
54 | ;; | ||
55 | imx53qsb|imx6qsabresd|nitrogen6x) | ||
56 | LAYERSCONF="bblayers.conf.fsl.sample" | ||
57 | ;; | ||
58 | tibidabo) | ||
59 | LAYERSCONF="bblayers.conf.tibidabo.sample" | ||
60 | ;; | ||
61 | beagleboard|am335x-evm) | ||
62 | LAYERSCONF="bblayers.conf.ti.sample" | ||
63 | ;; | ||
64 | beaglebone) | ||
65 | LAYERSCONF="bblayers.conf.bbb.sample" | ||
66 | ;; | ||
67 | raspberrypi) | ||
68 | LAYERSCONF="bblayers.conf.rpi.sample" | ||
69 | ;; | ||
70 | emulator) | ||
71 | LAYERSCONF="bblayers.conf.emulator.sample" | ||
72 | ;; | ||
73 | *) | ||
74 | LAYERSCONF="bblayers.conf.sample" | ||
75 | echo "Unknown MACHINE, bblayers.conf might need manual editing" | ||
76 | ;; | ||
77 | esac | ||
78 | |||
79 | mkdir -p ${PWD}/${BUILDDIR}/conf | ||
80 | cp ${PWD}/sources/meta-b2qt/conf/${LAYERSCONF} ${PWD}/${BUILDDIR}/conf/bblayers.conf | ||
81 | |||
82 | if [ ! -d ${PWD}/sources/meta-b2qt/.git ]; then | ||
83 | QT_SDK_PATH=$(readlink -f ${PWD}/sources/meta-b2qt/../../) | ||
84 | fi | ||
85 | fi | ||
86 | |||
87 | export TEMPLATECONF="${PWD}/sources/meta-b2qt/conf" | ||
88 | . sources/poky/oe-init-build-env ${BUILDDIR} | ||
89 | |||
90 | # use sources from Qt SDK if that is available | ||
91 | sed -i -e "/QT_SDK_PATH/s:\"\":\"${QT_SDK_PATH}\":" conf/local.conf | ||
92 | |||
93 | unset QT_SDK_PATH | ||
94 | unset BUILDDIR | ||
95 | unset TEMPLATECONF | ||
96 | unset LAYERSCONF | ||