1GLOBAL
2	base_opcode 10000
3	encoder_headers <stdint.h> <EGL/egl.h> "glUtils.h"
4
5rcGetEGLVersion
6    dir major out
7    len major sizeof(EGLint)
8    dir minor out
9    len minor sizeof(EGLint)
10
11rcQueryEGLString
12    dir buffer out
13    len buffer bufferSize
14
15rcGetGLString
16    dir buffer out
17    len buffer bufferSize
18
19rcGetNumConfigs
20    dir numAttribs out
21    len numAttribs sizeof(uint32_t)
22
23rcGetConfigs
24    dir buffer out
25    len buffer bufSize
26
27rcChooseConfig
28    dir attribs in
29    len attribs attribs_size
30    dir configs out
31    var_flag configs nullAllowed
32    len configs configs_size*sizeof(uint32_t)
33
34rcReadColorBuffer
35    dir pixels out
36    len pixels (((glUtilsPixelBitSize(format, type) * width) >> 3) * height)
37
38rcUpdateColorBuffer
39    dir pixels in
40    len pixels (((glUtilsPixelBitSize(format, type) * width) >> 3) * height)
41    var_flag pixels isLarge
42