clutter 2.0.0-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (656) hide show
  1. data/Rakefile +129 -0
  2. data/lib/clutter.rb +145 -0
  3. data/lib/clutter/actor-iter.rb +33 -0
  4. data/lib/clutter/actor.rb +34 -0
  5. data/lib/clutter/animatable.rb +26 -0
  6. data/lib/clutter/cairo.rb +24 -0
  7. data/lib/clutter/color.rb +55 -0
  8. data/lib/clutter/event.rb +21 -0
  9. data/lib/clutter/point.rb +25 -0
  10. data/lib/clutter/text.rb +23 -0
  11. data/lib/clutter/threads.rb +38 -0
  12. data/sample/basic-actor.rb +125 -0
  13. data/sample/bin-layout.rb +215 -0
  14. data/sample/box-layout.rb +196 -0
  15. data/sample/canvas.rb +117 -0
  16. data/sample/constraints.rb +81 -0
  17. data/sample/drag-action.rb +177 -0
  18. data/sample/drop-action.rb +198 -0
  19. data/sample/easing-modes.rb +145 -0
  20. data/sample/flow-layout.rb +121 -0
  21. data/sample/grid-layout.rb +239 -0
  22. data/sample/image-content.rb +88 -0
  23. data/sample/pan-action.rb +100 -0
  24. data/sample/redhand.png +0 -0
  25. data/sample/rounded-rectangle.rb +90 -0
  26. data/sample/scroll-actor.rb +105 -0
  27. data/test/clutter-test-utils.rb +21 -0
  28. data/test/run-test.rb +50 -0
  29. data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
  30. data/vendor/local/bin/libcogl-12.dll +0 -0
  31. data/vendor/local/bin/libcogl-pango-12.dll +0 -0
  32. data/vendor/local/bin/libglut-0.dll +0 -0
  33. data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
  34. data/vendor/local/include/GL/freeglut.h +22 -0
  35. data/vendor/local/include/GL/freeglut_ext.h +239 -0
  36. data/vendor/local/include/GL/freeglut_std.h +636 -0
  37. data/vendor/local/include/GL/glut.h +21 -0
  38. data/vendor/local/include/clutter-1.0/cally/cally-actor.h +155 -0
  39. data/vendor/local/include/clutter-1.0/cally/cally-clone.h +82 -0
  40. data/vendor/local/include/clutter-1.0/cally/cally-factory.h +117 -0
  41. data/vendor/local/include/clutter-1.0/cally/cally-group.h +85 -0
  42. data/vendor/local/include/clutter-1.0/cally/cally-main.h +39 -0
  43. data/vendor/local/include/clutter-1.0/cally/cally-rectangle.h +82 -0
  44. data/vendor/local/include/clutter-1.0/cally/cally-root.h +82 -0
  45. data/vendor/local/include/clutter-1.0/cally/cally-stage.h +82 -0
  46. data/vendor/local/include/clutter-1.0/cally/cally-text.h +82 -0
  47. data/vendor/local/include/clutter-1.0/cally/cally-texture.h +82 -0
  48. data/vendor/local/include/clutter-1.0/cally/cally-util.h +80 -0
  49. data/vendor/local/include/clutter-1.0/cally/cally.h +40 -0
  50. data/vendor/local/include/clutter-1.0/clutter/clutter-action.h +103 -0
  51. data/vendor/local/include/clutter-1.0/clutter/clutter-actor-meta.h +113 -0
  52. data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +735 -0
  53. data/vendor/local/include/clutter-1.0/clutter/clutter-align-constraint.h +69 -0
  54. data/vendor/local/include/clutter-1.0/clutter/clutter-animatable.h +116 -0
  55. data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +74 -0
  56. data/vendor/local/include/clutter-1.0/clutter/clutter-bin-layout.h +84 -0
  57. data/vendor/local/include/clutter-1.0/clutter/clutter-bind-constraint.h +69 -0
  58. data/vendor/local/include/clutter-1.0/clutter/clutter-binding-pool.h +122 -0
  59. data/vendor/local/include/clutter-1.0/clutter/clutter-blur-effect.h +57 -0
  60. data/vendor/local/include/clutter-1.0/clutter/clutter-box-layout.h +159 -0
  61. data/vendor/local/include/clutter-1.0/clutter/clutter-brightness-contrast-effect.h +80 -0
  62. data/vendor/local/include/clutter-1.0/clutter/clutter-cairo.h +59 -0
  63. data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +100 -0
  64. data/vendor/local/include/clutter-1.0/clutter/clutter-child-meta.h +120 -0
  65. data/vendor/local/include/clutter-1.0/clutter/clutter-click-action.h +114 -0
  66. data/vendor/local/include/clutter-1.0/clutter/clutter-clone.h +90 -0
  67. data/vendor/local/include/clutter-1.0/clutter/clutter-cogl-compat.h +52 -0
  68. data/vendor/local/include/clutter-1.0/clutter/clutter-color-static.h +79 -0
  69. data/vendor/local/include/clutter-1.0/clutter/clutter-color.h +175 -0
  70. data/vendor/local/include/clutter-1.0/clutter/clutter-colorize-effect.h +63 -0
  71. data/vendor/local/include/clutter-1.0/clutter/clutter-config.h +19 -0
  72. data/vendor/local/include/clutter-1.0/clutter/clutter-constraint.h +108 -0
  73. data/vendor/local/include/clutter-1.0/clutter/clutter-container.h +184 -0
  74. data/vendor/local/include/clutter-1.0/clutter/clutter-content.h +103 -0
  75. data/vendor/local/include/clutter-1.0/clutter/clutter-deform-effect.h +111 -0
  76. data/vendor/local/include/clutter-1.0/clutter/clutter-deprecated.h +43 -0
  77. data/vendor/local/include/clutter-1.0/clutter/clutter-desaturate-effect.h +61 -0
  78. data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +104 -0
  79. data/vendor/local/include/clutter-1.0/clutter/clutter-drag-action.h +142 -0
  80. data/vendor/local/include/clutter-1.0/clutter/clutter-drop-action.h +113 -0
  81. data/vendor/local/include/clutter-1.0/clutter/clutter-effect.h +120 -0
  82. data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +183 -0
  83. data/vendor/local/include/clutter-1.0/clutter/clutter-enums.h +1362 -0
  84. data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +509 -0
  85. data/vendor/local/include/clutter-1.0/clutter/clutter-feature.h +40 -0
  86. data/vendor/local/include/clutter-1.0/clutter/clutter-fixed-layout.h +80 -0
  87. data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +110 -0
  88. data/vendor/local/include/clutter-1.0/clutter/clutter-gesture-action.h +154 -0
  89. data/vendor/local/include/clutter-1.0/clutter/clutter-grid-layout.h +161 -0
  90. data/vendor/local/include/clutter-1.0/clutter/clutter-group.h +95 -0
  91. data/vendor/local/include/clutter-1.0/clutter/clutter-image.h +141 -0
  92. data/vendor/local/include/clutter-1.0/clutter/clutter-input-device.h +118 -0
  93. data/vendor/local/include/clutter-1.0/clutter/clutter-interval.h +141 -0
  94. data/vendor/local/include/clutter-1.0/clutter/clutter-keyframe-transition.h +120 -0
  95. data/vendor/local/include/clutter-1.0/clutter/clutter-keysyms.h +2304 -0
  96. data/vendor/local/include/clutter-1.0/clutter/clutter-layout-manager.h +215 -0
  97. data/vendor/local/include/clutter-1.0/clutter/clutter-layout-meta.h +101 -0
  98. data/vendor/local/include/clutter-1.0/clutter/clutter-list-model.h +88 -0
  99. data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +279 -0
  100. data/vendor/local/include/clutter-1.0/clutter/clutter-main.h +148 -0
  101. data/vendor/local/include/clutter-1.0/clutter/clutter-marshal.h +273 -0
  102. data/vendor/local/include/clutter-1.0/clutter/clutter-model.h +381 -0
  103. data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +112 -0
  104. data/vendor/local/include/clutter-1.0/clutter/clutter-page-turn-effect.h +72 -0
  105. data/vendor/local/include/clutter-1.0/clutter/clutter-paint-node.h +102 -0
  106. data/vendor/local/include/clutter-1.0/clutter/clutter-paint-nodes.h +150 -0
  107. data/vendor/local/include/clutter-1.0/clutter/clutter-pan-action.h +147 -0
  108. data/vendor/local/include/clutter-1.0/clutter/clutter-path-constraint.h +66 -0
  109. data/vendor/local/include/clutter-1.0/clutter/clutter-path.h +155 -0
  110. data/vendor/local/include/clutter-1.0/clutter/clutter-property-transition.h +91 -0
  111. data/vendor/local/include/clutter-1.0/clutter/clutter-rotate-action.h +100 -0
  112. data/vendor/local/include/clutter-1.0/clutter/clutter-script.h +204 -0
  113. data/vendor/local/include/clutter-1.0/clutter/clutter-scriptable.h +107 -0
  114. data/vendor/local/include/clutter-1.0/clutter/clutter-scroll-actor.h +97 -0
  115. data/vendor/local/include/clutter-1.0/clutter/clutter-settings.h +25 -0
  116. data/vendor/local/include/clutter-1.0/clutter/clutter-shader-effect.h +114 -0
  117. data/vendor/local/include/clutter-1.0/clutter/clutter-shader-types.h +95 -0
  118. data/vendor/local/include/clutter-1.0/clutter/clutter-snap-constraint.h +73 -0
  119. data/vendor/local/include/clutter-1.0/clutter/clutter-stage-manager.h +81 -0
  120. data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +215 -0
  121. data/vendor/local/include/clutter-1.0/clutter/clutter-swipe-action.h +107 -0
  122. data/vendor/local/include/clutter-1.0/clutter/clutter-table-layout.h +157 -0
  123. data/vendor/local/include/clutter-1.0/clutter/clutter-tap-action.h +102 -0
  124. data/vendor/local/include/clutter-1.0/clutter/clutter-text-buffer.h +172 -0
  125. data/vendor/local/include/clutter-1.0/clutter/clutter-text.h +237 -0
  126. data/vendor/local/include/clutter-1.0/clutter/clutter-texture.h +128 -0
  127. data/vendor/local/include/clutter-1.0/clutter/clutter-timeline.h +201 -0
  128. data/vendor/local/include/clutter-1.0/clutter/clutter-transition-group.h +91 -0
  129. data/vendor/local/include/clutter-1.0/clutter/clutter-transition.h +132 -0
  130. data/vendor/local/include/clutter-1.0/clutter/clutter-types.h +715 -0
  131. data/vendor/local/include/clutter-1.0/clutter/clutter-units.h +166 -0
  132. data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +302 -0
  133. data/vendor/local/include/clutter-1.0/clutter/clutter-zoom-action.h +114 -0
  134. data/vendor/local/include/clutter-1.0/clutter/clutter.h +118 -0
  135. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-actor.h +161 -0
  136. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-alpha.h +144 -0
  137. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animatable.h +47 -0
  138. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animation.h +206 -0
  139. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animator.h +186 -0
  140. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-backend.h +64 -0
  141. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-depth.h +101 -0
  142. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-ellipse.h +159 -0
  143. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-opacity.h +115 -0
  144. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-path.h +135 -0
  145. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-rotate.h +119 -0
  146. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-scale.h +107 -0
  147. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour.h +170 -0
  148. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-bin-layout.h +56 -0
  149. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-box.h +143 -0
  150. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-cairo-texture.h +139 -0
  151. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-container.h +93 -0
  152. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-fixed.h +97 -0
  153. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-frame-source.h +49 -0
  154. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-group.h +62 -0
  155. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-input-device.h +41 -0
  156. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-keysyms.h +2306 -0
  157. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-main.h +96 -0
  158. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-media.h +121 -0
  159. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-rectangle.h +117 -0
  160. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-score.h +144 -0
  161. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-shader.h +182 -0
  162. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-stage-manager.h +42 -0
  163. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-stage.h +102 -0
  164. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-state.h +187 -0
  165. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-texture.h +138 -0
  166. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeline.h +41 -0
  167. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeout-pool.h +69 -0
  168. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-util.h +40 -0
  169. data/vendor/local/include/clutter-1.0/clutter/win32/clutter-win32.h +58 -0
  170. data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +245 -0
  171. data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +131 -0
  172. data/vendor/local/include/cogl/cogl/cogl-attribute.h +532 -0
  173. data/vendor/local/include/cogl/cogl/cogl-bitmap.h +314 -0
  174. data/vendor/local/include/cogl/cogl/cogl-buffer.h +309 -0
  175. data/vendor/local/include/cogl/cogl/cogl-clip-state.h +50 -0
  176. data/vendor/local/include/cogl/cogl/cogl-clutter.h +47 -0
  177. data/vendor/local/include/cogl/cogl/cogl-color.h +543 -0
  178. data/vendor/local/include/cogl/cogl/cogl-context.h +350 -0
  179. data/vendor/local/include/cogl/cogl/cogl-defines.h +50 -0
  180. data/vendor/local/include/cogl/cogl/cogl-deprecated.h +36 -0
  181. data/vendor/local/include/cogl/cogl/cogl-depth-state.h +264 -0
  182. data/vendor/local/include/cogl/cogl/cogl-display.h +192 -0
  183. data/vendor/local/include/cogl/cogl/cogl-enum-types.h +100 -0
  184. data/vendor/local/include/cogl/cogl/cogl-error.h +176 -0
  185. data/vendor/local/include/cogl/cogl/cogl-euler.h +251 -0
  186. data/vendor/local/include/cogl/cogl/cogl-fixed.h +804 -0
  187. data/vendor/local/include/cogl/cogl/cogl-frame-info.h +129 -0
  188. data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +1829 -0
  189. data/vendor/local/include/cogl/cogl/cogl-gles2-types.h +474 -0
  190. data/vendor/local/include/cogl/cogl/cogl-gles2.h +374 -0
  191. data/vendor/local/include/cogl/cogl/cogl-glib-source.h +59 -0
  192. data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +85 -0
  193. data/vendor/local/include/cogl/cogl/cogl-indices.h +145 -0
  194. data/vendor/local/include/cogl/cogl/cogl-material-compat.h +1276 -0
  195. data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +620 -0
  196. data/vendor/local/include/cogl/cogl/cogl-matrix.h +798 -0
  197. data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +181 -0
  198. data/vendor/local/include/cogl/cogl/cogl-object.h +219 -0
  199. data/vendor/local/include/cogl/cogl/cogl-offscreen.h +117 -0
  200. data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +106 -0
  201. data/vendor/local/include/cogl/cogl/cogl-onscreen.h +741 -0
  202. data/vendor/local/include/cogl/cogl/cogl-output.h +242 -0
  203. data/vendor/local/include/cogl/cogl/cogl-pango.h +33 -0
  204. data/vendor/local/include/cogl/cogl/cogl-path-functions.h +430 -0
  205. data/vendor/local/include/cogl/cogl/cogl-path.h +102 -0
  206. data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +613 -0
  207. data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +924 -0
  208. data/vendor/local/include/cogl/cogl/cogl-pipeline.h +173 -0
  209. data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +114 -0
  210. data/vendor/local/include/cogl/cogl/cogl-poll.h +174 -0
  211. data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +98 -0
  212. data/vendor/local/include/cogl/cogl/cogl-primitive.h +866 -0
  213. data/vendor/local/include/cogl/cogl/cogl-primitives.h +190 -0
  214. data/vendor/local/include/cogl/cogl/cogl-quaternion.h +545 -0
  215. data/vendor/local/include/cogl/cogl/cogl-renderer.h +423 -0
  216. data/vendor/local/include/cogl/cogl/cogl-shader.h +654 -0
  217. data/vendor/local/include/cogl/cogl/cogl-snippet.h +786 -0
  218. data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +122 -0
  219. data/vendor/local/include/cogl/cogl/cogl-swap-chain.h +51 -0
  220. data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +73 -0
  221. data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +130 -0
  222. data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +191 -0
  223. data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +187 -0
  224. data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +204 -0
  225. data/vendor/local/include/cogl/cogl/cogl-texture.h +611 -0
  226. data/vendor/local/include/cogl/cogl/cogl-types.h +912 -0
  227. data/vendor/local/include/cogl/cogl/cogl-vector.h +351 -0
  228. data/vendor/local/include/cogl/cogl/cogl-version.h +185 -0
  229. data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +409 -0
  230. data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +99 -0
  231. data/vendor/local/include/cogl/cogl/cogl.h +151 -0
  232. data/vendor/local/include/cogl/cogl/cogl1-context.h +1169 -0
  233. data/vendor/local/include/cogl/cogl/cogl2-compatibility.h +55 -0
  234. data/vendor/local/include/cogl/cogl/cogl2-experimental.h +31 -0
  235. data/vendor/local/include/cogl/cogl/cogl2-path.h +506 -0
  236. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-core-functions.h +191 -0
  237. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h +36 -0
  238. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h +279 -0
  239. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h +141 -0
  240. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h +179 -0
  241. data/vendor/local/include/json-glib-1.0/json-glib/json-builder.h +106 -0
  242. data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +36 -0
  243. data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +107 -0
  244. data/vendor/local/include/json-glib-1.0/json-glib/json-glib.h +46 -0
  245. data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +182 -0
  246. data/vendor/local/include/json-glib-1.0/json-glib/json-gvariant.h +46 -0
  247. data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +173 -0
  248. data/vendor/local/include/json-glib-1.0/json-glib/json-path.h +97 -0
  249. data/vendor/local/include/json-glib-1.0/json-glib/json-reader.h +150 -0
  250. data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +334 -0
  251. data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +100 -0
  252. data/vendor/local/lib/girepository-1.0/Cally-1.0.typelib +0 -0
  253. data/vendor/local/lib/girepository-1.0/Clutter-1.0.typelib +0 -0
  254. data/vendor/local/lib/girepository-1.0/Cogl-1.0.typelib +0 -0
  255. data/vendor/local/lib/girepository-1.0/CoglPango-1.0.typelib +0 -0
  256. data/vendor/local/lib/girepository-1.0/Json-1.0.typelib +0 -0
  257. data/vendor/local/lib/libclutter-1.0.dll.a +0 -0
  258. data/vendor/local/lib/libclutter-1.0.la +41 -0
  259. data/vendor/local/lib/libcogl-pango.dll.a +0 -0
  260. data/vendor/local/lib/libcogl-pango.la +41 -0
  261. data/vendor/local/lib/libcogl.dll.a +0 -0
  262. data/vendor/local/lib/libcogl.la +41 -0
  263. data/vendor/local/lib/libglut.a +0 -0
  264. data/vendor/local/lib/libglut.dll.a +0 -0
  265. data/vendor/local/lib/libglut.la +41 -0
  266. data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
  267. data/vendor/local/lib/libjson-glib-1.0.la +41 -0
  268. data/vendor/local/lib/pkgconfig/cally-1.0.pc +13 -0
  269. data/vendor/local/lib/pkgconfig/clutter-1.0.pc +24 -0
  270. data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +24 -0
  271. data/vendor/local/lib/pkgconfig/cogl-1.0.pc +13 -0
  272. data/vendor/local/lib/pkgconfig/cogl-2.0-experimental.pc +13 -0
  273. data/vendor/local/lib/pkgconfig/cogl-gl-1.0.pc +13 -0
  274. data/vendor/local/lib/pkgconfig/cogl-pango-1.0.pc +13 -0
  275. data/vendor/local/lib/pkgconfig/cogl-pango-2.0-experimental.pc +13 -0
  276. data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +11 -0
  277. data/vendor/local/share/cogl/examples-data/crate.jpg +0 -0
  278. data/vendor/local/share/gir-1.0/Cally-1.0.gir +679 -0
  279. data/vendor/local/share/gir-1.0/Clutter-1.0.gir +67473 -0
  280. data/vendor/local/share/gir-1.0/Cogl-1.0.gir +8383 -0
  281. data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +306 -0
  282. data/vendor/local/share/gir-1.0/Json-1.0.gir +4333 -0
  283. data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +415 -0
  284. data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +136 -0
  285. data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +139 -0
  286. data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +135 -0
  287. data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +123 -0
  288. data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +140 -0
  289. data/vendor/local/share/gtk-doc/html/cally/CallyText.html +133 -0
  290. data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +135 -0
  291. data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +100 -0
  292. data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +167 -0
  293. data/vendor/local/share/gtk-doc/html/cally/cally.devhelp2 +73 -0
  294. data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +43 -0
  295. data/vendor/local/share/gtk-doc/html/cally/callybase.html +71 -0
  296. data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +45 -0
  297. data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +64 -0
  298. data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +39 -0
  299. data/vendor/local/share/gtk-doc/html/cally/ch01.html +53 -0
  300. data/vendor/local/share/gtk-doc/html/cally/ch02.html +41 -0
  301. data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +96 -0
  302. data/vendor/local/share/gtk-doc/html/cally/home.png +0 -0
  303. data/vendor/local/share/gtk-doc/html/cally/index.html +103 -0
  304. data/vendor/local/share/gtk-doc/html/cally/index.sgml +103 -0
  305. data/vendor/local/share/gtk-doc/html/cally/ix01.html +198 -0
  306. data/vendor/local/share/gtk-doc/html/cally/ix02.html +31 -0
  307. data/vendor/local/share/gtk-doc/html/cally/ix03.html +190 -0
  308. data/vendor/local/share/gtk-doc/html/cally/ix04.html +42 -0
  309. data/vendor/local/share/gtk-doc/html/cally/left.png +0 -0
  310. data/vendor/local/share/gtk-doc/html/cally/license.html +58 -0
  311. data/vendor/local/share/gtk-doc/html/cally/right.png +0 -0
  312. data/vendor/local/share/gtk-doc/html/cally/style.css +266 -0
  313. data/vendor/local/share/gtk-doc/html/cally/up.png +0 -0
  314. data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +110 -0
  315. data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +13714 -0
  316. data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +322 -0
  317. data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +404 -0
  318. data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +747 -0
  319. data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +432 -0
  320. data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +1218 -0
  321. data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +684 -0
  322. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +697 -0
  323. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +278 -0
  324. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +844 -0
  325. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +283 -0
  326. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +450 -0
  327. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +608 -0
  328. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +432 -0
  329. data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +1056 -0
  330. data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +780 -0
  331. data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +109 -0
  332. data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +657 -0
  333. data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1232 -0
  334. data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +410 -0
  335. data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +1018 -0
  336. data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +469 -0
  337. data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +253 -0
  338. data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +587 -0
  339. data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +219 -0
  340. data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +193 -0
  341. data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +336 -0
  342. data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1346 -0
  343. data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +309 -0
  344. data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +353 -0
  345. data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +200 -0
  346. data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +408 -0
  347. data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +1224 -0
  348. data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +965 -0
  349. data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +386 -0
  350. data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +115 -0
  351. data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +1016 -0
  352. data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +867 -0
  353. data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +808 -0
  354. data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +231 -0
  355. data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +674 -0
  356. data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1488 -0
  357. data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +525 -0
  358. data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +1376 -0
  359. data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +161 -0
  360. data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +211 -0
  361. data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +900 -0
  362. data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +1715 -0
  363. data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +644 -0
  364. data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +350 -0
  365. data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +333 -0
  366. data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +534 -0
  367. data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +785 -0
  368. data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1327 -0
  369. data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +321 -0
  370. data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +216 -0
  371. data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +369 -0
  372. data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +183 -0
  373. data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +881 -0
  374. data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +1365 -0
  375. data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +311 -0
  376. data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +731 -0
  377. data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +301 -0
  378. data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +595 -0
  379. data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +421 -0
  380. data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +2252 -0
  381. data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1558 -0
  382. data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +280 -0
  383. data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +1146 -0
  384. data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +192 -0
  385. data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +3058 -0
  386. data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +736 -0
  387. data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +1829 -0
  388. data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +2441 -0
  389. data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +574 -0
  390. data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +227 -0
  391. data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +400 -0
  392. data/vendor/local/share/gtk-doc/html/clutter/actor-box.png +0 -0
  393. data/vendor/local/share/gtk-doc/html/clutter/actor-example.png +0 -0
  394. data/vendor/local/share/gtk-doc/html/clutter/animator-key-frames.png +0 -0
  395. data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +111 -0
  396. data/vendor/local/share/gtk-doc/html/clutter/bin-layout.png +0 -0
  397. data/vendor/local/share/gtk-doc/html/clutter/box-layout.png +0 -0
  398. data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +275 -0
  399. data/vendor/local/share/gtk-doc/html/clutter/ch01.html +65 -0
  400. data/vendor/local/share/gtk-doc/html/clutter/ch02.html +47 -0
  401. data/vendor/local/share/gtk-doc/html/clutter/ch03.html +51 -0
  402. data/vendor/local/share/gtk-doc/html/clutter/ch04.html +59 -0
  403. data/vendor/local/share/gtk-doc/html/clutter/ch05.html +44 -0
  404. data/vendor/local/share/gtk-doc/html/clutter/ch06.html +57 -0
  405. data/vendor/local/share/gtk-doc/html/clutter/ch07.html +38 -0
  406. data/vendor/local/share/gtk-doc/html/clutter/ch08.html +38 -0
  407. data/vendor/local/share/gtk-doc/html/clutter/ch09.html +53 -0
  408. data/vendor/local/share/gtk-doc/html/clutter/ch10.html +78 -0
  409. data/vendor/local/share/gtk-doc/html/clutter/ch11.html +38 -0
  410. data/vendor/local/share/gtk-doc/html/clutter/ch12.html +41 -0
  411. data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +3471 -0
  412. data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +225 -0
  413. data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +314 -0
  414. data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +361 -0
  415. data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1363 -0
  416. data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +129 -0
  417. data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +2653 -0
  418. data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +200 -0
  419. data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +249 -0
  420. data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +2550 -0
  421. data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +2571 -0
  422. data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +181 -0
  423. data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +890 -0
  424. data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +351 -0
  425. data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +1004 -0
  426. data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +341 -0
  427. data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +843 -0
  428. data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +549 -0
  429. data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +1023 -0
  430. data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +525 -0
  431. data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +83 -0
  432. data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +201 -0
  433. data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +806 -0
  434. data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +77 -0
  435. data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +2715 -0
  436. data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +65 -0
  437. data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +71 -0
  438. data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +202 -0
  439. data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +37 -0
  440. data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +118 -0
  441. data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +184 -0
  442. data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +37 -0
  443. data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +105 -0
  444. data/vendor/local/share/gtk-doc/html/clutter/constraints-example.png +0 -0
  445. data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +86 -0
  446. data/vendor/local/share/gtk-doc/html/clutter/easing-modes.png +0 -0
  447. data/vendor/local/share/gtk-doc/html/clutter/event-flow.png +0 -0
  448. data/vendor/local/share/gtk-doc/html/clutter/flow-layout.png +0 -0
  449. data/vendor/local/share/gtk-doc/html/clutter/go01.html +114 -0
  450. data/vendor/local/share/gtk-doc/html/clutter/home.png +0 -0
  451. data/vendor/local/share/gtk-doc/html/clutter/index.html +451 -0
  452. data/vendor/local/share/gtk-doc/html/clutter/index.sgml +3272 -0
  453. data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +56 -0
  454. data/vendor/local/share/gtk-doc/html/clutter/ix01.html +8815 -0
  455. data/vendor/local/share/gtk-doc/html/clutter/ix02.html +1961 -0
  456. data/vendor/local/share/gtk-doc/html/clutter/ix03.html +454 -0
  457. data/vendor/local/share/gtk-doc/html/clutter/ix04.html +583 -0
  458. data/vendor/local/share/gtk-doc/html/clutter/ix05.html +957 -0
  459. data/vendor/local/share/gtk-doc/html/clutter/ix06.html +642 -0
  460. data/vendor/local/share/gtk-doc/html/clutter/ix07.html +1530 -0
  461. data/vendor/local/share/gtk-doc/html/clutter/ix08.html +820 -0
  462. data/vendor/local/share/gtk-doc/html/clutter/ix09.html +1005 -0
  463. data/vendor/local/share/gtk-doc/html/clutter/ix10.html +369 -0
  464. data/vendor/local/share/gtk-doc/html/clutter/ix11.html +366 -0
  465. data/vendor/local/share/gtk-doc/html/clutter/ix12.html +1078 -0
  466. data/vendor/local/share/gtk-doc/html/clutter/ix13.html +984 -0
  467. data/vendor/local/share/gtk-doc/html/clutter/ix14.html +99 -0
  468. data/vendor/local/share/gtk-doc/html/clutter/left.png +0 -0
  469. data/vendor/local/share/gtk-doc/html/clutter/license.html +58 -0
  470. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +223 -0
  471. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +197 -0
  472. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +154 -0
  473. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +156 -0
  474. data/vendor/local/share/gtk-doc/html/clutter/migration.html +49 -0
  475. data/vendor/local/share/gtk-doc/html/clutter/offscreen-redirect.png +0 -0
  476. data/vendor/local/share/gtk-doc/html/clutter/path-alpha-func.png +0 -0
  477. data/vendor/local/share/gtk-doc/html/clutter/pt09.html +31 -0
  478. data/vendor/local/share/gtk-doc/html/clutter/right.png +0 -0
  479. data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +373 -0
  480. data/vendor/local/share/gtk-doc/html/clutter/style.css +266 -0
  481. data/vendor/local/share/gtk-doc/html/clutter/table-layout.png +0 -0
  482. data/vendor/local/share/gtk-doc/html/clutter/up.png +0 -0
  483. data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +36 -0
  484. data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +513 -0
  485. data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +492 -0
  486. data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +871 -0
  487. data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +464 -0
  488. data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +898 -0
  489. data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +87 -0
  490. data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +41 -0
  491. data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +41 -0
  492. data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +38 -0
  493. data/vendor/local/share/gtk-doc/html/json-glib/ch04.html +38 -0
  494. data/vendor/local/share/gtk-doc/html/json-glib/home.png +0 -0
  495. data/vendor/local/share/gtk-doc/html/json-glib/index.html +125 -0
  496. data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +308 -0
  497. data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +926 -0
  498. data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +54 -0
  499. data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +61 -0
  500. data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +54 -0
  501. data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +186 -0
  502. data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +121 -0
  503. data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +161 -0
  504. data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +137 -0
  505. data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +47 -0
  506. data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +61 -0
  507. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +382 -0
  508. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +310 -0
  509. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +850 -0
  510. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +272 -0
  511. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +942 -0
  512. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +993 -0
  513. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +476 -0
  514. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +148 -0
  515. data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +281 -0
  516. data/vendor/local/share/gtk-doc/html/json-glib/json-glib.html +38 -0
  517. data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +63 -0
  518. data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +39 -0
  519. data/vendor/local/share/gtk-doc/html/json-glib/left.png +0 -0
  520. data/vendor/local/share/gtk-doc/html/json-glib/license.html +58 -0
  521. data/vendor/local/share/gtk-doc/html/json-glib/right.png +0 -0
  522. data/vendor/local/share/gtk-doc/html/json-glib/style.css +266 -0
  523. data/vendor/local/share/gtk-doc/html/json-glib/up.png +0 -0
  524. data/vendor/local/share/license/clutter/COPYING +502 -0
  525. data/vendor/local/share/license/cogl/COPYING +502 -0
  526. data/vendor/local/share/license/freeglut/AUTHORS +39 -0
  527. data/vendor/local/share/license/freeglut/COPYING +27 -0
  528. data/vendor/local/share/license/json-glib/COPYING +504 -0
  529. data/vendor/local/share/locale/an/LC_MESSAGES/cogl.mo +0 -0
  530. data/vendor/local/share/locale/ar/LC_MESSAGES/clutter-1.0.mo +0 -0
  531. data/vendor/local/share/locale/ar/LC_MESSAGES/cogl.mo +0 -0
  532. data/vendor/local/share/locale/as/LC_MESSAGES/clutter-1.0.mo +0 -0
  533. data/vendor/local/share/locale/as/LC_MESSAGES/cogl.mo +0 -0
  534. data/vendor/local/share/locale/ast/LC_MESSAGES/clutter-1.0.mo +0 -0
  535. data/vendor/local/share/locale/ast/LC_MESSAGES/cogl.mo +0 -0
  536. data/vendor/local/share/locale/az_IR/LC_MESSAGES/clutter-1.0.mo +0 -0
  537. data/vendor/local/share/locale/be/LC_MESSAGES/clutter-1.0.mo +0 -0
  538. data/vendor/local/share/locale/be/LC_MESSAGES/cogl.mo +0 -0
  539. data/vendor/local/share/locale/bg/LC_MESSAGES/clutter-1.0.mo +0 -0
  540. data/vendor/local/share/locale/bg/LC_MESSAGES/cogl.mo +0 -0
  541. data/vendor/local/share/locale/ca/LC_MESSAGES/clutter-1.0.mo +0 -0
  542. data/vendor/local/share/locale/ca/LC_MESSAGES/cogl.mo +0 -0
  543. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/clutter-1.0.mo +0 -0
  544. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/cogl.mo +0 -0
  545. data/vendor/local/share/locale/cs/LC_MESSAGES/clutter-1.0.mo +0 -0
  546. data/vendor/local/share/locale/cs/LC_MESSAGES/cogl.mo +0 -0
  547. data/vendor/local/share/locale/cs/LC_MESSAGES/json-glib-1.0.mo +0 -0
  548. data/vendor/local/share/locale/da/LC_MESSAGES/clutter-1.0.mo +0 -0
  549. data/vendor/local/share/locale/da/LC_MESSAGES/cogl.mo +0 -0
  550. data/vendor/local/share/locale/de/LC_MESSAGES/clutter-1.0.mo +0 -0
  551. data/vendor/local/share/locale/de/LC_MESSAGES/cogl.mo +0 -0
  552. data/vendor/local/share/locale/de/LC_MESSAGES/json-glib-1.0.mo +0 -0
  553. data/vendor/local/share/locale/el/LC_MESSAGES/clutter-1.0.mo +0 -0
  554. data/vendor/local/share/locale/el/LC_MESSAGES/cogl.mo +0 -0
  555. data/vendor/local/share/locale/el/LC_MESSAGES/json-glib-1.0.mo +0 -0
  556. data/vendor/local/share/locale/en_CA/LC_MESSAGES/cogl.mo +0 -0
  557. data/vendor/local/share/locale/en_GB/LC_MESSAGES/clutter-1.0.mo +0 -0
  558. data/vendor/local/share/locale/en_GB/LC_MESSAGES/cogl.mo +0 -0
  559. data/vendor/local/share/locale/eo/LC_MESSAGES/clutter-1.0.mo +0 -0
  560. data/vendor/local/share/locale/eo/LC_MESSAGES/cogl.mo +0 -0
  561. data/vendor/local/share/locale/es/LC_MESSAGES/clutter-1.0.mo +0 -0
  562. data/vendor/local/share/locale/es/LC_MESSAGES/cogl.mo +0 -0
  563. data/vendor/local/share/locale/es/LC_MESSAGES/json-glib-1.0.mo +0 -0
  564. data/vendor/local/share/locale/eu/LC_MESSAGES/cogl.mo +0 -0
  565. data/vendor/local/share/locale/fa/LC_MESSAGES/clutter-1.0.mo +0 -0
  566. data/vendor/local/share/locale/fa/LC_MESSAGES/cogl.mo +0 -0
  567. data/vendor/local/share/locale/fi/LC_MESSAGES/clutter-1.0.mo +0 -0
  568. data/vendor/local/share/locale/fr/LC_MESSAGES/clutter-1.0.mo +0 -0
  569. data/vendor/local/share/locale/fr/LC_MESSAGES/cogl.mo +0 -0
  570. data/vendor/local/share/locale/gl/LC_MESSAGES/clutter-1.0.mo +0 -0
  571. data/vendor/local/share/locale/gl/LC_MESSAGES/cogl.mo +0 -0
  572. data/vendor/local/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  573. data/vendor/local/share/locale/he/LC_MESSAGES/clutter-1.0.mo +0 -0
  574. data/vendor/local/share/locale/he/LC_MESSAGES/cogl.mo +0 -0
  575. data/vendor/local/share/locale/hi/LC_MESSAGES/clutter-1.0.mo +0 -0
  576. data/vendor/local/share/locale/hi/LC_MESSAGES/cogl.mo +0 -0
  577. data/vendor/local/share/locale/hu/LC_MESSAGES/cogl.mo +0 -0
  578. data/vendor/local/share/locale/id/LC_MESSAGES/clutter-1.0.mo +0 -0
  579. data/vendor/local/share/locale/id/LC_MESSAGES/cogl.mo +0 -0
  580. data/vendor/local/share/locale/id/LC_MESSAGES/json-glib-1.0.mo +0 -0
  581. data/vendor/local/share/locale/it/LC_MESSAGES/clutter-1.0.mo +0 -0
  582. data/vendor/local/share/locale/it/LC_MESSAGES/cogl.mo +0 -0
  583. data/vendor/local/share/locale/it/LC_MESSAGES/json-glib-1.0.mo +0 -0
  584. data/vendor/local/share/locale/ja/LC_MESSAGES/clutter-1.0.mo +0 -0
  585. data/vendor/local/share/locale/ja/LC_MESSAGES/cogl.mo +0 -0
  586. data/vendor/local/share/locale/km/LC_MESSAGES/clutter-1.0.mo +0 -0
  587. data/vendor/local/share/locale/km/LC_MESSAGES/cogl.mo +0 -0
  588. data/vendor/local/share/locale/kn/LC_MESSAGES/clutter-1.0.mo +0 -0
  589. data/vendor/local/share/locale/kn/LC_MESSAGES/cogl.mo +0 -0
  590. data/vendor/local/share/locale/ko/LC_MESSAGES/cogl.mo +0 -0
  591. data/vendor/local/share/locale/lt/LC_MESSAGES/clutter-1.0.mo +0 -0
  592. data/vendor/local/share/locale/lt/LC_MESSAGES/cogl.mo +0 -0
  593. data/vendor/local/share/locale/lv/LC_MESSAGES/clutter-1.0.mo +0 -0
  594. data/vendor/local/share/locale/lv/LC_MESSAGES/cogl.mo +0 -0
  595. data/vendor/local/share/locale/mk/LC_MESSAGES/clutter-1.0.mo +0 -0
  596. data/vendor/local/share/locale/ml/LC_MESSAGES/clutter-1.0.mo +0 -0
  597. data/vendor/local/share/locale/ml/LC_MESSAGES/cogl.mo +0 -0
  598. data/vendor/local/share/locale/nb/LC_MESSAGES/clutter-1.0.mo +0 -0
  599. data/vendor/local/share/locale/nb/LC_MESSAGES/cogl.mo +0 -0
  600. data/vendor/local/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo +0 -0
  601. data/vendor/local/share/locale/nl/LC_MESSAGES/clutter-1.0.mo +0 -0
  602. data/vendor/local/share/locale/nl/LC_MESSAGES/cogl.mo +0 -0
  603. data/vendor/local/share/locale/or/LC_MESSAGES/clutter-1.0.mo +0 -0
  604. data/vendor/local/share/locale/or/LC_MESSAGES/cogl.mo +0 -0
  605. data/vendor/local/share/locale/pa/LC_MESSAGES/clutter-1.0.mo +0 -0
  606. data/vendor/local/share/locale/pa/LC_MESSAGES/cogl.mo +0 -0
  607. data/vendor/local/share/locale/pa/LC_MESSAGES/json-glib-1.0.mo +0 -0
  608. data/vendor/local/share/locale/pl/LC_MESSAGES/clutter-1.0.mo +0 -0
  609. data/vendor/local/share/locale/pl/LC_MESSAGES/cogl.mo +0 -0
  610. data/vendor/local/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  611. data/vendor/local/share/locale/ps/LC_MESSAGES/clutter-1.0.mo +0 -0
  612. data/vendor/local/share/locale/pt/LC_MESSAGES/clutter-1.0.mo +0 -0
  613. data/vendor/local/share/locale/pt/LC_MESSAGES/cogl.mo +0 -0
  614. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/clutter-1.0.mo +0 -0
  615. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/cogl.mo +0 -0
  616. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo +0 -0
  617. data/vendor/local/share/locale/ro/LC_MESSAGES/clutter-1.0.mo +0 -0
  618. data/vendor/local/share/locale/ru/LC_MESSAGES/clutter-1.0.mo +0 -0
  619. data/vendor/local/share/locale/ru/LC_MESSAGES/cogl.mo +0 -0
  620. data/vendor/local/share/locale/ru/LC_MESSAGES/json-glib-1.0.mo +0 -0
  621. data/vendor/local/share/locale/sk/LC_MESSAGES/clutter-1.0.mo +0 -0
  622. data/vendor/local/share/locale/sk/LC_MESSAGES/cogl.mo +0 -0
  623. data/vendor/local/share/locale/sl/LC_MESSAGES/clutter-1.0.mo +0 -0
  624. data/vendor/local/share/locale/sl/LC_MESSAGES/cogl.mo +0 -0
  625. data/vendor/local/share/locale/sl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  626. data/vendor/local/share/locale/sr/LC_MESSAGES/clutter-1.0.mo +0 -0
  627. data/vendor/local/share/locale/sr/LC_MESSAGES/cogl.mo +0 -0
  628. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/clutter-1.0.mo +0 -0
  629. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/cogl.mo +0 -0
  630. data/vendor/local/share/locale/sv/LC_MESSAGES/clutter-1.0.mo +0 -0
  631. data/vendor/local/share/locale/sv/LC_MESSAGES/cogl.mo +0 -0
  632. data/vendor/local/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo +0 -0
  633. data/vendor/local/share/locale/ta/LC_MESSAGES/clutter-1.0.mo +0 -0
  634. data/vendor/local/share/locale/ta/LC_MESSAGES/cogl.mo +0 -0
  635. data/vendor/local/share/locale/te/LC_MESSAGES/clutter-1.0.mo +0 -0
  636. data/vendor/local/share/locale/te/LC_MESSAGES/cogl.mo +0 -0
  637. data/vendor/local/share/locale/tg/LC_MESSAGES/clutter-1.0.mo +0 -0
  638. data/vendor/local/share/locale/th/LC_MESSAGES/cogl.mo +0 -0
  639. data/vendor/local/share/locale/tr/LC_MESSAGES/clutter-1.0.mo +0 -0
  640. data/vendor/local/share/locale/tr/LC_MESSAGES/cogl.mo +0 -0
  641. data/vendor/local/share/locale/tr/LC_MESSAGES/json-glib-1.0.mo +0 -0
  642. data/vendor/local/share/locale/ug/LC_MESSAGES/clutter-1.0.mo +0 -0
  643. data/vendor/local/share/locale/ug/LC_MESSAGES/cogl.mo +0 -0
  644. data/vendor/local/share/locale/uk/LC_MESSAGES/clutter-1.0.mo +0 -0
  645. data/vendor/local/share/locale/uk/LC_MESSAGES/cogl.mo +0 -0
  646. data/vendor/local/share/locale/ur/LC_MESSAGES/clutter-1.0.mo +0 -0
  647. data/vendor/local/share/locale/vi/LC_MESSAGES/cogl.mo +0 -0
  648. data/vendor/local/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo +0 -0
  649. data/vendor/local/share/locale/yi/LC_MESSAGES/clutter-1.0.mo +0 -0
  650. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/clutter-1.0.mo +0 -0
  651. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/cogl.mo +0 -0
  652. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/clutter-1.0.mo +0 -0
  653. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/cogl.mo +0 -0
  654. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/clutter-1.0.mo +0 -0
  655. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/cogl.mo +0 -0
  656. metadata +747 -0
