clutter 2.2.4-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (744) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +147 -0
  3. data/lib/clutter.rb +169 -0
  4. data/lib/clutter/actor-iter.rb +33 -0
  5. data/lib/clutter/actor.rb +34 -0
  6. data/lib/clutter/animatable.rb +26 -0
  7. data/lib/clutter/brightness-contrast-effect.rb +44 -0
  8. data/lib/clutter/cairo.rb +24 -0
  9. data/lib/clutter/clutter.rb +25 -0
  10. data/lib/clutter/color.rb +83 -0
  11. data/lib/clutter/event.rb +21 -0
  12. data/lib/clutter/point.rb +25 -0
  13. data/lib/clutter/text-buffer.rb +36 -0
  14. data/lib/clutter/text.rb +23 -0
  15. data/lib/clutter/threads.rb +38 -0
  16. data/sample/basic-actor.rb +123 -0
  17. data/sample/bin-layout.rb +213 -0
  18. data/sample/box-layout.rb +194 -0
  19. data/sample/canvas.rb +115 -0
  20. data/sample/constraints.rb +79 -0
  21. data/sample/drag-action.rb +175 -0
  22. data/sample/drop-action.rb +196 -0
  23. data/sample/easing-modes.rb +141 -0
  24. data/sample/flow-layout.rb +119 -0
  25. data/sample/grid-layout.rb +237 -0
  26. data/sample/image-content.rb +86 -0
  27. data/sample/pan-action.rb +98 -0
  28. data/sample/redhand.png +0 -0
  29. data/sample/rounded-rectangle.rb +88 -0
  30. data/sample/scroll-actor.rb +103 -0
  31. data/test/clutter-test-utils.rb +38 -0
  32. data/test/run-test.rb +59 -0
  33. data/test/test-clutter-actor.rb +242 -0
  34. data/test/test-clutter-blur-effect.rb +27 -0
  35. data/test/test-clutter-brightness-contrast-effect.rb +56 -0
  36. data/test/test-clutter-canvas.rb +43 -0
  37. data/test/test-clutter-color.rb +50 -0
  38. data/test/test-clutter-colorize-effect.rb +31 -0
  39. data/test/test-clutter-desaturate-effect.rb +30 -0
  40. data/test/test-clutter-feature.rb +34 -0
  41. data/test/test-clutter-flow-layout.rb +83 -0
  42. data/test/test-clutter-page-turn-effect.rb +46 -0
  43. data/test/test-clutter-property-transiton.rb +30 -0
  44. data/test/test-clutter-shader-effect.rb +65 -0
  45. data/test/test-clutter-text-buffer.rb +72 -0
  46. data/test/test-clutter-timeline.rb +59 -0
  47. data/vendor/local/bin/json-glib-format.exe +0 -0
  48. data/vendor/local/bin/json-glib-validate.exe +0 -0
  49. data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
  50. data/vendor/local/bin/libcogl-20.dll +0 -0
  51. data/vendor/local/bin/libcogl-pango-20.dll +0 -0
  52. data/vendor/local/bin/libcogl-path-20.dll +0 -0
  53. data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
  54. data/vendor/local/include/clutter-1.0/cally/cally-actor.h +160 -0
  55. data/vendor/local/include/clutter-1.0/cally/cally-clone.h +84 -0
  56. data/vendor/local/include/clutter-1.0/cally/cally-factory.h +117 -0
  57. data/vendor/local/include/clutter-1.0/cally/cally-group.h +87 -0
  58. data/vendor/local/include/clutter-1.0/cally/cally-main.h +44 -0
  59. data/vendor/local/include/clutter-1.0/cally/cally-rectangle.h +84 -0
  60. data/vendor/local/include/clutter-1.0/cally/cally-root.h +84 -0
  61. data/vendor/local/include/clutter-1.0/cally/cally-stage.h +84 -0
  62. data/vendor/local/include/clutter-1.0/cally/cally-text.h +84 -0
  63. data/vendor/local/include/clutter-1.0/cally/cally-texture.h +84 -0
  64. data/vendor/local/include/clutter-1.0/cally/cally-util.h +84 -0
  65. data/vendor/local/include/clutter-1.0/cally/cally.h +40 -0
  66. data/vendor/local/include/clutter-1.0/clutter/clutter-action.h +111 -0
  67. data/vendor/local/include/clutter-1.0/clutter/clutter-actor-meta.h +119 -0
  68. data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +836 -0
  69. data/vendor/local/include/clutter-1.0/clutter/clutter-align-constraint.h +77 -0
  70. data/vendor/local/include/clutter-1.0/clutter/clutter-animatable.h +121 -0
  71. data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +83 -0
  72. data/vendor/local/include/clutter-1.0/clutter/clutter-bin-layout.h +86 -0
  73. data/vendor/local/include/clutter-1.0/clutter/clutter-bind-constraint.h +77 -0
  74. data/vendor/local/include/clutter-1.0/clutter/clutter-binding-pool.h +135 -0
  75. data/vendor/local/include/clutter-1.0/clutter/clutter-blur-effect.h +59 -0
  76. data/vendor/local/include/clutter-1.0/clutter/clutter-box-layout.h +168 -0
  77. data/vendor/local/include/clutter-1.0/clutter/clutter-brightness-contrast-effect.h +88 -0
  78. data/vendor/local/include/clutter-1.0/clutter/clutter-cairo.h +61 -0
  79. data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +106 -0
  80. data/vendor/local/include/clutter-1.0/clutter/clutter-child-meta.h +122 -0
  81. data/vendor/local/include/clutter-1.0/clutter/clutter-click-action.h +120 -0
  82. data/vendor/local/include/clutter-1.0/clutter/clutter-clone.h +94 -0
  83. data/vendor/local/include/clutter-1.0/clutter/clutter-cogl-compat.h +52 -0
  84. data/vendor/local/include/clutter-1.0/clutter/clutter-color-static.h +79 -0
  85. data/vendor/local/include/clutter-1.0/clutter/clutter-color.h +200 -0
  86. data/vendor/local/include/clutter-1.0/clutter/clutter-colorize-effect.h +67 -0
  87. data/vendor/local/include/clutter-1.0/clutter/clutter-config.h +19 -0
  88. data/vendor/local/include/clutter-1.0/clutter/clutter-constraint.h +120 -0
  89. data/vendor/local/include/clutter-1.0/clutter/clutter-container.h +196 -0
  90. data/vendor/local/include/clutter-1.0/clutter/clutter-content.h +103 -0
  91. data/vendor/local/include/clutter-1.0/clutter/clutter-deform-effect.h +117 -0
  92. data/vendor/local/include/clutter-1.0/clutter/clutter-deprecated.h +44 -0
  93. data/vendor/local/include/clutter-1.0/clutter/clutter-desaturate-effect.h +65 -0
  94. data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +110 -0
  95. data/vendor/local/include/clutter-1.0/clutter/clutter-drag-action.h +152 -0
  96. data/vendor/local/include/clutter-1.0/clutter/clutter-drop-action.h +115 -0
  97. data/vendor/local/include/clutter-1.0/clutter/clutter-effect.h +130 -0
  98. data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +190 -0
  99. data/vendor/local/include/clutter-1.0/clutter/clutter-enums.h +1385 -0
  100. data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +588 -0
  101. data/vendor/local/include/clutter-1.0/clutter/clutter-feature.h +42 -0
  102. data/vendor/local/include/clutter-1.0/clutter/clutter-fixed-layout.h +82 -0
  103. data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +129 -0
  104. data/vendor/local/include/clutter-1.0/clutter/clutter-gesture-action.h +179 -0
  105. data/vendor/local/include/clutter-1.0/clutter/clutter-grid-layout.h +161 -0
  106. data/vendor/local/include/clutter-1.0/clutter/clutter-group.h +96 -0
  107. data/vendor/local/include/clutter-1.0/clutter/clutter-image.h +141 -0
  108. data/vendor/local/include/clutter-1.0/clutter/clutter-input-device.h +140 -0
  109. data/vendor/local/include/clutter-1.0/clutter/clutter-interval.h +159 -0
  110. data/vendor/local/include/clutter-1.0/clutter/clutter-keyframe-transition.h +120 -0
  111. data/vendor/local/include/clutter-1.0/clutter/clutter-keysyms.h +2304 -0
  112. data/vendor/local/include/clutter-1.0/clutter/clutter-layout-manager.h +227 -0
  113. data/vendor/local/include/clutter-1.0/clutter/clutter-layout-meta.h +103 -0
  114. data/vendor/local/include/clutter-1.0/clutter/clutter-list-model.h +91 -0
  115. data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +327 -0
  116. data/vendor/local/include/clutter-1.0/clutter/clutter-main.h +184 -0
  117. data/vendor/local/include/clutter-1.0/clutter/clutter-marshal.h +273 -0
  118. data/vendor/local/include/clutter-1.0/clutter/clutter-model.h +422 -0
  119. data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +122 -0
  120. data/vendor/local/include/clutter-1.0/clutter/clutter-page-turn-effect.h +80 -0
  121. data/vendor/local/include/clutter-1.0/clutter/clutter-paint-node.h +102 -0
  122. data/vendor/local/include/clutter-1.0/clutter/clutter-paint-nodes.h +150 -0
  123. data/vendor/local/include/clutter-1.0/clutter/clutter-pan-action.h +147 -0
  124. data/vendor/local/include/clutter-1.0/clutter/clutter-path-constraint.h +72 -0
  125. data/vendor/local/include/clutter-1.0/clutter/clutter-path.h +181 -0
  126. data/vendor/local/include/clutter-1.0/clutter/clutter-property-transition.h +91 -0
  127. data/vendor/local/include/clutter-1.0/clutter/clutter-rotate-action.h +100 -0
  128. data/vendor/local/include/clutter-1.0/clutter/clutter-script.h +220 -0
  129. data/vendor/local/include/clutter-1.0/clutter/clutter-scriptable.h +112 -0
  130. data/vendor/local/include/clutter-1.0/clutter/clutter-scroll-actor.h +97 -0
  131. data/vendor/local/include/clutter-1.0/clutter/clutter-settings.h +27 -0
  132. data/vendor/local/include/clutter-1.0/clutter/clutter-shader-effect.h +121 -0
  133. data/vendor/local/include/clutter-1.0/clutter/clutter-shader-types.h +104 -0
  134. data/vendor/local/include/clutter-1.0/clutter/clutter-snap-constraint.h +81 -0
  135. data/vendor/local/include/clutter-1.0/clutter/clutter-stage-manager.h +86 -0
  136. data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +250 -0
  137. data/vendor/local/include/clutter-1.0/clutter/clutter-swipe-action.h +109 -0
  138. data/vendor/local/include/clutter-1.0/clutter/clutter-tap-action.h +102 -0
  139. data/vendor/local/include/clutter-1.0/clutter/clutter-test-utils.h +164 -0
  140. data/vendor/local/include/clutter-1.0/clutter/clutter-text-buffer.h +172 -0
  141. data/vendor/local/include/clutter-1.0/clutter/clutter-text.h +307 -0
  142. data/vendor/local/include/clutter-1.0/clutter/clutter-texture.h +130 -0
  143. data/vendor/local/include/clutter-1.0/clutter/clutter-timeline.h +226 -0
  144. data/vendor/local/include/clutter-1.0/clutter/clutter-transition-group.h +91 -0
  145. data/vendor/local/include/clutter-1.0/clutter/clutter-transition.h +132 -0
  146. data/vendor/local/include/clutter-1.0/clutter/clutter-types.h +773 -0
  147. data/vendor/local/include/clutter-1.0/clutter/clutter-units.h +184 -0
  148. data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +329 -0
  149. data/vendor/local/include/clutter-1.0/clutter/clutter-zoom-action.h +114 -0
  150. data/vendor/local/include/clutter-1.0/clutter/clutter.h +117 -0
  151. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-actor.h +161 -0
  152. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-alpha.h +144 -0
  153. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animatable.h +47 -0
  154. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animation.h +206 -0
  155. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animator.h +186 -0
  156. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-backend.h +64 -0
  157. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-depth.h +101 -0
  158. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-ellipse.h +159 -0
  159. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-opacity.h +115 -0
  160. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-path.h +135 -0
  161. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-rotate.h +119 -0
  162. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-scale.h +107 -0
  163. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour.h +170 -0
  164. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-bin-layout.h +56 -0
  165. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-box.h +143 -0
  166. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-cairo-texture.h +139 -0
  167. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-container.h +93 -0
  168. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-fixed.h +98 -0
  169. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-frame-source.h +49 -0
  170. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-group.h +62 -0
  171. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-input-device.h +41 -0
  172. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-keysyms.h +2306 -0
  173. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-main.h +96 -0
  174. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-media.h +121 -0
  175. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-rectangle.h +117 -0
  176. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-score.h +144 -0
  177. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-shader.h +182 -0
  178. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-stage-manager.h +42 -0
  179. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-stage.h +102 -0
  180. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-state.h +187 -0
  181. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-table-layout.h +172 -0
  182. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-texture.h +138 -0
  183. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeline.h +41 -0
  184. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeout-pool.h +69 -0
  185. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-util.h +40 -0
  186. data/vendor/local/include/clutter-1.0/clutter/win32/clutter-win32.h +63 -0
  187. data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +298 -0
  188. data/vendor/local/include/cogl/cogl-path/cogl-path-enum-types.h +20 -0
  189. data/vendor/local/include/cogl/cogl-path/cogl-path-types.h +85 -0
  190. data/vendor/local/include/cogl/cogl-path/cogl-path.h +68 -0
  191. data/vendor/local/include/cogl/cogl-path/cogl1-path-functions.h +467 -0
  192. data/vendor/local/include/cogl/cogl-path/cogl2-path-functions.h +545 -0
  193. data/vendor/local/include/cogl/cogl/cogl-atlas-texture.h +258 -0
  194. data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +152 -0
  195. data/vendor/local/include/cogl/cogl/cogl-attribute.h +558 -0
  196. data/vendor/local/include/cogl/cogl/cogl-auto-texture.h +221 -0
  197. data/vendor/local/include/cogl/cogl/cogl-bitmap.h +336 -0
  198. data/vendor/local/include/cogl/cogl/cogl-buffer.h +324 -0
  199. data/vendor/local/include/cogl/cogl/cogl-clip-state.h +266 -0
  200. data/vendor/local/include/cogl/cogl/cogl-clutter.h +54 -0
  201. data/vendor/local/include/cogl/cogl/cogl-color.h +604 -0
  202. data/vendor/local/include/cogl/cogl/cogl-context.h +401 -0
  203. data/vendor/local/include/cogl/cogl/cogl-defines.h +58 -0
  204. data/vendor/local/include/cogl/cogl/cogl-deprecated.h +43 -0
  205. data/vendor/local/include/cogl/cogl/cogl-depth-state.h +270 -0
  206. data/vendor/local/include/cogl/cogl/cogl-display.h +234 -0
  207. data/vendor/local/include/cogl/cogl/cogl-enum-types.h +99 -0
  208. data/vendor/local/include/cogl/cogl/cogl-error.h +185 -0
  209. data/vendor/local/include/cogl/cogl/cogl-euler.h +269 -0
  210. data/vendor/local/include/cogl/cogl/cogl-fence.h +143 -0
  211. data/vendor/local/include/cogl/cogl/cogl-fixed.h +811 -0
  212. data/vendor/local/include/cogl/cogl/cogl-frame-info.h +148 -0
  213. data/vendor/local/include/cogl/cogl/cogl-framebuffer-deprecated.h +264 -0
  214. data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +1818 -0
  215. data/vendor/local/include/cogl/cogl/cogl-gles2-types.h +474 -0
  216. data/vendor/local/include/cogl/cogl/cogl-gles2.h +420 -0
  217. data/vendor/local/include/cogl/cogl/cogl-glib-source.h +97 -0
  218. data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +107 -0
  219. data/vendor/local/include/cogl/cogl/cogl-indices.h +165 -0
  220. data/vendor/local/include/cogl/cogl/cogl-macros.h +273 -0
  221. data/vendor/local/include/cogl/cogl/cogl-material-compat.h +1391 -0
  222. data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +645 -0
  223. data/vendor/local/include/cogl/cogl/cogl-matrix.h +821 -0
  224. data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +194 -0
  225. data/vendor/local/include/cogl/cogl/cogl-object.h +251 -0
  226. data/vendor/local/include/cogl/cogl/cogl-offscreen.h +172 -0
  227. data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +125 -0
  228. data/vendor/local/include/cogl/cogl/cogl-onscreen.h +1012 -0
  229. data/vendor/local/include/cogl/cogl/cogl-output.h +261 -0
  230. data/vendor/local/include/cogl/cogl/cogl-pango.h +40 -0
  231. data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +620 -0
  232. data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +980 -0
  233. data/vendor/local/include/cogl/cogl/cogl-pipeline.h +194 -0
  234. data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +138 -0
  235. data/vendor/local/include/cogl/cogl/cogl-poll.h +200 -0
  236. data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +111 -0
  237. data/vendor/local/include/cogl/cogl/cogl-primitive.h +942 -0
  238. data/vendor/local/include/cogl/cogl/cogl-primitives.h +197 -0
  239. data/vendor/local/include/cogl/cogl/cogl-quaternion.h +564 -0
  240. data/vendor/local/include/cogl/cogl/cogl-renderer.h +446 -0
  241. data/vendor/local/include/cogl/cogl/cogl-shader.h +704 -0
  242. data/vendor/local/include/cogl/cogl/cogl-snippet.h +866 -0
  243. data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +136 -0
  244. data/vendor/local/include/cogl/cogl/cogl-swap-chain.h +71 -0
  245. data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +78 -0
  246. data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +301 -0
  247. data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +234 -0
  248. data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +204 -0
  249. data/vendor/local/include/cogl/cogl/cogl-texture-deprecated.h +105 -0
  250. data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +218 -0
  251. data/vendor/local/include/cogl/cogl/cogl-texture.h +524 -0
  252. data/vendor/local/include/cogl/cogl/cogl-type-casts.h +53 -0
  253. data/vendor/local/include/cogl/cogl/cogl-types.h +925 -0
  254. data/vendor/local/include/cogl/cogl/cogl-vector.h +356 -0
  255. data/vendor/local/include/cogl/cogl/cogl-version.h +348 -0
  256. data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +451 -0
  257. data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +123 -0
  258. data/vendor/local/include/cogl/cogl/cogl.h +194 -0
  259. data/vendor/local/include/cogl/cogl/cogl1-context.h +862 -0
  260. data/vendor/local/include/cogl/cogl/cogl2-experimental.h +37 -0
  261. data/vendor/local/include/cogl/cogl/deprecated/cogl-auto-texture.h +221 -0
  262. data/vendor/local/include/cogl/cogl/deprecated/cogl-clip-state.h +266 -0
  263. data/vendor/local/include/cogl/cogl/deprecated/cogl-clutter.h +54 -0
  264. data/vendor/local/include/cogl/cogl/deprecated/cogl-fixed.h +811 -0
  265. data/vendor/local/include/cogl/cogl/deprecated/cogl-framebuffer-deprecated.h +264 -0
  266. data/vendor/local/include/cogl/cogl/deprecated/cogl-material-compat.h +1391 -0
  267. data/vendor/local/include/cogl/cogl/deprecated/cogl-shader.h +704 -0
  268. data/vendor/local/include/cogl/cogl/deprecated/cogl-texture-deprecated.h +105 -0
  269. data/vendor/local/include/cogl/cogl/deprecated/cogl-type-casts.h +53 -0
  270. data/vendor/local/include/cogl/cogl/deprecated/cogl-vertex-buffer.h +451 -0
  271. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-core-functions.h +198 -0
  272. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h +43 -0
  273. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h +286 -0
  274. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h +148 -0
  275. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h +186 -0
  276. data/vendor/local/include/json-glib-1.0/json-glib/json-builder.h +120 -0
  277. data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +41 -0
  278. data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +120 -0
  279. data/vendor/local/include/json-glib-1.0/json-glib/json-glib.h +47 -0
  280. data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +199 -0
  281. data/vendor/local/include/json-glib-1.0/json-glib/json-gvariant.h +53 -0
  282. data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +188 -0
  283. data/vendor/local/include/json-glib-1.0/json-glib/json-path.h +102 -0
  284. data/vendor/local/include/json-glib-1.0/json-glib/json-reader.h +171 -0
  285. data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +445 -0
  286. data/vendor/local/include/json-glib-1.0/json-glib/json-version-macros.h +135 -0
  287. data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +102 -0
  288. data/vendor/local/lib/girepository-1.0/Cally-1.0.typelib +0 -0
  289. data/vendor/local/lib/girepository-1.0/Clutter-1.0.typelib +0 -0
  290. data/vendor/local/lib/girepository-1.0/Cogl-1.0.typelib +0 -0
  291. data/vendor/local/lib/girepository-1.0/Cogl-2.0.typelib +0 -0
  292. data/vendor/local/lib/girepository-1.0/CoglPango-1.0.typelib +0 -0
  293. data/vendor/local/lib/girepository-1.0/CoglPango-2.0.typelib +0 -0
  294. data/vendor/local/lib/girepository-1.0/Json-1.0.typelib +0 -0
  295. data/vendor/local/lib/libclutter-1.0.dll.a +0 -0
  296. data/vendor/local/lib/libclutter-1.0.la +41 -0
  297. data/vendor/local/lib/libcogl-pango.dll.a +0 -0
  298. data/vendor/local/lib/libcogl-pango.la +41 -0
  299. data/vendor/local/lib/libcogl-path.dll.a +0 -0
  300. data/vendor/local/lib/libcogl-path.la +41 -0
  301. data/vendor/local/lib/libcogl.dll.a +0 -0
  302. data/vendor/local/lib/libcogl.la +41 -0
  303. data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
  304. data/vendor/local/lib/libjson-glib-1.0.la +41 -0
  305. data/vendor/local/lib/pkgconfig/cally-1.0.pc +13 -0
  306. data/vendor/local/lib/pkgconfig/clutter-1.0.pc +24 -0
  307. data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +24 -0
  308. data/vendor/local/lib/pkgconfig/cogl-1.0.pc +13 -0
  309. data/vendor/local/lib/pkgconfig/cogl-2.0-experimental.pc +13 -0
  310. data/vendor/local/lib/pkgconfig/cogl-gl-1.0.pc +13 -0
  311. data/vendor/local/lib/pkgconfig/cogl-pango-1.0.pc +13 -0
  312. data/vendor/local/lib/pkgconfig/cogl-pango-2.0-experimental.pc +13 -0
  313. data/vendor/local/lib/pkgconfig/cogl-path-1.0.pc +13 -0
  314. data/vendor/local/lib/pkgconfig/cogl-path-2.0-experimental.pc +13 -0
  315. data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +11 -0
  316. data/vendor/local/share/cogl/examples-data/crate.jpg +0 -0
  317. data/vendor/local/share/gir-1.0/Cally-1.0.gir +681 -0
  318. data/vendor/local/share/gir-1.0/Clutter-1.0.gir +70493 -0
  319. data/vendor/local/share/gir-1.0/Cogl-1.0.gir +8197 -0
  320. data/vendor/local/share/gir-1.0/Cogl-2.0.gir +20369 -0
  321. data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +333 -0
  322. data/vendor/local/share/gir-1.0/CoglPango-2.0.gir +331 -0
  323. data/vendor/local/share/gir-1.0/Json-1.0.gir +4742 -0
  324. data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +509 -0
  325. data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +155 -0
  326. data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +154 -0
  327. data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +154 -0
  328. data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +133 -0
  329. data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +159 -0
  330. data/vendor/local/share/gtk-doc/html/cally/CallyText.html +154 -0
  331. data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +154 -0
  332. data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +102 -0
  333. data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +187 -0
  334. data/vendor/local/share/gtk-doc/html/cally/cally.devhelp2 +73 -0
  335. data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +41 -0
  336. data/vendor/local/share/gtk-doc/html/cally/callybase.html +71 -0
  337. data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +45 -0
  338. data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +64 -0
  339. data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +39 -0
  340. data/vendor/local/share/gtk-doc/html/cally/ch01.html +53 -0
  341. data/vendor/local/share/gtk-doc/html/cally/ch02.html +41 -0
  342. data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +96 -0
  343. data/vendor/local/share/gtk-doc/html/cally/home.png +0 -0
  344. data/vendor/local/share/gtk-doc/html/cally/index.html +103 -0
  345. data/vendor/local/share/gtk-doc/html/cally/index.sgml +121 -0
  346. data/vendor/local/share/gtk-doc/html/cally/ix01.html +193 -0
  347. data/vendor/local/share/gtk-doc/html/cally/ix02.html +31 -0
  348. data/vendor/local/share/gtk-doc/html/cally/ix03.html +185 -0
  349. data/vendor/local/share/gtk-doc/html/cally/ix04.html +39 -0
  350. data/vendor/local/share/gtk-doc/html/cally/left-insensitive.png +0 -0
  351. data/vendor/local/share/gtk-doc/html/cally/left.png +0 -0
  352. data/vendor/local/share/gtk-doc/html/cally/license.html +58 -0
  353. data/vendor/local/share/gtk-doc/html/cally/right-insensitive.png +0 -0
  354. data/vendor/local/share/gtk-doc/html/cally/right.png +0 -0
  355. data/vendor/local/share/gtk-doc/html/cally/style.css +476 -0
  356. data/vendor/local/share/gtk-doc/html/cally/up-insensitive.png +0 -0
  357. data/vendor/local/share/gtk-doc/html/cally/up.png +0 -0
  358. data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +109 -0
  359. data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +15797 -0
  360. data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +396 -0
  361. data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +494 -0
  362. data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +816 -0
  363. data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +497 -0
  364. data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +1406 -0
  365. data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +855 -0
  366. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +802 -0
  367. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +313 -0
  368. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +1041 -0
  369. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +319 -0
  370. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +502 -0
  371. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +744 -0
  372. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +476 -0
  373. data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +481 -0
  374. data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +598 -0
  375. data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +116 -0
  376. data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +726 -0
  377. data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1471 -0
  378. data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +480 -0
  379. data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +873 -0
  380. data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +488 -0
  381. data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +287 -0
  382. data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +667 -0
  383. data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +258 -0
  384. data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +239 -0
  385. data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +208 -0
  386. data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1611 -0
  387. data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +367 -0
  388. data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +418 -0
  389. data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +242 -0
  390. data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +492 -0
  391. data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +1120 -0
  392. data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +498 -0
  393. data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +469 -0
  394. data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +125 -0
  395. data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +928 -0
  396. data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +1321 -0
  397. data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +1020 -0
  398. data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +272 -0
  399. data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +527 -0
  400. data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1805 -0
  401. data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +616 -0
  402. data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +1280 -0
  403. data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +189 -0
  404. data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +222 -0
  405. data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +1053 -0
  406. data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +2052 -0
  407. data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +779 -0
  408. data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +452 -0
  409. data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +428 -0
  410. data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +671 -0
  411. data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +946 -0
  412. data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1576 -0
  413. data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +407 -0
  414. data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +261 -0
  415. data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +484 -0
  416. data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +216 -0
  417. data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +1018 -0
  418. data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +1421 -0
  419. data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +364 -0
  420. data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +385 -0
  421. data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +376 -0
  422. data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +693 -0
  423. data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +526 -0
  424. data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +2751 -0
  425. data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1823 -0
  426. data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +333 -0
  427. data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +1393 -0
  428. data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +219 -0
  429. data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +3871 -0
  430. data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +906 -0
  431. data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +2085 -0
  432. data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +2864 -0
  433. data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +684 -0
  434. data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +264 -0
  435. data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +474 -0
  436. data/vendor/local/share/gtk-doc/html/clutter/actor-box.png +0 -0
  437. data/vendor/local/share/gtk-doc/html/clutter/actor-example.png +0 -0
  438. data/vendor/local/share/gtk-doc/html/clutter/animator-key-frames.png +0 -0
  439. data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +95 -0
  440. data/vendor/local/share/gtk-doc/html/clutter/bin-layout.png +0 -0
  441. data/vendor/local/share/gtk-doc/html/clutter/box-layout.png +0 -0
  442. data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +275 -0
  443. data/vendor/local/share/gtk-doc/html/clutter/ch01.html +65 -0
  444. data/vendor/local/share/gtk-doc/html/clutter/ch02.html +44 -0
  445. data/vendor/local/share/gtk-doc/html/clutter/ch03.html +47 -0
  446. data/vendor/local/share/gtk-doc/html/clutter/ch04.html +59 -0
  447. data/vendor/local/share/gtk-doc/html/clutter/ch05.html +44 -0
  448. data/vendor/local/share/gtk-doc/html/clutter/ch06.html +57 -0
  449. data/vendor/local/share/gtk-doc/html/clutter/ch07.html +38 -0
  450. data/vendor/local/share/gtk-doc/html/clutter/ch08.html +38 -0
  451. data/vendor/local/share/gtk-doc/html/clutter/ch09.html +53 -0
  452. data/vendor/local/share/gtk-doc/html/clutter/ch10.html +78 -0
  453. data/vendor/local/share/gtk-doc/html/clutter/ch11.html +38 -0
  454. data/vendor/local/share/gtk-doc/html/clutter/ch12.html +41 -0
  455. data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +4244 -0
  456. data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +268 -0
  457. data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +454 -0
  458. data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +442 -0
  459. data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1644 -0
  460. data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +211 -0
  461. data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +3454 -0
  462. data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +232 -0
  463. data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +297 -0
  464. data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +2112 -0
  465. data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +2213 -0
  466. data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +200 -0
  467. data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +992 -0
  468. data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +411 -0
  469. data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +1236 -0
  470. data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +418 -0
  471. data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +1006 -0
  472. data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +661 -0
  473. data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +1221 -0
  474. data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +578 -0
  475. data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +106 -0
  476. data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-specific-support.html +289 -0
  477. data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +241 -0
  478. data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +916 -0
  479. data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +77 -0
  480. data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +2403 -0
  481. data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +65 -0
  482. data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +74 -0
  483. data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +195 -0
  484. data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +37 -0
  485. data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +118 -0
  486. data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +184 -0
  487. data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +37 -0
  488. data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +105 -0
  489. data/vendor/local/share/gtk-doc/html/clutter/constraints-example.png +0 -0
  490. data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +93 -0
  491. data/vendor/local/share/gtk-doc/html/clutter/easing-modes.png +0 -0
  492. data/vendor/local/share/gtk-doc/html/clutter/event-flow.png +0 -0
  493. data/vendor/local/share/gtk-doc/html/clutter/flow-layout.png +0 -0
  494. data/vendor/local/share/gtk-doc/html/clutter/go01.html +126 -0
  495. data/vendor/local/share/gtk-doc/html/clutter/home.png +0 -0
  496. data/vendor/local/share/gtk-doc/html/clutter/index.html +454 -0
  497. data/vendor/local/share/gtk-doc/html/clutter/index.sgml +3165 -0
  498. data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +56 -0
  499. data/vendor/local/share/gtk-doc/html/clutter/ix01.html +8982 -0
  500. data/vendor/local/share/gtk-doc/html/clutter/ix02.html +2198 -0
  501. data/vendor/local/share/gtk-doc/html/clutter/ix03.html +457 -0
  502. data/vendor/local/share/gtk-doc/html/clutter/ix04.html +578 -0
  503. data/vendor/local/share/gtk-doc/html/clutter/ix05.html +952 -0
  504. data/vendor/local/share/gtk-doc/html/clutter/ix06.html +637 -0
  505. data/vendor/local/share/gtk-doc/html/clutter/ix07.html +1525 -0
  506. data/vendor/local/share/gtk-doc/html/clutter/ix08.html +815 -0
  507. data/vendor/local/share/gtk-doc/html/clutter/ix09.html +1000 -0
  508. data/vendor/local/share/gtk-doc/html/clutter/ix10.html +364 -0
  509. data/vendor/local/share/gtk-doc/html/clutter/ix11.html +361 -0
  510. data/vendor/local/share/gtk-doc/html/clutter/ix12.html +1085 -0
  511. data/vendor/local/share/gtk-doc/html/clutter/ix13.html +979 -0
  512. data/vendor/local/share/gtk-doc/html/clutter/ix14.html +101 -0
  513. data/vendor/local/share/gtk-doc/html/clutter/left-insensitive.png +0 -0
  514. data/vendor/local/share/gtk-doc/html/clutter/left.png +0 -0
  515. data/vendor/local/share/gtk-doc/html/clutter/license.html +58 -0
  516. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +223 -0
  517. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +197 -0
  518. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +154 -0
  519. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +155 -0
  520. data/vendor/local/share/gtk-doc/html/clutter/migration.html +49 -0
  521. data/vendor/local/share/gtk-doc/html/clutter/offscreen-redirect.png +0 -0
  522. data/vendor/local/share/gtk-doc/html/clutter/path-alpha-func.png +0 -0
  523. data/vendor/local/share/gtk-doc/html/clutter/pt09.html +31 -0
  524. data/vendor/local/share/gtk-doc/html/clutter/right-insensitive.png +0 -0
  525. data/vendor/local/share/gtk-doc/html/clutter/right.png +0 -0
  526. data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +378 -0
  527. data/vendor/local/share/gtk-doc/html/clutter/style.css +476 -0
  528. data/vendor/local/share/gtk-doc/html/clutter/table-layout.png +0 -0
  529. data/vendor/local/share/gtk-doc/html/clutter/up-insensitive.png +0 -0
  530. data/vendor/local/share/gtk-doc/html/clutter/up.png +0 -0
  531. data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +36 -0
  532. data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +676 -0
  533. data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +660 -0
  534. data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +1144 -0
  535. data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +512 -0
  536. data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +1140 -0
  537. data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +66 -0
  538. data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +41 -0
  539. data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +41 -0
  540. data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +38 -0
  541. data/vendor/local/share/gtk-doc/html/json-glib/ch05.html +40 -0
  542. data/vendor/local/share/gtk-doc/html/json-glib/home.png +0 -0
  543. data/vendor/local/share/gtk-doc/html/json-glib/index.html +134 -0
  544. data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +327 -0
  545. data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +965 -0
  546. data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +49 -0
  547. data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +56 -0
  548. data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +49 -0
  549. data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +181 -0
  550. data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +116 -0
  551. data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +156 -0
  552. data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +132 -0
  553. data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +50 -0
  554. data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +61 -0
  555. data/vendor/local/share/gtk-doc/html/json-glib/json-format-tool.html +84 -0
  556. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +491 -0
  557. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +385 -0
  558. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +1188 -0
  559. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +318 -0
  560. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +1803 -0
  561. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +1369 -0
  562. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +582 -0
  563. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +215 -0
  564. data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +277 -0
  565. data/vendor/local/share/gtk-doc/html/json-glib/json-glib.html +38 -0
  566. data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +63 -0
  567. data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +45 -0
  568. data/vendor/local/share/gtk-doc/html/json-glib/json-validate-tool.html +72 -0
  569. data/vendor/local/share/gtk-doc/html/json-glib/left-insensitive.png +0 -0
  570. data/vendor/local/share/gtk-doc/html/json-glib/left.png +0 -0
  571. data/vendor/local/share/gtk-doc/html/json-glib/license.html +58 -0
  572. data/vendor/local/share/gtk-doc/html/json-glib/right-insensitive.png +0 -0
  573. data/vendor/local/share/gtk-doc/html/json-glib/right.png +0 -0
  574. data/vendor/local/share/gtk-doc/html/json-glib/style.css +476 -0
  575. data/vendor/local/share/gtk-doc/html/json-glib/tools.html +38 -0
  576. data/vendor/local/share/gtk-doc/html/json-glib/up-insensitive.png +0 -0
  577. data/vendor/local/share/gtk-doc/html/json-glib/up.png +0 -0
  578. data/vendor/local/share/license/clutter/COPYING +502 -0
  579. data/vendor/local/share/license/cogl/COPYING +107 -0
  580. data/vendor/local/share/license/json-glib/COPYING +504 -0
  581. data/vendor/local/share/locale/an/LC_MESSAGES/clutter-1.0.mo +0 -0
  582. data/vendor/local/share/locale/an/LC_MESSAGES/cogl.mo +0 -0
  583. data/vendor/local/share/locale/ar/LC_MESSAGES/clutter-1.0.mo +0 -0
  584. data/vendor/local/share/locale/ar/LC_MESSAGES/cogl.mo +0 -0
  585. data/vendor/local/share/locale/as/LC_MESSAGES/clutter-1.0.mo +0 -0
  586. data/vendor/local/share/locale/as/LC_MESSAGES/cogl.mo +0 -0
  587. data/vendor/local/share/locale/as/LC_MESSAGES/json-glib-1.0.mo +0 -0
  588. data/vendor/local/share/locale/ast/LC_MESSAGES/clutter-1.0.mo +0 -0
  589. data/vendor/local/share/locale/ast/LC_MESSAGES/cogl.mo +0 -0
  590. data/vendor/local/share/locale/az_IR/LC_MESSAGES/clutter-1.0.mo +0 -0
  591. data/vendor/local/share/locale/be/LC_MESSAGES/clutter-1.0.mo +0 -0
  592. data/vendor/local/share/locale/be/LC_MESSAGES/cogl.mo +0 -0
  593. data/vendor/local/share/locale/bg/LC_MESSAGES/clutter-1.0.mo +0 -0
  594. data/vendor/local/share/locale/bg/LC_MESSAGES/cogl.mo +0 -0
  595. data/vendor/local/share/locale/bg/LC_MESSAGES/json-glib-1.0.mo +0 -0
  596. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/json-glib-1.0.mo +0 -0
  597. data/vendor/local/share/locale/ca/LC_MESSAGES/clutter-1.0.mo +0 -0
  598. data/vendor/local/share/locale/ca/LC_MESSAGES/cogl.mo +0 -0
  599. data/vendor/local/share/locale/ca/LC_MESSAGES/json-glib-1.0.mo +0 -0
  600. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/clutter-1.0.mo +0 -0
  601. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/cogl.mo +0 -0
  602. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/json-glib-1.0.mo +0 -0
  603. data/vendor/local/share/locale/cs/LC_MESSAGES/clutter-1.0.mo +0 -0
  604. data/vendor/local/share/locale/cs/LC_MESSAGES/cogl.mo +0 -0
  605. data/vendor/local/share/locale/cs/LC_MESSAGES/json-glib-1.0.mo +0 -0
  606. data/vendor/local/share/locale/da/LC_MESSAGES/clutter-1.0.mo +0 -0
  607. data/vendor/local/share/locale/da/LC_MESSAGES/cogl.mo +0 -0
  608. data/vendor/local/share/locale/da/LC_MESSAGES/json-glib-1.0.mo +0 -0
  609. data/vendor/local/share/locale/de/LC_MESSAGES/clutter-1.0.mo +0 -0
  610. data/vendor/local/share/locale/de/LC_MESSAGES/cogl.mo +0 -0
  611. data/vendor/local/share/locale/de/LC_MESSAGES/json-glib-1.0.mo +0 -0
  612. data/vendor/local/share/locale/el/LC_MESSAGES/clutter-1.0.mo +0 -0
  613. data/vendor/local/share/locale/el/LC_MESSAGES/cogl.mo +0 -0
  614. data/vendor/local/share/locale/el/LC_MESSAGES/json-glib-1.0.mo +0 -0
  615. data/vendor/local/share/locale/en_CA/LC_MESSAGES/cogl.mo +0 -0
  616. data/vendor/local/share/locale/en_GB/LC_MESSAGES/clutter-1.0.mo +0 -0
  617. data/vendor/local/share/locale/en_GB/LC_MESSAGES/cogl.mo +0 -0
  618. data/vendor/local/share/locale/en_GB/LC_MESSAGES/json-glib-1.0.mo +0 -0
  619. data/vendor/local/share/locale/eo/LC_MESSAGES/clutter-1.0.mo +0 -0
  620. data/vendor/local/share/locale/eo/LC_MESSAGES/cogl.mo +0 -0
  621. data/vendor/local/share/locale/eo/LC_MESSAGES/json-glib-1.0.mo +0 -0
  622. data/vendor/local/share/locale/es/LC_MESSAGES/clutter-1.0.mo +0 -0
  623. data/vendor/local/share/locale/es/LC_MESSAGES/cogl.mo +0 -0
  624. data/vendor/local/share/locale/es/LC_MESSAGES/json-glib-1.0.mo +0 -0
  625. data/vendor/local/share/locale/et/LC_MESSAGES/json-glib-1.0.mo +0 -0
  626. data/vendor/local/share/locale/eu/LC_MESSAGES/clutter-1.0.mo +0 -0
  627. data/vendor/local/share/locale/eu/LC_MESSAGES/cogl.mo +0 -0
  628. data/vendor/local/share/locale/eu/LC_MESSAGES/json-glib-1.0.mo +0 -0
  629. data/vendor/local/share/locale/fa/LC_MESSAGES/clutter-1.0.mo +0 -0
  630. data/vendor/local/share/locale/fa/LC_MESSAGES/cogl.mo +0 -0
  631. data/vendor/local/share/locale/fi/LC_MESSAGES/clutter-1.0.mo +0 -0
  632. data/vendor/local/share/locale/fr/LC_MESSAGES/clutter-1.0.mo +0 -0
  633. data/vendor/local/share/locale/fr/LC_MESSAGES/cogl.mo +0 -0
  634. data/vendor/local/share/locale/fr/LC_MESSAGES/json-glib-1.0.mo +0 -0
  635. data/vendor/local/share/locale/fur/LC_MESSAGES/json-glib-1.0.mo +0 -0
  636. data/vendor/local/share/locale/gl/LC_MESSAGES/clutter-1.0.mo +0 -0
  637. data/vendor/local/share/locale/gl/LC_MESSAGES/cogl.mo +0 -0
  638. data/vendor/local/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  639. data/vendor/local/share/locale/he/LC_MESSAGES/clutter-1.0.mo +0 -0
  640. data/vendor/local/share/locale/he/LC_MESSAGES/cogl.mo +0 -0
  641. data/vendor/local/share/locale/he/LC_MESSAGES/json-glib-1.0.mo +0 -0
  642. data/vendor/local/share/locale/hi/LC_MESSAGES/clutter-1.0.mo +0 -0
  643. data/vendor/local/share/locale/hi/LC_MESSAGES/cogl.mo +0 -0
  644. data/vendor/local/share/locale/hi/LC_MESSAGES/json-glib-1.0.mo +0 -0
  645. data/vendor/local/share/locale/hu/LC_MESSAGES/clutter-1.0.mo +0 -0
  646. data/vendor/local/share/locale/hu/LC_MESSAGES/cogl.mo +0 -0
  647. data/vendor/local/share/locale/hu/LC_MESSAGES/json-glib-1.0.mo +0 -0
  648. data/vendor/local/share/locale/id/LC_MESSAGES/clutter-1.0.mo +0 -0
  649. data/vendor/local/share/locale/id/LC_MESSAGES/cogl.mo +0 -0
  650. data/vendor/local/share/locale/id/LC_MESSAGES/json-glib-1.0.mo +0 -0
  651. data/vendor/local/share/locale/it/LC_MESSAGES/clutter-1.0.mo +0 -0
  652. data/vendor/local/share/locale/it/LC_MESSAGES/cogl.mo +0 -0
  653. data/vendor/local/share/locale/it/LC_MESSAGES/json-glib-1.0.mo +0 -0
  654. data/vendor/local/share/locale/ja/LC_MESSAGES/clutter-1.0.mo +0 -0
  655. data/vendor/local/share/locale/ja/LC_MESSAGES/cogl.mo +0 -0
  656. data/vendor/local/share/locale/ja/LC_MESSAGES/json-glib-1.0.mo +0 -0
  657. data/vendor/local/share/locale/km/LC_MESSAGES/clutter-1.0.mo +0 -0
  658. data/vendor/local/share/locale/km/LC_MESSAGES/cogl.mo +0 -0
  659. data/vendor/local/share/locale/kn/LC_MESSAGES/clutter-1.0.mo +0 -0
  660. data/vendor/local/share/locale/kn/LC_MESSAGES/cogl.mo +0 -0
  661. data/vendor/local/share/locale/ko/LC_MESSAGES/clutter-1.0.mo +0 -0
  662. data/vendor/local/share/locale/ko/LC_MESSAGES/cogl.mo +0 -0
  663. data/vendor/local/share/locale/ko/LC_MESSAGES/json-glib-1.0.mo +0 -0
  664. data/vendor/local/share/locale/ky/LC_MESSAGES/json-glib-1.0.mo +0 -0
  665. data/vendor/local/share/locale/lt/LC_MESSAGES/clutter-1.0.mo +0 -0
  666. data/vendor/local/share/locale/lt/LC_MESSAGES/cogl.mo +0 -0
  667. data/vendor/local/share/locale/lt/LC_MESSAGES/json-glib-1.0.mo +0 -0
  668. data/vendor/local/share/locale/lv/LC_MESSAGES/clutter-1.0.mo +0 -0
  669. data/vendor/local/share/locale/lv/LC_MESSAGES/cogl.mo +0 -0
  670. data/vendor/local/share/locale/lv/LC_MESSAGES/json-glib-1.0.mo +0 -0
  671. data/vendor/local/share/locale/mk/LC_MESSAGES/clutter-1.0.mo +0 -0
  672. data/vendor/local/share/locale/ml/LC_MESSAGES/clutter-1.0.mo +0 -0
  673. data/vendor/local/share/locale/ml/LC_MESSAGES/cogl.mo +0 -0
  674. data/vendor/local/share/locale/ml/LC_MESSAGES/json-glib-1.0.mo +0 -0
  675. data/vendor/local/share/locale/nb/LC_MESSAGES/clutter-1.0.mo +0 -0
  676. data/vendor/local/share/locale/nb/LC_MESSAGES/cogl.mo +0 -0
  677. data/vendor/local/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo +0 -0
  678. data/vendor/local/share/locale/nl/LC_MESSAGES/clutter-1.0.mo +0 -0
  679. data/vendor/local/share/locale/nl/LC_MESSAGES/cogl.mo +0 -0
  680. data/vendor/local/share/locale/or/LC_MESSAGES/clutter-1.0.mo +0 -0
  681. data/vendor/local/share/locale/or/LC_MESSAGES/cogl.mo +0 -0
  682. data/vendor/local/share/locale/or/LC_MESSAGES/json-glib-1.0.mo +0 -0
  683. data/vendor/local/share/locale/pa/LC_MESSAGES/clutter-1.0.mo +0 -0
  684. data/vendor/local/share/locale/pa/LC_MESSAGES/cogl.mo +0 -0
  685. data/vendor/local/share/locale/pa/LC_MESSAGES/json-glib-1.0.mo +0 -0
  686. data/vendor/local/share/locale/pl/LC_MESSAGES/clutter-1.0.mo +0 -0
  687. data/vendor/local/share/locale/pl/LC_MESSAGES/cogl.mo +0 -0
  688. data/vendor/local/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  689. data/vendor/local/share/locale/ps/LC_MESSAGES/clutter-1.0.mo +0 -0
  690. data/vendor/local/share/locale/pt/LC_MESSAGES/clutter-1.0.mo +0 -0
  691. data/vendor/local/share/locale/pt/LC_MESSAGES/cogl.mo +0 -0
  692. data/vendor/local/share/locale/pt/LC_MESSAGES/json-glib-1.0.mo +0 -0
  693. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/clutter-1.0.mo +0 -0
  694. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/cogl.mo +0 -0
  695. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo +0 -0
  696. data/vendor/local/share/locale/ro/LC_MESSAGES/clutter-1.0.mo +0 -0
  697. data/vendor/local/share/locale/ru/LC_MESSAGES/clutter-1.0.mo +0 -0
  698. data/vendor/local/share/locale/ru/LC_MESSAGES/cogl.mo +0 -0
  699. data/vendor/local/share/locale/ru/LC_MESSAGES/json-glib-1.0.mo +0 -0
  700. data/vendor/local/share/locale/sk/LC_MESSAGES/clutter-1.0.mo +0 -0
  701. data/vendor/local/share/locale/sk/LC_MESSAGES/cogl.mo +0 -0
  702. data/vendor/local/share/locale/sk/LC_MESSAGES/json-glib-1.0.mo +0 -0
  703. data/vendor/local/share/locale/sl/LC_MESSAGES/clutter-1.0.mo +0 -0
  704. data/vendor/local/share/locale/sl/LC_MESSAGES/cogl.mo +0 -0
  705. data/vendor/local/share/locale/sl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  706. data/vendor/local/share/locale/sr/LC_MESSAGES/clutter-1.0.mo +0 -0
  707. data/vendor/local/share/locale/sr/LC_MESSAGES/cogl.mo +0 -0
  708. data/vendor/local/share/locale/sr/LC_MESSAGES/json-glib-1.0.mo +0 -0
  709. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/clutter-1.0.mo +0 -0
  710. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/cogl.mo +0 -0
  711. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/json-glib-1.0.mo +0 -0
  712. data/vendor/local/share/locale/sv/LC_MESSAGES/clutter-1.0.mo +0 -0
  713. data/vendor/local/share/locale/sv/LC_MESSAGES/cogl.mo +0 -0
  714. data/vendor/local/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo +0 -0
  715. data/vendor/local/share/locale/ta/LC_MESSAGES/clutter-1.0.mo +0 -0
  716. data/vendor/local/share/locale/ta/LC_MESSAGES/cogl.mo +0 -0
  717. data/vendor/local/share/locale/te/LC_MESSAGES/clutter-1.0.mo +0 -0
  718. data/vendor/local/share/locale/te/LC_MESSAGES/cogl.mo +0 -0
  719. data/vendor/local/share/locale/te/LC_MESSAGES/json-glib-1.0.mo +0 -0
  720. data/vendor/local/share/locale/tg/LC_MESSAGES/json-glib-1.0.mo +0 -0
  721. data/vendor/local/share/locale/th/LC_MESSAGES/cogl.mo +0 -0
  722. data/vendor/local/share/locale/tr/LC_MESSAGES/clutter-1.0.mo +0 -0
  723. data/vendor/local/share/locale/tr/LC_MESSAGES/cogl.mo +0 -0
  724. data/vendor/local/share/locale/tr/LC_MESSAGES/json-glib-1.0.mo +0 -0
  725. data/vendor/local/share/locale/ug/LC_MESSAGES/clutter-1.0.mo +0 -0
  726. data/vendor/local/share/locale/ug/LC_MESSAGES/cogl.mo +0 -0
  727. data/vendor/local/share/locale/ug/LC_MESSAGES/json-glib-1.0.mo +0 -0
  728. data/vendor/local/share/locale/uk/LC_MESSAGES/clutter-1.0.mo +0 -0
  729. data/vendor/local/share/locale/uk/LC_MESSAGES/cogl.mo +0 -0
  730. data/vendor/local/share/locale/uk/LC_MESSAGES/json-glib-1.0.mo +0 -0
  731. data/vendor/local/share/locale/ur/LC_MESSAGES/clutter-1.0.mo +0 -0
  732. data/vendor/local/share/locale/vi/LC_MESSAGES/cogl.mo +0 -0
  733. data/vendor/local/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo +0 -0
  734. data/vendor/local/share/locale/yi/LC_MESSAGES/clutter-1.0.mo +0 -0
  735. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/clutter-1.0.mo +0 -0
  736. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/cogl.mo +0 -0
  737. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/json-glib-1.0.mo +0 -0
  738. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/clutter-1.0.mo +0 -0
  739. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/cogl.mo +0 -0
  740. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/json-glib-1.0.mo +0 -0
  741. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/clutter-1.0.mo +0 -0
  742. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/cogl.mo +0 -0
  743. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/json-glib-1.0.mo +0 -0
  744. metadata +869 -0
