File: generate-emugl-source.md

package info (click to toggle)
anbox 0.0~git20190124-1
  • links: PTS, VCS
  • area: contrib
  • in suites: buster
  • size: 22,000 kB
  • sloc: cpp: 76,190; ansic: 7,434; sh: 1,350; xml: 818; java: 780; python: 390; makefile: 35; lisp: 7
file content (16 lines) | stat: -rw-r--r-- 508 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Generate Android EmuGL source

Parts of the EmuGL layer are generated with a tool called emugen (see
external/android-emugl/host/tools/emugen).

To generate the source again after a modification simply call

```
$ scripts/update-emugl-sources.sh --emugen=<path to emugen>/emugen
```

The definition of the various attributes/types/functions can be found in

 * external/android-emugl/host/libs/renderControl_dec
 * external/android-emugl/host/libs/GLESv1_dec
 * external/android-emugl/host/libs/GLESv2_dec