@@ -0,0 +1,786 @@
1
+ /*
2
+ * Cogl
3
+ *
4
+ * An object oriented GL/GLES Abstraction/Utility Layer
5
+ *
6
+ * Copyright (C) 2011, 2013 Intel Corporation.
7
+ *
8
+ * This library is free software; you can redistribute it and/or
9
+ * modify it under the terms of the GNU Lesser General Public
10
+ * License as published by the Free Software Foundation; either
11
+ * version 2 of the License, or (at your option) any later version.
12
+ *
13
+ * This library is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
+ * Lesser General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU Lesser General Public
19
+ * License along with this library. If not, see
20
+ * <http://www.gnu.org/licenses/>.
21
+ *
22
+ *
23
+ *
24
+ * Authors:
25
+ * Neil Roberts <neil@linux.intel.com>
26
+ */
27
+
28
+ #if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
29
+ #error "Only <cogl/cogl.h> can be included directly."
30
+ #endif
31
+
32
+ #ifndef __COGL_SNIPPET_H__
33
+ #define __COGL_SNIPPET_H__
34
+
35
+ COGL_BEGIN_DECLS
36
+
37
+ /**
38
+ * SECTION:cogl-snippet
39
+ * @short_description: Functions for creating and manipulating shader snippets
40
+ *
41
+ * #CoglSnippet<!-- -->s are used to modify or replace parts of a
42
+ * #CoglPipeline using GLSL. GLSL is a programming language supported
43
+ * by OpenGL on programmable hardware to provide a more flexible
44
+ * description of what should be rendered. A description of GLSL
45
+ * itself is outside the scope of this documentation but any good
46
+ * OpenGL book should help to describe it.
47
+ *
48
+ * Unlike in OpenGL, when using GLSL with Cogl it is possible to write
49
+ * short snippets to replace small sections of the pipeline instead of
50
+ * having to replace the whole of either the vertex or fragment
51
+ * pipelines. Of course it is also possible to replace the whole of
52
+ * the pipeline if needed.
53
+ *
54
+ * Each snippet is a standalone chunk of code which would attach to
55
+ * the pipeline at a particular point. The code is split into four
56
+ * separate strings (all of which are optional):
57
+ *
58
+ * <glosslist>
59
+ * <glossentry>
60
+ * <glossterm>declarations</glossterm>
61
+ * <glossdef><para>
62
+ * The code in this string will be inserted outside of any function in
63
+ * the global scope of the shader. This can be used to declare
64
+ * uniforms, attributes, varyings and functions to be used by the
65
+ * snippet.
66
+ * </para></glossdef>
67
+ * </glossentry>
68
+ * <glossentry>
69
+ * <glossterm>pre</glossterm>
70
+ * <glossdef><para>
71
+ * The code in this string will be inserted before the hook point.
72
+ * </para></glossdef>
73
+ * </glossentry>
74
+ * <glossentry>
75
+ * <glossterm>post</glossterm>
76
+ * <glossdef><para>
77
+ * The code in this string will be inserted after the hook point. This
78
+ * can be used to modify the results of the builtin generated code for
79
+ * that hook point.
80
+ * </para></glossdef>
81
+ * </glossentry>
82
+ * <glossentry>
83
+ * <glossterm>replace</glossterm>
84
+ * <glossdef><para>
85
+ * If present the code in this string will replace the generated code
86
+ * for the hook point.
87
+ * </para></glossdef>
88
+ * </glossentry>
89
+ * </glosslist>
90
+ *
91
+ * All of the strings apart from the declarations string of a pipeline
92
+ * are generated in a single function so they can share variables
93
+ * declared from one string in another. The scope of the code is
94
+ * limited to each snippet so local variables declared in the snippet
95
+ * will not collide with variables declared in another
96
+ * snippet. However, code in the 'declarations' string is global to
97
+ * the shader so it is the application's responsibility to ensure that
98
+ * variables declared here will not collide with those from other
99
+ * snippets.
100
+ *
101
+ * The snippets can be added to a pipeline with
102
+ * cogl_pipeline_add_snippet() or
103
+ * cogl_pipeline_add_layer_snippet(). Which function to use depends on
104
+ * which hook the snippet is targetting. The snippets are all
105
+ * generated in the order they are added to the pipeline. That is, the
106
+ * post strings are executed in the order they are added to the
107
+ * pipeline and the pre strings are executed in reverse order. If any
108
+ * replace strings are given for a snippet then any other snippets
109
+ * with the same hook added before that snippet will be ignored. The
110
+ * different hooks are documented under #CoglSnippetHook.
111
+ *
112
+ * For portability with GLES2, it is recommended not to use the GLSL
113
+ * builtin names such as gl_FragColor. Instead there are replacement
114
+ * names under the cogl_* namespace which can be used instead. These
115
+ * are:
116
+ *
117
+ * <glosslist>
118
+ * <glossentry>
119
+ * <glossterm>uniform mat4
120
+ * <emphasis>cogl_modelview_matrix</emphasis></glossterm>
121
+ * <glossdef><para>
122
+ * The current modelview matrix. This is equivalent to
123
+ * #gl_ModelViewMatrix.
124
+ * </para></glossdef>
125
+ * </glossentry>
126
+ * <glossentry>
127
+ * <glossterm>uniform mat4
128
+ * <emphasis>cogl_projection_matrix</emphasis></glossterm>
129
+ * <glossdef><para>
130
+ * The current projection matrix. This is equivalent to
131
+ * #gl_ProjectionMatrix.
132
+ * </para></glossdef>
133
+ * </glossentry>
134
+ * <glossentry>
135
+ * <glossterm>uniform mat4
136
+ * <emphasis>cogl_modelview_projection_matrix</emphasis></glossterm>
137
+ * <glossdef><para>
138
+ * The combined modelview and projection matrix. A vertex shader
139
+ * would typically use this to transform the incoming vertex
140
+ * position. The separate modelview and projection matrices are
141
+ * usually only needed for lighting calculations. This is
142
+ * equivalent to #gl_ModelViewProjectionMatrix.
143
+ * </para></glossdef>
144
+ * </glossentry>
145
+ * <glossentry>
146
+ * <glossterm>uniform mat4
147
+ * <emphasis>cogl_texture_matrix</emphasis>[]</glossterm>
148
+ * <glossdef><para>
149
+ * An array of matrices for transforming the texture
150
+ * coordinates. This is equivalent to #gl_TextureMatrix.
151
+ * </para></glossdef>
152
+ * </glossentry>
153
+ * </glosslist>
154
+ *
155
+ * In a vertex shader, the following are also available:
156
+ *
157
+ * <glosslist>
158
+ * <glossentry>
159
+ * <glossterm>attribute vec4
160
+ * <emphasis>cogl_position_in</emphasis></glossterm>
161
+ * <glossdef><para>
162
+ * The incoming vertex position. This is equivalent to #gl_Vertex.
163
+ * </para></glossdef>
164
+ * </glossentry>
165
+ * <glossentry>
166
+ * <glossterm>attribute vec4
167
+ * <emphasis>cogl_color_in</emphasis></glossterm>
168
+ * <glossdef><para>
169
+ * The incoming vertex color. This is equivalent to #gl_Color.
170
+ * </para></glossdef>
171
+ * </glossentry>
172
+ * <glossentry>
173
+ * <glossterm>attribute vec4
174
+ * <emphasis>cogl_tex_coord_in</emphasis></glossterm>
175
+ * <glossdef><para>
176
+ * The texture coordinate for the first texture unit. This is
177
+ * equivalent to #gl_MultiTexCoord0.
178
+ * </para></glossdef>
179
+ * </glossentry>
180
+ * <glossentry>
181
+ * <glossterm>attribute vec4
182
+ * <emphasis>cogl_tex_coord0_in</emphasis></glossterm>
183
+ * <glossdef><para>
184
+ * The texture coordinate for the first texture unit. This is
185
+ * equivalent to #gl_MultiTexCoord0. There is also
186
+ * #cogl_tex_coord1_in and so on.
187
+ * </para></glossdef>
188
+ * </glossentry>
189
+ * <glossentry>
190
+ * <glossterm>attribute vec3
191
+ * <emphasis>cogl_normal_in</emphasis></glossterm>
192
+ * <glossdef><para>
193
+ * The normal of the vertex. This is equivalent to #gl_Normal.
194
+ * </para></glossdef>
195
+ * </glossentry>
196
+ * <glossentry>
197
+ * <glossterm>vec4
198
+ * <emphasis>cogl_position_out</emphasis></glossterm>
199
+ * <glossdef><para>
200
+ * The calculated position of the vertex. This must be written to
201
+ * in all vertex shaders. This is equivalent to #gl_Position.
202
+ * </para></glossdef>
203
+ * </glossentry>
204
+ * <glossentry>
205
+ * <glossterm>float
206
+ * <emphasis>cogl_point_size_out</emphasis></glossterm>
207
+ * <glossdef><para>
208
+ * The calculated size of a point. This is equivalent to #gl_PointSize.
209
+ * </para></glossdef>
210
+ * </glossentry>
211
+ * <glossentry>
212
+ * <glossterm>varying vec4
213
+ * <emphasis>cogl_color_out</emphasis></glossterm>
214
+ * <glossdef><para>
215
+ * The calculated color of a vertex. This is equivalent to #gl_FrontColor.
216
+ * </para></glossdef>
217
+ * </glossentry>
218
+ * <glossentry>
219
+ * <glossterm>varying vec4
220
+ * <emphasis>cogl_tex_coord_out</emphasis>[]</glossterm>
221
+ * <glossdef><para>
222
+ * An array of calculated texture coordinates for a vertex. This is
223
+ * equivalent to #gl_TexCoord.
224
+ * </para></glossdef>
225
+ * </glossentry>
226
+ * </glosslist>
227
+ *
228
+ * In a fragment shader, the following are also available:
229
+ *
230
+ * <glosslist>
231
+ * <glossentry>
232
+ * <glossterm>varying vec4 <emphasis>cogl_color_in</emphasis></glossterm>
233
+ * <glossdef><para>
234
+ * The calculated color of a vertex. This is equivalent to #gl_FrontColor.
235
+ * </para></glossdef>
236
+ * </glossentry>
237
+ * <glossentry>
238
+ * <glossterm>varying vec4
239
+ * <emphasis>cogl_tex_coord_in</emphasis>[]</glossterm>
240
+ * <glossdef><para>
241
+ * An array of calculated texture coordinates for a vertex. This is
242
+ * equivalent to #gl_TexCoord.
243
+ * </para></glossdef>
244
+ * </glossentry>
245
+ * <glossentry>
246
+ * <glossterm>vec4 <emphasis>cogl_color_out</emphasis></glossterm>
247
+ * <glossdef><para>
248
+ * The final calculated color of the fragment. All fragment shaders
249
+ * must write to this variable. This is equivalent to
250
+ * #gl_FrontColor.
251
+ * </para></glossdef>
252
+ * </glossentry>
253
+ * <glossentry>
254
+ * <glossterm>float <emphasis>cogl_depth_out</emphasis></glossterm>
255
+ * <glossdef><para>
256
+ * An optional output variable specifying the depth value to use
257
+ * for this fragment. This is equivalent to #gl_FragDepth.
258
+ * </para></glossdef>
259
+ * </glossentry>
260
+ * <glossentry>
261
+ * <glossterm>bool <emphasis>cogl_front_facing</emphasis></glossterm>
262
+ * <glossdef><para>
263
+ * A readonly variable that will be true if the current primitive
264
+ * is front facing. This can be used to implement two-sided
265
+ * coloring algorithms. This is equivalent to #gl_FrontFacing.
266
+ * </para></glossdef>
267
+ * </glossentry>
268
+ * </glosslist>
269
+ *
270
+ * Here is an example of using a snippet to add a desaturate effect to the
271
+ * generated color on a pipeline.
272
+ *
273
+ * <programlisting>
274
+ * CoglPipeline *pipeline = cogl_pipeline_new ();
275
+ *
276
+ * /<!-- -->* Set up the pipeline here, ie by adding a texture or other
277
+ * layers *<!-- -->/
278
+ *
279
+ * /<!-- -->* Create the snippet. The first string is the declarations which
280
+ * we will use to add a uniform. The second is the 'post' string which
281
+ * will contain the code to perform the desaturation. *<!-- -->/
282
+ * CoglSnippet *snippet =
283
+ * cogl_snippet_new (COGL_SNIPPET_HOOK_FRAGMENT,
284
+ * "uniform float factor;",
285
+ * "float gray = dot (vec3 (0.299, 0.587, 0.114), "
286
+ * " cogl_color_out.rgb);"
287
+ * "cogl_color_out.rgb = mix (vec3 (gray),"
288
+ * " cogl_color_out.rgb,"
289
+ * " factor);");
290
+ *
291
+ * /<!-- -->* Add it to the pipeline *<!-- -->/
292
+ * cogl_pipeline_add_snippet (pipeline, snippet);
293
+ * /<!-- -->* The pipeline keeps a reference to the snippet
294
+ * so we don't need to *<!-- -->/
295
+ * cogl_object_unref (snippet);
296
+ *
297
+ * /<!-- -->* Update the custom uniform on the pipeline *<!-- -->/
298
+ * int location = cogl_pipeline_get_uniform_location (pipeline, "factor");
299
+ * cogl_pipeline_set_uniform_1f (pipeline, location, 0.5f);
300
+ *
301
+ * /<!-- -->* Now we can render with the snippet as usual *<!-- -->/
302
+ * cogl_push_source (pipeline);
303
+ * cogl_rectangle (0, 0, 10, 10);
304
+ * cogl_pop_source ();
305
+ * </programlisting>
306
+ */
307
+ typedef struct _CoglSnippet CoglSnippet;
308
+
309
+ #define COGL_SNIPPET(OBJECT) ((CoglSnippet *)OBJECT)
310
+
311
+ /* Enumeration of all the hook points that a snippet can be attached
312
+ to within a pipeline. */
313
+ /**
314
+ * CoglSnippetHook:
315
+ * @COGL_SNIPPET_HOOK_VERTEX_GLOBALS: A hook for declaring global data
316
+ * that can be shared with all other snippets that are on a vertex
317
+ * hook.
318
+ * @COGL_SNIPPET_HOOK_FRAGMENT_GLOBALS: A hook for declaring global
319
+ * data wthat can be shared with all other snippets that are on a
320
+ * fragment hook.
321
+ * @COGL_SNIPPET_HOOK_VERTEX: A hook for the entire vertex processing
322
+ * stage of the pipeline.
323
+ * @COGL_SNIPPET_HOOK_VERTEX_TRANSFORM: A hook for the vertex transformation.
324
+ * @COGL_SNIPPET_HOOK_FRAGMENT: A hook for the entire fragment
325
+ * processing stage of the pipeline.
326
+ * @COGL_SNIPPET_HOOK_TEXTURE_COORD_TRANSFORM: A hook for applying the
327
+ * layer matrix to a texture coordinate for a layer.
328
+ * @COGL_SNIPPET_HOOK_LAYER_FRAGMENT: A hook for the fragment
329
+ * processing of a particular layer.
330
+ * @COGL_SNIPPET_HOOK_TEXTURE_LOOKUP: A hook for the texture lookup
331
+ * stage of a given layer in a pipeline.
332
+ *
333
+ * #CoglSnippetHook is used to specify a location within a
334
+ * #CoglPipeline where the code of the snippet should be used when it
335
+ * is attached to a pipeline.
336
+ *
337
+ * <glosslist>
338
+ * <glossentry>
339
+ * <glossterm>%COGL_SNIPPET_HOOK_VERTEX_GLOBALS</glossterm>
340
+ * <glossdef>
341
+ * <para>
342
+ * Adds a shader snippet at the beginning of the global section of the
343
+ * shader for the vertex processing. Any declarations here can be
344
+ * shared with all other snippets that are attached to a vertex hook.
345
+ * Only the ‘declarations’ string is used and the other strings are
346
+ * ignored.
347
+ * </para>
348
+ * </glossdef>
349
+ * </glossentry>
350
+ * <glossentry>
351
+ * <glossterm>%COGL_SNIPPET_HOOK_FRAGMENT_GLOBALS</glossterm>
352
+ * <glossdef>
353
+ * <para>
354
+ * Adds a shader snippet at the beginning of the global section of the
355
+ * shader for the fragment processing. Any declarations here can be
356
+ * shared with all other snippets that are attached to a fragment
357
+ * hook. Only the ‘declarations’ string is used and the other strings
358
+ * are ignored.
359
+ * </para>
360
+ * </glossdef>
361
+ * </glossentry>
362
+ * <glossentry>
363
+ * <glossterm>%COGL_SNIPPET_HOOK_VERTEX</glossterm>
364
+ * <glossdef>
365
+ * <para>
366
+ * Adds a shader snippet that will hook on to the vertex processing
367
+ * stage of the pipeline. This gives a chance for the application to
368
+ * modify the vertex attributes generated by the shader. Typically the
369
+ * snippet will modify cogl_color_out or cogl_position_out builtins.
370
+ * </para>
371
+ * <para>
372
+ * The ‘declarations’ string in @snippet will be inserted in the
373
+ * global scope of the shader. Use this to declare any uniforms,
374
+ * attributes or functions that the snippet requires.
375
+ * </para>
376
+ * <para>
377
+ * The ‘pre’ string in @snippet will be inserted at the top of the
378
+ * main() function before any vertex processing is done.
379
+ * </para>
380
+ * <para>
381
+ * The ‘replace’ string in @snippet will be used instead of the
382
+ * generated vertex processing if it is present. This can be used if
383
+ * the application wants to provide a complete vertex shader and
384
+ * doesn't need the generated output from Cogl.
385
+ * </para>
386
+ * <para>
387
+ * The ‘post’ string in @snippet will be inserted after all of the
388
+ * standard vertex processing is done. This can be used to modify the
389
+ * outputs.
390
+ * </para>
391
+ * </glossdef>
392
+ * </glossentry>
393
+ * <glossentry>
394
+ * <glossterm>%COGL_SNIPPET_HOOK_VERTEX_TRANSFORM</glossterm>
395
+ * <glossdef>
396
+ * <para>
397
+ * Adds a shader snippet that will hook on to the vertex transform stage.
398
+ * Typically the snippet will use the cogl_modelview_matrix,
399
+ * cogl_projection_matrix and cogl_modelview_projection_matrix matrices and the
400
+ * cogl_position_in attribute. The hook must write to cogl_position_out.
401
+ * The default processing for this hook will multiply cogl_position_in by
402
+ * the combined modelview-projection matrix and store it on cogl_position_out.
403
+ * </para>
404
+ * <para>
405
+ * The ‘declarations’ string in @snippet will be inserted in the
406
+ * global scope of the shader. Use this to declare any uniforms,
407
+ * attributes or functions that the snippet requires.
408
+ * </para>
409
+ * <para>
410
+ * The ‘pre’ string in @snippet will be inserted at the top of the
411
+ * main() function before the vertex transform is done.
412
+ * </para>
413
+ * <para>
414
+ * The ‘replace’ string in @snippet will be used instead of the
415
+ * generated vertex transform if it is present.
416
+ * </para>
417
+ * <para>
418
+ * The ‘post’ string in @snippet will be inserted after all of the
419
+ * standard vertex transformation is done. This can be used to modify the
420
+ * cogl_position_out in addition to the default processing.
421
+ * </para>
422
+ * </glossdef>
423
+ * </glossentry>
424
+ * <glossentry>
425
+ * <glossterm>%COGL_SNIPPET_HOOK_FRAGMENT</glossterm>
426
+ * <glossdef>
427
+ * <para>
428
+ * Adds a shader snippet that will hook on to the fragment processing
429
+ * stage of the pipeline. This gives a chance for the application to
430
+ * modify the fragment color generated by the shader. Typically the
431
+ * snippet will modify cogl_color_out.
432
+ * </para>
433
+ * <para>
434
+ * The ‘declarations’ string in @snippet will be inserted in the
435
+ * global scope of the shader. Use this to declare any uniforms,
436
+ * attributes or functions that the snippet requires.
437
+ * </para>
438
+ * <para>
439
+ * The ‘pre’ string in @snippet will be inserted at the top of the
440
+ * main() function before any fragment processing is done.
441
+ * </para>
442
+ * <para>
443
+ * The ‘replace’ string in @snippet will be used instead of the
444
+ * generated fragment processing if it is present. This can be used if
445
+ * the application wants to provide a complete fragment shader and
446
+ * doesn't need the generated output from Cogl.
447
+ * </para>
448
+ * <para>
449
+ * The ‘post’ string in @snippet will be inserted after all of the
450
+ * standard fragment processing is done. At this point the generated
451
+ * value for the rest of the pipeline state will already be in
452
+ * cogl_color_out so the application can modify the result by altering
453
+ * this variable.
454
+ * </para>
455
+ * </glossdef>
456
+ * </glossentry>
457
+ * <glossentry>
458
+ * <glossterm>%COGL_SNIPPET_HOOK_TEXTURE_COORD_TRANSFORM</glossterm>
459
+ * <glossdef>
460
+ * <para>
461
+ * Adds a shader snippet that will hook on to the texture coordinate
462
+ * transformation of a particular layer. This can be used to replace
463
+ * the processing for a layer or to modify the results.
464
+ * </para>
465
+ * <para>
466
+ * Within the snippet code for this hook there are two extra
467
+ * variables. The first is a mat4 called cogl_matrix which represents
468
+ * the user matrix for this layer. The second is called cogl_tex_coord
469
+ * and represents the incoming and outgoing texture coordinate. On
470
+ * entry to the hook, cogl_tex_coord contains the value of the
471
+ * corresponding texture coordinate attribute for this layer. The hook
472
+ * is expected to modify this variable. The output will be passed as a
473
+ * varying to the fragment processing stage. The default code will
474
+ * just multiply cogl_matrix by cogl_tex_coord and store the result in
475
+ * cogl_tex_coord.
476
+ * </para>
477
+ * <para>
478
+ * The ‘declarations’ string in @snippet will be inserted in the
479
+ * global scope of the shader. Use this to declare any uniforms,
480
+ * attributes or functions that the snippet requires.
481
+ * </para>
482
+ * <para>
483
+ * The ‘pre’ string in @snippet will be inserted just before the
484
+ * fragment processing for this layer. At this point cogl_tex_coord
485
+ * still contains the value of the texture coordinate attribute.
486
+ * </para>
487
+ * <para>
488
+ * If a ‘replace’ string is given then this will be used instead of
489
+ * the default fragment processing for this layer. The snippet can
490
+ * modify cogl_tex_coord or leave it as is to apply no transformation.
491
+ * </para>
492
+ * <para>
493
+ * The ‘post’ string in @snippet will be inserted just after the
494
+ * transformation. At this point cogl_tex_coord will contain the
495
+ * results of the transformation but it can be further modified by the
496
+ * snippet.
497
+ * </para>
498
+ * </glossdef>
499
+ * </glossentry>
500
+ * <glossentry>
501
+ * <glossterm>%COGL_SNIPPET_HOOK_LAYER_FRAGMENT</glossterm>
502
+ * <glossdef>
503
+ * <para>
504
+ * Adds a shader snippet that will hook on to the fragment processing
505
+ * of a particular layer. This can be used to replace the processing
506
+ * for a layer or to modify the results.
507
+ * </para>
508
+ * <para>
509
+ * Within the snippet code for this hook there is an extra vec4
510
+ * variable called ‘cogl_layer’. This contains the resulting color
511
+ * that will be used for the layer. This can be modified in the ‘post’
512
+ * section or it the default processing can be replaced entirely using
513
+ * the ‘replace’ section.
514
+ * </para>
515
+ * <para>
516
+ * The ‘declarations’ string in @snippet will be inserted in the
517
+ * global scope of the shader. Use this to declare any uniforms,
518
+ * attributes or functions that the snippet requires.
519
+ * </para>
520
+ * <para>
521
+ * The ‘pre’ string in @snippet will be inserted just before the
522
+ * fragment processing for this layer.
523
+ * </para>
524
+ * <para>
525
+ * If a ‘replace’ string is given then this will be used instead of
526
+ * the default fragment processing for this layer. The snippet must write to
527
+ * the ‘cogl_layer’ variable in that case.
528
+ * </para>
529
+ * <para>
530
+ * The ‘post’ string in @snippet will be inserted just after the
531
+ * fragment processing for the layer. The results can be modified by changing
532
+ * the value of the ‘cogl_layer’ variable.
533
+ * </para>
534
+ * </glossdef>
535
+ * </glossentry>
536
+ * <glossentry>
537
+ * <glossterm>%COGL_SNIPPET_HOOK_TEXTURE_LOOKUP</glossterm>
538
+ * <glossdef>
539
+ * <para>
540
+ * Adds a shader snippet that will hook on to the texture lookup part
541
+ * of a given layer. This gives a chance for the application to modify
542
+ * the coordinates that will be used for the texture lookup or to
543
+ * alter the returned texel.
544
+ * </para>
545
+ * <para>
546
+ * Within the snippet code for this hook there are three extra
547
+ * variables available. ‘cogl_sampler’ is a sampler object
548
+ * representing the sampler for the layer where the snippet is
549
+ * attached. ‘cogl_tex_coord’ is a vec4 which contains the texture
550
+ * coordinates that will be used for the texture lookup. This can be
551
+ * modified. ‘cogl_texel’ will contain the result of the texture
552
+ * lookup. This can also be modified.
553
+ * </para>
554
+ * <para>
555
+ * The ‘declarations’ string in @snippet will be inserted in the
556
+ * global scope of the shader. Use this to declare any uniforms,
557
+ * attributes or functions that the snippet requires.
558
+ * </para>
559
+ * <para>
560
+ * The ‘pre’ string in @snippet will be inserted at the top of the
561
+ * main() function before any fragment processing is done. This is a
562
+ * good place to modify the cogl_tex_coord variable.
563
+ * </para>
564
+ * <para>
565
+ * If a ‘replace’ string is given then this will be used instead of a
566
+ * the default texture lookup. The snippet would typically use its own
567
+ * sampler in this case.
568
+ * </para>
569
+ * <para>
570
+ * The ‘post’ string in @snippet will be inserted after texture lookup
571
+ * has been preformed. Here the snippet can modify the cogl_texel
572
+ * variable to alter the returned texel.
573
+ * </para>
574
+ * </glossdef>
575
+ * </glossentry>
576
+ * </glosslist>
577
+ *
578
+ * Since: 1.10
579
+ * Stability: Unstable
580
+ */
581
+ typedef enum {
582
+ /* Per pipeline vertex hooks */
583
+ COGL_SNIPPET_HOOK_VERTEX = 0,
584
+ COGL_SNIPPET_HOOK_VERTEX_TRANSFORM,
585
+ COGL_SNIPPET_HOOK_VERTEX_GLOBALS,
586
+
587
+ /* Per pipeline fragment hooks */
588
+ COGL_SNIPPET_HOOK_FRAGMENT = 2048,
589
+ COGL_SNIPPET_HOOK_FRAGMENT_GLOBALS,
590
+
591
+ /* Per layer vertex hooks */
592
+ COGL_SNIPPET_HOOK_TEXTURE_COORD_TRANSFORM = 4096,
593
+
594
+ /* Per layer fragment hooks */
595
+ COGL_SNIPPET_HOOK_LAYER_FRAGMENT = 6144,
596
+ COGL_SNIPPET_HOOK_TEXTURE_LOOKUP
597
+ } CoglSnippetHook;
598
+
599
+ /**
600
+ * cogl_snippet_new:
601
+ * @hook: The point in the pipeline that this snippet will wrap around
602
+ * or replace.
603
+ * @declarations: The source code for the declarations for this
604
+ * snippet or %NULL. See cogl_snippet_set_declarations().
605
+ * @post: The source code to run after the hook point where this
606
+ * shader snippet is attached or %NULL. See cogl_snippet_set_post().
607
+ *
608
+ * Allocates and initializes a new snippet with the given source strings.
609
+ *
610
+ * Return value: a pointer to a new #CoglSnippet
611
+ *
612
+ * Since: 1.10
613
+ * Stability: Unstable
614
+ */
615
+ CoglSnippet *
616
+ cogl_snippet_new (CoglSnippetHook hook,
617
+ const char *declarations,
618
+ const char *post);
619
+
620
+ /**
621
+ * cogl_snippet_get_hook:
622
+ * @snippet: A #CoglSnippet
623
+ *
624
+ * Return value: the hook that was set when cogl_snippet_new() was
625
+ * called.
626
+ * Since: 1.10
627
+ * Stability: Unstable
628
+ */
629
+ CoglSnippetHook
630
+ cogl_snippet_get_hook (CoglSnippet *snippet);
631
+
632
+ /**
633
+ * cogl_is_snippet:
634
+ * @object: A #CoglObject pointer
635
+ *
636
+ * Gets whether the given @object references an existing snippet object.
637
+ *
638
+ * Return value: %TRUE if the @object references a #CoglSnippet,
639
+ * %FALSE otherwise
640
+ *
641
+ * Since: 1.10
642
+ * Stability: Unstable
643
+ */
644
+ CoglBool
645
+ cogl_is_snippet (void *object);
646
+
647
+ /**
648
+ * cogl_snippet_set_declarations:
649
+ * @snippet: A #CoglSnippet
650
+ * @declarations: The new source string for the declarations section
651
+ * of this snippet.
652
+ *
653
+ * Sets a source string that will be inserted in the global scope of
654
+ * the generated shader when this snippet is used on a pipeline. This
655
+ * string is typically used to declare uniforms, attributes or
656
+ * functions that will be used by the other parts of the snippets.
657
+ *
658
+ * This function should only be called before the snippet is attached
659
+ * to its first pipeline. After that the snippet should be considered
660
+ * immutable.
661
+ *
662
+ * Since: 1.10
663
+ * Stability: Unstable
664
+ */
665
+ void
666
+ cogl_snippet_set_declarations (CoglSnippet *snippet,
667
+ const char *declarations);
668
+
669
+ /**
670
+ * cogl_snippet_get_declarations:
671
+ * @snippet: A #CoglSnippet
672
+ *
673
+ * Return value: the source string that was set with
674
+ * cogl_snippet_set_declarations() or %NULL if none was set.
675
+ *
676
+ * Since: 1.10
677
+ * Stability: Unstable
678
+ */
679
+ const char *
680
+ cogl_snippet_get_declarations (CoglSnippet *snippet);
681
+
682
+ /**
683
+ * cogl_snippet_set_pre:
684
+ * @snippet: A #CoglSnippet
685
+ * @pre: The new source string for the pre section of this snippet.
686
+ *
687
+ * Sets a source string that will be inserted before the hook point in
688
+ * the generated shader for the pipeline that this snippet is attached
689
+ * to. Please see the documentation of each hook point in
690
+ * #CoglPipeline for a description of how this string should be used.
691
+ *
692
+ * This function should only be called before the snippet is attached
693
+ * to its first pipeline. After that the snippet should be considered
694
+ * immutable.
695
+ *
696
+ * Since: 1.10
697
+ * Stability: Unstable
698
+ */
699
+ void
700
+ cogl_snippet_set_pre (CoglSnippet *snippet,
701
+ const char *pre);
702
+
703
+ /**
704
+ * cogl_snippet_get_pre:
705
+ * @snippet: A #CoglSnippet
706
+ *
707
+ * Return value: the source string that was set with
708
+ * cogl_snippet_set_pre() or %NULL if none was set.
709
+ *
710
+ * Since: 1.10
711
+ * Stability: Unstable
712
+ */
713
+ const char *
714
+ cogl_snippet_get_pre (CoglSnippet *snippet);
715
+
716
+ /**
717
+ * cogl_snippet_set_replace:
718
+ * @snippet: A #CoglSnippet
719
+ * @replace: The new source string for the replace section of this snippet.
720
+ *
721
+ * Sets a source string that will be used instead of any generated
722
+ * source code or any previous snippets for this hook point. Please
723
+ * see the documentation of each hook point in #CoglPipeline for a
724
+ * description of how this string should be used.
725
+ *
726
+ * This function should only be called before the snippet is attached
727
+ * to its first pipeline. After that the snippet should be considered
728
+ * immutable.
729
+ *
730
+ * Since: 1.10
731
+ * Stability: Unstable
732
+ */
733
+ void
734
+ cogl_snippet_set_replace (CoglSnippet *snippet,
735
+ const char *replace);
736
+
737
+ /**
738
+ * cogl_snippet_get_replace:
739
+ * @snippet: A #CoglSnippet
740
+ *
741
+ * Return value: the source string that was set with
742
+ * cogl_snippet_set_replace() or %NULL if none was set.
743
+ *
744
+ * Since: 1.10
745
+ * Stability: Unstable
746
+ */
747
+ const char *
748
+ cogl_snippet_get_replace (CoglSnippet *snippet);
749
+
750
+ /**
751
+ * cogl_snippet_set_post:
752
+ * @snippet: A #CoglSnippet
753
+ * @post: The new source string for the post section of this snippet.
754
+ *
755
+ * Sets a source string that will be inserted after the hook point in
756
+ * the generated shader for the pipeline that this snippet is attached
757
+ * to. Please see the documentation of each hook point in
758
+ * #CoglPipeline for a description of how this string should be used.
759
+ *
760
+ * This function should only be called before the snippet is attached
761
+ * to its first pipeline. After that the snippet should be considered
762
+ * immutable.
763
+ *
764
+ * Since: 1.10
765
+ * Stability: Unstable
766
+ */
767
+ void
768
+ cogl_snippet_set_post (CoglSnippet *snippet,
769
+ const char *post);
770
+
771
+ /**
772
+ * cogl_snippet_get_post:
773
+ * @snippet: A #CoglSnippet
774
+ *
775
+ * Return value: the source string that was set with
776
+ * cogl_snippet_set_post() or %NULL if none was set.
777
+ *
778
+ * Since: 1.10
779
+ * Stability: Unstable
780
+ */
781
+ const char *
782
+ cogl_snippet_get_post (CoglSnippet *snippet);
783
+
784
+ COGL_END_DECLS
785
+
786
+ #endif /* __COGL_SNIPPET_H__ */