clutter 2.0.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (656) hide show
  1. data/Rakefile +129 -0
  2. data/lib/clutter.rb +145 -0
  3. data/lib/clutter/actor-iter.rb +33 -0
  4. data/lib/clutter/actor.rb +34 -0
  5. data/lib/clutter/animatable.rb +26 -0
  6. data/lib/clutter/cairo.rb +24 -0
  7. data/lib/clutter/color.rb +55 -0
  8. data/lib/clutter/event.rb +21 -0
  9. data/lib/clutter/point.rb +25 -0
  10. data/lib/clutter/text.rb +23 -0
  11. data/lib/clutter/threads.rb +38 -0
  12. data/sample/basic-actor.rb +125 -0
  13. data/sample/bin-layout.rb +215 -0
  14. data/sample/box-layout.rb +196 -0
  15. data/sample/canvas.rb +117 -0
  16. data/sample/constraints.rb +81 -0
  17. data/sample/drag-action.rb +177 -0
  18. data/sample/drop-action.rb +198 -0
  19. data/sample/easing-modes.rb +145 -0
  20. data/sample/flow-layout.rb +121 -0
  21. data/sample/grid-layout.rb +239 -0
  22. data/sample/image-content.rb +88 -0
  23. data/sample/pan-action.rb +100 -0
  24. data/sample/redhand.png +0 -0
  25. data/sample/rounded-rectangle.rb +90 -0
  26. data/sample/scroll-actor.rb +105 -0
  27. data/test/clutter-test-utils.rb +21 -0
  28. data/test/run-test.rb +50 -0
  29. data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
  30. data/vendor/local/bin/libcogl-12.dll +0 -0
  31. data/vendor/local/bin/libcogl-pango-12.dll +0 -0
  32. data/vendor/local/bin/libglut-0.dll +0 -0
  33. data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
  34. data/vendor/local/include/GL/freeglut.h +22 -0
  35. data/vendor/local/include/GL/freeglut_ext.h +239 -0
  36. data/vendor/local/include/GL/freeglut_std.h +636 -0
  37. data/vendor/local/include/GL/glut.h +21 -0
  38. data/vendor/local/include/clutter-1.0/cally/cally-actor.h +155 -0
  39. data/vendor/local/include/clutter-1.0/cally/cally-clone.h +82 -0
  40. data/vendor/local/include/clutter-1.0/cally/cally-factory.h +117 -0
  41. data/vendor/local/include/clutter-1.0/cally/cally-group.h +85 -0
  42. data/vendor/local/include/clutter-1.0/cally/cally-main.h +39 -0
  43. data/vendor/local/include/clutter-1.0/cally/cally-rectangle.h +82 -0
  44. data/vendor/local/include/clutter-1.0/cally/cally-root.h +82 -0
  45. data/vendor/local/include/clutter-1.0/cally/cally-stage.h +82 -0
  46. data/vendor/local/include/clutter-1.0/cally/cally-text.h +82 -0
  47. data/vendor/local/include/clutter-1.0/cally/cally-texture.h +82 -0
  48. data/vendor/local/include/clutter-1.0/cally/cally-util.h +80 -0
  49. data/vendor/local/include/clutter-1.0/cally/cally.h +40 -0
  50. data/vendor/local/include/clutter-1.0/clutter/clutter-action.h +103 -0
  51. data/vendor/local/include/clutter-1.0/clutter/clutter-actor-meta.h +113 -0
  52. data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +735 -0
  53. data/vendor/local/include/clutter-1.0/clutter/clutter-align-constraint.h +69 -0
  54. data/vendor/local/include/clutter-1.0/clutter/clutter-animatable.h +116 -0
  55. data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +74 -0
  56. data/vendor/local/include/clutter-1.0/clutter/clutter-bin-layout.h +84 -0
  57. data/vendor/local/include/clutter-1.0/clutter/clutter-bind-constraint.h +69 -0
  58. data/vendor/local/include/clutter-1.0/clutter/clutter-binding-pool.h +122 -0
  59. data/vendor/local/include/clutter-1.0/clutter/clutter-blur-effect.h +57 -0
  60. data/vendor/local/include/clutter-1.0/clutter/clutter-box-layout.h +159 -0
  61. data/vendor/local/include/clutter-1.0/clutter/clutter-brightness-contrast-effect.h +80 -0
  62. data/vendor/local/include/clutter-1.0/clutter/clutter-cairo.h +59 -0
  63. data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +100 -0
  64. data/vendor/local/include/clutter-1.0/clutter/clutter-child-meta.h +120 -0
  65. data/vendor/local/include/clutter-1.0/clutter/clutter-click-action.h +114 -0
  66. data/vendor/local/include/clutter-1.0/clutter/clutter-clone.h +90 -0
  67. data/vendor/local/include/clutter-1.0/clutter/clutter-cogl-compat.h +52 -0
  68. data/vendor/local/include/clutter-1.0/clutter/clutter-color-static.h +79 -0
  69. data/vendor/local/include/clutter-1.0/clutter/clutter-color.h +175 -0
  70. data/vendor/local/include/clutter-1.0/clutter/clutter-colorize-effect.h +63 -0
  71. data/vendor/local/include/clutter-1.0/clutter/clutter-config.h +19 -0
  72. data/vendor/local/include/clutter-1.0/clutter/clutter-constraint.h +108 -0
  73. data/vendor/local/include/clutter-1.0/clutter/clutter-container.h +184 -0
  74. data/vendor/local/include/clutter-1.0/clutter/clutter-content.h +103 -0
  75. data/vendor/local/include/clutter-1.0/clutter/clutter-deform-effect.h +111 -0
  76. data/vendor/local/include/clutter-1.0/clutter/clutter-deprecated.h +43 -0
  77. data/vendor/local/include/clutter-1.0/clutter/clutter-desaturate-effect.h +61 -0
  78. data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +104 -0
  79. data/vendor/local/include/clutter-1.0/clutter/clutter-drag-action.h +142 -0
  80. data/vendor/local/include/clutter-1.0/clutter/clutter-drop-action.h +113 -0
  81. data/vendor/local/include/clutter-1.0/clutter/clutter-effect.h +120 -0
  82. data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +183 -0
  83. data/vendor/local/include/clutter-1.0/clutter/clutter-enums.h +1362 -0
  84. data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +509 -0
  85. data/vendor/local/include/clutter-1.0/clutter/clutter-feature.h +40 -0
  86. data/vendor/local/include/clutter-1.0/clutter/clutter-fixed-layout.h +80 -0
  87. data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +110 -0
  88. data/vendor/local/include/clutter-1.0/clutter/clutter-gesture-action.h +154 -0
  89. data/vendor/local/include/clutter-1.0/clutter/clutter-grid-layout.h +161 -0
  90. data/vendor/local/include/clutter-1.0/clutter/clutter-group.h +95 -0
  91. data/vendor/local/include/clutter-1.0/clutter/clutter-image.h +141 -0
  92. data/vendor/local/include/clutter-1.0/clutter/clutter-input-device.h +118 -0
  93. data/vendor/local/include/clutter-1.0/clutter/clutter-interval.h +141 -0
  94. data/vendor/local/include/clutter-1.0/clutter/clutter-keyframe-transition.h +120 -0
  95. data/vendor/local/include/clutter-1.0/clutter/clutter-keysyms.h +2304 -0
  96. data/vendor/local/include/clutter-1.0/clutter/clutter-layout-manager.h +215 -0
  97. data/vendor/local/include/clutter-1.0/clutter/clutter-layout-meta.h +101 -0
  98. data/vendor/local/include/clutter-1.0/clutter/clutter-list-model.h +88 -0
  99. data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +279 -0
  100. data/vendor/local/include/clutter-1.0/clutter/clutter-main.h +148 -0
  101. data/vendor/local/include/clutter-1.0/clutter/clutter-marshal.h +273 -0
  102. data/vendor/local/include/clutter-1.0/clutter/clutter-model.h +381 -0
  103. data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +112 -0
  104. data/vendor/local/include/clutter-1.0/clutter/clutter-page-turn-effect.h +72 -0
  105. data/vendor/local/include/clutter-1.0/clutter/clutter-paint-node.h +102 -0
  106. data/vendor/local/include/clutter-1.0/clutter/clutter-paint-nodes.h +150 -0
  107. data/vendor/local/include/clutter-1.0/clutter/clutter-pan-action.h +147 -0
  108. data/vendor/local/include/clutter-1.0/clutter/clutter-path-constraint.h +66 -0
  109. data/vendor/local/include/clutter-1.0/clutter/clutter-path.h +155 -0
  110. data/vendor/local/include/clutter-1.0/clutter/clutter-property-transition.h +91 -0
  111. data/vendor/local/include/clutter-1.0/clutter/clutter-rotate-action.h +100 -0
  112. data/vendor/local/include/clutter-1.0/clutter/clutter-script.h +204 -0
  113. data/vendor/local/include/clutter-1.0/clutter/clutter-scriptable.h +107 -0
  114. data/vendor/local/include/clutter-1.0/clutter/clutter-scroll-actor.h +97 -0
  115. data/vendor/local/include/clutter-1.0/clutter/clutter-settings.h +25 -0
  116. data/vendor/local/include/clutter-1.0/clutter/clutter-shader-effect.h +114 -0
  117. data/vendor/local/include/clutter-1.0/clutter/clutter-shader-types.h +95 -0
  118. data/vendor/local/include/clutter-1.0/clutter/clutter-snap-constraint.h +73 -0
  119. data/vendor/local/include/clutter-1.0/clutter/clutter-stage-manager.h +81 -0
  120. data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +215 -0
  121. data/vendor/local/include/clutter-1.0/clutter/clutter-swipe-action.h +107 -0
  122. data/vendor/local/include/clutter-1.0/clutter/clutter-table-layout.h +157 -0
  123. data/vendor/local/include/clutter-1.0/clutter/clutter-tap-action.h +102 -0
  124. data/vendor/local/include/clutter-1.0/clutter/clutter-text-buffer.h +172 -0
  125. data/vendor/local/include/clutter-1.0/clutter/clutter-text.h +237 -0
  126. data/vendor/local/include/clutter-1.0/clutter/clutter-texture.h +128 -0
  127. data/vendor/local/include/clutter-1.0/clutter/clutter-timeline.h +201 -0
  128. data/vendor/local/include/clutter-1.0/clutter/clutter-transition-group.h +91 -0
  129. data/vendor/local/include/clutter-1.0/clutter/clutter-transition.h +132 -0
  130. data/vendor/local/include/clutter-1.0/clutter/clutter-types.h +715 -0
  131. data/vendor/local/include/clutter-1.0/clutter/clutter-units.h +166 -0
  132. data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +302 -0
  133. data/vendor/local/include/clutter-1.0/clutter/clutter-zoom-action.h +114 -0
  134. data/vendor/local/include/clutter-1.0/clutter/clutter.h +118 -0
  135. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-actor.h +161 -0
  136. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-alpha.h +144 -0
  137. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animatable.h +47 -0
  138. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animation.h +206 -0
  139. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animator.h +186 -0
  140. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-backend.h +64 -0
  141. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-depth.h +101 -0
  142. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-ellipse.h +159 -0
  143. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-opacity.h +115 -0
  144. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-path.h +135 -0
  145. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-rotate.h +119 -0
  146. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-scale.h +107 -0
  147. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour.h +170 -0
  148. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-bin-layout.h +56 -0
  149. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-box.h +143 -0
  150. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-cairo-texture.h +139 -0
  151. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-container.h +93 -0
  152. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-fixed.h +97 -0
  153. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-frame-source.h +49 -0
  154. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-group.h +62 -0
  155. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-input-device.h +41 -0
  156. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-keysyms.h +2306 -0
  157. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-main.h +96 -0
  158. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-media.h +121 -0
  159. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-rectangle.h +117 -0
  160. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-score.h +144 -0
  161. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-shader.h +182 -0
  162. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-stage-manager.h +42 -0
  163. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-stage.h +102 -0
  164. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-state.h +187 -0
  165. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-texture.h +138 -0
  166. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeline.h +41 -0
  167. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeout-pool.h +69 -0
  168. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-util.h +40 -0
  169. data/vendor/local/include/clutter-1.0/clutter/win32/clutter-win32.h +58 -0
  170. data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +245 -0
  171. data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +131 -0
  172. data/vendor/local/include/cogl/cogl/cogl-attribute.h +532 -0
  173. data/vendor/local/include/cogl/cogl/cogl-bitmap.h +314 -0
  174. data/vendor/local/include/cogl/cogl/cogl-buffer.h +309 -0
  175. data/vendor/local/include/cogl/cogl/cogl-clip-state.h +50 -0
  176. data/vendor/local/include/cogl/cogl/cogl-clutter.h +47 -0
  177. data/vendor/local/include/cogl/cogl/cogl-color.h +543 -0
  178. data/vendor/local/include/cogl/cogl/cogl-context.h +350 -0
  179. data/vendor/local/include/cogl/cogl/cogl-defines.h +50 -0
  180. data/vendor/local/include/cogl/cogl/cogl-deprecated.h +36 -0
  181. data/vendor/local/include/cogl/cogl/cogl-depth-state.h +264 -0
  182. data/vendor/local/include/cogl/cogl/cogl-display.h +192 -0
  183. data/vendor/local/include/cogl/cogl/cogl-enum-types.h +100 -0
  184. data/vendor/local/include/cogl/cogl/cogl-error.h +176 -0
  185. data/vendor/local/include/cogl/cogl/cogl-euler.h +251 -0
  186. data/vendor/local/include/cogl/cogl/cogl-fixed.h +804 -0
  187. data/vendor/local/include/cogl/cogl/cogl-frame-info.h +129 -0
  188. data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +1829 -0
  189. data/vendor/local/include/cogl/cogl/cogl-gles2-types.h +474 -0
  190. data/vendor/local/include/cogl/cogl/cogl-gles2.h +374 -0
  191. data/vendor/local/include/cogl/cogl/cogl-glib-source.h +59 -0
  192. data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +85 -0
  193. data/vendor/local/include/cogl/cogl/cogl-indices.h +145 -0
  194. data/vendor/local/include/cogl/cogl/cogl-material-compat.h +1276 -0
  195. data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +620 -0
  196. data/vendor/local/include/cogl/cogl/cogl-matrix.h +798 -0
  197. data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +181 -0
  198. data/vendor/local/include/cogl/cogl/cogl-object.h +219 -0
  199. data/vendor/local/include/cogl/cogl/cogl-offscreen.h +117 -0
  200. data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +106 -0
  201. data/vendor/local/include/cogl/cogl/cogl-onscreen.h +741 -0
  202. data/vendor/local/include/cogl/cogl/cogl-output.h +242 -0
  203. data/vendor/local/include/cogl/cogl/cogl-pango.h +33 -0
  204. data/vendor/local/include/cogl/cogl/cogl-path-functions.h +430 -0
  205. data/vendor/local/include/cogl/cogl/cogl-path.h +102 -0
  206. data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +613 -0
  207. data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +924 -0
  208. data/vendor/local/include/cogl/cogl/cogl-pipeline.h +173 -0
  209. data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +114 -0
  210. data/vendor/local/include/cogl/cogl/cogl-poll.h +174 -0
  211. data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +98 -0
  212. data/vendor/local/include/cogl/cogl/cogl-primitive.h +866 -0
  213. data/vendor/local/include/cogl/cogl/cogl-primitives.h +190 -0
  214. data/vendor/local/include/cogl/cogl/cogl-quaternion.h +545 -0
  215. data/vendor/local/include/cogl/cogl/cogl-renderer.h +423 -0
  216. data/vendor/local/include/cogl/cogl/cogl-shader.h +654 -0
  217. data/vendor/local/include/cogl/cogl/cogl-snippet.h +786 -0
  218. data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +122 -0
  219. data/vendor/local/include/cogl/cogl/cogl-swap-chain.h +51 -0
  220. data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +73 -0
  221. data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +130 -0
  222. data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +191 -0
  223. data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +187 -0
  224. data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +204 -0
  225. data/vendor/local/include/cogl/cogl/cogl-texture.h +611 -0
  226. data/vendor/local/include/cogl/cogl/cogl-types.h +912 -0
  227. data/vendor/local/include/cogl/cogl/cogl-vector.h +351 -0
  228. data/vendor/local/include/cogl/cogl/cogl-version.h +185 -0
  229. data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +409 -0
  230. data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +99 -0
  231. data/vendor/local/include/cogl/cogl/cogl.h +151 -0
  232. data/vendor/local/include/cogl/cogl/cogl1-context.h +1169 -0
  233. data/vendor/local/include/cogl/cogl/cogl2-compatibility.h +55 -0
  234. data/vendor/local/include/cogl/cogl/cogl2-experimental.h +31 -0
  235. data/vendor/local/include/cogl/cogl/cogl2-path.h +506 -0
  236. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-core-functions.h +191 -0
  237. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h +36 -0
  238. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h +279 -0
  239. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h +141 -0
  240. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h +179 -0
  241. data/vendor/local/include/json-glib-1.0/json-glib/json-builder.h +106 -0
  242. data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +36 -0
  243. data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +107 -0
  244. data/vendor/local/include/json-glib-1.0/json-glib/json-glib.h +46 -0
  245. data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +182 -0
  246. data/vendor/local/include/json-glib-1.0/json-glib/json-gvariant.h +46 -0
  247. data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +173 -0
  248. data/vendor/local/include/json-glib-1.0/json-glib/json-path.h +97 -0
  249. data/vendor/local/include/json-glib-1.0/json-glib/json-reader.h +150 -0
  250. data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +334 -0
  251. data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +100 -0
  252. data/vendor/local/lib/girepository-1.0/Cally-1.0.typelib +0 -0
  253. data/vendor/local/lib/girepository-1.0/Clutter-1.0.typelib +0 -0
  254. data/vendor/local/lib/girepository-1.0/Cogl-1.0.typelib +0 -0
  255. data/vendor/local/lib/girepository-1.0/CoglPango-1.0.typelib +0 -0
  256. data/vendor/local/lib/girepository-1.0/Json-1.0.typelib +0 -0
  257. data/vendor/local/lib/libclutter-1.0.dll.a +0 -0
  258. data/vendor/local/lib/libclutter-1.0.la +41 -0
  259. data/vendor/local/lib/libcogl-pango.dll.a +0 -0
  260. data/vendor/local/lib/libcogl-pango.la +41 -0
  261. data/vendor/local/lib/libcogl.dll.a +0 -0
  262. data/vendor/local/lib/libcogl.la +41 -0
  263. data/vendor/local/lib/libglut.a +0 -0
  264. data/vendor/local/lib/libglut.dll.a +0 -0
  265. data/vendor/local/lib/libglut.la +41 -0
  266. data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
  267. data/vendor/local/lib/libjson-glib-1.0.la +41 -0
  268. data/vendor/local/lib/pkgconfig/cally-1.0.pc +13 -0
  269. data/vendor/local/lib/pkgconfig/clutter-1.0.pc +24 -0
  270. data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +24 -0
  271. data/vendor/local/lib/pkgconfig/cogl-1.0.pc +13 -0
  272. data/vendor/local/lib/pkgconfig/cogl-2.0-experimental.pc +13 -0
  273. data/vendor/local/lib/pkgconfig/cogl-gl-1.0.pc +13 -0
  274. data/vendor/local/lib/pkgconfig/cogl-pango-1.0.pc +13 -0
  275. data/vendor/local/lib/pkgconfig/cogl-pango-2.0-experimental.pc +13 -0
  276. data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +11 -0
  277. data/vendor/local/share/cogl/examples-data/crate.jpg +0 -0
  278. data/vendor/local/share/gir-1.0/Cally-1.0.gir +679 -0
  279. data/vendor/local/share/gir-1.0/Clutter-1.0.gir +67473 -0
  280. data/vendor/local/share/gir-1.0/Cogl-1.0.gir +8383 -0
  281. data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +306 -0
  282. data/vendor/local/share/gir-1.0/Json-1.0.gir +4333 -0
  283. data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +415 -0
  284. data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +136 -0
  285. data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +139 -0
  286. data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +135 -0
  287. data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +123 -0
  288. data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +140 -0
  289. data/vendor/local/share/gtk-doc/html/cally/CallyText.html +133 -0
  290. data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +135 -0
  291. data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +100 -0
  292. data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +167 -0
  293. data/vendor/local/share/gtk-doc/html/cally/cally.devhelp2 +73 -0
  294. data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +43 -0
  295. data/vendor/local/share/gtk-doc/html/cally/callybase.html +71 -0
  296. data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +45 -0
  297. data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +64 -0
  298. data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +39 -0
  299. data/vendor/local/share/gtk-doc/html/cally/ch01.html +53 -0
  300. data/vendor/local/share/gtk-doc/html/cally/ch02.html +41 -0
  301. data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +96 -0
  302. data/vendor/local/share/gtk-doc/html/cally/home.png +0 -0
  303. data/vendor/local/share/gtk-doc/html/cally/index.html +103 -0
  304. data/vendor/local/share/gtk-doc/html/cally/index.sgml +103 -0
  305. data/vendor/local/share/gtk-doc/html/cally/ix01.html +198 -0
  306. data/vendor/local/share/gtk-doc/html/cally/ix02.html +31 -0
  307. data/vendor/local/share/gtk-doc/html/cally/ix03.html +190 -0
  308. data/vendor/local/share/gtk-doc/html/cally/ix04.html +42 -0
  309. data/vendor/local/share/gtk-doc/html/cally/left.png +0 -0
  310. data/vendor/local/share/gtk-doc/html/cally/license.html +58 -0
  311. data/vendor/local/share/gtk-doc/html/cally/right.png +0 -0
  312. data/vendor/local/share/gtk-doc/html/cally/style.css +266 -0
  313. data/vendor/local/share/gtk-doc/html/cally/up.png +0 -0
  314. data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +110 -0
  315. data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +13714 -0
  316. data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +322 -0
  317. data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +404 -0
  318. data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +747 -0
  319. data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +432 -0
  320. data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +1218 -0
  321. data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +684 -0
  322. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +697 -0
  323. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +278 -0
  324. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +844 -0
  325. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +283 -0
  326. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +450 -0
  327. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +608 -0
  328. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +432 -0
  329. data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +1056 -0
  330. data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +780 -0
  331. data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +109 -0
  332. data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +657 -0
  333. data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1232 -0
  334. data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +410 -0
  335. data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +1018 -0
  336. data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +469 -0
  337. data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +253 -0
  338. data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +587 -0
  339. data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +219 -0
  340. data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +193 -0
  341. data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +336 -0
  342. data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1346 -0
  343. data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +309 -0
  344. data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +353 -0
  345. data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +200 -0
  346. data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +408 -0
  347. data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +1224 -0
  348. data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +965 -0
  349. data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +386 -0
  350. data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +115 -0
  351. data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +1016 -0
  352. data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +867 -0
  353. data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +808 -0
  354. data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +231 -0
  355. data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +674 -0
  356. data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1488 -0
  357. data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +525 -0
  358. data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +1376 -0
  359. data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +161 -0
  360. data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +211 -0
  361. data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +900 -0
  362. data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +1715 -0
  363. data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +644 -0
  364. data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +350 -0
  365. data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +333 -0
  366. data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +534 -0
  367. data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +785 -0
  368. data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1327 -0
  369. data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +321 -0
  370. data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +216 -0
  371. data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +369 -0
  372. data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +183 -0
  373. data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +881 -0
  374. data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +1365 -0
  375. data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +311 -0
  376. data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +731 -0
  377. data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +301 -0
  378. data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +595 -0
  379. data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +421 -0
  380. data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +2252 -0
  381. data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1558 -0
  382. data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +280 -0
  383. data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +1146 -0
  384. data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +192 -0
  385. data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +3058 -0
  386. data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +736 -0
  387. data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +1829 -0
  388. data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +2441 -0
  389. data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +574 -0
  390. data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +227 -0
  391. data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +400 -0
  392. data/vendor/local/share/gtk-doc/html/clutter/actor-box.png +0 -0
  393. data/vendor/local/share/gtk-doc/html/clutter/actor-example.png +0 -0
  394. data/vendor/local/share/gtk-doc/html/clutter/animator-key-frames.png +0 -0
  395. data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +111 -0
  396. data/vendor/local/share/gtk-doc/html/clutter/bin-layout.png +0 -0
  397. data/vendor/local/share/gtk-doc/html/clutter/box-layout.png +0 -0
  398. data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +275 -0
  399. data/vendor/local/share/gtk-doc/html/clutter/ch01.html +65 -0
  400. data/vendor/local/share/gtk-doc/html/clutter/ch02.html +47 -0
  401. data/vendor/local/share/gtk-doc/html/clutter/ch03.html +51 -0
  402. data/vendor/local/share/gtk-doc/html/clutter/ch04.html +59 -0
  403. data/vendor/local/share/gtk-doc/html/clutter/ch05.html +44 -0
  404. data/vendor/local/share/gtk-doc/html/clutter/ch06.html +57 -0
  405. data/vendor/local/share/gtk-doc/html/clutter/ch07.html +38 -0
  406. data/vendor/local/share/gtk-doc/html/clutter/ch08.html +38 -0
  407. data/vendor/local/share/gtk-doc/html/clutter/ch09.html +53 -0
  408. data/vendor/local/share/gtk-doc/html/clutter/ch10.html +78 -0
  409. data/vendor/local/share/gtk-doc/html/clutter/ch11.html +38 -0
  410. data/vendor/local/share/gtk-doc/html/clutter/ch12.html +41 -0
  411. data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +3471 -0
  412. data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +225 -0
  413. data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +314 -0
  414. data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +361 -0
  415. data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1363 -0
  416. data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +129 -0
  417. data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +2653 -0
  418. data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +200 -0
  419. data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +249 -0
  420. data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +2550 -0
  421. data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +2571 -0
  422. data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +181 -0
  423. data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +890 -0
  424. data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +351 -0
  425. data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +1004 -0
  426. data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +341 -0
  427. data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +843 -0
  428. data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +549 -0
  429. data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +1023 -0
  430. data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +525 -0
  431. data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +83 -0
  432. data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +201 -0
  433. data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +806 -0
  434. data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +77 -0
  435. data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +2715 -0
  436. data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +65 -0
  437. data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +71 -0
  438. data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +202 -0
  439. data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +37 -0
  440. data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +118 -0
  441. data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +184 -0
  442. data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +37 -0
  443. data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +105 -0
  444. data/vendor/local/share/gtk-doc/html/clutter/constraints-example.png +0 -0
  445. data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +86 -0
  446. data/vendor/local/share/gtk-doc/html/clutter/easing-modes.png +0 -0
  447. data/vendor/local/share/gtk-doc/html/clutter/event-flow.png +0 -0
  448. data/vendor/local/share/gtk-doc/html/clutter/flow-layout.png +0 -0
  449. data/vendor/local/share/gtk-doc/html/clutter/go01.html +114 -0
  450. data/vendor/local/share/gtk-doc/html/clutter/home.png +0 -0
  451. data/vendor/local/share/gtk-doc/html/clutter/index.html +451 -0
  452. data/vendor/local/share/gtk-doc/html/clutter/index.sgml +3272 -0
  453. data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +56 -0
  454. data/vendor/local/share/gtk-doc/html/clutter/ix01.html +8815 -0
  455. data/vendor/local/share/gtk-doc/html/clutter/ix02.html +1961 -0
  456. data/vendor/local/share/gtk-doc/html/clutter/ix03.html +454 -0
  457. data/vendor/local/share/gtk-doc/html/clutter/ix04.html +583 -0
  458. data/vendor/local/share/gtk-doc/html/clutter/ix05.html +957 -0
  459. data/vendor/local/share/gtk-doc/html/clutter/ix06.html +642 -0
  460. data/vendor/local/share/gtk-doc/html/clutter/ix07.html +1530 -0
  461. data/vendor/local/share/gtk-doc/html/clutter/ix08.html +820 -0
  462. data/vendor/local/share/gtk-doc/html/clutter/ix09.html +1005 -0
  463. data/vendor/local/share/gtk-doc/html/clutter/ix10.html +369 -0
  464. data/vendor/local/share/gtk-doc/html/clutter/ix11.html +366 -0
  465. data/vendor/local/share/gtk-doc/html/clutter/ix12.html +1078 -0
  466. data/vendor/local/share/gtk-doc/html/clutter/ix13.html +984 -0
  467. data/vendor/local/share/gtk-doc/html/clutter/ix14.html +99 -0
  468. data/vendor/local/share/gtk-doc/html/clutter/left.png +0 -0
  469. data/vendor/local/share/gtk-doc/html/clutter/license.html +58 -0
  470. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +223 -0
  471. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +197 -0
  472. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +154 -0
  473. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +156 -0
  474. data/vendor/local/share/gtk-doc/html/clutter/migration.html +49 -0
  475. data/vendor/local/share/gtk-doc/html/clutter/offscreen-redirect.png +0 -0
  476. data/vendor/local/share/gtk-doc/html/clutter/path-alpha-func.png +0 -0
  477. data/vendor/local/share/gtk-doc/html/clutter/pt09.html +31 -0
  478. data/vendor/local/share/gtk-doc/html/clutter/right.png +0 -0
  479. data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +373 -0
  480. data/vendor/local/share/gtk-doc/html/clutter/style.css +266 -0
  481. data/vendor/local/share/gtk-doc/html/clutter/table-layout.png +0 -0
  482. data/vendor/local/share/gtk-doc/html/clutter/up.png +0 -0
  483. data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +36 -0
  484. data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +513 -0
  485. data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +492 -0
  486. data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +871 -0
  487. data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +464 -0
  488. data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +898 -0
  489. data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +87 -0
  490. data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +41 -0
  491. data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +41 -0
  492. data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +38 -0
  493. data/vendor/local/share/gtk-doc/html/json-glib/ch04.html +38 -0
  494. data/vendor/local/share/gtk-doc/html/json-glib/home.png +0 -0
  495. data/vendor/local/share/gtk-doc/html/json-glib/index.html +125 -0
  496. data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +308 -0
  497. data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +926 -0
  498. data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +54 -0
  499. data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +61 -0
  500. data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +54 -0
  501. data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +186 -0
  502. data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +121 -0
  503. data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +161 -0
  504. data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +137 -0
  505. data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +47 -0
  506. data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +61 -0
  507. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +382 -0
  508. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +310 -0
  509. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +850 -0
  510. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +272 -0
  511. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +942 -0
  512. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +993 -0
  513. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +476 -0
  514. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +148 -0
  515. data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +281 -0
  516. data/vendor/local/share/gtk-doc/html/json-glib/json-glib.html +38 -0
  517. data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +63 -0
  518. data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +39 -0
  519. data/vendor/local/share/gtk-doc/html/json-glib/left.png +0 -0
  520. data/vendor/local/share/gtk-doc/html/json-glib/license.html +58 -0
  521. data/vendor/local/share/gtk-doc/html/json-glib/right.png +0 -0
  522. data/vendor/local/share/gtk-doc/html/json-glib/style.css +266 -0
  523. data/vendor/local/share/gtk-doc/html/json-glib/up.png +0 -0
  524. data/vendor/local/share/license/clutter/COPYING +502 -0
  525. data/vendor/local/share/license/cogl/COPYING +502 -0
  526. data/vendor/local/share/license/freeglut/AUTHORS +39 -0
  527. data/vendor/local/share/license/freeglut/COPYING +27 -0
  528. data/vendor/local/share/license/json-glib/COPYING +504 -0
  529. data/vendor/local/share/locale/an/LC_MESSAGES/cogl.mo +0 -0
  530. data/vendor/local/share/locale/ar/LC_MESSAGES/clutter-1.0.mo +0 -0
  531. data/vendor/local/share/locale/ar/LC_MESSAGES/cogl.mo +0 -0
  532. data/vendor/local/share/locale/as/LC_MESSAGES/clutter-1.0.mo +0 -0
  533. data/vendor/local/share/locale/as/LC_MESSAGES/cogl.mo +0 -0
  534. data/vendor/local/share/locale/ast/LC_MESSAGES/clutter-1.0.mo +0 -0
  535. data/vendor/local/share/locale/ast/LC_MESSAGES/cogl.mo +0 -0
  536. data/vendor/local/share/locale/az_IR/LC_MESSAGES/clutter-1.0.mo +0 -0
  537. data/vendor/local/share/locale/be/LC_MESSAGES/clutter-1.0.mo +0 -0
  538. data/vendor/local/share/locale/be/LC_MESSAGES/cogl.mo +0 -0
  539. data/vendor/local/share/locale/bg/LC_MESSAGES/clutter-1.0.mo +0 -0
  540. data/vendor/local/share/locale/bg/LC_MESSAGES/cogl.mo +0 -0
  541. data/vendor/local/share/locale/ca/LC_MESSAGES/clutter-1.0.mo +0 -0
  542. data/vendor/local/share/locale/ca/LC_MESSAGES/cogl.mo +0 -0
  543. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/clutter-1.0.mo +0 -0
  544. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/cogl.mo +0 -0
  545. data/vendor/local/share/locale/cs/LC_MESSAGES/clutter-1.0.mo +0 -0
  546. data/vendor/local/share/locale/cs/LC_MESSAGES/cogl.mo +0 -0
  547. data/vendor/local/share/locale/cs/LC_MESSAGES/json-glib-1.0.mo +0 -0
  548. data/vendor/local/share/locale/da/LC_MESSAGES/clutter-1.0.mo +0 -0
  549. data/vendor/local/share/locale/da/LC_MESSAGES/cogl.mo +0 -0
  550. data/vendor/local/share/locale/de/LC_MESSAGES/clutter-1.0.mo +0 -0
  551. data/vendor/local/share/locale/de/LC_MESSAGES/cogl.mo +0 -0
  552. data/vendor/local/share/locale/de/LC_MESSAGES/json-glib-1.0.mo +0 -0
  553. data/vendor/local/share/locale/el/LC_MESSAGES/clutter-1.0.mo +0 -0
  554. data/vendor/local/share/locale/el/LC_MESSAGES/cogl.mo +0 -0
  555. data/vendor/local/share/locale/el/LC_MESSAGES/json-glib-1.0.mo +0 -0
  556. data/vendor/local/share/locale/en_CA/LC_MESSAGES/cogl.mo +0 -0
  557. data/vendor/local/share/locale/en_GB/LC_MESSAGES/clutter-1.0.mo +0 -0
  558. data/vendor/local/share/locale/en_GB/LC_MESSAGES/cogl.mo +0 -0
  559. data/vendor/local/share/locale/eo/LC_MESSAGES/clutter-1.0.mo +0 -0
  560. data/vendor/local/share/locale/eo/LC_MESSAGES/cogl.mo +0 -0
  561. data/vendor/local/share/locale/es/LC_MESSAGES/clutter-1.0.mo +0 -0
  562. data/vendor/local/share/locale/es/LC_MESSAGES/cogl.mo +0 -0
  563. data/vendor/local/share/locale/es/LC_MESSAGES/json-glib-1.0.mo +0 -0
  564. data/vendor/local/share/locale/eu/LC_MESSAGES/cogl.mo +0 -0
  565. data/vendor/local/share/locale/fa/LC_MESSAGES/clutter-1.0.mo +0 -0
  566. data/vendor/local/share/locale/fa/LC_MESSAGES/cogl.mo +0 -0
  567. data/vendor/local/share/locale/fi/LC_MESSAGES/clutter-1.0.mo +0 -0
  568. data/vendor/local/share/locale/fr/LC_MESSAGES/clutter-1.0.mo +0 -0
  569. data/vendor/local/share/locale/fr/LC_MESSAGES/cogl.mo +0 -0
  570. data/vendor/local/share/locale/gl/LC_MESSAGES/clutter-1.0.mo +0 -0
  571. data/vendor/local/share/locale/gl/LC_MESSAGES/cogl.mo +0 -0
  572. data/vendor/local/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  573. data/vendor/local/share/locale/he/LC_MESSAGES/clutter-1.0.mo +0 -0
  574. data/vendor/local/share/locale/he/LC_MESSAGES/cogl.mo +0 -0
  575. data/vendor/local/share/locale/hi/LC_MESSAGES/clutter-1.0.mo +0 -0
  576. data/vendor/local/share/locale/hi/LC_MESSAGES/cogl.mo +0 -0
  577. data/vendor/local/share/locale/hu/LC_MESSAGES/cogl.mo +0 -0
  578. data/vendor/local/share/locale/id/LC_MESSAGES/clutter-1.0.mo +0 -0
  579. data/vendor/local/share/locale/id/LC_MESSAGES/cogl.mo +0 -0
  580. data/vendor/local/share/locale/id/LC_MESSAGES/json-glib-1.0.mo +0 -0
  581. data/vendor/local/share/locale/it/LC_MESSAGES/clutter-1.0.mo +0 -0
  582. data/vendor/local/share/locale/it/LC_MESSAGES/cogl.mo +0 -0
  583. data/vendor/local/share/locale/it/LC_MESSAGES/json-glib-1.0.mo +0 -0
  584. data/vendor/local/share/locale/ja/LC_MESSAGES/clutter-1.0.mo +0 -0
  585. data/vendor/local/share/locale/ja/LC_MESSAGES/cogl.mo +0 -0
  586. data/vendor/local/share/locale/km/LC_MESSAGES/clutter-1.0.mo +0 -0
  587. data/vendor/local/share/locale/km/LC_MESSAGES/cogl.mo +0 -0
  588. data/vendor/local/share/locale/kn/LC_MESSAGES/clutter-1.0.mo +0 -0
  589. data/vendor/local/share/locale/kn/LC_MESSAGES/cogl.mo +0 -0
  590. data/vendor/local/share/locale/ko/LC_MESSAGES/cogl.mo +0 -0
  591. data/vendor/local/share/locale/lt/LC_MESSAGES/clutter-1.0.mo +0 -0
  592. data/vendor/local/share/locale/lt/LC_MESSAGES/cogl.mo +0 -0
  593. data/vendor/local/share/locale/lv/LC_MESSAGES/clutter-1.0.mo +0 -0
  594. data/vendor/local/share/locale/lv/LC_MESSAGES/cogl.mo +0 -0
  595. data/vendor/local/share/locale/mk/LC_MESSAGES/clutter-1.0.mo +0 -0
  596. data/vendor/local/share/locale/ml/LC_MESSAGES/clutter-1.0.mo +0 -0
  597. data/vendor/local/share/locale/ml/LC_MESSAGES/cogl.mo +0 -0
  598. data/vendor/local/share/locale/nb/LC_MESSAGES/clutter-1.0.mo +0 -0
  599. data/vendor/local/share/locale/nb/LC_MESSAGES/cogl.mo +0 -0
  600. data/vendor/local/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo +0 -0
  601. data/vendor/local/share/locale/nl/LC_MESSAGES/clutter-1.0.mo +0 -0
  602. data/vendor/local/share/locale/nl/LC_MESSAGES/cogl.mo +0 -0
  603. data/vendor/local/share/locale/or/LC_MESSAGES/clutter-1.0.mo +0 -0
  604. data/vendor/local/share/locale/or/LC_MESSAGES/cogl.mo +0 -0
  605. data/vendor/local/share/locale/pa/LC_MESSAGES/clutter-1.0.mo +0 -0
  606. data/vendor/local/share/locale/pa/LC_MESSAGES/cogl.mo +0 -0
  607. data/vendor/local/share/locale/pa/LC_MESSAGES/json-glib-1.0.mo +0 -0
  608. data/vendor/local/share/locale/pl/LC_MESSAGES/clutter-1.0.mo +0 -0
  609. data/vendor/local/share/locale/pl/LC_MESSAGES/cogl.mo +0 -0
  610. data/vendor/local/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  611. data/vendor/local/share/locale/ps/LC_MESSAGES/clutter-1.0.mo +0 -0
  612. data/vendor/local/share/locale/pt/LC_MESSAGES/clutter-1.0.mo +0 -0
  613. data/vendor/local/share/locale/pt/LC_MESSAGES/cogl.mo +0 -0
  614. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/clutter-1.0.mo +0 -0
  615. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/cogl.mo +0 -0
  616. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo +0 -0
  617. data/vendor/local/share/locale/ro/LC_MESSAGES/clutter-1.0.mo +0 -0
  618. data/vendor/local/share/locale/ru/LC_MESSAGES/clutter-1.0.mo +0 -0
  619. data/vendor/local/share/locale/ru/LC_MESSAGES/cogl.mo +0 -0
  620. data/vendor/local/share/locale/ru/LC_MESSAGES/json-glib-1.0.mo +0 -0
  621. data/vendor/local/share/locale/sk/LC_MESSAGES/clutter-1.0.mo +0 -0
  622. data/vendor/local/share/locale/sk/LC_MESSAGES/cogl.mo +0 -0
  623. data/vendor/local/share/locale/sl/LC_MESSAGES/clutter-1.0.mo +0 -0
  624. data/vendor/local/share/locale/sl/LC_MESSAGES/cogl.mo +0 -0
  625. data/vendor/local/share/locale/sl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  626. data/vendor/local/share/locale/sr/LC_MESSAGES/clutter-1.0.mo +0 -0
  627. data/vendor/local/share/locale/sr/LC_MESSAGES/cogl.mo +0 -0
  628. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/clutter-1.0.mo +0 -0
  629. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/cogl.mo +0 -0
  630. data/vendor/local/share/locale/sv/LC_MESSAGES/clutter-1.0.mo +0 -0
  631. data/vendor/local/share/locale/sv/LC_MESSAGES/cogl.mo +0 -0
  632. data/vendor/local/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo +0 -0
  633. data/vendor/local/share/locale/ta/LC_MESSAGES/clutter-1.0.mo +0 -0
  634. data/vendor/local/share/locale/ta/LC_MESSAGES/cogl.mo +0 -0
  635. data/vendor/local/share/locale/te/LC_MESSAGES/clutter-1.0.mo +0 -0
  636. data/vendor/local/share/locale/te/LC_MESSAGES/cogl.mo +0 -0
  637. data/vendor/local/share/locale/tg/LC_MESSAGES/clutter-1.0.mo +0 -0
  638. data/vendor/local/share/locale/th/LC_MESSAGES/cogl.mo +0 -0
  639. data/vendor/local/share/locale/tr/LC_MESSAGES/clutter-1.0.mo +0 -0
  640. data/vendor/local/share/locale/tr/LC_MESSAGES/cogl.mo +0 -0
  641. data/vendor/local/share/locale/tr/LC_MESSAGES/json-glib-1.0.mo +0 -0
  642. data/vendor/local/share/locale/ug/LC_MESSAGES/clutter-1.0.mo +0 -0
  643. data/vendor/local/share/locale/ug/LC_MESSAGES/cogl.mo +0 -0
  644. data/vendor/local/share/locale/uk/LC_MESSAGES/clutter-1.0.mo +0 -0
  645. data/vendor/local/share/locale/uk/LC_MESSAGES/cogl.mo +0 -0
  646. data/vendor/local/share/locale/ur/LC_MESSAGES/clutter-1.0.mo +0 -0
  647. data/vendor/local/share/locale/vi/LC_MESSAGES/cogl.mo +0 -0
  648. data/vendor/local/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo +0 -0
  649. data/vendor/local/share/locale/yi/LC_MESSAGES/clutter-1.0.mo +0 -0
  650. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/clutter-1.0.mo +0 -0
  651. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/cogl.mo +0 -0
  652. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/clutter-1.0.mo +0 -0
  653. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/cogl.mo +0 -0
  654. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/clutter-1.0.mo +0 -0
  655. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/cogl.mo +0 -0
  656. metadata +747 -0
