Permalink
Browse files

Recreate opt/vc files from userland tree

  • Loading branch information...
1 parent 8d30ed9 commit 855e997fb4588ef47ab6b4db23b47e42043f7527 @popcornmix popcornmix committed Nov 17, 2012
Showing with 24,647 additions and 4,209 deletions.
  1. BIN hardfp/opt/vc/bin/tvservice
  2. BIN hardfp/opt/vc/bin/vcgencmd
  3. BIN hardfp/opt/vc/bin/vchiq_test
  4. +3 −3 hardfp/opt/vc/include/EGL/egl.h
  5. +55 −185 hardfp/opt/vc/include/EGL/eglext.h
  6. +99 −0 hardfp/opt/vc/include/EGL/eglext_android.h
  7. +19 −2 hardfp/opt/vc/include/EGL/eglext_brcm.h
  8. +54 −0 hardfp/opt/vc/include/EGL/eglext_nvidia.h
  9. +59 −4 hardfp/opt/vc/include/EGL/eglplatform.h
  10. +7 −5 hardfp/opt/vc/include/GLES/gl.h
  11. +94 −46 hardfp/opt/vc/include/GLES/glext.h
  12. +9 −1 hardfp/opt/vc/include/GLES/glplatform.h
  13. +6 −4 hardfp/opt/vc/include/GLES2/gl2.h
  14. +121 −67 hardfp/opt/vc/include/GLES2/gl2ext.h
  15. +9 −1 hardfp/opt/vc/include/GLES2/gl2platform.h
  16. +0 −195 hardfp/opt/vc/include/IL/OMX_ContentPipe.h
  17. +40 −57 hardfp/opt/vc/include/KHR/khrplatform.h
  18. +19 −20 hardfp/opt/vc/include/VG/openvg.h
  19. +15 −15 hardfp/opt/vc/include/VG/vgext.h
  20. +24 −44 hardfp/opt/vc/include/VG/vgplatform.h
  21. +11 −11 hardfp/opt/vc/include/VG/vgu.h
  22. +275 −0 hardfp/opt/vc/include/WF/wfc.h
  23. +35 −29 opt/vc/include/interface/vmcs_host/vchost_config.h → hardfp/opt/vc/include/WF/wfcplatform.h
  24. +12 −13 hardfp/opt/vc/include/interface/{vchiq_arm/vchiq_connected.h → vchi/common/endian.h}
  25. +0 −6 hardfp/opt/vc/include/interface/vchi/connections/connection.h
  26. +0 −2 hardfp/opt/vc/include/interface/vchi/message_drivers/message.h
  27. +0 −2 hardfp/opt/vc/include/interface/vchi/vchi.h
  28. +0 −92 hardfp/opt/vc/include/interface/vchi/vchi_autoservice.h
  29. +0 −4 hardfp/opt/vc/include/interface/vchi/vchi_cfg.h
  30. +0 −1 hardfp/opt/vc/include/interface/vchi/vchi_cfg_internal.h
  31. +0 −2 hardfp/opt/vc/include/interface/vchi/vchi_common.h
  32. +0 −127 hardfp/opt/vc/include/interface/vchiq_arm/vchiq_arm.h
  33. +0 −46 hardfp/opt/vc/include/interface/vchiq_arm/vchiq_bi.h
  34. +0 −81 hardfp/opt/vc/include/interface/vchiq_arm/vchiq_bi_ipc_shared_mem.h
  35. +0 −50 hardfp/opt/vc/include/interface/vchiq_arm/vchiq_bivcm.h
  36. +0 −515 hardfp/opt/vc/include/interface/vchiq_arm/vchiq_core.h
  37. +8 −24 hardfp/opt/vc/include/interface/{vchiq_arm/vchiq_pagelist.h → vcos/generic/vcos_deprecated.h}
  38. +6 −0 hardfp/opt/vc/include/interface/vcos/generic/vcos_joinable_thread_from_plain.h
  39. +26 −0 hardfp/opt/vc/include/interface/vcos/pthreads/vchost_config.h
  40. +0 −5 hardfp/opt/vc/include/interface/vcos/pthreads/vcos_futex_mutex.h
  41. +47 −18 hardfp/opt/vc/include/interface/vcos/pthreads/vcos_platform.h
  42. +10 −20 hardfp/opt/vc/include/interface/vcos/pthreads/vcos_platform_types.h
  43. +15 −1 hardfp/opt/vc/include/interface/vcos/vcos_assert.h
  44. +0 −4 hardfp/opt/vc/include/interface/vcos/vcos_blockpool.h
  45. +8 −0 hardfp/opt/vc/include/interface/vcos/vcos_cmd.h
  46. +49 −2 hardfp/opt/vc/include/interface/vcos/vcos_init.h
  47. +7 −95 hardfp/opt/vc/include/interface/vcos/vcos_inttypes.h
  48. +0 −4 hardfp/opt/vc/include/interface/vcos/vcos_isr.h
  49. +0 −4 hardfp/opt/vc/include/interface/vcos/vcos_legacy_isr.h
  50. +24 −8 hardfp/opt/vc/include/interface/vcos/vcos_logging.h
  51. +1 −1 hardfp/opt/vc/include/interface/{vmcs_host/vchi_local/vchost_config.h → vcos/vcos_logging_control.h}
  52. +2 −0 hardfp/opt/vc/include/interface/vcos/vcos_lowlevel_thread.h
  53. +0 −4 hardfp/opt/vc/include/interface/vcos/vcos_mempool.h
  54. +5 −1 hardfp/opt/vc/include/interface/vcos/vcos_msgqueue.h
  55. +0 −4 hardfp/opt/vc/include/interface/vcos/vcos_named_semaphore.h
  56. +0 −4 hardfp/opt/vc/include/interface/vcos/vcos_queue.h
  57. +0 −4 hardfp/opt/vc/include/interface/vcos/vcos_quickslow_mutex.h
  58. +0 −4 hardfp/opt/vc/include/interface/vcos/vcos_reentrant_mutex.h
  59. +2 −0 hardfp/opt/vc/include/interface/vcos/vcos_semaphore.h
  60. +6 −3 hardfp/opt/vc/include/interface/vcos/vcos_stdbool.h
  61. +29 −134 hardfp/opt/vc/include/interface/vcos/vcos_stdint.h
  62. +34 −1 hardfp/opt/vc/include/interface/vcos/vcos_string.h
  63. +3 −0 hardfp/opt/vc/include/interface/vcos/vcos_thread.h
  64. +2 −0 hardfp/opt/vc/include/interface/vcos/vcos_timer.h
  65. +0 −4 hardfp/opt/vc/include/interface/vcos/vcos_tls.h
  66. +7 −2 hardfp/opt/vc/include/interface/vctypes/vc_display_types.h
  67. +0 −2 hardfp/opt/vc/include/interface/vctypes/vc_image_types.h
  68. +1,384 −0 hardfp/opt/vc/include/interface/vmcs_host/khronos/IL/OMX_Audio.h
  69. +2,217 −0 hardfp/opt/vc/include/interface/vmcs_host/khronos/IL/OMX_Broadcom.h
  70. +579 −0 hardfp/opt/vc/include/interface/vmcs_host/khronos/IL/OMX_Component.h
  71. +1,456 −0 hardfp/opt/vc/include/interface/vmcs_host/khronos/IL/OMX_Core.h
  72. +65 −0 hardfp/opt/vc/include/interface/vmcs_host/khronos/IL/OMX_ILCS.h
  73. +1,076 −0 hardfp/opt/vc/include/interface/vmcs_host/khronos/IL/OMX_IVCommon.h
  74. +340 −0 hardfp/opt/vc/include/interface/vmcs_host/khronos/IL/OMX_Image.h
  75. +488 −0 hardfp/opt/vc/include/interface/vmcs_host/khronos/IL/OMX_Index.h
  76. +347 −0 hardfp/opt/vc/include/interface/vmcs_host/khronos/IL/OMX_Other.h
  77. +359 −0 hardfp/opt/vc/include/interface/vmcs_host/khronos/IL/OMX_Types.h
  78. +1,075 −0 hardfp/opt/vc/include/interface/vmcs_host/khronos/IL/OMX_Video.h
  79. +14 −15 hardfp/opt/vc/include/interface/{vchiq_arm/vchiq_vc_dma.h → vmcs_host/linux/vcfiled/vcfiled_check.h}
  80. +0 −2 hardfp/opt/vc/include/interface/vmcs_host/vc_dispmanx.h
  81. +0 −2 hardfp/opt/vc/include/interface/vmcs_host/vc_dispmanx_types.h
  82. +250 −0 hardfp/opt/vc/include/interface/vmcs_host/vc_dispservice_defs.h
  83. +0 −2 hardfp/opt/vc/include/interface/vmcs_host/vc_dispservice_x_defs.h
  84. +0 −2 hardfp/opt/vc/include/interface/vmcs_host/vc_fileservice_defs.h
  85. +6 −6 ...ude/interface/vchiq_arm/vchiq_2835.h → hardfp/opt/vc/include/interface/vmcs_host/vc_gencmd_defs.h
  86. +1 −1 hardfp/opt/vc/include/interface/vmcs_host/vc_hdmi.h
  87. +164 −0 hardfp/opt/vc/include/interface/vmcs_host/vc_hostreq_defs.h
  88. +0 −2 hardfp/opt/vc/include/interface/vmcs_host/vc_ilcs_defs.h
  89. +46 −0 hardfp/opt/vc/include/interface/vmcs_host/vc_service_common.h
  90. +152 −0 hardfp/opt/vc/include/interface/vmcs_host/vc_vchi_audioserv_defs.h
  91. +116 −0 hardfp/opt/vc/include/interface/vmcs_host/vc_vchi_bufman.h
  92. +136 −0 hardfp/opt/vc/include/interface/vmcs_host/vc_vchi_bufman_defs.h
  93. +34 −23 ...interface/vchiq_arm/vchiq_memdrv.h → hardfp/opt/vc/include/interface/vmcs_host/vc_vchi_dispmanx.h
  94. +33 −28 ...rface/vchiq_arm/vchiq_vc.h → hardfp/opt/vc/include/interface/vmcs_host/vc_vchi_fileservice_defs.h
  95. +184 −0 hardfp/opt/vc/include/interface/vmcs_host/vc_vchi_filesys.h
  96. +88 −0 hardfp/opt/vc/include/interface/vmcs_host/vc_vchi_gencmd.h
  97. +166 −0 hardfp/opt/vc/include/interface/vmcs_host/vcfilesys.h
  98. +0 −2 hardfp/opt/vc/include/interface/vmcs_host/vcfilesys_defs.h
  99. +1 −3 hardfp/opt/vc/include/interface/vmcs_host/vcgencmd.h
  100. +108 −0 hardfp/opt/vc/include/interface/vmcs_host/vchostreq.h
  101. +1 −3 hardfp/opt/vc/include/interface/vmcs_host/vcilcs.h
  102. +0 −2 hardfp/opt/vc/include/interface/vmcs_host/vcilcs_common.h
  103. +97 −4 hardfp/opt/vc/include/vcinclude/common.h
  104. +33 −0 hardfp/opt/vc/include/vcinclude/vc_image_types.h
  105. +36 −23 opt/vc/include/interface/vchiq_arm/vchiq_pagelist.h → hardfp/opt/vc/include/vcinclude/vcore.h
  106. BIN hardfp/opt/vc/lib/libEGL.so
  107. BIN hardfp/opt/vc/lib/libEGL_static.a
  108. BIN hardfp/opt/vc/lib/libGLESv1_CM.so
  109. BIN hardfp/opt/vc/lib/libGLESv2.so
  110. BIN hardfp/opt/vc/lib/libGLESv2_static.a
  111. BIN hardfp/opt/vc/lib/libOpenVG.so
  112. BIN hardfp/opt/vc/lib/libWFC.so
  113. BIN hardfp/opt/vc/lib/libbcm_host.so
  114. BIN hardfp/opt/vc/lib/libkhrn_client.a
  115. BIN hardfp/opt/vc/lib/libkhrn_static.a
  116. BIN hardfp/opt/vc/lib/libmmal.so
  117. BIN hardfp/opt/vc/lib/libmmal_vc_client.so
  118. BIN hardfp/opt/vc/lib/libopenmaxil.so
  119. BIN hardfp/opt/vc/lib/libvcfiled_check.a
  120. BIN hardfp/opt/vc/lib/libvchostif.a
  121. BIN hardfp/opt/vc/lib/libvcos.so
  122. BIN hardfp/opt/vc/lib/libvmcs_rpc_client.a
  123. BIN hardfp/opt/vc/sbin/vcfiled
  124. +0 −2 modules/3.2.27+/modules.builtin
  125. BIN modules/3.2.27+/modules.builtin.bin
  126. +0 −2 modules/3.2.27-cutdown+/modules.builtin
  127. BIN modules/3.2.27-cutdown+/modules.builtin.bin
  128. BIN opt/vc/bin/tvservice
  129. BIN opt/vc/bin/vcgencmd
  130. BIN opt/vc/bin/vchiq_test
  131. +3 −3 opt/vc/include/EGL/egl.h
  132. +55 −185 opt/vc/include/EGL/eglext.h
  133. +99 −0 opt/vc/include/EGL/eglext_android.h
  134. +19 −2 opt/vc/include/EGL/eglext_brcm.h
  135. +54 −0 opt/vc/include/EGL/eglext_nvidia.h
  136. +59 −4 opt/vc/include/EGL/eglplatform.h
  137. +7 −5 opt/vc/include/GLES/gl.h
  138. +94 −46 opt/vc/include/GLES/glext.h
  139. +9 −1 opt/vc/include/GLES/glplatform.h
  140. +6 −4 opt/vc/include/GLES2/gl2.h
  141. +121 −67 opt/vc/include/GLES2/gl2ext.h
  142. +9 −1 opt/vc/include/GLES2/gl2platform.h
  143. +0 −195 opt/vc/include/IL/OMX_ContentPipe.h
  144. +40 −57 opt/vc/include/KHR/khrplatform.h
  145. +19 −20 opt/vc/include/VG/openvg.h
  146. +15 −15 opt/vc/include/VG/vgext.h
  147. +24 −44 opt/vc/include/VG/vgplatform.h
  148. +11 −11 opt/vc/include/VG/vgu.h
  149. +275 −0 opt/vc/include/WF/wfc.h
  150. +35 −29 hardfp/opt/vc/include/interface/vmcs_host/vchost_config.h → opt/vc/include/WF/wfcplatform.h
  151. +12 −13 opt/vc/include/interface/{vchiq_arm/vchiq_connected.h → vchi/common/endian.h}
  152. +0 −6 opt/vc/include/interface/vchi/connections/connection.h
  153. +0 −2 opt/vc/include/interface/vchi/message_drivers/message.h
  154. +0 −2 opt/vc/include/interface/vchi/vchi.h
  155. +0 −92 opt/vc/include/interface/vchi/vchi_autoservice.h
  156. +0 −4 opt/vc/include/interface/vchi/vchi_cfg.h
  157. +0 −1 opt/vc/include/interface/vchi/vchi_cfg_internal.h
  158. +0 −2 opt/vc/include/interface/vchi/vchi_common.h
  159. +0 −37 opt/vc/include/interface/vchiq_arm/vchiq_2835_vc.h
  160. +0 −127 opt/vc/include/interface/vchiq_arm/vchiq_arm.h
  161. +0 −46 opt/vc/include/interface/vchiq_arm/vchiq_bi.h
  162. +0 −81 opt/vc/include/interface/vchiq_arm/vchiq_bi_ipc_shared_mem.h
  163. +0 −50 opt/vc/include/interface/vchiq_arm/vchiq_bivcm.h
  164. +0 −515 opt/vc/include/interface/vchiq_arm/vchiq_core.h
  165. +8 −9 ...ude/interface/vchiq_arm/vchiq_2835_vc.h → opt/vc/include/interface/vcos/generic/vcos_deprecated.h
  166. +6 −0 opt/vc/include/interface/vcos/generic/vcos_joinable_thread_from_plain.h
  167. +26 −0 opt/vc/include/interface/vcos/pthreads/vchost_config.h
  168. +0 −5 opt/vc/include/interface/vcos/pthreads/vcos_futex_mutex.h
  169. +47 −18 opt/vc/include/interface/vcos/pthreads/vcos_platform.h
  170. +10 −20 opt/vc/include/interface/vcos/pthreads/vcos_platform_types.h
  171. +15 −1 opt/vc/include/interface/vcos/vcos_assert.h
  172. +0 −4 opt/vc/include/interface/vcos/vcos_blockpool.h
  173. +8 −0 opt/vc/include/interface/vcos/vcos_cmd.h
  174. +49 −2 opt/vc/include/interface/vcos/vcos_init.h
  175. +7 −95 opt/vc/include/interface/vcos/vcos_inttypes.h
  176. +0 −4 opt/vc/include/interface/vcos/vcos_isr.h
  177. +0 −4 opt/vc/include/interface/vcos/vcos_legacy_isr.h
  178. +24 −8 opt/vc/include/interface/vcos/vcos_logging.h
  179. +1 −1 opt/vc/include/interface/{vmcs_host/vchi_local/vchost_config.h → vcos/vcos_logging_control.h}
  180. +2 −0 opt/vc/include/interface/vcos/vcos_lowlevel_thread.h
  181. +0 −4 opt/vc/include/interface/vcos/vcos_mempool.h
  182. +5 −1 opt/vc/include/interface/vcos/vcos_msgqueue.h
  183. +0 −4 opt/vc/include/interface/vcos/vcos_named_semaphore.h
  184. +0 −4 opt/vc/include/interface/vcos/vcos_queue.h
  185. +0 −4 opt/vc/include/interface/vcos/vcos_quickslow_mutex.h
  186. +0 −4 opt/vc/include/interface/vcos/vcos_reentrant_mutex.h
  187. +2 −0 opt/vc/include/interface/vcos/vcos_semaphore.h
  188. +6 −3 opt/vc/include/interface/vcos/vcos_stdbool.h
  189. +29 −134 opt/vc/include/interface/vcos/vcos_stdint.h
  190. +34 −1 opt/vc/include/interface/vcos/vcos_string.h
  191. +3 −0 opt/vc/include/interface/vcos/vcos_thread.h
  192. +2 −0 opt/vc/include/interface/vcos/vcos_timer.h
  193. +0 −4 opt/vc/include/interface/vcos/vcos_tls.h
  194. +7 −2 opt/vc/include/interface/vctypes/vc_display_types.h
  195. +0 −2 opt/vc/include/interface/vctypes/vc_image_types.h
  196. +1,384 −0 opt/vc/include/interface/vmcs_host/khronos/IL/OMX_Audio.h
  197. +2,217 −0 opt/vc/include/interface/vmcs_host/khronos/IL/OMX_Broadcom.h
  198. +579 −0 opt/vc/include/interface/vmcs_host/khronos/IL/OMX_Component.h
  199. +1,456 −0 opt/vc/include/interface/vmcs_host/khronos/IL/OMX_Core.h
  200. +65 −0 opt/vc/include/interface/vmcs_host/khronos/IL/OMX_ILCS.h
  201. +1,076 −0 opt/vc/include/interface/vmcs_host/khronos/IL/OMX_IVCommon.h
  202. +340 −0 opt/vc/include/interface/vmcs_host/khronos/IL/OMX_Image.h
  203. +488 −0 opt/vc/include/interface/vmcs_host/khronos/IL/OMX_Index.h
  204. +347 −0 opt/vc/include/interface/vmcs_host/khronos/IL/OMX_Other.h
  205. +359 −0 opt/vc/include/interface/vmcs_host/khronos/IL/OMX_Types.h
  206. +1,075 −0 opt/vc/include/interface/vmcs_host/khronos/IL/OMX_Video.h
  207. +14 −15 opt/vc/include/interface/{vchiq_arm/vchiq_vc_dma.h → vmcs_host/linux/vcfiled/vcfiled_check.h}
  208. +0 −2 opt/vc/include/interface/vmcs_host/vc_dispmanx.h
  209. +0 −2 opt/vc/include/interface/vmcs_host/vc_dispmanx_types.h
  210. +250 −0 opt/vc/include/interface/vmcs_host/vc_dispservice_defs.h
  211. +0 −2 opt/vc/include/interface/vmcs_host/vc_dispservice_x_defs.h
  212. +0 −2 opt/vc/include/interface/vmcs_host/vc_fileservice_defs.h
  213. +6 −6 ...vc/include/interface/vchiq_arm/vchiq_2835.h → opt/vc/include/interface/vmcs_host/vc_gencmd_defs.h
  214. +1 −1 opt/vc/include/interface/vmcs_host/vc_hdmi.h
  215. +164 −0 opt/vc/include/interface/vmcs_host/vc_hostreq_defs.h
  216. +0 −2 opt/vc/include/interface/vmcs_host/vc_ilcs_defs.h
  217. +46 −0 opt/vc/include/interface/vmcs_host/vc_service_common.h
  218. +152 −0 opt/vc/include/interface/vmcs_host/vc_vchi_audioserv_defs.h
  219. +116 −0 opt/vc/include/interface/vmcs_host/vc_vchi_bufman.h
  220. +136 −0 opt/vc/include/interface/vmcs_host/vc_vchi_bufman_defs.h
  221. +34 −23 ...nclude/interface/vchiq_arm/vchiq_memdrv.h → opt/vc/include/interface/vmcs_host/vc_vchi_dispmanx.h
  222. +33 −28 ...de/interface/vchiq_arm/vchiq_vc.h → opt/vc/include/interface/vmcs_host/vc_vchi_fileservice_defs.h
  223. +184 −0 opt/vc/include/interface/vmcs_host/vc_vchi_filesys.h
  224. +88 −0 opt/vc/include/interface/vmcs_host/vc_vchi_gencmd.h
  225. +166 −0 opt/vc/include/interface/vmcs_host/vcfilesys.h
  226. +0 −2 opt/vc/include/interface/vmcs_host/vcfilesys_defs.h
  227. +1 −3 opt/vc/include/interface/vmcs_host/vcgencmd.h
  228. +108 −0 opt/vc/include/interface/vmcs_host/vchostreq.h
  229. +1 −3 opt/vc/include/interface/vmcs_host/vcilcs.h
  230. +0 −2 opt/vc/include/interface/vmcs_host/vcilcs_common.h
  231. +97 −4 opt/vc/include/vcinclude/common.h
  232. +33 −0 opt/vc/include/vcinclude/vc_image_types.h
  233. +65 −0 opt/vc/include/vcinclude/vcore.h
  234. BIN opt/vc/lib/libEGL.so
  235. BIN opt/vc/lib/libEGL_static.a
  236. BIN opt/vc/lib/libGLESv1_CM.so
  237. BIN opt/vc/lib/libGLESv2.so
  238. BIN opt/vc/lib/libGLESv2_static.a
  239. BIN opt/vc/lib/libOpenVG.so
  240. BIN opt/vc/lib/libWFC.so
  241. BIN opt/vc/lib/libbcm_host.so
  242. BIN opt/vc/lib/libkhrn_client.a
  243. BIN opt/vc/lib/libkhrn_static.a
  244. BIN opt/vc/lib/libmmal.so
  245. BIN opt/vc/lib/libmmal_vc_client.so
  246. BIN opt/vc/lib/libopenmaxil.so
  247. BIN opt/vc/lib/libvcfiled_check.a
  248. BIN opt/vc/lib/libvchostif.a
  249. BIN opt/vc/lib/libvcos.so
  250. BIN opt/vc/lib/libvmcs_rpc_client.a
  251. BIN opt/vc/sbin/vcfiled
