1# For documentation on the .attrib file format, see: 2# android/android-emugl/host/tools/emugen/README 3 4GLOBAL 5 base_opcode 10000 6 encoder_headers <stdint.h> <EGL/egl.h> "glUtils.h" 7 8rcGetEGLVersion 9 dir major out 10 len major sizeof(EGLint) 11 dir minor out 12 len minor sizeof(EGLint) 13 14rcQueryEGLString 15 dir buffer out 16 len buffer bufferSize 17 18rcGetGLString 19 dir buffer out 20 len buffer bufferSize 21 22rcGetNumConfigs 23 dir numAttribs out 24 len numAttribs sizeof(uint32_t) 25 26rcGetConfigs 27 dir buffer out 28 len buffer bufSize 29 30rcChooseConfig 31 dir attribs in 32 len attribs attribs_size 33 dir configs out 34 var_flag configs nullAllowed 35 len configs configs_size*sizeof(uint32_t) 36 37rcReadColorBuffer 38 dir pixels out 39 len pixels (((glUtilsPixelBitSize(format, type) * width) >> 3) * height) 40 41rcReadColorBufferYUV 42 dir pixels out 43 len pixels pixels_size 44 45rcUpdateColorBuffer 46 dir pixels in 47 len pixels (((glUtilsPixelBitSize(format, type) * width) >> 3) * height) 48 var_flag pixels isLarge 49 50rcUpdateColorBufferDMA 51 dir pixels in 52 len pixels pixels_size 53 var_flag pixels DMA 54 flag flushOnEncode 55 56rcCloseColorBuffer 57 flag flushOnEncode 58 59rcCreateSyncKHR 60 dir attribs in 61 len attribs num_attribs 62 dir glsync_out out 63 len glsync_out sizeof(uint64_t) 64 dir syncthread_out out 65 len syncthread_out sizeof(uint64_t) 66 67rcCompose 68 dir buffer in 69 len buffer bufferSize 70 flag flushOnEncode 71 72rcCreateDisplay 73 dir displayId out 74 len displayId sizeof(uint32_t) 75 76rcGetDisplayColorBuffer 77 dir colorBuffer out 78 len colorBuffer sizeof(uint32_t) 79 80rcGetColorBufferDisplay 81 dir displayId out 82 len displayId sizeof(uint32_t) 83 84rcGetDisplayPose 85 dir x out 86 len x sizeof(int32_t) 87 dir y out 88 len y sizeof(int32_t) 89 dir w out 90 len w sizeof(uint32_t) 91 dir h out 92 len h sizeof(uint32_t) 93 94rcMakeCurrentAsync 95 flag flushOnEncode 96 97rcComposeAsync 98 dir buffer in 99 len buffer bufferSize 100 flag flushOnEncode 101 102rcDestroySyncKHRAsync 103 flag flushOnEncode 104 105rcComposeWithoutPost 106 dir buffer in 107 len buffer bufferSize 108 flag flushOnEncode 109 110rcComposeAsyncWithoutPost 111 dir buffer in 112 len buffer bufferSize 113 flag flushOnEncode 114 115rcReadColorBufferDMA 116 dir pixels out 117 len pixels pixels_size 118 var_flag pixels DMA 119 120rcSetProcessMetadata 121 len key (strlen(key) + 1) 122 len valuePtr valueSize 123 124rcGetHostExtensionsString 125 dir buffer out 126 len buffer bufferSize