emugl: import script for AOSP to generate encoding/decoding functions

This commit is contained in:
Simon Fels 2017-08-31 16:04:47 +02:00 • committed by Simon Fels
commit 3fcdb31ada
3 changed files with 153 additions and 0 deletions

View file

@ -0,0 +1,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