View
Binary file not shown.
View
Binary file not shown.
Binary file not shown.
@@ -33,7 +33,7 @@
/* All platform-dependent types and macro boilerplate (such as EGLAPI
* and EGLAPIENTRY) should go in eglplatform.h.
*/
-#include <EGL/eglplatform.h>
+#include "eglplatform.h"
#ifdef __cplusplus
extern "C" {
@@ -61,8 +61,8 @@ typedef void *EGLClientBuffer;
*/
/* EGL aliases */
-#define EGL_FALSE 0
-#define EGL_TRUE 1
+#define EGL_FALSE ((EGLBoolean)0)
+#define EGL_TRUE ((EGLBoolean)1)
/* Out-of-band handle values */
#define EGL_DEFAULT_DISPLAY ((EGLNativeDisplayType)0)
@@ -6,7 +6,7 @@ extern "C" {
#endif
/*
-** Copyright (c) 2007-2010 The Khronos Group Inc.
+** Copyright (c) 2007-2009 The Khronos Group Inc.
**
** Permission is hereby granted, free of charge, to any person obtaining a
** copy of this software and/or associated documentation files (the
@@ -28,14 +28,19 @@ extern "C" {
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
*/
-#include <EGL/eglplatform.h>
+#include "eglplatform.h"
+
+/* We want this */
+#ifndef EGL_EGLEXT_PROTOTYPES
+#define EGL_EGLEXT_PROTOTYPES
+#endif
/*************************************************************/
/* Header file version number */
/* Current version at http://www.khronos.org/registry/egl/ */
-/* $Revision: 15052 $ on $Date: 2011-07-06 17:43:46 -0700 (Wed, 06 Jul 2011) $ */
-#define EGL_EGLEXT_VERSION 10
+/* $Revision: 7244 $ on $Date: 2009-01-20 17:06:59 -0800 (Tue, 20 Jan 2009) $ */
+#define EGL_EGLEXT_VERSION 3
#ifndef EGL_KHR_config_attribs
#define EGL_KHR_config_attribs 1
@@ -110,7 +115,7 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay dpy, EGL
#endif
#ifndef EGL_KHR_gl_texture_3D_image
-#define EGL_KHR_gl_texture_3D_image 1
+#define EGL_KHR_gl_texture_3D_image 0
#define EGL_GL_TEXTURE_3D_KHR 0x30B2 /* eglCreateImageKHR target */
#define EGL_GL_TEXTURE_ZOFFSET_KHR 0x30BD /* eglCreateImageKHR attribute */
#endif
@@ -120,38 +125,6 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay dpy, EGL
#define EGL_GL_RENDERBUFFER_KHR 0x30B9 /* eglCreateImageKHR target */
#endif
-#if KHRONOS_SUPPORT_INT64 /* EGLTimeKHR requires 64-bit uint support */
-#ifndef EGL_KHR_reusable_sync
-#define EGL_KHR_reusable_sync 1
-
-typedef void* EGLSyncKHR;
-typedef khronos_utime_nanoseconds_t EGLTimeKHR;
-
-#define EGL_SYNC_STATUS_KHR 0x30F1
-#define EGL_SIGNALED_KHR 0x30F2
-#define EGL_UNSIGNALED_KHR 0x30F3
-#define EGL_TIMEOUT_EXPIRED_KHR 0x30F5
-#define EGL_CONDITION_SATISFIED_KHR 0x30F6
-#define EGL_SYNC_TYPE_KHR 0x30F7
-#define EGL_SYNC_REUSABLE_KHR 0x30FA
-#define EGL_SYNC_FLUSH_COMMANDS_BIT_KHR 0x0001 /* eglClientWaitSyncKHR <flags> bitfield */
-#define EGL_FOREVER_KHR 0xFFFFFFFFFFFFFFFFull
-#define EGL_NO_SYNC_KHR ((EGLSyncKHR)0)
-#ifdef EGL_EGLEXT_PROTOTYPES
-EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_list);
-EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync);
-EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
-EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode);
-EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value);
-#endif /* EGL_EGLEXT_PROTOTYPES */
-typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list);
-typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync);
-typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
-typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode);
-typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value);
-#endif
-#endif
-
#ifndef EGL_KHR_image_base
#define EGL_KHR_image_base 1
/* Most interfaces defined by EGL_KHR_image_pixmap above */
@@ -163,173 +136,70 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EG
/* Interfaces defined by EGL_KHR_image above */
#endif
-#ifndef EGL_IMG_context_priority
-#define EGL_IMG_context_priority 1
-#define EGL_CONTEXT_PRIORITY_LEVEL_IMG 0x3100
-#define EGL_CONTEXT_PRIORITY_HIGH_IMG 0x3101
-#define EGL_CONTEXT_PRIORITY_MEDIUM_IMG 0x3102
-#define EGL_CONTEXT_PRIORITY_LOW_IMG 0x3103
-#endif
-
-#ifndef EGL_KHR_lock_surface2
-#define EGL_KHR_lock_surface2 1
-#define EGL_BITMAP_PIXEL_SIZE_KHR 0x3110
-#endif
-
-#ifndef EGL_NV_coverage_sample
-#define EGL_NV_coverage_sample 1
-#define EGL_COVERAGE_BUFFERS_NV 0x30E0
-#define EGL_COVERAGE_SAMPLES_NV 0x30E1
-#endif
-
-#ifndef EGL_NV_depth_nonlinear
-#define EGL_NV_depth_nonlinear 1
-#define EGL_DEPTH_ENCODING_NV 0x30E2
-#define EGL_DEPTH_ENCODING_NONE_NV 0
-#define EGL_DEPTH_ENCODING_NONLINEAR_NV 0x30E3
-#endif
-
-#if KHRONOS_SUPPORT_INT64 /* EGLTimeNV requires 64-bit uint support */
-#ifndef EGL_NV_sync
-#define EGL_NV_sync 1
-#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV 0x30E6
-#define EGL_SYNC_STATUS_NV 0x30E7
-#define EGL_SIGNALED_NV 0x30E8
-#define EGL_UNSIGNALED_NV 0x30E9
-#define EGL_SYNC_FLUSH_COMMANDS_BIT_NV 0x0001
-#define EGL_FOREVER_NV 0xFFFFFFFFFFFFFFFFull
-#define EGL_ALREADY_SIGNALED_NV 0x30EA
-#define EGL_TIMEOUT_EXPIRED_NV 0x30EB
-#define EGL_CONDITION_SATISFIED_NV 0x30EC
-#define EGL_SYNC_TYPE_NV 0x30ED
-#define EGL_SYNC_CONDITION_NV 0x30EE
-#define EGL_SYNC_FENCE_NV 0x30EF
-#define EGL_NO_SYNC_NV ((EGLSyncNV)0)
-typedef void* EGLSyncNV;
-typedef khronos_utime_nanoseconds_t EGLTimeNV;
-#ifdef EGL_EGLEXT_PROTOTYPES
-EGLSyncNV eglCreateFenceSyncNV (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list);
-EGLBoolean eglDestroySyncNV (EGLSyncNV sync);
-EGLBoolean eglFenceNV (EGLSyncNV sync);
-EGLint eglClientWaitSyncNV (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout);
-EGLBoolean eglSignalSyncNV (EGLSyncNV sync, EGLenum mode);
-EGLBoolean eglGetSyncAttribNV (EGLSyncNV sync, EGLint attribute, EGLint *value);
-#endif /* EGL_EGLEXT_PROTOTYPES */
-typedef EGLSyncNV (EGLAPIENTRYP PFNEGLCREATEFENCESYNCNVPROC) (EGLDisplay dpy, EGLenum condition, const EGLint *attrib_list);
-typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCNVPROC) (EGLSyncNV sync);
-typedef EGLBoolean (EGLAPIENTRYP PFNEGLFENCENVPROC) (EGLSyncNV sync);
-typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCNVPROC) (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout);
-typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCNVPROC) (EGLSyncNV sync, EGLenum mode);
-typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBNVPROC) (EGLSyncNV sync, EGLint attribute, EGLint *value);
-#endif
-#endif
-
-#if KHRONOS_SUPPORT_INT64 /* Dependent on EGL_KHR_reusable_sync which requires 64-bit uint support */
#ifndef EGL_KHR_fence_sync
#define EGL_KHR_fence_sync 1
-/* Reuses most tokens and entry points from EGL_KHR_reusable_sync */
-#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR 0x30F0
-#define EGL_SYNC_CONDITION_KHR 0x30F8
-#define EGL_SYNC_FENCE_KHR 0x30F9
-#endif
+#define GL_OES_EGL_sync 1
#endif
-#ifndef EGL_HI_clientpixmap
-#define EGL_HI_clientpixmap 1
+#ifndef EGL_KHR_sync
+#define EGL_KHR_sync 1
+#endif
-/* Surface Attribute */
-#define EGL_CLIENT_PIXMAP_POINTER_HI 0x8F74
+#if ((EGL_KHR_sync == 1) || (EGL_KHR_fence_sync == 1))
+#define EGL_KHR_sync 1 /* EGL_KHR_fence_sync depends on this stuff */
/*
- * Structure representing a client pixmap
- * (pixmap's data is in client-space memory).
- */
-struct EGLClientPixmapHI
-{
- void* pData;
- EGLint iWidth;
- EGLint iHeight;
- EGLint iStride;
-};
-
-#ifdef EGL_EGLEXT_PROTOTYPES
-EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurfaceHI(EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI* pixmap);
-#endif /* EGL_EGLEXT_PROTOTYPES */
-typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPIXMAPSURFACEHIPROC) (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI* pixmap);
-#endif /* EGL_HI_clientpixmap */
-
-#ifndef EGL_HI_colorformats
-#define EGL_HI_colorformats 1
-/* Config Attribute */
-#define EGL_COLOR_FORMAT_HI 0x8F70
-/* Color Formats */
-#define EGL_COLOR_RGB_HI 0x8F71
-#define EGL_COLOR_RGBA_HI 0x8F72
-#define EGL_COLOR_ARGB_HI 0x8F73
-#endif /* EGL_HI_colorformats */
-
-#ifndef EGL_MESA_drm_image
-#define EGL_MESA_drm_image 1
-#define EGL_DRM_BUFFER_FORMAT_MESA 0x31D0 /* CreateDRMImageMESA attribute */
-#define EGL_DRM_BUFFER_USE_MESA 0x31D1 /* CreateDRMImageMESA attribute */
-#define EGL_DRM_BUFFER_FORMAT_ARGB32_MESA 0x31D2 /* EGL_IMAGE_FORMAT_MESA attribute value */
-#define EGL_DRM_BUFFER_MESA 0x31D3 /* eglCreateImageKHR target */
-#define EGL_DRM_BUFFER_STRIDE_MESA 0x31D4
-#define EGL_DRM_BUFFER_USE_SCANOUT_MESA 0x00000001 /* EGL_DRM_BUFFER_USE_MESA bits */
-#define EGL_DRM_BUFFER_USE_SHARE_MESA 0x00000002 /* EGL_DRM_BUFFER_USE_MESA bits */
-#ifdef EGL_EGLEXT_PROTOTYPES
-EGLAPI EGLImageKHR EGLAPIENTRY eglCreateDRMImageMESA (EGLDisplay dpy, const EGLint *attrib_list);
-EGLAPI EGLBoolean EGLAPIENTRY eglExportDRMImageMESA (EGLDisplay dpy, EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride);
-#endif /* EGL_EGLEXT_PROTOTYPES */
-typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEDRMIMAGEMESAPROC) (EGLDisplay dpy, const EGLint *attrib_list);
-typedef EGLBoolean (EGLAPIENTRYP PFNEGLEXPORTDRMIMAGEMESAPROC) (EGLDisplay dpy, EGLImageKHR image, EGLint *name, EGLint *handle, EGLint *stride);
-#endif
+* EGLSyncKHR is an opaque handle to an EGL sync object
+*/
-#ifndef EGL_NV_post_sub_buffer
-#define EGL_NV_post_sub_buffer 1
-#define EGL_POST_SUB_BUFFER_SUPPORTED_NV 0x30BE
-#ifdef EGL_EGLEXT_PROTOTYPES
-EGLAPI EGLBoolean EGLAPIENTRY eglPostSubBufferNV (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height);
-#endif /* EGL_EGLEXT_PROTOTYPES */
-typedef EGLBoolean (EGLAPIENTRYP PFNEGLPOSTSUBBUFFERNVPROC) (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height);
-#endif
+typedef void* EGLSyncKHR;
-#ifndef EGL_ANGLE_query_surface_pointer
-#define EGL_ANGLE_query_surface_pointer 1
-#ifdef EGL_EGLEXT_PROTOTYPES
-EGLAPI EGLBoolean eglQuerySurfacePointerANGLE(EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value);
-#endif
-typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACEPOINTERANGLEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value);
-#endif
+/*
+* EGLTimeKHR is a 64-bit unsigned integer representing intervals
+* in nanoseconds.
+*/
-#ifndef EGL_ANGLE_surface_d3d_texture_2d_share_handle
-#define EGL_ANGLE_surface_d3d_texture_2d_share_handle 1
-#define EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE 0x3200
-#endif
+typedef khronos_utime_nanoseconds_t EGLTimeKHR;
-#ifndef EGL_NV_coverage_sample_resolve
-#define EGL_NV_coverage_sample_resolve 1
-#define EGL_COVERAGE_SAMPLE_RESOLVE_NV 0x3131
-#define EGL_COVERAGE_SAMPLE_RESOLVE_DEFAULT_NV 0x3132
-#define EGL_COVERAGE_SAMPLE_RESOLVE_NONE_NV 0x3133
-#endif
+#define EGL_SYNC_FENCE_KHR 0x30F9
+#define EGL_SYNC_REUSABLE_KHR 0x30FA
+#define EGL_SYNC_TYPE_KHR 0x30F7
+#define EGL_SYNC_STATUS_KHR 0x30F1
+#define EGL_SYNC_CONDITION_KHR 0x30F8
+#define EGL_SIGNALED_KHR 0x30F2
+#define EGL_UNSIGNALED_KHR 0x30F3
+#define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR 0x30F0
+#define EGL_SYNC_FLUSH_COMMANDS_BIT_KHR 0x0001
+#define EGL_TIMEOUT_EXPIRED_KHR 0x30F5
+#define EGL_CONDITION_SATISFIED_KHR 0x30F6
-#if KHRONOS_SUPPORT_INT64 /* EGLTimeKHR requires 64-bit uint support */
-#ifndef EGL_NV_system_time
-#define EGL_NV_system_time 1
+#define EGL_FOREVER_KHR 0xFFFFFFFFFFFFFFFFull
-typedef khronos_utime_nanoseconds_t EGLuint64NV;
+#define EGL_NO_SYNC_KHR ((EGLSyncKHR)0)
#ifdef EGL_EGLEXT_PROTOTYPES
-EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeFrequencyNV(void);
-EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeNV(void);
+EGLAPI EGLSyncKHR EGLAPIENTRY eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_list);
+EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync);
+EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
+EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode);
+EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value);
#endif /* EGL_EGLEXT_PROTOTYPES */
-typedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC) (void);
-typedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMENVPROC) (void);
-#endif
+typedef EGLSyncKHR (EGLAPIENTRYP PFNEGLCREATESYNCKHRPROC) (EGLDisplay dpy, EGLenum type, const EGLint *attrib_list);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync);
+typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value);
#endif
+
#ifdef __cplusplus
}
#endif
+#include "eglext_brcm.h"
+
+#if defined(ANDROID)
+#include "eglext_android.h"
+#include "eglext_nvidia.h"
+#endif
+
#endif
Oops, something went wrong.

0 comments on commit 855e997

Please sign in to comment.