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,980 @@
1
+ /*
2
+ * Cogl
3
+ *
4
+ * A Low Level GPU Graphics and Utilities API
5
+ *
6
+ * Copyright (C) 2007,2008,2009,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
+ *
29
+ */
30
+
31
+ #if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
32
+ #error "Only <cogl/cogl.h> can be included directly."
33
+ #endif
34
+
35
+ #ifndef __COGL_PIPELINE_STATE_H__
36
+ #define __COGL_PIPELINE_STATE_H__
37
+
38
+ #include <cogl/cogl-pipeline.h>
39
+ #include <cogl/cogl-color.h>
40
+ #include <cogl/cogl-depth-state.h>
41
+
42
+ COGL_BEGIN_DECLS
43
+
44
+ #ifdef COGL_ENABLE_EXPERIMENTAL_API
45
+
46
+ /**
47
+ * cogl_pipeline_set_color:
48
+ * @pipeline: A #CoglPipeline object
49
+ * @color: The components of the color
50
+ *
51
+ * Sets the basic color of the pipeline, used when no lighting is enabled.
52
+ *
53
+ * Note that if you don't add any layers to the pipeline then the color
54
+ * will be blended unmodified with the destination; the default blend
55
+ * expects premultiplied colors: for example, use (0.5, 0.0, 0.0, 0.5) for
56
+ * semi-transparent red. See cogl_color_premultiply().
57
+ *
58
+ * The default value is (1.0, 1.0, 1.0, 1.0)
59
+ *
60
+ * Since: 2.0
61
+ * Stability: Unstable
62
+ */
63
+ void
64
+ cogl_pipeline_set_color (CoglPipeline *pipeline,
65
+ const CoglColor *color);
66
+
67
+ /**
68
+ * cogl_pipeline_set_color4ub:
69
+ * @pipeline: A #CoglPipeline object
70
+ * @red: The red component
71
+ * @green: The green component
72
+ * @blue: The blue component
73
+ * @alpha: The alpha component
74
+ *
75
+ * Sets the basic color of the pipeline, used when no lighting is enabled.
76
+ *
77
+ * The default value is (0xff, 0xff, 0xff, 0xff)
78
+ *
79
+ * Since: 2.0
80
+ * Stability: Unstable
81
+ */
82
+ void
83
+ cogl_pipeline_set_color4ub (CoglPipeline *pipeline,
84
+ uint8_t red,
85
+ uint8_t green,
86
+ uint8_t blue,
87
+ uint8_t alpha);
88
+
89
+ /**
90
+ * cogl_pipeline_set_color4f:
91
+ * @pipeline: A #CoglPipeline object
92
+ * @red: The red component
93
+ * @green: The green component
94
+ * @blue: The blue component
95
+ * @alpha: The alpha component
96
+ *
97
+ * Sets the basic color of the pipeline, used when no lighting is enabled.
98
+ *
99
+ * The default value is (1.0, 1.0, 1.0, 1.0)
100
+ *
101
+ * Since: 2.0
102
+ * Stability: Unstable
103
+ */
104
+ void
105
+ cogl_pipeline_set_color4f (CoglPipeline *pipeline,
106
+ float red,
107
+ float green,
108
+ float blue,
109
+ float alpha);
110
+
111
+ /**
112
+ * cogl_pipeline_get_color:
113
+ * @pipeline: A #CoglPipeline object
114
+ * @color: (out): The location to store the color
115
+ *
116
+ * Retrieves the current pipeline color.
117
+ *
118
+ * Since: 2.0
119
+ * Stability: Unstable
120
+ */
121
+ void
122
+ cogl_pipeline_get_color (CoglPipeline *pipeline,
123
+ CoglColor *color);
124
+
125
+ /**
126
+ * cogl_pipeline_set_ambient:
127
+ * @pipeline: A #CoglPipeline object
128
+ * @ambient: The components of the desired ambient color
129
+ *
130
+ * Sets the pipeline's ambient color, in the standard OpenGL lighting
131
+ * model. The ambient color affects the overall color of the object.
132
+ *
133
+ * Since the diffuse color will be intense when the light hits the surface
134
+ * directly, the ambient will be most apparent where the light hits at a
135
+ * slant.
136
+ *
137
+ * The default value is (0.2, 0.2, 0.2, 1.0)
138
+ *
139
+ * Since: 2.0
140
+ * Stability: Unstable
141
+ */
142
+ void
143
+ cogl_pipeline_set_ambient (CoglPipeline *pipeline,
144
+ const CoglColor *ambient);
145
+
146
+ /**
147
+ * cogl_pipeline_get_ambient:
148
+ * @pipeline: A #CoglPipeline object
149
+ * @ambient: The location to store the ambient color
150
+ *
151
+ * Retrieves the current ambient color for @pipeline
152
+ *
153
+ * Since: 2.0
154
+ * Stability: Unstable
155
+ */
156
+ void
157
+ cogl_pipeline_get_ambient (CoglPipeline *pipeline,
158
+ CoglColor *ambient);
159
+
160
+ /**
161
+ * cogl_pipeline_set_diffuse:
162
+ * @pipeline: A #CoglPipeline object
163
+ * @diffuse: The components of the desired diffuse color
164
+ *
165
+ * Sets the pipeline's diffuse color, in the standard OpenGL lighting
166
+ * model. The diffuse color is most intense where the light hits the
167
+ * surface directly - perpendicular to the surface.
168
+ *
169
+ * The default value is (0.8, 0.8, 0.8, 1.0)
170
+ *
171
+ * Since: 2.0
172
+ * Stability: Unstable
173
+ */
174
+ void
175
+ cogl_pipeline_set_diffuse (CoglPipeline *pipeline,
176
+ const CoglColor *diffuse);
177
+
178
+ /**
179
+ * cogl_pipeline_get_diffuse:
180
+ * @pipeline: A #CoglPipeline object
181
+ * @diffuse: The location to store the diffuse color
182
+ *
183
+ * Retrieves the current diffuse color for @pipeline
184
+ *
185
+ * Since: 2.0
186
+ * Stability: Unstable
187
+ */
188
+ void
189
+ cogl_pipeline_get_diffuse (CoglPipeline *pipeline,
190
+ CoglColor *diffuse);
191
+
192
+ /**
193
+ * cogl_pipeline_set_ambient_and_diffuse:
194
+ * @pipeline: A #CoglPipeline object
195
+ * @color: The components of the desired ambient and diffuse colors
196
+ *
197
+ * Conveniently sets the diffuse and ambient color of @pipeline at the same
198
+ * time. See cogl_pipeline_set_ambient() and cogl_pipeline_set_diffuse().
199
+ *
200
+ * The default ambient color is (0.2, 0.2, 0.2, 1.0)
201
+ *
202
+ * The default diffuse color is (0.8, 0.8, 0.8, 1.0)
203
+ *
204
+ * Since: 2.0
205
+ * Stability: Unstable
206
+ */
207
+ void
208
+ cogl_pipeline_set_ambient_and_diffuse (CoglPipeline *pipeline,
209
+ const CoglColor *color);
210
+
211
+ /**
212
+ * cogl_pipeline_set_specular:
213
+ * @pipeline: A #CoglPipeline object
214
+ * @specular: The components of the desired specular color
215
+ *
216
+ * Sets the pipeline's specular color, in the standard OpenGL lighting
217
+ * model. The intensity of the specular color depends on the viewport
218
+ * position, and is brightest along the lines of reflection.
219
+ *
220
+ * The default value is (0.0, 0.0, 0.0, 1.0)
221
+ *
222
+ * Since: 2.0
223
+ * Stability: Unstable
224
+ */
225
+ void
226
+ cogl_pipeline_set_specular (CoglPipeline *pipeline,
227
+ const CoglColor *specular);
228
+
229
+ /**
230
+ * cogl_pipeline_get_specular:
231
+ * @pipeline: A #CoglPipeline object
232
+ * @specular: The location to store the specular color
233
+ *
234
+ * Retrieves the pipelines current specular color.
235
+ *
236
+ * Since: 2.0
237
+ * Stability: Unstable
238
+ */
239
+ void
240
+ cogl_pipeline_get_specular (CoglPipeline *pipeline,
241
+ CoglColor *specular);
242
+
243
+ /**
244
+ * cogl_pipeline_set_shininess:
245
+ * @pipeline: A #CoglPipeline object
246
+ * @shininess: The desired shininess; must be >= 0.0
247
+ *
248
+ * Sets the shininess of the pipeline, in the standard OpenGL lighting
249
+ * model, which determines the size of the specular highlights. A
250
+ * higher @shininess will produce smaller highlights which makes the
251
+ * object appear more shiny.
252
+ *
253
+ * The default value is 0.0
254
+ *
255
+ * Since: 2.0
256
+ * Stability: Unstable
257
+ */
258
+ void
259
+ cogl_pipeline_set_shininess (CoglPipeline *pipeline,
260
+ float shininess);
261
+
262
+ /**
263
+ * cogl_pipeline_get_shininess:
264
+ * @pipeline: A #CoglPipeline object
265
+ *
266
+ * Retrieves the pipelines current emission color.
267
+ *
268
+ * Return value: The pipelines current shininess value
269
+ *
270
+ * Since: 2.0
271
+ * Stability: Unstable
272
+ */
273
+ float
274
+ cogl_pipeline_get_shininess (CoglPipeline *pipeline);
275
+
276
+ /**
277
+ * cogl_pipeline_set_emission:
278
+ * @pipeline: A #CoglPipeline object
279
+ * @emission: The components of the desired emissive color
280
+ *
281
+ * Sets the pipeline's emissive color, in the standard OpenGL lighting
282
+ * model. It will look like the surface is a light source emitting this
283
+ * color.
284
+ *
285
+ * The default value is (0.0, 0.0, 0.0, 1.0)
286
+ *
287
+ * Since: 2.0
288
+ * Stability: Unstable
289
+ */
290
+ void
291
+ cogl_pipeline_set_emission (CoglPipeline *pipeline,
292
+ const CoglColor *emission);
293
+
294
+ /**
295
+ * cogl_pipeline_get_emission:
296
+ * @pipeline: A #CoglPipeline object
297
+ * @emission: The location to store the emission color
298
+ *
299
+ * Retrieves the pipelines current emission color.
300
+ *
301
+ * Since: 2.0
302
+ * Stability: Unstable
303
+ */
304
+ void
305
+ cogl_pipeline_get_emission (CoglPipeline *pipeline,
306
+ CoglColor *emission);
307
+
308
+ /**
309
+ * CoglPipelineAlphaFunc:
310
+ * @COGL_PIPELINE_ALPHA_FUNC_NEVER: Never let the fragment through.
311
+ * @COGL_PIPELINE_ALPHA_FUNC_LESS: Let the fragment through if the incoming
312
+ * alpha value is less than the reference alpha value
313
+ * @COGL_PIPELINE_ALPHA_FUNC_EQUAL: Let the fragment through if the incoming
314
+ * alpha value equals the reference alpha value
315
+ * @COGL_PIPELINE_ALPHA_FUNC_LEQUAL: Let the fragment through if the incoming
316
+ * alpha value is less than or equal to the reference alpha value
317
+ * @COGL_PIPELINE_ALPHA_FUNC_GREATER: Let the fragment through if the incoming
318
+ * alpha value is greater than the reference alpha value
319
+ * @COGL_PIPELINE_ALPHA_FUNC_NOTEQUAL: Let the fragment through if the incoming
320
+ * alpha value does not equal the reference alpha value
321
+ * @COGL_PIPELINE_ALPHA_FUNC_GEQUAL: Let the fragment through if the incoming
322
+ * alpha value is greater than or equal to the reference alpha value.
323
+ * @COGL_PIPELINE_ALPHA_FUNC_ALWAYS: Always let the fragment through.
324
+ *
325
+ * Alpha testing happens before blending primitives with the framebuffer and
326
+ * gives an opportunity to discard fragments based on a comparison with the
327
+ * incoming alpha value and a reference alpha value. The #CoglPipelineAlphaFunc
328
+ * determines how the comparison is done.
329
+ */
330
+ typedef enum {
331
+ COGL_PIPELINE_ALPHA_FUNC_NEVER = 0x0200,
332
+ COGL_PIPELINE_ALPHA_FUNC_LESS = 0x0201,
333
+ COGL_PIPELINE_ALPHA_FUNC_EQUAL = 0x0202,
334
+ COGL_PIPELINE_ALPHA_FUNC_LEQUAL = 0x0203,
335
+ COGL_PIPELINE_ALPHA_FUNC_GREATER = 0x0204,
336
+ COGL_PIPELINE_ALPHA_FUNC_NOTEQUAL = 0x0205,
337
+ COGL_PIPELINE_ALPHA_FUNC_GEQUAL = 0x0206,
338
+ COGL_PIPELINE_ALPHA_FUNC_ALWAYS = 0x0207
339
+ } CoglPipelineAlphaFunc;
340
+ /* NB: these values come from the equivalents in gl.h */
341
+
342
+ /**
343
+ * cogl_pipeline_set_alpha_test_function:
344
+ * @pipeline: A #CoglPipeline object
345
+ * @alpha_func: A @CoglPipelineAlphaFunc constant
346
+ * @alpha_reference: A reference point that the chosen alpha function uses
347
+ * to compare incoming fragments to.
348
+ *
349
+ * Before a primitive is blended with the framebuffer, it goes through an
350
+ * alpha test stage which lets you discard fragments based on the current
351
+ * alpha value. This function lets you change the function used to evaluate
352
+ * the alpha channel, and thus determine which fragments are discarded
353
+ * and which continue on to the blending stage.
354
+ *
355
+ * The default is %COGL_PIPELINE_ALPHA_FUNC_ALWAYS
356
+ *
357
+ * Since: 2.0
358
+ * Stability: Unstable
359
+ */
360
+ void
361
+ cogl_pipeline_set_alpha_test_function (CoglPipeline *pipeline,
362
+ CoglPipelineAlphaFunc alpha_func,
363
+ float alpha_reference);
364
+
365
+ /**
366
+ * cogl_pipeline_get_alpha_test_function:
367
+ * @pipeline: A #CoglPipeline object
368
+ *
369
+ * Return value: The alpha test function of @pipeline.
370
+ *
371
+ * Since: 2.0
372
+ * Stability: Unstable
373
+ */
374
+ CoglPipelineAlphaFunc
375
+ cogl_pipeline_get_alpha_test_function (CoglPipeline *pipeline);
376
+
377
+ /**
378
+ * cogl_pipeline_get_alpha_test_reference:
379
+ * @pipeline: A #CoglPipeline object
380
+ *
381
+ * Return value: The alpha test reference value of @pipeline.
382
+ *
383
+ * Since: 2.0
384
+ * Stability: Unstable
385
+ */
386
+ float
387
+ cogl_pipeline_get_alpha_test_reference (CoglPipeline *pipeline);
388
+
389
+ /**
390
+ * cogl_pipeline_set_blend:
391
+ * @pipeline: A #CoglPipeline object
392
+ * @blend_string: A <link linkend="cogl-Blend-Strings">Cogl blend string</link>
393
+ * describing the desired blend function.
394
+ * @error: return location for a #CoglError that may report lack of driver
395
+ * support if you give separate blend string statements for the alpha
396
+ * channel and RGB channels since some drivers, or backends such as
397
+ * GLES 1.1, don't support this feature. May be %NULL, in which case a
398
+ * warning will be printed out using GLib's logging facilities if an
399
+ * error is encountered.
400
+ *
401
+ * If not already familiar; please refer <link linkend="cogl-Blend-Strings">here</link>
402
+ * for an overview of what blend strings are, and their syntax.
403
+ *
404
+ * Blending occurs after the alpha test function, and combines fragments with
405
+ * the framebuffer.
406
+
407
+ * Currently the only blend function Cogl exposes is ADD(). So any valid
408
+ * blend statements will be of the form:
409
+ *
410
+ * |[
411
+ * &lt;channel-mask&gt;=ADD(SRC_COLOR*(&lt;factor&gt;), DST_COLOR*(&lt;factor&gt;))
412
+ * ]|
413
+ *
414
+ * This is the list of source-names usable as blend factors:
415
+ * <itemizedlist>
416
+ * <listitem><para>SRC_COLOR: The color of the in comming fragment</para></listitem>
417
+ * <listitem><para>DST_COLOR: The color of the framebuffer</para></listitem>
418
+ * <listitem><para>CONSTANT: The constant set via cogl_pipeline_set_blend_constant()</para></listitem>
419
+ * </itemizedlist>
420
+ *
421
+ * The source names can be used according to the
422
+ * <link linkend="cogl-Blend-String-syntax">color-source and factor syntax</link>,
423
+ * so for example "(1-SRC_COLOR[A])" would be a valid factor, as would
424
+ * "(CONSTANT[RGB])"
425
+ *
426
+ * These can also be used as factors:
427
+ * <itemizedlist>
428
+ * <listitem>0: (0, 0, 0, 0)</listitem>
429
+ * <listitem>1: (1, 1, 1, 1)</listitem>
430
+ * <listitem>SRC_ALPHA_SATURATE_FACTOR: (f,f,f,1) where f = MIN(SRC_COLOR[A],1-DST_COLOR[A])</listitem>
431
+ * </itemizedlist>
432
+ *
433
+ * <note>Remember; all color components are normalized to the range [0, 1]
434
+ * before computing the result of blending.</note>
435
+ *
436
+ * <example id="cogl-Blend-Strings-blend-unpremul">
437
+ * <title>Blend Strings/1</title>
438
+ * <para>Blend a non-premultiplied source over a destination with
439
+ * premultiplied alpha:</para>
440
+ * <programlisting>
441
+ * "RGB = ADD(SRC_COLOR*(SRC_COLOR[A]), DST_COLOR*(1-SRC_COLOR[A]))"
442
+ * "A = ADD(SRC_COLOR, DST_COLOR*(1-SRC_COLOR[A]))"
443
+ * </programlisting>
444
+ * </example>
445
+ *
446
+ * <example id="cogl-Blend-Strings-blend-premul">
447
+ * <title>Blend Strings/2</title>
448
+ * <para>Blend a premultiplied source over a destination with
449
+ * premultiplied alpha</para>
450
+ * <programlisting>
451
+ * "RGBA = ADD(SRC_COLOR, DST_COLOR*(1-SRC_COLOR[A]))"
452
+ * </programlisting>
453
+ * </example>
454
+ *
455
+ * The default blend string is:
456
+ * |[
457
+ * RGBA = ADD (SRC_COLOR, DST_COLOR*(1-SRC_COLOR[A]))
458
+ * ]|
459
+ *
460
+ * That gives normal alpha-blending when the calculated color for the pipeline
461
+ * is in premultiplied form.
462
+ *
463
+ * Return value: %TRUE if the blend string was successfully parsed, and the
464
+ * described blending is supported by the underlying driver/hardware. If
465
+ * there was an error, %FALSE is returned and @error is set accordingly (if
466
+ * present).
467
+ *
468
+ * Since: 2.0
469
+ * Stability: Unstable
470
+ */
471
+ CoglBool
472
+ cogl_pipeline_set_blend (CoglPipeline *pipeline,
473
+ const char *blend_string,
474
+ CoglError **error);
475
+
476
+ /**
477
+ * cogl_pipeline_set_blend_constant:
478
+ * @pipeline: A #CoglPipeline object
479
+ * @constant_color: The constant color you want
480
+ *
481
+ * When blending is setup to reference a CONSTANT blend factor then
482
+ * blending will depend on the constant set with this function.
483
+ *
484
+ * Since: 2.0
485
+ * Stability: Unstable
486
+ */
487
+ void
488
+ cogl_pipeline_set_blend_constant (CoglPipeline *pipeline,
489
+ const CoglColor *constant_color);
490
+
491
+ /**
492
+ * cogl_pipeline_set_point_size:
493
+ * @pipeline: a #CoglPipeline pointer
494
+ * @point_size: the new point size.
495
+ *
496
+ * Changes the size of points drawn when %COGL_VERTICES_MODE_POINTS is
497
+ * used with the attribute buffer API. Note that typically the GPU
498
+ * will only support a limited minimum and maximum range of point
499
+ * sizes. If the chosen point size is outside that range then the
500
+ * nearest value within that range will be used instead. The size of a
501
+ * point is in screen space so it will be the same regardless of any
502
+ * transformations.
503
+ *
504
+ * If the point size is set to 0.0 then drawing points with the
505
+ * pipeline will have undefined results. This is the default value so
506
+ * if an application wants to draw points it must make sure to use a
507
+ * pipeline that has an explicit point size set on it.
508
+ *
509
+ * Since: 2.0
510
+ * Stability: Unstable
511
+ */
512
+ void
513
+ cogl_pipeline_set_point_size (CoglPipeline *pipeline,
514
+ float point_size);
515
+
516
+ /**
517
+ * cogl_pipeline_get_point_size:
518
+ * @pipeline: a #CoglPipeline pointer
519
+ *
520
+ * Get the size of points drawn when %COGL_VERTICES_MODE_POINTS is
521
+ * used with the vertex buffer API.
522
+ *
523
+ * Return value: the point size of the @pipeline.
524
+ *
525
+ * Since: 2.0
526
+ * Stability: Unstable
527
+ */
528
+ float
529
+ cogl_pipeline_get_point_size (CoglPipeline *pipeline);
530
+
531
+ /**
532
+ * cogl_pipeline_set_per_vertex_point_size:
533
+ * @pipeline: a #CoglPipeline pointer
534
+ * @enable: whether to enable per-vertex point size
535
+ * @error: a location to store a #CoglError if the change failed
536
+ *
537
+ * Sets whether to use a per-vertex point size or to use the value set
538
+ * by cogl_pipeline_set_point_size(). If per-vertex point size is
539
+ * enabled then the point size can be set for an individual point
540
+ * either by drawing with a #CoglAttribute with the name
541
+ * ‘cogl_point_size_in’ or by writing to the GLSL builtin
542
+ * ‘cogl_point_size_out’ from a vertex shader snippet.
543
+ *
544
+ * If per-vertex point size is enabled and this attribute is not used
545
+ * and cogl_point_size_out is not written to then the results are
546
+ * undefined.
547
+ *
548
+ * Note that enabling this will only work if the
549
+ * %COGL_FEATURE_ID_PER_VERTEX_POINT_SIZE feature is available. If
550
+ * this is not available then the function will return %FALSE and set
551
+ * a #CoglError.
552
+ *
553
+ * Since: 2.0
554
+ * Stability: Unstable
555
+ * Return value: %TRUE if the change suceeded or %FALSE otherwise
556
+ */
557
+ CoglBool
558
+ cogl_pipeline_set_per_vertex_point_size (CoglPipeline *pipeline,
559
+ CoglBool enable,
560
+ CoglError **error);
561
+
562
+ /**
563
+ * cogl_pipeline_get_per_vertex_point_size:
564
+ * @pipeline: a #CoglPipeline pointer
565
+ *
566
+ * Since: 2.0
567
+ * Stability: Unstable
568
+ * Return value: %TRUE if the pipeline has per-vertex point size
569
+ * enabled or %FALSE otherwise. The per-vertex point size can be
570
+ * enabled with cogl_pipeline_set_per_vertex_point_size().
571
+ */
572
+ CoglBool
573
+ cogl_pipeline_get_per_vertex_point_size (CoglPipeline *pipeline);
574
+
575
+ /**
576
+ * cogl_pipeline_get_color_mask:
577
+ * @pipeline: a #CoglPipeline object.
578
+ *
579
+ * Gets the current #CoglColorMask of which channels would be written to the
580
+ * current framebuffer. Each bit set in the mask means that the
581
+ * corresponding color would be written.
582
+ *
583
+ * Returns: A #CoglColorMask
584
+ * Since: 1.8
585
+ * Stability: unstable
586
+ */
587
+ CoglColorMask
588
+ cogl_pipeline_get_color_mask (CoglPipeline *pipeline);
589
+
590
+ /**
591
+ * cogl_pipeline_set_color_mask:
592
+ * @pipeline: a #CoglPipeline object.
593
+ * @color_mask: A #CoglColorMask of which color channels to write to
594
+ * the current framebuffer.
595
+ *
596
+ * Defines a bit mask of which color channels should be written to the
597
+ * current framebuffer. If a bit is set in @color_mask that means that
598
+ * color will be written.
599
+ *
600
+ * Since: 1.8
601
+ * Stability: unstable
602
+ */
603
+ void
604
+ cogl_pipeline_set_color_mask (CoglPipeline *pipeline,
605
+ CoglColorMask color_mask);
606
+
607
+ /**
608
+ * cogl_pipeline_get_user_program:
609
+ * @pipeline: a #CoglPipeline object.
610
+ *
611
+ * Queries what user program has been associated with the given
612
+ * @pipeline using cogl_pipeline_set_user_program().
613
+ *
614
+ * Return value: (transfer none): The current user program or %COGL_INVALID_HANDLE.
615
+ *
616
+ * Since: 2.0
617
+ * Stability: Unstable
618
+ */
619
+ CoglHandle
620
+ cogl_pipeline_get_user_program (CoglPipeline *pipeline);
621
+
622
+ /**
623
+ * cogl_pipeline_set_user_program:
624
+ * @pipeline: a #CoglPipeline object.
625
+ * @program: A #CoglHandle to a linked CoglProgram
626
+ *
627
+ * Associates a linked CoglProgram with the given pipeline so that the
628
+ * program can take full control of vertex and/or fragment processing.
629
+ *
630
+ * This is an example of how it can be used to associate an ARBfp
631
+ * program with a #CoglPipeline:
632
+ * |[
633
+ * CoglHandle shader;
634
+ * CoglHandle program;
635
+ * CoglPipeline *pipeline;
636
+ *
637
+ * shader = cogl_create_shader (COGL_SHADER_TYPE_FRAGMENT);
638
+ * cogl_shader_source (shader,
639
+ * "!!ARBfp1.0\n"
640
+ * "MOV result.color,fragment.color;\n"
641
+ * "END\n");
642
+ * cogl_shader_compile (shader);
643
+ *
644
+ * program = cogl_create_program ();
645
+ * cogl_program_attach_shader (program, shader);
646
+ * cogl_program_link (program);
647
+ *
648
+ * pipeline = cogl_pipeline_new ();
649
+ * cogl_pipeline_set_user_program (pipeline, program);
650
+ *
651
+ * cogl_set_source_color4ub (0xff, 0x00, 0x00, 0xff);
652
+ * cogl_rectangle (0, 0, 100, 100);
653
+ * ]|
654
+ *
655
+ * It is possibly worth keeping in mind that this API is not part of
656
+ * the long term design for how we want to expose shaders to Cogl
657
+ * developers (We are planning on deprecating the cogl_program and
658
+ * cogl_shader APIs in favour of a "snippet" framework) but in the
659
+ * meantime we hope this will handle most practical GLSL and ARBfp
660
+ * requirements.
661
+ *
662
+ * Also remember you need to check for either the
663
+ * %COGL_FEATURE_SHADERS_GLSL or %COGL_FEATURE_SHADERS_ARBFP before
664
+ * using the cogl_program or cogl_shader API.
665
+ *
666
+ * Since: 2.0
667
+ * Stability: Unstable
668
+ */
669
+ void
670
+ cogl_pipeline_set_user_program (CoglPipeline *pipeline,
671
+ CoglHandle program);
672
+
673
+ /**
674
+ * cogl_pipeline_set_depth_state:
675
+ * @pipeline: A #CoglPipeline object
676
+ * @state: A #CoglDepthState struct
677
+ * @error: A #CoglError to report failures to setup the given @state.
678
+ *
679
+ * This commits all the depth state configured in @state struct to the
680
+ * given @pipeline. The configuration values are copied into the
681
+ * pipeline so there is no requirement to keep the #CoglDepthState
682
+ * struct around if you don't need it any more.
683
+ *
684
+ * Note: Since some platforms do not support the depth range feature
685
+ * it is possible for this function to fail and report an @error.
686
+ *
687
+ * Returns: TRUE if the GPU supports all the given @state else %FALSE
688
+ * and returns an @error.
689
+ *
690
+ * Since: 2.0
691
+ * Stability: Unstable
692
+ */
693
+ CoglBool
694
+ cogl_pipeline_set_depth_state (CoglPipeline *pipeline,
695
+ const CoglDepthState *state,
696
+ CoglError **error);
697
+
698
+ /**
699
+ * cogl_pipeline_get_depth_state:
700
+ * @pipeline: A #CoglPipeline object
701
+ * @state_out: (out): A destination #CoglDepthState struct
702
+ *
703
+ * Retrieves the current depth state configuration for the given
704
+ * @pipeline as previously set using cogl_pipeline_set_depth_state().
705
+ *
706
+ * Since: 2.0
707
+ * Stability: Unstable
708
+ */
709
+ void
710
+ cogl_pipeline_get_depth_state (CoglPipeline *pipeline,
711
+ CoglDepthState *state_out);
712
+
713
+ /**
714
+ * CoglPipelineCullFaceMode:
715
+ * @COGL_PIPELINE_CULL_FACE_MODE_NONE: Neither face will be
716
+ * culled. This is the default.
717
+ * @COGL_PIPELINE_CULL_FACE_MODE_FRONT: Front faces will be culled.
718
+ * @COGL_PIPELINE_CULL_FACE_MODE_BACK: Back faces will be culled.
719
+ * @COGL_PIPELINE_CULL_FACE_MODE_BOTH: All faces will be culled.
720
+ *
721
+ * Specifies which faces should be culled. This can be set on a
722
+ * pipeline using cogl_pipeline_set_cull_face_mode().
723
+ */
724
+ typedef enum
725
+ {
726
+ COGL_PIPELINE_CULL_FACE_MODE_NONE,
727
+ COGL_PIPELINE_CULL_FACE_MODE_FRONT,
728
+ COGL_PIPELINE_CULL_FACE_MODE_BACK,
729
+ COGL_PIPELINE_CULL_FACE_MODE_BOTH
730
+ } CoglPipelineCullFaceMode;
731
+
732
+ /**
733
+ * cogl_pipeline_set_cull_face_mode:
734
+ * @pipeline: A #CoglPipeline
735
+ * @cull_face_mode: The new mode to set
736
+ *
737
+ * Sets which faces will be culled when drawing. Face culling can be
738
+ * used to increase efficiency by avoiding drawing faces that would
739
+ * get overridden. For example, if a model has gaps so that it is
740
+ * impossible to see the inside then faces which are facing away from
741
+ * the screen will never be seen so there is no point in drawing
742
+ * them. This can be acheived by setting the cull face mode to
743
+ * %COGL_PIPELINE_CULL_FACE_MODE_BACK.
744
+ *
745
+ * Face culling relies on the primitives being drawn with a specific
746
+ * order to represent which faces are facing inside and outside the
747
+ * model. This order can be specified by calling
748
+ * cogl_pipeline_set_front_face_winding().
749
+ *
750
+ * Status: Unstable
751
+ * Since: 2.0
752
+ */
753
+ void
754
+ cogl_pipeline_set_cull_face_mode (CoglPipeline *pipeline,
755
+ CoglPipelineCullFaceMode cull_face_mode);
756
+
757
+ /**
758
+ * cogl_pipeline_get_cull_face_mode:
759
+ *
760
+ * Return value: the cull face mode that was previously set with
761
+ * cogl_pipeline_set_cull_face_mode().
762
+ *
763
+ * Status: Unstable
764
+ * Since: 2.0
765
+ */
766
+ CoglPipelineCullFaceMode
767
+ cogl_pipeline_get_cull_face_mode (CoglPipeline *pipeline);
768
+
769
+ /**
770
+ * cogl_pipeline_set_front_face_winding:
771
+ * @pipeline: a #CoglPipeline
772
+ * @front_winding: the winding order
773
+ *
774
+ * The order of the vertices within a primitive specifies whether it
775
+ * is considered to be front or back facing. This function specifies
776
+ * which order is considered to be the front
777
+ * faces. %COGL_WINDING_COUNTER_CLOCKWISE sets the front faces to
778
+ * primitives with vertices in a counter-clockwise order and
779
+ * %COGL_WINDING_CLOCKWISE sets them to be clockwise. The default is
780
+ * %COGL_WINDING_COUNTER_CLOCKWISE.
781
+ *
782
+ * Status: Unstable
783
+ * Since: 2.0
784
+ */
785
+ void
786
+ cogl_pipeline_set_front_face_winding (CoglPipeline *pipeline,
787
+ CoglWinding front_winding);
788
+
789
+ /**
790
+ * cogl_pipeline_get_front_face_winding:
791
+ * @pipeline: a #CoglPipeline
792
+ *
793
+ * The order of the vertices within a primitive specifies whether it
794
+ * is considered to be front or back facing. This function specifies
795
+ * which order is considered to be the front
796
+ * faces. %COGL_WINDING_COUNTER_CLOCKWISE sets the front faces to
797
+ * primitives with vertices in a counter-clockwise order and
798
+ * %COGL_WINDING_CLOCKWISE sets them to be clockwise. The default is
799
+ * %COGL_WINDING_COUNTER_CLOCKWISE.
800
+ *
801
+ * Returns: The @pipeline front face winding
802
+ *
803
+ * Status: Unstable
804
+ * Since: 2.0
805
+ */
806
+ CoglWinding
807
+ cogl_pipeline_get_front_face_winding (CoglPipeline *pipeline);
808
+
809
+ /**
810
+ * cogl_pipeline_set_uniform_1f:
811
+ * @pipeline: A #CoglPipeline object
812
+ * @uniform_location: The uniform's location identifier
813
+ * @value: The new value for the uniform
814
+ *
815
+ * Sets a new value for the uniform at @uniform_location. If this
816
+ * pipeline has a user program attached and is later used as a source
817
+ * for drawing, the given value will be assigned to the uniform which
818
+ * can be accessed from the shader's source. The value for
819
+ * @uniform_location should be retrieved from the string name of the
820
+ * uniform by calling cogl_pipeline_get_uniform_location().
821
+ *
822
+ * This function should be used to set uniforms that are of type
823
+ * float. It can also be used to set a single member of a float array
824
+ * uniform.
825
+ *
826
+ * Since: 2.0
827
+ * Stability: Unstable
828
+ */
829
+ void
830
+ cogl_pipeline_set_uniform_1f (CoglPipeline *pipeline,
831
+ int uniform_location,
832
+ float value);
833
+
834
+ /**
835
+ * cogl_pipeline_set_uniform_1i:
836
+ * @pipeline: A #CoglPipeline object
837
+ * @uniform_location: The uniform's location identifier
838
+ * @value: The new value for the uniform
839
+ *
840
+ * Sets a new value for the uniform at @uniform_location. If this
841
+ * pipeline has a user program attached and is later used as a source
842
+ * for drawing, the given value will be assigned to the uniform which
843
+ * can be accessed from the shader's source. The value for
844
+ * @uniform_location should be retrieved from the string name of the
845
+ * uniform by calling cogl_pipeline_get_uniform_location().
846
+ *
847
+ * This function should be used to set uniforms that are of type
848
+ * int. It can also be used to set a single member of a int array
849
+ * uniform or a sampler uniform.
850
+ *
851
+ * Since: 2.0
852
+ * Stability: Unstable
853
+ */
854
+ void
855
+ cogl_pipeline_set_uniform_1i (CoglPipeline *pipeline,
856
+ int uniform_location,
857
+ int value);
858
+
859
+ /**
860
+ * cogl_pipeline_set_uniform_float:
861
+ * @pipeline: A #CoglPipeline object
862
+ * @uniform_location: The uniform's location identifier
863
+ * @n_components: The number of components in the corresponding uniform's type
864
+ * @count: The number of values to set
865
+ * @value: Pointer to the new values to set
866
+ *
867
+ * Sets new values for the uniform at @uniform_location. If this
868
+ * pipeline has a user program attached and is later used as a source
869
+ * for drawing, the given values will be assigned to the uniform which
870
+ * can be accessed from the shader's source. The value for
871
+ * @uniform_location should be retrieved from the string name of the
872
+ * uniform by calling cogl_pipeline_get_uniform_location().
873
+ *
874
+ * This function can be used to set any floating point type uniform,
875
+ * including float arrays and float vectors. For example, to set a
876
+ * single vec4 uniform you would use 4 for @n_components and 1 for
877
+ * @count. To set an array of 8 float values, you could use 1 for
878
+ * @n_components and 8 for @count.
879
+ *
880
+ * Since: 2.0
881
+ * Stability: Unstable
882
+ */
883
+ void
884
+ cogl_pipeline_set_uniform_float (CoglPipeline *pipeline,
885
+ int uniform_location,
886
+ int n_components,
887
+ int count,
888
+ const float *value);
889
+
890
+ /**
891
+ * cogl_pipeline_set_uniform_int:
892
+ * @pipeline: A #CoglPipeline object
893
+ * @uniform_location: The uniform's location identifier
894
+ * @n_components: The number of components in the corresponding uniform's type
895
+ * @count: The number of values to set
896
+ * @value: Pointer to the new values to set
897
+ *
898
+ * Sets new values for the uniform at @uniform_location. If this
899
+ * pipeline has a user program attached and is later used as a source
900
+ * for drawing, the given values will be assigned to the uniform which
901
+ * can be accessed from the shader's source. The value for
902
+ * @uniform_location should be retrieved from the string name of the
903
+ * uniform by calling cogl_pipeline_get_uniform_location().
904
+ *
905
+ * This function can be used to set any integer type uniform,
906
+ * including int arrays and int vectors. For example, to set a single
907
+ * ivec4 uniform you would use 4 for @n_components and 1 for
908
+ * @count. To set an array of 8 int values, you could use 1 for
909
+ * @n_components and 8 for @count.
910
+ *
911
+ * Since: 2.0
912
+ * Stability: Unstable
913
+ */
914
+ void
915
+ cogl_pipeline_set_uniform_int (CoglPipeline *pipeline,
916
+ int uniform_location,
917
+ int n_components,
918
+ int count,
919
+ const int *value);
920
+
921
+ /**
922
+ * cogl_pipeline_set_uniform_matrix:
923
+ * @pipeline: A #CoglPipeline object
924
+ * @uniform_location: The uniform's location identifier
925
+ * @dimensions: The size of the matrix
926
+ * @count: The number of values to set
927
+ * @transpose: Whether to transpose the matrix
928
+ * @value: Pointer to the new values to set
929
+ *
930
+ * Sets new values for the uniform at @uniform_location. If this
931
+ * pipeline has a user program attached and is later used as a source
932
+ * for drawing, the given values will be assigned to the uniform which
933
+ * can be accessed from the shader's source. The value for
934
+ * @uniform_location should be retrieved from the string name of the
935
+ * uniform by calling cogl_pipeline_get_uniform_location().
936
+ *
937
+ * This function can be used to set any matrix type uniform, including
938
+ * matrix arrays. For example, to set a single mat4 uniform you would
939
+ * use 4 for @dimensions and 1 for @count. To set an array of 8
940
+ * mat3 values, you could use 3 for @dimensions and 8 for @count.
941
+ *
942
+ * If @transpose is %FALSE then the matrix is expected to be in
943
+ * column-major order or if it is %TRUE then the matrix is in
944
+ * row-major order. You can pass a #CoglMatrix by calling by passing
945
+ * the result of cogl_matrix_get_array() in @value and setting
946
+ * @transpose to %FALSE.
947
+ *
948
+ * Since: 2.0
949
+ * Stability: Unstable
950
+ */
951
+ void
952
+ cogl_pipeline_set_uniform_matrix (CoglPipeline *pipeline,
953
+ int uniform_location,
954
+ int dimensions,
955
+ int count,
956
+ CoglBool transpose,
957
+ const float *value);
958
+
959
+ /**
960
+ * cogl_pipeline_add_snippet:
961
+ * @pipeline: A #CoglPipeline
962
+ * @snippet: The #CoglSnippet to add to the vertex processing hook
963
+ *
964
+ * Adds a shader snippet to @pipeline. The snippet will wrap around or
965
+ * replace some part of the pipeline as defined by the hook point in
966
+ * @snippet. Note that some hook points are specific to a layer and
967
+ * must be added with cogl_pipeline_add_layer_snippet() instead.
968
+ *
969
+ * Since: 1.10
970
+ * Stability: Unstable
971
+ */
972
+ void
973
+ cogl_pipeline_add_snippet (CoglPipeline *pipeline,
974
+ CoglSnippet *snippet);
975
+
976
+ #endif /* COGL_ENABLE_EXPERIMENTAL_API */
977
+
978
+ COGL_END_DECLS
979
+
980
+ #endif /* __COGL_PIPELINE_STATE_H__ */