@@ -0,0 +1,912 @@
1
+ /*
2
+ * Cogl
3
+ *
4
+ * An object oriented GL/GLES Abstraction/Utility Layer
5
+ *
6
+ * Copyright (C) 2008,2009 Intel Corporation.
7
+ *
8
+ * This library is free software; you can redistribute it and/or
9
+ * modify it under the terms of the GNU Lesser General Public
10
+ * License as published by the Free Software Foundation; either
11
+ * version 2 of the License, or (at your option) any later version.
12
+ *
13
+ * This library is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
+ * Lesser General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU Lesser General Public
19
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
20
+ *
21
+ *
22
+ */
23
+
24
+ #if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
25
+ #error "Only <cogl/cogl.h> can be included directly."
26
+ #endif
27
+
28
+ #ifndef __COGL_TYPES_H__
29
+ #define __COGL_TYPES_H__
30
+
31
+ #include <stdint.h>
32
+ #include <stddef.h>
33
+
34
+ #include <cogl/cogl-defines.h>
35
+
36
+ #ifdef COGL_HAS_GTYPE_SUPPORT
37
+ #include <glib-object.h>
38
+ #endif /* COGL_HAS_GTYPE_SUPPORT */
39
+
40
+ /* Guard C code in headers, while including them from C++ */
41
+ #ifdef __cplusplus
42
+ #define COGL_BEGIN_DECLS extern "C" {
43
+ #define COGL_END_DECLS }
44
+ #else
45
+ #define COGL_BEGIN_DECLS
46
+ #define COGL_END_DECLS
47
+ #endif
48
+
49
+ COGL_BEGIN_DECLS
50
+
51
+ /**
52
+ * SECTION:cogl-types
53
+ * @short_description: Types used throughout the library
54
+ *
55
+ * General types used by various Cogl functions.
56
+ */
57
+
58
+ /**
59
+ * CoglBool:
60
+ *
61
+ * A boolean data type used throughout the Cogl C api. This should be
62
+ * used in conjunction with the %TRUE and %FALSE macro defines for
63
+ * setting and testing boolean values.
64
+ *
65
+ * Since: 2.0
66
+ * Stability: stable
67
+ */
68
+ typedef int CoglBool;
69
+
70
+ /**
71
+ * TRUE:
72
+ *
73
+ * A constant to be used with #CoglBool types to indicate a boolean in
74
+ * the "true" state.
75
+ *
76
+ * Since: 2.0
77
+ * Stability: stable
78
+ */
79
+ #ifndef TRUE
80
+ #define TRUE 1
81
+ #endif
82
+
83
+ /**
84
+ * FALSE:
85
+ *
86
+ * A constant to be used with #CoglBool types to indicate a boolean in
87
+ * the "false" state.
88
+ *
89
+ * Since: 2.0
90
+ * Stability: stable
91
+ */
92
+ #ifndef FALSE
93
+ #define FALSE 0
94
+ #endif
95
+
96
+ #if __GNUC__ >= 4
97
+ #define COGL_GNUC_NULL_TERMINATED __attribute__((__sentinel__))
98
+ #else
99
+ #define COGL_GNUC_NULL_TERMINATED
100
+ #endif
101
+
102
+ #if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
103
+ #define COGL_GNUC_DEPRECATED \
104
+ __attribute__((__deprecated__))
105
+ #else
106
+ #define COGL_GNUC_DEPRECATED
107
+ #endif /* __GNUC__ */
108
+
109
+ /* Some structures are meant to be opaque but they have public
110
+ definitions because we want the size to be public so they can be
111
+ allocated on the stack. This macro is used to ensure that users
112
+ don't accidentally access private members */
113
+ #ifdef COGL_COMPILATION
114
+ #define COGL_PRIVATE(x) x
115
+ #else
116
+ #define COGL_PRIVATE(x) private_member_ ## x
117
+ #endif
118
+
119
+ /* To help catch accidental changes to public structs that should
120
+ * be stack allocated we use this macro to compile time assert that
121
+ * a struct size is as expected.
122
+ */
123
+ #define COGL_STRUCT_SIZE_ASSERT(TYPE, SIZE) \
124
+ typedef struct { \
125
+ char compile_time_assert_ ## TYPE ## _size[ \
126
+ (sizeof (TYPE) == (SIZE)) ? 1 : -1]; \
127
+ } _ ## TYPE ## SizeCheck
128
+
129
+ /**
130
+ * CoglHandle:
131
+ *
132
+ * Type used for storing references to cogl objects, the CoglHandle is
133
+ * a fully opaque type without any public data members.
134
+ */
135
+ typedef void * CoglHandle;
136
+
137
+ /**
138
+ * COGL_INVALID_HANDLE:
139
+ *
140
+ * A COGL handle that is not valid, used for unitialized handles as well as
141
+ * error conditions.
142
+ */
143
+ #define COGL_INVALID_HANDLE NULL
144
+
145
+ #ifdef COGL_HAS_GTYPE_SUPPORT
146
+
147
+ #define COGL_TYPE_HANDLE (cogl_handle_get_type ())
148
+ GType
149
+ cogl_handle_get_type (void) G_GNUC_CONST;
150
+
151
+ #endif /* COGL_HAS_GTYPE_SUPPORT */
152
+
153
+ /**
154
+ * cogl_handle_ref:
155
+ * @handle: a #CoglHandle
156
+ *
157
+ * Increases the reference count of @handle by 1
158
+ *
159
+ * Return value: (transfer none): the handle, with its reference count increased
160
+ */
161
+ CoglHandle
162
+ cogl_handle_ref (CoglHandle handle);
163
+
164
+ /**
165
+ * cogl_handle_unref:
166
+ * @handle: a #CoglHandle
167
+ *
168
+ * Drecreases the reference count of @handle by 1; if the reference
169
+ * count reaches 0, the resources allocated by @handle will be freed
170
+ */
171
+ void
172
+ cogl_handle_unref (CoglHandle handle);
173
+
174
+ /**
175
+ * CoglFuncPtr:
176
+ *
177
+ * The type used by cogl for function pointers, note that this type
178
+ * is used as a generic catch-all cast for function pointers and the
179
+ * actual arguments and return type may be different.
180
+ */
181
+ typedef void (* CoglFuncPtr) (void);
182
+
183
+ /* We forward declare this in cogl-types to avoid circular dependencies
184
+ * between cogl-matrix.h, cogl-euler.h and cogl-quaterion.h */
185
+ typedef struct _CoglMatrix CoglMatrix;
186
+
187
+ /* Same as above we forward declared CoglQuaternion to avoid
188
+ * circular dependencies. */
189
+ typedef struct _CoglQuaternion CoglQuaternion;
190
+
191
+ /* Same as above we forward declared CoglEuler to avoid
192
+ * circular dependencies. */
193
+ typedef struct _CoglEuler CoglEuler;
194
+
195
+ /**
196
+ * CoglFixed:
197
+ *
198
+ * Fixed point number using a (16.16) notation.
199
+ */
200
+ typedef int32_t CoglFixed;
201
+
202
+ #define COGL_TYPE_FIXED (cogl_fixed_get_type ())
203
+ GType
204
+ cogl_fixed_get_type (void) G_GNUC_CONST;
205
+
206
+ /**
207
+ * CoglAngle:
208
+ *
209
+ * Integer representation of an angle such that 1024 corresponds to
210
+ * full circle (i.e., 2 * pi).
211
+ *
212
+ * Since: 1.0
213
+ */
214
+ typedef int32_t CoglAngle;
215
+
216
+ typedef struct _CoglColor CoglColor;
217
+ typedef struct _CoglTextureVertex CoglTextureVertex;
218
+
219
+ /* Enum declarations */
220
+
221
+ #define COGL_A_BIT (1 << 4)
222
+ #define COGL_BGR_BIT (1 << 5)
223
+ #define COGL_AFIRST_BIT (1 << 6)
224
+ #define COGL_PREMULT_BIT (1 << 7)
225
+ #define COGL_DEPTH_BIT (1 << 8)
226
+ #define COGL_STENCIL_BIT (1 << 9)
227
+
228
+ /* XXX: Notes to those adding new formats here...
229
+ *
230
+ * First this diagram outlines how we allocate the 32bits of a
231
+ * CoglPixelFormat currently...
232
+ *
233
+ * 6 bits for flags
234
+ * |-----|
235
+ * enum unused 4 bits for the bytes-per-pixel
236
+ * and component alignment info
237
+ * |------| |-------------| |--|
238
+ * 00000000 xxxxxxxx xxxxxxSD PFBA0000
239
+ * ^ stencil
240
+ * ^ depth
241
+ * ^ premult
242
+ * ^ alpha first
243
+ * ^ bgr order
244
+ * ^ has alpha
245
+ *
246
+ * The most awkward part about the formats is how we use the last 4
247
+ * bits to encode the bytes per pixel and component alignment
248
+ * information. Ideally we should have had 3 bits for the bpp and a
249
+ * flag for alignment but we didn't plan for that in advance so we
250
+ * instead use a small lookup table to query the bpp and whether the
251
+ * components are byte aligned or not.
252
+ *
253
+ * The mapping is the following (see discussion on bug #660188):
254
+ *
255
+ * 0 = undefined
256
+ * 1, 8 = 1 bpp (e.g. A_8, G_8)
257
+ * 2 = 3 bpp, aligned (e.g. 888)
258
+ * 3 = 4 bpp, aligned (e.g. 8888)
259
+ * 4-6 = 2 bpp, not aligned (e.g. 565, 4444, 5551)
260
+ * 7 = YUV: undefined bpp, undefined alignment
261
+ * 9 = 2 bpp, aligned
262
+ * 10 = depth, aligned (8, 16, 24, 32, 32f)
263
+ * 11 = undefined
264
+ * 12 = 3 bpp, not aligned
265
+ * 13 = 4 bpp, not aligned (e.g. 2101010)
266
+ * 14-15 = undefined
267
+ *
268
+ * Note: the gap at 10-11 is just because we wanted to maintain that
269
+ * all non-aligned formats have the third bit set in case that's
270
+ * useful later.
271
+ *
272
+ * Since we don't want to waste bits adding more and more flags, we'd
273
+ * like to see most new pixel formats that can't be represented
274
+ * uniquely with the existing flags in the least significant byte
275
+ * simply be enumerated with sequential values in the most significant
276
+ * enum byte.
277
+ *
278
+ * Note: Cogl avoids exposing any padded XRGB or RGBX formats and
279
+ * instead we leave it up to applications to decided whether they
280
+ * consider the A component as padding or valid data. We shouldn't
281
+ * change this policy without good reasoning.
282
+ *
283
+ * So to add a new format:
284
+ * 1) Use the mapping table above to figure out what to but in
285
+ * the lowest nibble.
286
+ * 2) OR in the COGL_PREMULT_BIT, COGL_AFIRST_BIT, COGL_A_BIT and
287
+ * COGL_BGR_BIT flags as appropriate.
288
+ * 3) If the result is not yet unique then also combine with an
289
+ * increment of the last sequence number in the most significant
290
+ * byte.
291
+ *
292
+ * The last sequence number used was 0 (i.e. no formats currently need
293
+ * a sequence number)
294
+ * Update this note whenever a new sequence number is used.
295
+ */
296
+ /**
297
+ * CoglPixelFormat:
298
+ * @COGL_PIXEL_FORMAT_ANY: Any format
299
+ * @COGL_PIXEL_FORMAT_A_8: 8 bits alpha mask
300
+ * @COGL_PIXEL_FORMAT_RGB_565: RGB, 16 bits
301
+ * @COGL_PIXEL_FORMAT_RGBA_4444: RGBA, 16 bits
302
+ * @COGL_PIXEL_FORMAT_RGBA_5551: RGBA, 16 bits
303
+ * @COGL_PIXEL_FORMAT_YUV: Not currently supported
304
+ * @COGL_PIXEL_FORMAT_G_8: Single luminance component
305
+ * @COGL_PIXEL_FORMAT_RGB_888: RGB, 24 bits
306
+ * @COGL_PIXEL_FORMAT_BGR_888: BGR, 24 bits
307
+ * @COGL_PIXEL_FORMAT_RGBA_8888: RGBA, 32 bits
308
+ * @COGL_PIXEL_FORMAT_BGRA_8888: BGRA, 32 bits
309
+ * @COGL_PIXEL_FORMAT_ARGB_8888: ARGB, 32 bits
310
+ * @COGL_PIXEL_FORMAT_ABGR_8888: ABGR, 32 bits
311
+ * @COGL_PIXEL_FORMAT_RGBA_1010102 : RGBA, 32 bits, 10 bpc
312
+ * @COGL_PIXEL_FORMAT_BGRA_1010102 : BGRA, 32 bits, 10 bpc
313
+ * @COGL_PIXEL_FORMAT_ARGB_2101010 : ARGB, 32 bits, 10 bpc
314
+ * @COGL_PIXEL_FORMAT_ABGR_2101010 : ABGR, 32 bits, 10 bpc
315
+ * @COGL_PIXEL_FORMAT_RGBA_8888_PRE: Premultiplied RGBA, 32 bits
316
+ * @COGL_PIXEL_FORMAT_BGRA_8888_PRE: Premultiplied BGRA, 32 bits
317
+ * @COGL_PIXEL_FORMAT_ARGB_8888_PRE: Premultiplied ARGB, 32 bits
318
+ * @COGL_PIXEL_FORMAT_ABGR_8888_PRE: Premultiplied ABGR, 32 bits
319
+ * @COGL_PIXEL_FORMAT_RGBA_4444_PRE: Premultiplied RGBA, 16 bits
320
+ * @COGL_PIXEL_FORMAT_RGBA_5551_PRE: Premultiplied RGBA, 16 bits
321
+ * @COGL_PIXEL_FORMAT_RGBA_1010102_PRE: Premultiplied RGBA, 32 bits, 10 bpc
322
+ * @COGL_PIXEL_FORMAT_BGRA_1010102_PRE: Premultiplied BGRA, 32 bits, 10 bpc
323
+ * @COGL_PIXEL_FORMAT_ARGB_2101010_PRE: Premultiplied ARGB, 32 bits, 10 bpc
324
+ * @COGL_PIXEL_FORMAT_ABGR_2101010_PRE: Premultiplied ABGR, 32 bits, 10 bpc
325
+ *
326
+ * Pixel formats used by Cogl. For the formats with a byte per
327
+ * component, the order of the components specify the order in
328
+ * increasing memory addresses. So for example
329
+ * %COGL_PIXEL_FORMAT_RGB_888 would have the red component in the
330
+ * lowest address, green in the next address and blue after that
331
+ * regardless of the endianness of the system.
332
+ *
333
+ * For the formats with non byte aligned components the component
334
+ * order specifies the order within a 16-bit or 32-bit number from
335
+ * most significant bit to least significant. So for
336
+ * %COGL_PIXEL_FORMAT_RGB_565, the red component would be in bits
337
+ * 11-15, the green component would be in 6-11 and the blue component
338
+ * would be in 1-5. Therefore the order in memory depends on the
339
+ * endianness of the system.
340
+ *
341
+ * When uploading a texture %COGL_PIXEL_FORMAT_ANY can be used as the
342
+ * internal format. Cogl will try to pick the best format to use
343
+ * internally and convert the texture data if necessary.
344
+ *
345
+ * Since: 0.8
346
+ */
347
+ typedef enum { /*< prefix=COGL_PIXEL_FORMAT >*/
348
+ COGL_PIXEL_FORMAT_ANY = 0,
349
+ COGL_PIXEL_FORMAT_A_8 = 1 | COGL_A_BIT,
350
+
351
+ COGL_PIXEL_FORMAT_RGB_565 = 4,
352
+ COGL_PIXEL_FORMAT_RGBA_4444 = 5 | COGL_A_BIT,
353
+ COGL_PIXEL_FORMAT_RGBA_5551 = 6 | COGL_A_BIT,
354
+ COGL_PIXEL_FORMAT_YUV = 7,
355
+ COGL_PIXEL_FORMAT_G_8 = 8,
356
+
357
+ COGL_PIXEL_FORMAT_RGB_888 = 2,
358
+ COGL_PIXEL_FORMAT_BGR_888 = (2 | COGL_BGR_BIT),
359
+
360
+ COGL_PIXEL_FORMAT_RGBA_8888 = (3 | COGL_A_BIT),
361
+ COGL_PIXEL_FORMAT_BGRA_8888 = (3 | COGL_A_BIT | COGL_BGR_BIT),
362
+ COGL_PIXEL_FORMAT_ARGB_8888 = (3 | COGL_A_BIT | COGL_AFIRST_BIT),
363
+ COGL_PIXEL_FORMAT_ABGR_8888 = (3 | COGL_A_BIT | COGL_BGR_BIT | COGL_AFIRST_BIT),
364
+
365
+ COGL_PIXEL_FORMAT_RGBA_1010102 = (13 | COGL_A_BIT),
366
+ COGL_PIXEL_FORMAT_BGRA_1010102 = (13 | COGL_A_BIT | COGL_BGR_BIT),
367
+ COGL_PIXEL_FORMAT_ARGB_2101010 = (13 | COGL_A_BIT | COGL_AFIRST_BIT),
368
+ COGL_PIXEL_FORMAT_ABGR_2101010 = (13 | COGL_A_BIT | COGL_BGR_BIT | COGL_AFIRST_BIT),
369
+
370
+ COGL_PIXEL_FORMAT_RGBA_8888_PRE = (3 | COGL_A_BIT | COGL_PREMULT_BIT),
371
+ COGL_PIXEL_FORMAT_BGRA_8888_PRE = (3 | COGL_A_BIT | COGL_PREMULT_BIT | COGL_BGR_BIT),
372
+ COGL_PIXEL_FORMAT_ARGB_8888_PRE = (3 | COGL_A_BIT | COGL_PREMULT_BIT | COGL_AFIRST_BIT),
373
+ COGL_PIXEL_FORMAT_ABGR_8888_PRE = (3 | COGL_A_BIT | COGL_PREMULT_BIT | COGL_BGR_BIT | COGL_AFIRST_BIT),
374
+ COGL_PIXEL_FORMAT_RGBA_4444_PRE = (COGL_PIXEL_FORMAT_RGBA_4444 | COGL_A_BIT | COGL_PREMULT_BIT),
375
+ COGL_PIXEL_FORMAT_RGBA_5551_PRE = (COGL_PIXEL_FORMAT_RGBA_5551 | COGL_A_BIT | COGL_PREMULT_BIT),
376
+
377
+ COGL_PIXEL_FORMAT_RGBA_1010102_PRE = (COGL_PIXEL_FORMAT_RGBA_1010102 | COGL_PREMULT_BIT),
378
+ COGL_PIXEL_FORMAT_BGRA_1010102_PRE = (COGL_PIXEL_FORMAT_BGRA_1010102 | COGL_PREMULT_BIT),
379
+ COGL_PIXEL_FORMAT_ARGB_2101010_PRE = (COGL_PIXEL_FORMAT_ARGB_2101010 | COGL_PREMULT_BIT),
380
+ COGL_PIXEL_FORMAT_ABGR_2101010_PRE = (COGL_PIXEL_FORMAT_ABGR_2101010 | COGL_PREMULT_BIT),
381
+
382
+ COGL_PIXEL_FORMAT_DEPTH_16 = (9 | COGL_DEPTH_BIT),
383
+ COGL_PIXEL_FORMAT_DEPTH_32 = (3 | COGL_DEPTH_BIT),
384
+
385
+ COGL_PIXEL_FORMAT_DEPTH_24_STENCIL_8 = (3 | COGL_DEPTH_BIT | COGL_STENCIL_BIT)
386
+ } CoglPixelFormat;
387
+
388
+ /**
389
+ * CoglFeatureFlags:
390
+ * @COGL_FEATURE_TEXTURE_RECTANGLE: ARB_texture_rectangle support
391
+ * @COGL_FEATURE_TEXTURE_NPOT: Non power of two textures are supported
392
+ * by the hardware. This is a equivalent to the
393
+ * %COGL_FEATURE_TEXTURE_NPOT_BASIC, %COGL_FEATURE_TEXTURE_NPOT_MIPMAP
394
+ * and %COGL_FEATURE_TEXTURE_NPOT_REPEAT features combined.
395
+ * @COGL_FEATURE_TEXTURE_YUV: ycbcr conversion support
396
+ * @COGL_FEATURE_TEXTURE_READ_PIXELS: glReadPixels() support
397
+ * @COGL_FEATURE_SHADERS_GLSL: GLSL support
398
+ * @COGL_FEATURE_SHADERS_ARBFP: ARBFP support
399
+ * @COGL_FEATURE_OFFSCREEN: FBO support
400
+ * @COGL_FEATURE_OFFSCREEN_MULTISAMPLE: Multisample support on FBOs
401
+ * @COGL_FEATURE_OFFSCREEN_BLIT: Blit support on FBOs
402
+ * @COGL_FEATURE_FOUR_CLIP_PLANES: At least 4 clip planes available
403
+ * @COGL_FEATURE_STENCIL_BUFFER: Stencil buffer support
404
+ * @COGL_FEATURE_VBOS: VBO support
405
+ * @COGL_FEATURE_PBOS: PBO support
406
+ * @COGL_FEATURE_UNSIGNED_INT_INDICES: Set if
407
+ * %COGL_INDICES_TYPE_UNSIGNED_INT is supported in
408
+ * cogl_vertex_buffer_indices_new().
409
+ * @COGL_FEATURE_DEPTH_RANGE: cogl_material_set_depth_range() support
410
+ * @COGL_FEATURE_TEXTURE_NPOT_BASIC: The hardware supports non power
411
+ * of two textures, but you also need to check the
412
+ * %COGL_FEATURE_TEXTURE_NPOT_MIPMAP and %COGL_FEATURE_TEXTURE_NPOT_REPEAT
413
+ * features to know if the hardware supports npot texture mipmaps
414
+ * or repeat modes other than
415
+ * %COGL_PIPELINE_WRAP_MODE_CLAMP_TO_EDGE respectively.
416
+ * @COGL_FEATURE_TEXTURE_NPOT_MIPMAP: Mipmapping is supported in
417
+ * conjuntion with non power of two textures.
418
+ * @COGL_FEATURE_TEXTURE_NPOT_REPEAT: Repeat modes other than
419
+ * %COGL_PIPELINE_WRAP_MODE_CLAMP_TO_EDGE are supported by the
420
+ * hardware.
421
+ * @COGL_FEATURE_POINT_SPRITE: Whether
422
+ * cogl_material_set_layer_point_sprite_coords_enabled() is supported.
423
+ * @COGL_FEATURE_TEXTURE_3D: 3D texture support
424
+ * @COGL_FEATURE_MAP_BUFFER_FOR_READ: Whether cogl_buffer_map() is
425
+ * supported with CoglBufferAccess including read support.
426
+ * @COGL_FEATURE_MAP_BUFFER_FOR_WRITE: Whether cogl_buffer_map() is
427
+ * supported with CoglBufferAccess including write support.
428
+ * @COGL_FEATURE_DEPTH_TEXTURE: Whether #CoglFramebuffer support rendering the
429
+ * depth buffer to a texture.
430
+ *
431
+ * Flags for the supported features.
432
+ *
433
+ * Since: 0.8
434
+ */
435
+ typedef enum
436
+ {
437
+ COGL_FEATURE_TEXTURE_RECTANGLE = (1 << 1),
438
+ COGL_FEATURE_TEXTURE_NPOT = (1 << 2),
439
+ COGL_FEATURE_TEXTURE_YUV = (1 << 3),
440
+ COGL_FEATURE_TEXTURE_READ_PIXELS = (1 << 4),
441
+ COGL_FEATURE_SHADERS_GLSL = (1 << 5),
442
+ COGL_FEATURE_OFFSCREEN = (1 << 6),
443
+ COGL_FEATURE_OFFSCREEN_MULTISAMPLE = (1 << 7),
444
+ COGL_FEATURE_OFFSCREEN_BLIT = (1 << 8),
445
+ COGL_FEATURE_FOUR_CLIP_PLANES = (1 << 9),
446
+ COGL_FEATURE_STENCIL_BUFFER = (1 << 10),
447
+ COGL_FEATURE_VBOS = (1 << 11),
448
+ COGL_FEATURE_PBOS = (1 << 12),
449
+ COGL_FEATURE_UNSIGNED_INT_INDICES = (1 << 13),
450
+ COGL_FEATURE_DEPTH_RANGE = (1 << 14),
451
+ COGL_FEATURE_TEXTURE_NPOT_BASIC = (1 << 15),
452
+ COGL_FEATURE_TEXTURE_NPOT_MIPMAP = (1 << 16),
453
+ COGL_FEATURE_TEXTURE_NPOT_REPEAT = (1 << 17),
454
+ COGL_FEATURE_POINT_SPRITE = (1 << 18),
455
+ COGL_FEATURE_TEXTURE_3D = (1 << 19),
456
+ COGL_FEATURE_SHADERS_ARBFP = (1 << 20),
457
+ COGL_FEATURE_MAP_BUFFER_FOR_READ = (1 << 21),
458
+ COGL_FEATURE_MAP_BUFFER_FOR_WRITE = (1 << 22),
459
+ COGL_FEATURE_ONSCREEN_MULTIPLE = (1 << 23),
460
+ COGL_FEATURE_DEPTH_TEXTURE = (1 << 24)
461
+ } CoglFeatureFlags;
462
+
463
+ /**
464
+ * CoglBufferTarget:
465
+ * @COGL_WINDOW_BUFFER: FIXME
466
+ * @COGL_OFFSCREEN_BUFFER: FIXME
467
+ *
468
+ * Target flags for FBOs.
469
+ *
470
+ * Since: 0.8
471
+ */
472
+ typedef enum
473
+ {
474
+ COGL_WINDOW_BUFFER = (1 << 1),
475
+ COGL_OFFSCREEN_BUFFER = (1 << 2)
476
+ } CoglBufferTarget;
477
+
478
+ /**
479
+ * CoglColor:
480
+ * @red: amount of red
481
+ * @green: amount of green
482
+ * @blue: amount of green
483
+ * @alpha: alpha
484
+ *
485
+ * A structure for holding a color definition. The contents of
486
+ * the CoglColor structure are private and should never by accessed
487
+ * directly.
488
+ *
489
+ * Since: 1.0
490
+ */
491
+ struct _CoglColor
492
+ {
493
+ /*< private >*/
494
+ uint8_t COGL_PRIVATE (red);
495
+ uint8_t COGL_PRIVATE (green);
496
+ uint8_t COGL_PRIVATE (blue);
497
+
498
+ uint8_t COGL_PRIVATE (alpha);
499
+
500
+ /* padding in case we want to change to floats at
501
+ * some point */
502
+ uint32_t COGL_PRIVATE (padding0);
503
+ uint32_t COGL_PRIVATE (padding1);
504
+ uint32_t COGL_PRIVATE (padding2);
505
+ };
506
+ COGL_STRUCT_SIZE_ASSERT (CoglColor, 16);
507
+
508
+ /**
509
+ * CoglTextureVertex:
510
+ * @x: Model x-coordinate
511
+ * @y: Model y-coordinate
512
+ * @z: Model z-coordinate
513
+ * @tx: Texture x-coordinate
514
+ * @ty: Texture y-coordinate
515
+ * @color: The color to use at this vertex. This is ignored if
516
+ * use_color is %FALSE when calling cogl_polygon()
517
+ *
518
+ * Used to specify vertex information when calling cogl_polygon()
519
+ */
520
+ struct _CoglTextureVertex
521
+ {
522
+ float x, y, z;
523
+ float tx, ty;
524
+
525
+ CoglColor color;
526
+ };
527
+ COGL_STRUCT_SIZE_ASSERT (CoglTextureVertex, 36);
528
+
529
+ /**
530
+ * CoglTextureFlags:
531
+ * @COGL_TEXTURE_NONE: No flags specified
532
+ * @COGL_TEXTURE_NO_AUTO_MIPMAP: Disables the automatic generation of
533
+ * the mipmap pyramid from the base level image whenever it is
534
+ * updated. The mipmaps are only generated when the texture is
535
+ * rendered with a mipmap filter so it should be free to leave out
536
+ * this flag when using other filtering modes
537
+ * @COGL_TEXTURE_NO_SLICING: Disables the slicing of the texture
538
+ * @COGL_TEXTURE_NO_ATLAS: Disables the insertion of the texture inside
539
+ * the texture atlas used by Cogl
540
+ *
541
+ * Flags to pass to the cogl_texture_new_* family of functions.
542
+ *
543
+ * Since: 1.0
544
+ */
545
+ typedef enum {
546
+ COGL_TEXTURE_NONE = 0,
547
+ COGL_TEXTURE_NO_AUTO_MIPMAP = 1 << 0,
548
+ COGL_TEXTURE_NO_SLICING = 1 << 1,
549
+ COGL_TEXTURE_NO_ATLAS = 1 << 2
550
+ } CoglTextureFlags;
551
+
552
+ /**
553
+ * CoglFogMode:
554
+ * @COGL_FOG_MODE_LINEAR: Calculates the fog blend factor as:
555
+ * |[
556
+ * f = end - eye_distance / end - start
557
+ * ]|
558
+ * @COGL_FOG_MODE_EXPONENTIAL: Calculates the fog blend factor as:
559
+ * |[
560
+ * f = e ^ -(density * eye_distance)
561
+ * ]|
562
+ * @COGL_FOG_MODE_EXPONENTIAL_SQUARED: Calculates the fog blend factor as:
563
+ * |[
564
+ * f = e ^ -(density * eye_distance)^2
565
+ * ]|
566
+ *
567
+ * The fog mode determines the equation used to calculate the fogging blend
568
+ * factor while fogging is enabled. The simplest %COGL_FOG_MODE_LINEAR mode
569
+ * determines f as:
570
+ *
571
+ * |[
572
+ * f = end - eye_distance / end - start
573
+ * ]|
574
+ *
575
+ * Where eye_distance is the distance of the current fragment in eye
576
+ * coordinates from the origin.
577
+ *
578
+ * Since: 1.0
579
+ */
580
+ typedef enum {
581
+ COGL_FOG_MODE_LINEAR,
582
+ COGL_FOG_MODE_EXPONENTIAL,
583
+ COGL_FOG_MODE_EXPONENTIAL_SQUARED
584
+ } CoglFogMode;
585
+
586
+ /**
587
+ * COGL_BLEND_STRING_ERROR:
588
+ *
589
+ * #CoglError domain for blend string parser errors
590
+ *
591
+ * Since: 1.0
592
+ */
593
+ #define COGL_BLEND_STRING_ERROR (cogl_blend_string_error_quark ())
594
+
595
+ /**
596
+ * CoglBlendStringError:
597
+ * @COGL_BLEND_STRING_ERROR_PARSE_ERROR: Generic parse error
598
+ * @COGL_BLEND_STRING_ERROR_ARGUMENT_PARSE_ERROR: Argument parse error
599
+ * @COGL_BLEND_STRING_ERROR_INVALID_ERROR: Internal parser error
600
+ * @COGL_BLEND_STRING_ERROR_GPU_UNSUPPORTED_ERROR: Blend string not
601
+ * supported by the GPU
602
+ *
603
+ * Error enumeration for the blend strings parser
604
+ *
605
+ * Since: 1.0
606
+ */
607
+ typedef enum { /*< prefix=COGL_BLEND_STRING_ERROR >*/
608
+ COGL_BLEND_STRING_ERROR_PARSE_ERROR,
609
+ COGL_BLEND_STRING_ERROR_ARGUMENT_PARSE_ERROR,
610
+ COGL_BLEND_STRING_ERROR_INVALID_ERROR,
611
+ COGL_BLEND_STRING_ERROR_GPU_UNSUPPORTED_ERROR
612
+ } CoglBlendStringError;
613
+
614
+ uint32_t
615
+ cogl_blend_string_error_quark (void);
616
+
617
+ #define COGL_SYSTEM_ERROR (_cogl_system_error_quark ())
618
+
619
+ /**
620
+ * CoglSystemError:
621
+ * @COGL_SYSTEM_ERROR_UNSUPPORTED: You tried to use a feature or
622
+ * configuration not currently available.
623
+ * @COGL_SYSTEM_ERROR_NO_MEMORY: You tried to allocate a resource
624
+ * such as a texture and there wasn't enough memory.
625
+ *
626
+ * Error enumeration for Cogl
627
+ *
628
+ * The @COGL_SYSTEM_ERROR_UNSUPPORTED error can be thrown for a
629
+ * variety of reasons. For example:
630
+ *
631
+ * <itemizedlist>
632
+ * <listitem><para>You've tried to use a feature that is not
633
+ * advertised by cogl_has_feature(). This could happen if you create
634
+ * a 2d texture with a non-power-of-two size when
635
+ * %COGL_FEATURE_ID_TEXTURE_NPOT is not advertised.</para></listitem>
636
+ * <listitem><para>The GPU can not handle the configuration you have
637
+ * requested. An example might be if you try to use too many texture
638
+ * layers in a single #CoglPipeline</para></listitem>
639
+ * <listitem><para>The driver does not support some
640
+ * configuration.</para></listiem>
641
+ * </itemizedlist>
642
+ *
643
+ * Currently this is only used by Cogl API marked as experimental so
644
+ * this enum should also be considered experimental.
645
+ *
646
+ * Since: 1.4
647
+ * Stability: unstable
648
+ */
649
+ typedef enum { /*< prefix=COGL_ERROR >*/
650
+ COGL_SYSTEM_ERROR_UNSUPPORTED,
651
+ COGL_SYSTEM_ERROR_NO_MEMORY
652
+ } CoglSystemError;
653
+
654
+ uint32_t
655
+ _cogl_system_error_quark (void);
656
+
657
+ /**
658
+ * CoglAttributeType:
659
+ * @COGL_ATTRIBUTE_TYPE_BYTE: Data is the same size of a byte
660
+ * @COGL_ATTRIBUTE_TYPE_UNSIGNED_BYTE: Data is the same size of an
661
+ * unsigned byte
662
+ * @COGL_ATTRIBUTE_TYPE_SHORT: Data is the same size of a short integer
663
+ * @COGL_ATTRIBUTE_TYPE_UNSIGNED_SHORT: Data is the same size of
664
+ * an unsigned short integer
665
+ * @COGL_ATTRIBUTE_TYPE_FLOAT: Data is the same size of a float
666
+ *
667
+ * Data types for the components of a vertex attribute.
668
+ *
669
+ * Since: 1.0
670
+ */
671
+ typedef enum {
672
+ COGL_ATTRIBUTE_TYPE_BYTE = 0x1400,
673
+ COGL_ATTRIBUTE_TYPE_UNSIGNED_BYTE = 0x1401,
674
+ COGL_ATTRIBUTE_TYPE_SHORT = 0x1402,
675
+ COGL_ATTRIBUTE_TYPE_UNSIGNED_SHORT = 0x1403,
676
+ COGL_ATTRIBUTE_TYPE_FLOAT = 0x1406
677
+ } CoglAttributeType;
678
+
679
+ /**
680
+ * CoglIndicesType:
681
+ * @COGL_INDICES_TYPE_UNSIGNED_BYTE: Your indices are unsigned bytes
682
+ * @COGL_INDICES_TYPE_UNSIGNED_SHORT: Your indices are unsigned shorts
683
+ * @COGL_INDICES_TYPE_UNSIGNED_INT: Your indices are unsigned ints
684
+ *
685
+ * You should aim to use the smallest data type that gives you enough
686
+ * range, since it reduces the size of your index array and can help
687
+ * reduce the demand on memory bandwidth.
688
+ *
689
+ * Note that %COGL_INDICES_TYPE_UNSIGNED_INT is only supported if the
690
+ * %COGL_FEATURE_ID_UNSIGNED_INT_INDICES feature is available. This
691
+ * should always be available on OpenGL but on OpenGL ES it will only
692
+ * be available if the GL_OES_element_index_uint extension is
693
+ * advertized.
694
+ */
695
+ typedef enum {
696
+ COGL_INDICES_TYPE_UNSIGNED_BYTE,
697
+ COGL_INDICES_TYPE_UNSIGNED_SHORT,
698
+ COGL_INDICES_TYPE_UNSIGNED_INT
699
+ } CoglIndicesType;
700
+
701
+ /**
702
+ * CoglVerticesMode:
703
+ * @COGL_VERTICES_MODE_POINTS: FIXME, equivalent to
704
+ * <constant>GL_POINTS</constant>
705
+ * @COGL_VERTICES_MODE_LINES: FIXME, equivalent to <constant>GL_LINES</constant>
706
+ * @COGL_VERTICES_MODE_LINE_LOOP: FIXME, equivalent to
707
+ * <constant>GL_LINE_LOOP</constant>
708
+ * @COGL_VERTICES_MODE_LINE_STRIP: FIXME, equivalent to
709
+ * <constant>GL_LINE_STRIP</constant>
710
+ * @COGL_VERTICES_MODE_TRIANGLES: FIXME, equivalent to
711
+ * <constant>GL_TRIANGLES</constant>
712
+ * @COGL_VERTICES_MODE_TRIANGLE_STRIP: FIXME, equivalent to
713
+ * <constant>GL_TRIANGLE_STRIP</constant>
714
+ * @COGL_VERTICES_MODE_TRIANGLE_FAN: FIXME, equivalent to <constant>GL_TRIANGLE_FAN</constant>
715
+ *
716
+ * Different ways of interpreting vertices when drawing.
717
+ *
718
+ * Since: 1.0
719
+ */
720
+ typedef enum {
721
+ COGL_VERTICES_MODE_POINTS = 0x0000,
722
+ COGL_VERTICES_MODE_LINES = 0x0001,
723
+ COGL_VERTICES_MODE_LINE_LOOP = 0x0002,
724
+ COGL_VERTICES_MODE_LINE_STRIP = 0x0003,
725
+ COGL_VERTICES_MODE_TRIANGLES = 0x0004,
726
+ COGL_VERTICES_MODE_TRIANGLE_STRIP = 0x0005,
727
+ COGL_VERTICES_MODE_TRIANGLE_FAN = 0x0006
728
+ } CoglVerticesMode;
729
+
730
+ /* NB: The above definitions are taken from gl.h equivalents */
731
+
732
+
733
+ /* XXX: should this be CoglMaterialDepthTestFunction?
734
+ * It makes it very verbose but would be consistent with
735
+ * CoglMaterialWrapMode */
736
+
737
+ /**
738
+ * CoglDepthTestFunction:
739
+ * @COGL_DEPTH_TEST_FUNCTION_NEVER: Never passes.
740
+ * @COGL_DEPTH_TEST_FUNCTION_LESS: Passes if the fragment's depth
741
+ * value is less than the value currently in the depth buffer.
742
+ * @COGL_DEPTH_TEST_FUNCTION_EQUAL: Passes if the fragment's depth
743
+ * value is equal to the value currently in the depth buffer.
744
+ * @COGL_DEPTH_TEST_FUNCTION_LEQUAL: Passes if the fragment's depth
745
+ * value is less or equal to the value currently in the depth buffer.
746
+ * @COGL_DEPTH_TEST_FUNCTION_GREATER: Passes if the fragment's depth
747
+ * value is greater than the value currently in the depth buffer.
748
+ * @COGL_DEPTH_TEST_FUNCTION_NOTEQUAL: Passes if the fragment's depth
749
+ * value is not equal to the value currently in the depth buffer.
750
+ * @COGL_DEPTH_TEST_FUNCTION_GEQUAL: Passes if the fragment's depth
751
+ * value greater than or equal to the value currently in the depth buffer.
752
+ * @COGL_DEPTH_TEST_FUNCTION_ALWAYS: Always passes.
753
+ *
754
+ * When using depth testing one of these functions is used to compare
755
+ * the depth of an incoming fragment against the depth value currently
756
+ * stored in the depth buffer. The function is changed using
757
+ * cogl_depth_state_set_test_function().
758
+ *
759
+ * The test is only done when depth testing is explicitly enabled. (See
760
+ * cogl_depth_state_set_test_enabled())
761
+ */
762
+ typedef enum {
763
+ COGL_DEPTH_TEST_FUNCTION_NEVER = 0x0200,
764
+ COGL_DEPTH_TEST_FUNCTION_LESS = 0x0201,
765
+ COGL_DEPTH_TEST_FUNCTION_EQUAL = 0x0202,
766
+ COGL_DEPTH_TEST_FUNCTION_LEQUAL = 0x0203,
767
+ COGL_DEPTH_TEST_FUNCTION_GREATER = 0x0204,
768
+ COGL_DEPTH_TEST_FUNCTION_NOTEQUAL = 0x0205,
769
+ COGL_DEPTH_TEST_FUNCTION_GEQUAL = 0x0206,
770
+ COGL_DEPTH_TEST_FUNCTION_ALWAYS = 0x0207
771
+ } CoglDepthTestFunction;
772
+ /* NB: The above definitions are taken from gl.h equivalents */
773
+
774
+ typedef enum { /*< prefix=COGL_RENDERER_ERROR >*/
775
+ COGL_RENDERER_ERROR_XLIB_DISPLAY_OPEN,
776
+ COGL_RENDERER_ERROR_BAD_CONSTRAINT
777
+ } CoglRendererError;
778
+
779
+ /**
780
+ * CoglFilterReturn:
781
+ * @COGL_FILTER_CONTINUE: The event was not handled, continues the
782
+ * processing
783
+ * @COGL_FILTER_REMOVE: Remove the event, stops the processing
784
+ *
785
+ * Return values for the #CoglXlibFilterFunc and #CoglWin32FilterFunc functions.
786
+ *
787
+ * Stability: Unstable
788
+ */
789
+ typedef enum _CoglFilterReturn { /*< prefix=COGL_FILTER >*/
790
+ COGL_FILTER_CONTINUE,
791
+ COGL_FILTER_REMOVE
792
+ } CoglFilterReturn;
793
+
794
+ typedef enum _CoglWinsysFeature
795
+ {
796
+ /* Available if the window system can support multiple onscreen
797
+ * framebuffers at the same time. */
798
+ COGL_WINSYS_FEATURE_MULTIPLE_ONSCREEN,
799
+
800
+ /* Available if onscreen framebuffer swaps can be automatically
801
+ * throttled to the vblank frequency. */
802
+ COGL_WINSYS_FEATURE_SWAP_THROTTLE,
803
+
804
+ /* Available if its possible to query a counter that
805
+ * increments at each vblank. */
806
+ COGL_WINSYS_FEATURE_VBLANK_COUNTER,
807
+
808
+ /* Available if its possible to wait until the next vertical
809
+ * blank period */
810
+ COGL_WINSYS_FEATURE_VBLANK_WAIT,
811
+
812
+ /* Available if the window system supports mapping native
813
+ * pixmaps to textures. */
814
+ COGL_WINSYS_FEATURE_TEXTURE_FROM_PIXMAP,
815
+
816
+ /* Available if the window system supports reporting an event
817
+ * for swap buffer completions. */
818
+ COGL_WINSYS_FEATURE_SWAP_BUFFERS_EVENT,
819
+
820
+ /* Available if it's possible to swap a list of sub rectangles
821
+ * from the back buffer to the front buffer */
822
+ COGL_WINSYS_FEATURE_SWAP_REGION,
823
+
824
+ /* Available if swap_region requests can be automatically throttled
825
+ * to the vblank frequency. */
826
+ COGL_WINSYS_FEATURE_SWAP_REGION_THROTTLE,
827
+
828
+ /* Available if the swap region implementation won't tear and thus
829
+ * only needs to be throttled to the framerate */
830
+ COGL_WINSYS_FEATURE_SWAP_REGION_SYNCHRONIZED,
831
+
832
+ /* Avaiable if the age of the back buffer can be queried */
833
+ COGL_WINSYS_FEATURE_BUFFER_AGE,
834
+
835
+ /* Avaiable if the winsys directly handles _SYNC and _COMPLETE events */
836
+ COGL_WINSYS_FEATURE_SYNC_AND_COMPLETE_EVENT,
837
+
838
+ COGL_WINSYS_FEATURE_N_FEATURES
839
+ } CoglWinsysFeature;
840
+
841
+ /**
842
+ * CoglColorMask:
843
+ * @COGL_COLOR_MASK_NONE: None of the color channels are masked
844
+ * @COGL_COLOR_MASK_RED: Masks the red color channel
845
+ * @COGL_COLOR_MASK_GREEN: Masks the green color channel
846
+ * @COGL_COLOR_MASK_BLUE: Masks the blue color channel
847
+ * @COGL_COLOR_MASK_ALPHA: Masks the alpha color channel
848
+ * @COGL_COLOR_MASK_ALL: All of the color channels are masked
849
+ *
850
+ * Defines a bit mask of color channels. This can be used with
851
+ * cogl_pipeline_set_color_mask() for example to define which color
852
+ * channels should be written to the current framebuffer when
853
+ * drawing something.
854
+ */
855
+ typedef enum
856
+ {
857
+ COGL_COLOR_MASK_NONE = 0,
858
+ COGL_COLOR_MASK_RED = 1L<<0,
859
+ COGL_COLOR_MASK_GREEN = 1L<<1,
860
+ COGL_COLOR_MASK_BLUE = 1L<<2,
861
+ COGL_COLOR_MASK_ALPHA = 1L<<3,
862
+ /* XXX: glib-mkenums is a perl script that can't cope if we split
863
+ * this onto multiple lines! *sigh* */
864
+ COGL_COLOR_MASK_ALL = (COGL_COLOR_MASK_RED | COGL_COLOR_MASK_GREEN | COGL_COLOR_MASK_BLUE | COGL_COLOR_MASK_ALPHA)
865
+ } CoglColorMask;
866
+
867
+ /**
868
+ * CoglWinding:
869
+ * @COGL_WINDING_CLOCKWISE: Vertices are in a clockwise order
870
+ * @COGL_WINDING_COUNTER_CLOCKWISE: Vertices are in a counter-clockwise order
871
+ *
872
+ * Enum used to represent the two directions of rotation. This can be
873
+ * used to set the front face for culling by calling
874
+ * cogl_pipeline_set_front_face_winding().
875
+ */
876
+ typedef enum
877
+ {
878
+ COGL_WINDING_CLOCKWISE,
879
+ COGL_WINDING_COUNTER_CLOCKWISE
880
+ } CoglWinding;
881
+
882
+ /**
883
+ * CoglBufferBit:
884
+ * @COGL_BUFFER_BIT_COLOR: Selects the primary color buffer
885
+ * @COGL_BUFFER_BIT_DEPTH: Selects the depth buffer
886
+ * @COGL_BUFFER_BIT_STENCIL: Selects the stencil buffer
887
+ *
888
+ * Types of auxiliary buffers
889
+ *
890
+ * Since: 1.0
891
+ */
892
+ typedef enum {
893
+ COGL_BUFFER_BIT_COLOR = 1L<<0,
894
+ COGL_BUFFER_BIT_DEPTH = 1L<<1,
895
+ COGL_BUFFER_BIT_STENCIL = 1L<<2
896
+ } CoglBufferBit;
897
+
898
+ /**
899
+ * CoglReadPixelsFlags:
900
+ * @COGL_READ_PIXELS_COLOR_BUFFER: Read from the color buffer
901
+ *
902
+ * Flags for cogl_framebuffer_read_pixels_into_bitmap()
903
+ *
904
+ * Since: 1.0
905
+ */
906
+ typedef enum { /*< prefix=COGL_READ_PIXELS >*/
907
+ COGL_READ_PIXELS_COLOR_BUFFER = 1L << 0
908
+ } CoglReadPixelsFlags;
909
+
910
+ COGL_END_DECLS
911
+
912
+ #endif /* __COGL_TYPES_H__ */