@@ -0,0 +1,125 @@
1
+ /*
2
+ * Cogl
3
+ *
4
+ * A Low Level GPU Graphics and Utilities API
5
+ *
6
+ * Copyright (C) 2011 Intel Corporation.
7
+ *
8
+ * Permission is hereby granted, free of charge, to any person
9
+ * obtaining a copy of this software and associated documentation
10
+ * files (the "Software"), to deal in the Software without
11
+ * restriction, including without limitation the rights to use, copy,
12
+ * modify, merge, publish, distribute, sublicense, and/or sell copies
13
+ * of the Software, and to permit persons to whom the Software is
14
+ * furnished to do so, subject to the following conditions:
15
+ *
16
+ * The above copyright notice and this permission notice shall be
17
+ * included in all copies or substantial portions of the Software.
18
+ *
19
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
20
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
22
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
23
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
24
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
25
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ * SOFTWARE.
27
+ *
28
+ * Authors:
29
+ * Robert Bragg <robert@linux.intel.com>
30
+ *
31
+ */
32
+
33
+ #if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
34
+ #error "Only <cogl/cogl.h> can be included directly."
35
+ #endif
36
+
37
+ #ifndef __COGL_ONSCREEN_TEMPLATE_H__
38
+ #define __COGL_ONSCREEN_TEMPLATE_H__
39
+
40
+ #include <cogl/cogl-swap-chain.h>
41
+
42
+ #ifdef COGL_HAS_GTYPE_SUPPORT
43
+ #include <glib-object.h>
44
+ #endif
45
+
46
+ COGL_BEGIN_DECLS
47
+
48
+ typedef struct _CoglOnscreenTemplate CoglOnscreenTemplate;
49
+
50
+ #define COGL_ONSCREEN_TEMPLATE(OBJECT) ((CoglOnscreenTemplate *)OBJECT)
51
+
52
+ #ifdef COGL_HAS_GTYPE_SUPPORT
53
+ /**
54
+ * cogl_onscreen_template_get_gtype:
55
+ *
56
+ * Returns: a #GType that can be used with the GLib type system.
57
+ */
58
+ GType cogl_onscreen_template_get_gtype (void);
59
+ #endif
60
+
61
+ CoglOnscreenTemplate *
62
+ cogl_onscreen_template_new (CoglSwapChain *swap_chain);
63
+
64
+ /**
65
+ * cogl_onscreen_template_set_samples_per_pixel:
66
+ * @onscreen_template: A #CoglOnscreenTemplate template framebuffer
67
+ * @n: The minimum number of samples per pixel
68
+ *
69
+ * Requires that any future CoglOnscreen framebuffers derived from
70
+ * this template must support making at least @n samples per pixel
71
+ * which will all contribute to the final resolved color for that
72
+ * pixel.
73
+ *
74
+ * By default this value is usually set to 0 and that is referred to
75
+ * as "single-sample" rendering. A value of 1 or greater is referred
76
+ * to as "multisample" rendering.
77
+ *
78
+ * <note>There are some semantic differences between single-sample
79
+ * rendering and multisampling with just 1 point sample such as it
80
+ * being redundant to use the cogl_framebuffer_resolve_samples() and
81
+ * cogl_framebuffer_resolve_samples_region() apis with single-sample
82
+ * rendering.</note>
83
+ *
84
+ * Since: 1.10
85
+ * Stability: unstable
86
+ */
87
+ void
88
+ cogl_onscreen_template_set_samples_per_pixel (
89
+ CoglOnscreenTemplate *onscreen_template,
90
+ int n);
91
+
92
+ /**
93
+ * cogl_onscreen_template_set_swap_throttled:
94
+ * @onscreen_template: A #CoglOnscreenTemplate template framebuffer
95
+ * @throttled: Whether throttling should be enabled
96
+ *
97
+ * Requests that any future #CoglOnscreen framebuffers derived from this
98
+ * template should enable or disable swap throttling according to the given
99
+ * @throttled argument.
100
+ *
101
+ * Since: 1.10
102
+ * Stability: unstable
103
+ */
104
+ void
105
+ cogl_onscreen_template_set_swap_throttled (
106
+ CoglOnscreenTemplate *onscreen_template,
107
+ CoglBool throttled);
108
+
109
+ /**
110
+ * cogl_is_onscreen_template:
111
+ * @object: A #CoglObject pointer
112
+ *
113
+ * Gets whether the given object references a #CoglOnscreenTemplate.
114
+ *
115
+ * Return value: %TRUE if the object references a #CoglOnscreenTemplate
116
+ * and %FALSE otherwise.
117
+ * Since: 1.10
118
+ * Stability: unstable
119
+ */
120
+ CoglBool
121
+ cogl_is_onscreen_template (void *object);
122
+
123
+ COGL_END_DECLS
124
+
125
+ #endif /* __COGL_ONSCREEN_TEMPLATE_H__ */
@@ -0,0 +1,1012 @@
1
+ /*
2
+ * Cogl
3
+ *
4
+ * A Low Level GPU Graphics and Utilities API
5
+ *
6
+ * Copyright (C) 2011,2012,2013 Intel Corporation.
7
+ *
8
+ * Permission is hereby granted, free of charge, to any person
9
+ * obtaining a copy of this software and associated documentation
10
+ * files (the "Software"), to deal in the Software without
11
+ * restriction, including without limitation the rights to use, copy,
12
+ * modify, merge, publish, distribute, sublicense, and/or sell copies
13
+ * of the Software, and to permit persons to whom the Software is
14
+ * furnished to do so, subject to the following conditions:
15
+ *
16
+ * The above copyright notice and this permission notice shall be
17
+ * included in all copies or substantial portions of the Software.
18
+ *
19
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
20
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
22
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
23
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
24
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
25
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ * SOFTWARE.
27
+ *
28
+ *
29
+ *
30
+ * Authors:
31
+ * Robert Bragg <robert@linux.intel.com>
32
+ */
33
+
34
+ #if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
35
+ #error "Only <cogl/cogl.h> can be included directly."
36
+ #endif
37
+
38
+ #ifndef __COGL_ONSCREEN_H
39
+ #define __COGL_ONSCREEN_H
40
+
41
+ #include <cogl/cogl-context.h>
42
+ #include <cogl/cogl-framebuffer.h>
43
+ #include <cogl/cogl-frame-info.h>
44
+ #include <cogl/cogl-object.h>
45
+
46
+ #ifdef COGL_HAS_GTYPE_SUPPORT
47
+ #include <glib-object.h>
48
+ #endif
49
+
50
+ COGL_BEGIN_DECLS
51
+
52
+ typedef struct _CoglOnscreen CoglOnscreen;
53
+ #define COGL_ONSCREEN(X) ((CoglOnscreen *)(X))
54
+
55
+ #ifdef COGL_HAS_GTYPE_SUPPORT
56
+ /**
57
+ * cogl_onscreen_get_gtype:
58
+ *
59
+ * Returns: a #GType that can be used with the GLib type system.
60
+ */
61
+ GType cogl_onscreen_get_gtype (void);
62
+ #endif
63
+
64
+ /**
65
+ * cogl_onscreen_new: (constructor)
66
+ * @context: A #CoglContext
67
+ * @width: The desired framebuffer width
68
+ * @height: The desired framebuffer height
69
+ *
70
+ * Instantiates an "unallocated" #CoglOnscreen framebuffer that may be
71
+ * configured before later being allocated, either implicitly when
72
+ * it is first used or explicitly via cogl_framebuffer_allocate().
73
+ *
74
+ * Return value: (transfer full): A newly instantiated #CoglOnscreen framebuffer
75
+ * Since: 1.8
76
+ * Stability: unstable
77
+ */
78
+ CoglOnscreen *
79
+ cogl_onscreen_new (CoglContext *context, int width, int height);
80
+
81
+ #ifdef COGL_HAS_X11
82
+ typedef void (*CoglOnscreenX11MaskCallback) (CoglOnscreen *onscreen,
83
+ uint32_t event_mask,
84
+ void *user_data);
85
+
86
+ /**
87
+ * cogl_x11_onscreen_set_foreign_window_xid:
88
+ * @onscreen: The unallocated framebuffer to associated with an X
89
+ * window.
90
+ * @xid: The XID of an existing X window
91
+ * @update: A callback that notifies of updates to what Cogl requires
92
+ * to be in the core X protocol event mask.
93
+ * @user_data: user data passed to @update
94
+ *
95
+ * Ideally we would recommend that you let Cogl be responsible for
96
+ * creating any X window required to back an onscreen framebuffer but
97
+ * if you really need to target a window created manually this
98
+ * function can be called before @onscreen has been allocated to set a
99
+ * foreign XID for your existing X window.
100
+ *
101
+ * Since Cogl needs, for example, to track changes to the size of an X
102
+ * window it requires that certain events be selected for via the core
103
+ * X protocol. This requirement may also be changed asynchronously so
104
+ * you must pass in an @update callback to inform you of Cogl's
105
+ * required event mask.
106
+ *
107
+ * For example if you are using Xlib you could use this API roughly
108
+ * as follows:
109
+ * [{
110
+ * static void
111
+ * my_update_cogl_x11_event_mask (CoglOnscreen *onscreen,
112
+ * uint32_t event_mask,
113
+ * void *user_data)
114
+ * {
115
+ * XSetWindowAttributes attrs;
116
+ * MyData *data = user_data;
117
+ * attrs.event_mask = event_mask | data->my_event_mask;
118
+ * XChangeWindowAttributes (data->xdpy,
119
+ * data->xwin,
120
+ * CWEventMask,
121
+ * &attrs);
122
+ * }
123
+ *
124
+ * {
125
+ * *snip*
126
+ * cogl_x11_onscreen_set_foreign_window_xid (onscreen,
127
+ * data->xwin,
128
+ * my_update_cogl_x11_event_mask,
129
+ * data);
130
+ * *snip*
131
+ * }
132
+ * }]
133
+ *
134
+ * Since: 2.0
135
+ * Stability: Unstable
136
+ */
137
+ void
138
+ cogl_x11_onscreen_set_foreign_window_xid (CoglOnscreen *onscreen,
139
+ uint32_t xid,
140
+ CoglOnscreenX11MaskCallback update,
141
+ void *user_data);
142
+
143
+ /**
144
+ * cogl_x11_onscreen_get_window_xid:
145
+ * @onscreen: A #CoglOnscreen framebuffer
146
+ *
147
+ * Assuming you know the given @onscreen framebuffer is based on an x11 window
148
+ * this queries the XID of that window. If
149
+ * cogl_x11_onscreen_set_foreign_window_xid() was previously called then it
150
+ * will return that same XID otherwise it will be the XID of a window Cogl
151
+ * created internally. If the window has not been allocated yet and a foreign
152
+ * xid has not been set then it's undefined what value will be returned.
153
+ *
154
+ * It's undefined what this function does if called when not using an x11 based
155
+ * renderer.
156
+ *
157
+ * Since: 1.10
158
+ * Stability: unstable
159
+ */
160
+ uint32_t
161
+ cogl_x11_onscreen_get_window_xid (CoglOnscreen *onscreen);
162
+
163
+ /* XXX: we should maybe remove this, since nothing currently uses
164
+ * it and the current implementation looks dubious. */
165
+ uint32_t
166
+ cogl_x11_onscreen_get_visual_xid (CoglOnscreen *onscreen);
167
+ #endif /* COGL_HAS_X11 */
168
+
169
+ #ifdef COGL_HAS_WIN32_SUPPORT
170
+ /**
171
+ * cogl_win32_onscreen_set_foreign_window:
172
+ * @onscreen: A #CoglOnscreen framebuffer
173
+ * @hwnd: A win32 window handle
174
+ *
175
+ * Ideally we would recommend that you let Cogl be responsible for
176
+ * creating any window required to back an onscreen framebuffer but
177
+ * if you really need to target a window created manually this
178
+ * function can be called before @onscreen has been allocated to set a
179
+ * foreign XID for your existing X window.
180
+ *
181
+ * Since: 1.10
182
+ * Stability: unstable
183
+ */
184
+ void
185
+ cogl_win32_onscreen_set_foreign_window (CoglOnscreen *onscreen,
186
+ HWND hwnd);
187
+
188
+ /**
189
+ * cogl_win32_onscreen_get_window:
190
+ * @onscreen: A #CoglOnscreen framebuffer
191
+ *
192
+ * Queries the internally created window HWND backing the given @onscreen
193
+ * framebuffer. If cogl_win32_onscreen_set_foreign_window() has been used then
194
+ * it will return the same handle set with that API.
195
+ *
196
+ * Since: 1.10
197
+ * Stability: unstable
198
+ */
199
+ HWND
200
+ cogl_win32_onscreen_get_window (CoglOnscreen *onscreen);
201
+ #endif /* COGL_HAS_WIN32_SUPPORT */
202
+
203
+ #if defined (COGL_HAS_EGL_PLATFORM_WAYLAND_SUPPORT)
204
+ struct wl_surface *
205
+ cogl_wayland_onscreen_get_surface (CoglOnscreen *onscreen);
206
+ struct wl_shell_surface *
207
+ cogl_wayland_onscreen_get_shell_surface (CoglOnscreen *onscreen);
208
+
209
+ /**
210
+ * cogl_wayland_onscreen_set_foreign_surface:
211
+ * @onscreen: An unallocated framebuffer.
212
+ * @surface A Wayland surface to associate with the @onscreen.
213
+ *
214
+ * Allows you to explicitly notify Cogl of an existing Wayland surface to use,
215
+ * which prevents Cogl from allocating a surface and shell surface for the
216
+ * @onscreen. An allocated surface will not be destroyed when the @onscreen is
217
+ * freed.
218
+ *
219
+ * This function must be called before @onscreen is allocated.
220
+ *
221
+ * Since: 1.16
222
+ * Stability: unstable
223
+ */
224
+ void
225
+ cogl_wayland_onscreen_set_foreign_surface (CoglOnscreen *onscreen,
226
+ struct wl_surface *surface);
227
+
228
+ /**
229
+ * cogl_wayland_onscreen_resize:
230
+ * @onscreen: A #CoglOnscreen framebuffer
231
+ * @width: The desired width of the framebuffer
232
+ * @height: The desired height of the framebuffer
233
+ * @offset_x: A relative x offset for the new framebuffer
234
+ * @offset_y: A relative y offset for the new framebuffer
235
+ *
236
+ * Resizes the backbuffer of the given @onscreen framebuffer to the
237
+ * given size. Since a buffer is usually conceptually scaled with a
238
+ * center point the @offset_x and @offset_y arguments allow the newly
239
+ * allocated buffer to be positioned relative to the old buffer size.
240
+ *
241
+ * For example a buffer that is being resized by moving the bottom right
242
+ * corner, and the top left corner is remaining static would use x and y
243
+ * offsets of (0, 0) since the top-left of the new buffer should have the same
244
+ * position as the old buffer. If the center of the old buffer is being zoomed
245
+ * into then all the corners of the new buffer move out from the center and the x
246
+ * and y offsets would be (-half_x_size_increase, -half_y_size_increase) where
247
+ * x/y_size_increase is how many pixels bigger the buffer is on the x and y
248
+ * axis.
249
+ *
250
+ * Note that if some drawing commands have been applied to the
251
+ * framebuffer since the last swap buffers then the resize will be
252
+ * queued and will only take effect in the next swap buffers.
253
+ *
254
+ * If multiple calls to cogl_wayland_onscreen_resize() get queued
255
+ * before the next swap buffers request then the relative x and y
256
+ * offsets accumulate instead of being replaced. The @width and
257
+ * @height values superseed the old values.
258
+ *
259
+ * Since: 1.10
260
+ * Stability: unstable
261
+ */
262
+ void
263
+ cogl_wayland_onscreen_resize (CoglOnscreen *onscreen,
264
+ int width,
265
+ int height,
266
+ int offset_x,
267
+ int offset_y);
268
+ #endif /* COGL_HAS_EGL_PLATFORM_WAYLAND_SUPPORT */
269
+
270
+ /**
271
+ * cogl_onscreen_set_swap_throttled:
272
+ * @onscreen: A #CoglOnscreen framebuffer
273
+ * @throttled: Whether swap throttling is wanted or not.
274
+ *
275
+ * Requests that the given @onscreen framebuffer should have swap buffer
276
+ * requests (made using cogl_onscreen_swap_buffers()) throttled either by a
277
+ * displays vblank period or perhaps some other mechanism in a composited
278
+ * environment.
279
+ *
280
+ * Since: 1.8
281
+ * Stability: unstable
282
+ */
283
+ void
284
+ cogl_onscreen_set_swap_throttled (CoglOnscreen *onscreen,
285
+ CoglBool throttled);
286
+
287
+ /**
288
+ * cogl_onscreen_show:
289
+ * @onscreen: The onscreen framebuffer to make visible
290
+ *
291
+ * This requests to make @onscreen visible to the user.
292
+ *
293
+ * Actually the precise semantics of this function depend on the
294
+ * window system currently in use, and if you don't have a
295
+ * multi-windowining system this function may in-fact do nothing.
296
+ *
297
+ * This function will implicitly allocate the given @onscreen
298
+ * framebuffer before showing it if it hasn't already been allocated.
299
+ *
300
+ * When using the Wayland winsys calling this will set the surface to
301
+ * a toplevel type which will make it appear. If the application wants
302
+ * to set a different type for the surface, it can avoid calling
303
+ * cogl_onscreen_show() and set its own type directly with the Wayland
304
+ * client API via cogl_wayland_onscreen_get_surface().
305
+ *
306
+ * <note>Since Cogl doesn't explicitly track the visibility status of
307
+ * onscreen framebuffers it wont try to avoid redundant window system
308
+ * requests e.g. to show an already visible window. This also means
309
+ * that it's acceptable to alternatively use native APIs to show and
310
+ * hide windows without confusing Cogl.</note>
311
+ *
312
+ * Since: 2.0
313
+ * Stability: Unstable
314
+ */
315
+ void
316
+ cogl_onscreen_show (CoglOnscreen *onscreen);
317
+
318
+ /**
319
+ * cogl_onscreen_hide:
320
+ * @onscreen: The onscreen framebuffer to make invisible
321
+ *
322
+ * This requests to make @onscreen invisible to the user.
323
+ *
324
+ * Actually the precise semantics of this function depend on the
325
+ * window system currently in use, and if you don't have a
326
+ * multi-windowining system this function may in-fact do nothing.
327
+ *
328
+ * This function does not implicitly allocate the given @onscreen
329
+ * framebuffer before hiding it.
330
+ *
331
+ * <note>Since Cogl doesn't explicitly track the visibility status of
332
+ * onscreen framebuffers it wont try to avoid redundant window system
333
+ * requests e.g. to show an already visible window. This also means
334
+ * that it's acceptable to alternatively use native APIs to show and
335
+ * hide windows without confusing Cogl.</note>
336
+ *
337
+ * Since: 2.0
338
+ * Stability: Unstable
339
+ */
340
+ void
341
+ cogl_onscreen_hide (CoglOnscreen *onscreen);
342
+
343
+ /**
344
+ * cogl_onscreen_swap_buffers:
345
+ * @onscreen: A #CoglOnscreen framebuffer
346
+ *
347
+ * Swaps the current back buffer being rendered too, to the front for display.
348
+ *
349
+ * This function also implicitly discards the contents of the color, depth and
350
+ * stencil buffers as if cogl_framebuffer_discard_buffers() were used. The
351
+ * significance of the discard is that you should not expect to be able to
352
+ * start a new frame that incrementally builds on the contents of the previous
353
+ * frame.
354
+ *
355
+ * <note>It is highly recommended that applications use
356
+ * cogl_onscreen_swap_buffers_with_damage() instead whenever possible
357
+ * and also use the cogl_onscreen_get_buffer_age() api so they can
358
+ * perform incremental updates to older buffers instead of having to
359
+ * render a full buffer for every frame.</note>
360
+ *
361
+ * Since: 1.10
362
+ * Stability: unstable
363
+ */
364
+ void
365
+ cogl_onscreen_swap_buffers (CoglOnscreen *onscreen);
366
+
367
+
368
+ /**
369
+ * cogl_onscreen_get_buffer_age:
370
+ * @onscreen: A #CoglOnscreen framebuffer
371
+ *
372
+ * Gets the current age of the buffer contents.
373
+ *
374
+ * This function allows applications to query the age of the current
375
+ * back buffer contents for a #CoglOnscreen as the number of frames
376
+ * elapsed since the contents were most recently defined.
377
+ *
378
+ * These age values exposes enough information to applications about
379
+ * how Cogl internally manages back buffers to allow applications to
380
+ * re-use the contents of old frames and minimize how much must be
381
+ * redrawn for the next frame.
382
+ *
383
+ * The back buffer contents can either be reported as invalid (has an
384
+ * age of 0) or it may be reported to be the same contents as from n
385
+ * frames prior to the current frame.
386
+ *
387
+ * The queried value remains valid until the next buffer swap.
388
+ *
389
+ * <note>One caveat is that under X11 the buffer age does not reflect
390
+ * changes to buffer contents caused by the window systems. X11
391
+ * applications must track Expose events to determine what buffer
392
+ * regions need to additionally be repaired each frame.</note>
393
+ *
394
+ * The recommended way to take advantage of this buffer age api is to
395
+ * build up a circular buffer of length 3 for tracking damage regions
396
+ * over the last 3 frames and when starting a new frame look at the
397
+ * age of the buffer and combine the damage regions for the current
398
+ * frame with the damage regions of previous @age frames so you know
399
+ * everything that must be redrawn to update the old contents for the
400
+ * new frame.
401
+ *
402
+ * <note>If the system doesn't not support being able to track the age
403
+ * of back buffers then this function will always return 0 which
404
+ * implies that the contents are undefined.</note>
405
+ *
406
+ * <note>The %COGL_FEATURE_ID_BUFFER_AGE feature can optionally be
407
+ * explicitly checked to determine if Cogl is currently tracking the
408
+ * age of #CoglOnscreen back buffer contents. If this feature is
409
+ * missing then this function will always return 0.</note>
410
+ *
411
+ * Return value: The age of the buffer contents or 0 when the buffer
412
+ * contents are undefined.
413
+ *
414
+ * Since: 1.14
415
+ * Stability: stable
416
+ */
417
+ int
418
+ cogl_onscreen_get_buffer_age (CoglOnscreen *onscreen);
419
+
420
+ /**
421
+ * cogl_onscreen_swap_buffers_with_damage:
422
+ * @onscreen: A #CoglOnscreen framebuffer
423
+ * @rectangles: An array of integer 4-tuples representing damaged
424
+ * rectangles as (x, y, width, height) tuples.
425
+ * @n_rectangles: The number of 4-tuples to be read from @rectangles
426
+ *
427
+ * Swaps the current back buffer being rendered too, to the front for
428
+ * display and provides information to any system compositor about
429
+ * what regions of the buffer have changed (damage) with respect to
430
+ * the last swapped buffer.
431
+ *
432
+ * This function has the same semantics as
433
+ * cogl_framebuffer_swap_buffers() except that it additionally allows
434
+ * applications to pass a list of damaged rectangles which may be
435
+ * passed on to a compositor so that it can minimize how much of the
436
+ * screen is redrawn in response to this applications newly swapped
437
+ * front buffer.
438
+ *
439
+ * For example if your application is only animating a small object in
440
+ * the corner of the screen and everything else is remaining static
441
+ * then it can help the compositor to know that only the bottom right
442
+ * corner of your newly swapped buffer has really changed with respect
443
+ * to your previously swapped front buffer.
444
+ *
445
+ * If @n_rectangles is 0 then the whole buffer will implicitly be
446
+ * reported as damaged as if cogl_onscreen_swap_buffers() had been
447
+ * called.
448
+ *
449
+ * This function also implicitly discards the contents of the color,
450
+ * depth and stencil buffers as if cogl_framebuffer_discard_buffers()
451
+ * were used. The significance of the discard is that you should not
452
+ * expect to be able to start a new frame that incrementally builds on
453
+ * the contents of the previous frame. If you want to perform
454
+ * incremental updates to older back buffers then please refer to the
455
+ * cogl_onscreen_get_buffer_age() api.
456
+ *
457
+ * Whenever possible it is recommended that applications use this
458
+ * function instead of cogl_onscreen_swap_buffers() to improve
459
+ * performance when running under a compositor.
460
+ *
461
+ * <note>It is highly recommended to use this API in conjunction with
462
+ * the cogl_onscreen_get_buffer_age() api so that your application can
463
+ * perform incremental rendering based on old back buffers.</note>
464
+ *
465
+ * Since: 1.16
466
+ * Stability: unstable
467
+ */
468
+ void
469
+ cogl_onscreen_swap_buffers_with_damage (CoglOnscreen *onscreen,
470
+ const int *rectangles,
471
+ int n_rectangles);
472
+
473
+ /**
474
+ * cogl_onscreen_swap_region:
475
+ * @onscreen: A #CoglOnscreen framebuffer
476
+ * @rectangles: An array of integer 4-tuples representing rectangles as
477
+ * (x, y, width, height) tuples.
478
+ * @n_rectangles: The number of 4-tuples to be read from @rectangles
479
+ *
480
+ * Swaps a region of the back buffer being rendered too, to the front for
481
+ * display. @rectangles represents the region as array of @n_rectangles each
482
+ * defined by 4 sequential (x, y, width, height) integers.
483
+ *
484
+ * This function also implicitly discards the contents of the color, depth and
485
+ * stencil buffers as if cogl_framebuffer_discard_buffers() were used. The
486
+ * significance of the discard is that you should not expect to be able to
487
+ * start a new frame that incrementally builds on the contents of the previous
488
+ * frame.
489
+ *
490
+ * Since: 1.10
491
+ * Stability: unstable
492
+ */
493
+ void
494
+ cogl_onscreen_swap_region (CoglOnscreen *onscreen,
495
+ const int *rectangles,
496
+ int n_rectangles);
497
+
498
+ /**
499
+ * CoglFrameEvent:
500
+ * @COGL_FRAME_EVENT_SYNC: Notifies that the system compositor has
501
+ * acknowledged a frame and is ready for a
502
+ * new frame to be created.
503
+ * @COGL_FRAME_EVENT_COMPLETE: Notifies that a frame has ended. This
504
+ * is a good time for applications to
505
+ * collect statistics about the frame
506
+ * since the #CoglFrameInfo should hold
507
+ * the most data at this point. No other
508
+ * events should be expected after a
509
+ * @COGL_FRAME_EVENT_COMPLETE event.
510
+ *
511
+ * Identifiers that are passed to #CoglFrameCallback functions
512
+ * (registered using cogl_onscreen_add_frame_callback()) that
513
+ * mark the progression of a frame in some way which usually
514
+ * means that new information will have been accumulated in the
515
+ * frame's corresponding #CoglFrameInfo object.
516
+ *
517
+ * The last event that will be sent for a frame will be a
518
+ * @COGL_FRAME_EVENT_COMPLETE event and so these are a good
519
+ * opportunity to collect statistics about a frame since the
520
+ * #CoglFrameInfo should hold the most data at this point.
521
+ *
522
+ * <note>A frame may not be completed before the next frame can start
523
+ * so applications should avoid needing to collect all statistics for
524
+ * a particular frame before they can start a new frame.</note>
525
+ *
526
+ * Since: 1.14
527
+ * Stability: unstable
528
+ */
529
+ typedef enum _CoglFrameEvent
530
+ {
531
+ COGL_FRAME_EVENT_SYNC = 1,
532
+ COGL_FRAME_EVENT_COMPLETE
533
+ } CoglFrameEvent;
534
+
535
+ /**
536
+ * CoglFrameCallback:
537
+ * @onscreen: The onscreen that the frame is associated with
538
+ * @event: A #CoglFrameEvent notifying how the frame has progressed
539
+ * @info: The meta information, such as timing information, about
540
+ * the frame that has progressed.
541
+ * @user_data: The user pointer passed to
542
+ * cogl_onscreen_add_frame_callback()
543
+ *
544
+ * Is a callback that can be registered via
545
+ * cogl_onscreen_add_frame_callback() to be called when a frame
546
+ * progresses in some notable way.
547
+ *
548
+ * Please see the documentation for #CoglFrameEvent and
549
+ * cogl_onscreen_add_frame_callback() for more details about what
550
+ * events can be notified.
551
+ *
552
+ * Since: 1.14
553
+ * Stability: unstable
554
+ */
555
+ typedef void (*CoglFrameCallback) (CoglOnscreen *onscreen,
556
+ CoglFrameEvent event,
557
+ CoglFrameInfo *info,
558
+ void *user_data);
559
+
560
+ /**
561
+ * CoglFrameClosure:
562
+ *
563
+ * An opaque type that tracks a #CoglFrameCallback and associated user
564
+ * data. A #CoglFrameClosure pointer will be returned from
565
+ * cogl_onscreen_add_frame_callback() and it allows you to remove a
566
+ * callback later using cogl_onscreen_remove_frame_callback().
567
+ *
568
+ * Since: 1.14
569
+ * Stability: unstable
570
+ */
571
+ typedef struct _CoglClosure CoglFrameClosure;
572
+
573
+ #ifdef COGL_HAS_GTYPE_SUPPORT
574
+ /**
575
+ * cogl_frame_closure_get_gtype:
576
+ *
577
+ * Returns: a #GType that can be used with the GLib type system.
578
+ */
579
+ GType cogl_frame_closure_get_gtype (void);
580
+ #endif
581
+
582
+ /**
583
+ * cogl_onscreen_add_frame_callback:
584
+ * @onscreen: A #CoglOnscreen framebuffer
585
+ * @callback: (scope notified): A callback function to call for frame events
586
+ * @user_data: (closure): A private pointer to be passed to @callback
587
+ * @destroy: (allow-none): An optional callback to destroy @user_data
588
+ * when the @callback is removed or @onscreen is freed.
589
+ *
590
+ * Installs a @callback function that will be called for significant
591
+ * events relating to the given @onscreen framebuffer.
592
+ *
593
+ * The @callback will be used to notify when the system compositor is
594
+ * ready for this application to render a new frame. In this case
595
+ * %COGL_FRAME_EVENT_SYNC will be passed as the event argument to the
596
+ * given @callback in addition to the #CoglFrameInfo corresponding to
597
+ * the frame beeing acknowledged by the compositor.
598
+ *
599
+ * The @callback will also be called to notify when the frame has
600
+ * ended. In this case %COGL_FRAME_EVENT_COMPLETE will be passed as
601
+ * the event argument to the given @callback in addition to the
602
+ * #CoglFrameInfo corresponding to the newly presented frame. The
603
+ * meaning of "ended" here simply means that no more timing
604
+ * information will be collected within the corresponding
605
+ * #CoglFrameInfo and so this is a good opportunity to analyse the
606
+ * given info. It does not necessarily mean that the GPU has finished
607
+ * rendering the corresponding frame.
608
+ *
609
+ * We highly recommend throttling your application according to
610
+ * %COGL_FRAME_EVENT_SYNC events so that your application can avoid
611
+ * wasting resources, drawing more frames than your system compositor
612
+ * can display.
613
+ *
614
+ * Return value: a #CoglFrameClosure pointer that can be used to
615
+ * remove the callback and associated @user_data later.
616
+ * Since: 1.14
617
+ * Stability: unstable
618
+ */
619
+ CoglFrameClosure *
620
+ cogl_onscreen_add_frame_callback (CoglOnscreen *onscreen,
621
+ CoglFrameCallback callback,
622
+ void *user_data,
623
+ CoglUserDataDestroyCallback destroy);
624
+
625
+ /**
626
+ * cogl_onscreen_remove_frame_callback:
627
+ * @onscreen: A #CoglOnscreen
628
+ * @closure: A #CoglFrameClosure returned from
629
+ * cogl_onscreen_add_frame_callback()
630
+ *
631
+ * Removes a callback and associated user data that were previously
632
+ * registered using cogl_onscreen_add_frame_callback().
633
+ *
634
+ * If a destroy callback was passed to
635
+ * cogl_onscreen_add_frame_callback() to destroy the user data then
636
+ * this will get called.
637
+ *
638
+ * Since: 1.14
639
+ * Stability: unstable
640
+ */
641
+ void
642
+ cogl_onscreen_remove_frame_callback (CoglOnscreen *onscreen,
643
+ CoglFrameClosure *closure);
644
+
645
+ typedef void (*CoglSwapBuffersNotify) (CoglFramebuffer *framebuffer,
646
+ void *user_data);
647
+
648
+ /**
649
+ * cogl_onscreen_add_swap_buffers_callback:
650
+ * @onscreen: A #CoglOnscreen framebuffer
651
+ * @callback: (scope notified): A callback function to call when a swap
652
+ * has completed
653
+ * @user_data: (closure): A private pointer to be passed to @callback
654
+ *
655
+ * Installs a @callback function that should be called whenever a swap buffers
656
+ * request (made using cogl_onscreen_swap_buffers()) for the given
657
+ * @onscreen completes.
658
+ *
659
+ * <note>Applications should check for the %COGL_FEATURE_ID_SWAP_BUFFERS_EVENT
660
+ * feature before using this API. It's currently undefined when and if
661
+ * registered callbacks will be called if this feature is not supported.</note>
662
+ *
663
+ * We recommend using this mechanism when available to manually throttle your
664
+ * applications (in conjunction with cogl_onscreen_set_swap_throttled()) so
665
+ * your application will be able to avoid long blocks in the driver caused by
666
+ * throttling when you request to swap buffers too quickly.
667
+ *
668
+ * Return value: a unique identifier that can be used to remove to remove
669
+ * the callback later.
670
+ * Since: 1.10
671
+ * Stability: unstable
672
+ * Deprecated: 1.14: Use cogl_onscreen_add_frame_callback() instead
673
+ */
674
+ COGL_DEPRECATED_IN_1_14_FOR (cogl_onscreen_add_frame_callback)
675
+ unsigned int
676
+ cogl_onscreen_add_swap_buffers_callback (CoglOnscreen *onscreen,
677
+ CoglSwapBuffersNotify callback,
678
+ void *user_data);
679
+
680
+ /**
681
+ * cogl_onscreen_remove_swap_buffers_callback:
682
+ * @onscreen: A #CoglOnscreen framebuffer
683
+ * @id: An identifier returned from cogl_onscreen_add_swap_buffers_callback()
684
+ *
685
+ * Removes a callback that was previously registered
686
+ * using cogl_onscreen_add_swap_buffers_callback().
687
+ *
688
+ * Since: 1.10
689
+ * Stability: unstable
690
+ * Deprecated: 1.14: Use cogl_onscreen_remove_frame_callback() instead
691
+ */
692
+
693
+ COGL_DEPRECATED_IN_1_14_FOR (cogl_onscreen_remove_frame_callback)
694
+ void
695
+ cogl_onscreen_remove_swap_buffers_callback (CoglOnscreen *onscreen,
696
+ unsigned int id);
697
+
698
+ /**
699
+ * cogl_onscreen_set_resizable:
700
+ * @onscreen: A #CoglOnscreen framebuffer
701
+ *
702
+ * Lets you request Cogl to mark an @onscreen framebuffer as
703
+ * resizable or not.
704
+ *
705
+ * By default, if possible, a @onscreen will be created by Cogl
706
+ * as non resizable, but it is not guaranteed that this is always
707
+ * possible for all window systems.
708
+ *
709
+ * <note>Cogl does not know whether marking the @onscreen framebuffer
710
+ * is truly meaningful for your current window system (consider
711
+ * applications being run fullscreen on a phone or TV) so this
712
+ * function may not have any useful effect. If you are running on a
713
+ * multi windowing system such as X11 or Win32 or OSX then Cogl will
714
+ * request to the window system that users be allowed to resize the
715
+ * @onscreen, although it's still possible that some other window
716
+ * management policy will block this possibility.</note>
717
+ *
718
+ * <note>Whenever an @onscreen framebuffer is resized the viewport
719
+ * will be automatically updated to match the new size of the
720
+ * framebuffer with an origin of (0,0). If your application needs more
721
+ * specialized control of the viewport it will need to register a
722
+ * resize handler using cogl_onscreen_add_resize_callback() so that it
723
+ * can track when the viewport has been changed automatically.</note>
724
+ *
725
+ * Since: 2.0
726
+ */
727
+ void
728
+ cogl_onscreen_set_resizable (CoglOnscreen *onscreen,
729
+ CoglBool resizable);
730
+
731
+ /**
732
+ * cogl_onscreen_get_resizable:
733
+ * @onscreen: A #CoglOnscreen framebuffer
734
+ *
735
+ * Lets you query whether @onscreen has been marked as resizable via
736
+ * the cogl_onscreen_set_resizable() api.
737
+ *
738
+ * By default, if possible, a @onscreen will be created by Cogl
739
+ * as non resizable, but it is not guaranteed that this is always
740
+ * possible for all window systems.
741
+ *
742
+ * <note>If cogl_onscreen_set_resizable(@onscreen, %TRUE) has been
743
+ * previously called then this function will return %TRUE, but it's
744
+ * possible that the current windowing system being used does not
745
+ * support window resizing (consider fullscreen windows on a phone or
746
+ * a TV). This function is not aware of whether resizing is truly
747
+ * meaningful with your window system, only whether the @onscreen has
748
+ * been marked as resizable.</note>
749
+ *
750
+ * Return value: Returns whether @onscreen has been marked as
751
+ * resizable or not.
752
+ * Since: 2.0
753
+ */
754
+ CoglBool
755
+ cogl_onscreen_get_resizable (CoglOnscreen *onscreen);
756
+
757
+ /**
758
+ * CoglOnscreenResizeCallback:
759
+ * @onscreen: A #CoglOnscreen framebuffer that was resized
760
+ * @width: The new width of @onscreen
761
+ * @height: The new height of @onscreen
762
+ * @user_data: The private passed to
763
+ * cogl_onscreen_add_resize_callback()
764
+ *
765
+ * Is a callback type used with the
766
+ * cogl_onscreen_add_resize_callback() allowing applications to be
767
+ * notified whenever an @onscreen framebuffer is resized.
768
+ *
769
+ * <note>Cogl automatically updates the viewport of an @onscreen
770
+ * framebuffer that is resized so this callback is also an indication
771
+ * that the viewport has been modified too</note>
772
+ *
773
+ * <note>A resize callback will only ever be called while dispatching
774
+ * Cogl events from the system mainloop; so for example during
775
+ * cogl_poll_renderer_dispatch(). This is so that callbacks shouldn't
776
+ * occur while an application might have arbitrary locks held for
777
+ * example.</note>
778
+ *
779
+ * Since: 2.0
780
+ */
781
+ typedef void (*CoglOnscreenResizeCallback) (CoglOnscreen *onscreen,
782
+ int width,
783
+ int height,
784
+ void *user_data);
785
+
786
+ /**
787
+ * CoglOnscreenResizeClosure:
788
+ *
789
+ * An opaque type that tracks a #CoglOnscreenResizeCallback and
790
+ * associated user data. A #CoglOnscreenResizeClosure pointer will be
791
+ * returned from cogl_onscreen_add_resize_callback() and it allows you
792
+ * to remove a callback later using
793
+ * cogl_onscreen_remove_resize_callback().
794
+ *
795
+ * Since: 2.0
796
+ * Stability: unstable
797
+ */
798
+ typedef struct _CoglClosure CoglOnscreenResizeClosure;
799
+
800
+ #ifdef COGL_HAS_GTYPE_SUPPORT
801
+ /**
802
+ * cogl_onscreen_resize_closure_get_gtype:
803
+ *
804
+ * Returns: a #GType that can be used with the GLib type system.
805
+ */
806
+ GType cogl_onscreen_resize_closure_get_gtype (void);
807
+ #endif
808
+
809
+ /**
810
+ * cogl_onscreen_add_resize_callback:
811
+ * @onscreen: A #CoglOnscreen framebuffer
812
+ * @callback: (scope notified): A #CoglOnscreenResizeCallback to call when
813
+ * the @onscreen changes size.
814
+ * @user_data: (closure): Private data to be passed to @callback.
815
+ * @destroy: (allow-none): An optional callback to destroy @user_data
816
+ * when the @callback is removed or @onscreen is freed.
817
+ *
818
+ * Registers a @callback with @onscreen that will be called whenever
819
+ * the @onscreen framebuffer changes size.
820
+ *
821
+ * The @callback can be removed using
822
+ * cogl_onscreen_remove_resize_callback() passing the returned closure
823
+ * pointer.
824
+ *
825
+ * <note>Since Cogl automatically updates the viewport of an @onscreen
826
+ * framebuffer that is resized, a resize callback can also be used to
827
+ * track when the viewport has been changed automatically by Cogl in
828
+ * case your application needs more specialized control over the
829
+ * viewport.</note>
830
+ *
831
+ * <note>A resize callback will only ever be called while dispatching
832
+ * Cogl events from the system mainloop; so for example during
833
+ * cogl_poll_renderer_dispatch(). This is so that callbacks shouldn't
834
+ * occur while an application might have arbitrary locks held for
835
+ * example.</note>
836
+ *
837
+ * Return value: a #CoglOnscreenResizeClosure pointer that can be used to
838
+ * remove the callback and associated @user_data later.
839
+ * Since: 2.0
840
+ */
841
+ CoglOnscreenResizeClosure *
842
+ cogl_onscreen_add_resize_callback (CoglOnscreen *onscreen,
843
+ CoglOnscreenResizeCallback callback,
844
+ void *user_data,
845
+ CoglUserDataDestroyCallback destroy);
846
+
847
+ /**
848
+ * cogl_onscreen_remove_resize_callback:
849
+ * @onscreen: A #CoglOnscreen framebuffer
850
+ * @closure: An identifier returned from cogl_onscreen_add_resize_callback()
851
+ *
852
+ * Removes a resize @callback and @user_data pair that were previously
853
+ * associated with @onscreen via cogl_onscreen_add_resize_callback().
854
+ *
855
+ * Since: 2.0
856
+ */
857
+ void
858
+ cogl_onscreen_remove_resize_callback (CoglOnscreen *onscreen,
859
+ CoglOnscreenResizeClosure *closure);
860
+
861
+ /**
862
+ * CoglOnscreenDirtyInfo:
863
+ * @x: Left edge of the dirty rectangle
864
+ * @y: Top edge of the dirty rectangle, measured from the top of the window
865
+ * @width: Width of the dirty rectangle
866
+ * @height: Height of the dirty rectangle
867
+ *
868
+ * A structure passed to callbacks registered using
869
+ * cogl_onscreen_add_dirty_callback(). The members describe a
870
+ * rectangle within the onscreen buffer that should be redrawn.
871
+ *
872
+ * Since: 1.16
873
+ * Stability: unstable
874
+ */
875
+ typedef struct _CoglOnscreenDirtyInfo CoglOnscreenDirtyInfo;
876
+
877
+ struct _CoglOnscreenDirtyInfo
878
+ {
879
+ int x, y;
880
+ int width, height;
881
+ };
882
+
883
+ /**
884
+ * CoglOnscreenDirtyCallback:
885
+ * @onscreen: The onscreen that the frame is associated with
886
+ * @info: A #CoglOnscreenDirtyInfo struct containing the details of the
887
+ * dirty area
888
+ * @user_data: The user pointer passed to
889
+ * cogl_onscreen_add_frame_callback()
890
+ *
891
+ * Is a callback that can be registered via
892
+ * cogl_onscreen_add_dirty_callback() to be called when the windowing
893
+ * system determines that a region of the onscreen window has been
894
+ * lost and the application should redraw it.
895
+ *
896
+ * Since: 1.16
897
+ * Stability: unstable
898
+ */
899
+ typedef void (*CoglOnscreenDirtyCallback) (CoglOnscreen *onscreen,
900
+ const CoglOnscreenDirtyInfo *info,
901
+ void *user_data);
902
+
903
+ /**
904
+ * CoglOnscreenDirtyClosure:
905
+ *
906
+ * An opaque type that tracks a #CoglOnscreenDirtyCallback and associated
907
+ * user data. A #CoglOnscreenDirtyClosure pointer will be returned from
908
+ * cogl_onscreen_add_dirty_callback() and it allows you to remove a
909
+ * callback later using cogl_onscreen_remove_dirty_callback().
910
+ *
911
+ * Since: 1.16
912
+ * Stability: unstable
913
+ */
914
+ typedef struct _CoglClosure CoglOnscreenDirtyClosure;
915
+
916
+ #ifdef COGL_HAS_GTYPE_SUPPORT
917
+ /**
918
+ * cogl_onscreen_dirty_closure_get_gtype:
919
+ *
920
+ * Returns: a #GType that can be used with the GLib type system.
921
+ */
922
+ GType cogl_onscreen_dirty_closure_get_gtype (void);
923
+ #endif
924
+
925
+ /**
926
+ * cogl_onscreen_add_dirty_callback:
927
+ * @onscreen: A #CoglOnscreen framebuffer
928
+ * @callback: (scope notified): A callback function to call for dirty events
929
+ * @user_data: (closure): A private pointer to be passed to @callback
930
+ * @destroy: (allow-none): An optional callback to destroy @user_data when the
931
+ * @callback is removed or @onscreen is freed.
932
+ *
933
+ * Installs a @callback function that will be called whenever the
934
+ * window system has lost the contents of a region of the onscreen
935
+ * buffer and the application should redraw it to repair the buffer.
936
+ * For example this may happen in a window system without a compositor
937
+ * if a window that was previously covering up the onscreen window has
938
+ * been moved causing a region of the onscreen to be exposed.
939
+ *
940
+ * The @callback will be passed a #CoglOnscreenDirtyInfo struct which
941
+ * decribes a rectangle containing the newly dirtied region. Note that
942
+ * this may be called multiple times to describe a non-rectangular
943
+ * region composed of multiple smaller rectangles.
944
+ *
945
+ * The dirty events are separate from %COGL_FRAME_EVENT_SYNC events so
946
+ * the application should also listen for this event before rendering
947
+ * the dirty region to ensure that the framebuffer is actually ready
948
+ * for rendering.
949
+ *
950
+ * Return value: a #CoglOnscreenDirtyClosure pointer that can be used to
951
+ * remove the callback and associated @user_data later.
952
+ * Since: 1.16
953
+ * Stability: unstable
954
+ */
955
+ CoglOnscreenDirtyClosure *
956
+ cogl_onscreen_add_dirty_callback (CoglOnscreen *onscreen,
957
+ CoglOnscreenDirtyCallback callback,
958
+ void *user_data,
959
+ CoglUserDataDestroyCallback destroy);
960
+
961
+ /**
962
+ * cogl_onscreen_remove_dirty_callback:
963
+ * @onscreen: A #CoglOnscreen
964
+ * @closure: A #CoglOnscreenDirtyClosure returned from
965
+ * cogl_onscreen_add_dirty_callback()
966
+ *
967
+ * Removes a callback and associated user data that were previously
968
+ * registered using cogl_onscreen_add_dirty_callback().
969
+ *
970
+ * If a destroy callback was passed to
971
+ * cogl_onscreen_add_dirty_callback() to destroy the user data then
972
+ * this will also get called.
973
+ *
974
+ * Since: 1.16
975
+ * Stability: unstable
976
+ */
977
+ void
978
+ cogl_onscreen_remove_dirty_callback (CoglOnscreen *onscreen,
979
+ CoglOnscreenDirtyClosure *closure);
980
+
981
+ /**
982
+ * cogl_is_onscreen:
983
+ * @object: A #CoglObject pointer
984
+ *
985
+ * Gets whether the given object references a #CoglOnscreen.
986
+ *
987
+ * Return value: %TRUE if the object references a #CoglOnscreen
988
+ * and %FALSE otherwise.
989
+ * Since: 1.10
990
+ * Stability: unstable
991
+ */
992
+ CoglBool
993
+ cogl_is_onscreen (void *object);
994
+
995
+ /**
996
+ * cogl_onscreen_get_frame_counter:
997
+ *
998
+ * Gets the value of the framebuffers frame counter. This is
999
+ * a counter that increases by one each time
1000
+ * cogl_onscreen_swap_buffers() or cogl_onscreen_swap_region()
1001
+ * is called.
1002
+ *
1003
+ * Return value: the current frame counter value
1004
+ * Since: 1.14
1005
+ * Stability: unstable
1006
+ */
1007
+ int64_t
1008
+ cogl_onscreen_get_frame_counter (CoglOnscreen *onscreen);
1009
+
1010
+ COGL_END_DECLS
1011
+
1012
+ #endif /* __COGL_ONSCREEN_H */