clutter 2.2.0-x86-mingw32 → 2.2.1-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 (631) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +14 -5
  3. data/lib/clutter.rb +1 -2
  4. data/vendor/local/bin/json-glib-format.exe +0 -0
  5. data/vendor/local/bin/json-glib-validate.exe +0 -0
  6. data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
  7. data/vendor/local/bin/{libcogl-15.dll → libcogl-20.dll} +0 -0
  8. data/vendor/local/bin/libcogl-pango-20.dll +0 -0
  9. data/vendor/local/bin/libcogl-path-20.dll +0 -0
  10. data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
  11. data/vendor/local/include/clutter-1.0/cally/cally-actor.h +9 -4
  12. data/vendor/local/include/clutter-1.0/cally/cally-clone.h +6 -4
  13. data/vendor/local/include/clutter-1.0/cally/cally-group.h +5 -3
  14. data/vendor/local/include/clutter-1.0/cally/cally-main.h +7 -2
  15. data/vendor/local/include/clutter-1.0/cally/cally-rectangle.h +5 -3
  16. data/vendor/local/include/clutter-1.0/cally/cally-root.h +6 -4
  17. data/vendor/local/include/clutter-1.0/cally/cally-stage.h +5 -3
  18. data/vendor/local/include/clutter-1.0/cally/cally-text.h +6 -4
  19. data/vendor/local/include/clutter-1.0/cally/cally-texture.h +6 -4
  20. data/vendor/local/include/clutter-1.0/cally/cally-util.h +7 -3
  21. data/vendor/local/include/clutter-1.0/clutter/clutter-action.h +13 -5
  22. data/vendor/local/include/clutter-1.0/clutter/clutter-actor-meta.h +8 -2
  23. data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +90 -1
  24. data/vendor/local/include/clutter-1.0/clutter/clutter-align-constraint.h +9 -1
  25. data/vendor/local/include/clutter-1.0/clutter/clutter-animatable.h +5 -0
  26. data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +15 -9
  27. data/vendor/local/include/clutter-1.0/clutter/clutter-bin-layout.h +4 -2
  28. data/vendor/local/include/clutter-1.0/clutter/clutter-bind-constraint.h +9 -1
  29. data/vendor/local/include/clutter-1.0/clutter/clutter-binding-pool.h +13 -0
  30. data/vendor/local/include/clutter-1.0/clutter/clutter-blur-effect.h +3 -1
  31. data/vendor/local/include/clutter-1.0/clutter/clutter-box-layout.h +9 -0
  32. data/vendor/local/include/clutter-1.0/clutter/clutter-brightness-contrast-effect.h +9 -1
  33. data/vendor/local/include/clutter-1.0/clutter/clutter-cairo.h +2 -0
  34. data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +7 -2
  35. data/vendor/local/include/clutter-1.0/clutter/clutter-child-meta.h +10 -8
  36. data/vendor/local/include/clutter-1.0/clutter/clutter-click-action.h +8 -2
  37. data/vendor/local/include/clutter-1.0/clutter/clutter-clone.h +8 -4
  38. data/vendor/local/include/clutter-1.0/clutter/clutter-color.h +32 -7
  39. data/vendor/local/include/clutter-1.0/clutter/clutter-colorize-effect.h +5 -1
  40. data/vendor/local/include/clutter-1.0/clutter/clutter-constraint.h +14 -2
  41. data/vendor/local/include/clutter-1.0/clutter/clutter-container.h +49 -37
  42. data/vendor/local/include/clutter-1.0/clutter/clutter-content.h +2 -2
  43. data/vendor/local/include/clutter-1.0/clutter/clutter-deform-effect.h +19 -13
  44. data/vendor/local/include/clutter-1.0/clutter/clutter-deprecated.h +1 -0
  45. data/vendor/local/include/clutter-1.0/clutter/clutter-desaturate-effect.h +5 -1
  46. data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +6 -2
  47. data/vendor/local/include/clutter-1.0/clutter/clutter-drag-action.h +12 -2
  48. data/vendor/local/include/clutter-1.0/clutter/clutter-drop-action.h +4 -2
  49. data/vendor/local/include/clutter-1.0/clutter/clutter-effect.h +11 -1
  50. data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +62 -55
  51. data/vendor/local/include/clutter-1.0/clutter/clutter-enums.h +23 -0
  52. data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +74 -8
  53. data/vendor/local/include/clutter-1.0/clutter/clutter-feature.h +2 -0
  54. data/vendor/local/include/clutter-1.0/clutter/clutter-fixed-layout.h +2 -0
  55. data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +14 -0
  56. data/vendor/local/include/clutter-1.0/clutter/clutter-gesture-action.h +27 -2
  57. data/vendor/local/include/clutter-1.0/clutter/clutter-group.h +1 -0
  58. data/vendor/local/include/clutter-1.0/clutter/clutter-image.h +2 -2
  59. data/vendor/local/include/clutter-1.0/clutter/clutter-input-device.h +20 -0
  60. data/vendor/local/include/clutter-1.0/clutter/clutter-interval.h +18 -0
  61. data/vendor/local/include/clutter-1.0/clutter/clutter-layout-manager.h +13 -0
  62. data/vendor/local/include/clutter-1.0/clutter/clutter-layout-meta.h +2 -0
  63. data/vendor/local/include/clutter-1.0/clutter/clutter-list-model.h +3 -0
  64. data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +67 -33
  65. data/vendor/local/include/clutter-1.0/clutter/clutter-main.h +36 -0
  66. data/vendor/local/include/clutter-1.0/clutter/clutter-model.h +42 -1
  67. data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +4 -0
  68. data/vendor/local/include/clutter-1.0/clutter/clutter-page-turn-effect.h +9 -1
  69. data/vendor/local/include/clutter-1.0/clutter/clutter-paint-nodes.h +5 -5
  70. data/vendor/local/include/clutter-1.0/clutter/clutter-pan-action.h +2 -2
  71. data/vendor/local/include/clutter-1.0/clutter/clutter-path-constraint.h +7 -1
  72. data/vendor/local/include/clutter-1.0/clutter/clutter-path.h +26 -0
  73. data/vendor/local/include/clutter-1.0/clutter/clutter-property-transition.h +2 -2
  74. data/vendor/local/include/clutter-1.0/clutter/clutter-rotate-action.h +2 -2
  75. data/vendor/local/include/clutter-1.0/clutter/clutter-script.h +16 -0
  76. data/vendor/local/include/clutter-1.0/clutter/clutter-scriptable.h +5 -0
  77. data/vendor/local/include/clutter-1.0/clutter/clutter-scroll-actor.h +2 -2
  78. data/vendor/local/include/clutter-1.0/clutter/clutter-settings.h +2 -0
  79. data/vendor/local/include/clutter-1.0/clutter/clutter-shader-effect.h +9 -2
  80. data/vendor/local/include/clutter-1.0/clutter/clutter-shader-types.h +10 -1
  81. data/vendor/local/include/clutter-1.0/clutter/clutter-snap-constraint.h +9 -1
  82. data/vendor/local/include/clutter-1.0/clutter/clutter-stage-manager.h +5 -0
  83. data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +35 -9
  84. data/vendor/local/include/clutter-1.0/clutter/clutter-swipe-action.h +4 -2
  85. data/vendor/local/include/clutter-1.0/clutter/clutter-tap-action.h +2 -2
  86. data/vendor/local/include/clutter-1.0/clutter/clutter-test-utils.h +164 -0
  87. data/vendor/local/include/clutter-1.0/clutter/clutter-text-buffer.h +2 -2
  88. data/vendor/local/include/clutter-1.0/clutter/clutter-text.h +67 -0
  89. data/vendor/local/include/clutter-1.0/clutter/clutter-texture.h +2 -0
  90. data/vendor/local/include/clutter-1.0/clutter/clutter-timeline.h +25 -0
  91. data/vendor/local/include/clutter-1.0/clutter/clutter-transition-group.h +2 -2
  92. data/vendor/local/include/clutter-1.0/clutter/clutter-transition.h +2 -2
  93. data/vendor/local/include/clutter-1.0/clutter/clutter-types.h +60 -6
  94. data/vendor/local/include/clutter-1.0/clutter/clutter-units.h +18 -0
  95. data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +37 -20
  96. data/vendor/local/include/clutter-1.0/clutter/clutter-zoom-action.h +2 -2
  97. data/vendor/local/include/clutter-1.0/clutter/clutter.h +2 -3
  98. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-fixed.h +1 -0
  99. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-state.h +3 -3
  100. data/vendor/local/include/clutter-1.0/clutter/{clutter-table-layout.h → deprecated/clutter-table-layout.h} +15 -0
  101. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeout-pool.h +1 -1
  102. data/vendor/local/include/clutter-1.0/clutter/win32/clutter-win32.h +5 -0
  103. data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +33 -14
  104. data/vendor/local/include/cogl/cogl-path/cogl-path-types.h +18 -14
  105. data/vendor/local/include/cogl/cogl-path/cogl-path.h +22 -12
  106. data/vendor/local/include/cogl/cogl-path/cogl1-path-functions.h +20 -13
  107. data/vendor/local/include/cogl/cogl-path/cogl2-path-functions.h +35 -13
  108. data/vendor/local/include/cogl/cogl/cogl-atlas-texture.h +81 -53
  109. data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +31 -11
  110. data/vendor/local/include/cogl/cogl/cogl-attribute.h +31 -11
  111. data/vendor/local/include/cogl/cogl/cogl-auto-texture.h +221 -0
  112. data/vendor/local/include/cogl/cogl/cogl-bitmap.h +31 -11
  113. data/vendor/local/include/cogl/cogl/cogl-buffer.h +26 -13
  114. data/vendor/local/include/cogl/cogl/cogl-clip-state.h +244 -15
  115. data/vendor/local/include/cogl/cogl/cogl-clutter.h +18 -13
  116. data/vendor/local/include/cogl/cogl/cogl-color.h +31 -11
  117. data/vendor/local/include/cogl/cogl/cogl-context.h +41 -14
  118. data/vendor/local/include/cogl/cogl/cogl-defines.h +20 -13
  119. data/vendor/local/include/cogl/cogl/cogl-deprecated.h +18 -11
  120. data/vendor/local/include/cogl/cogl/cogl-depth-state.h +20 -14
  121. data/vendor/local/include/cogl/cogl/cogl-display.h +33 -14
  122. data/vendor/local/include/cogl/cogl/cogl-enum-types.h +9 -6
  123. data/vendor/local/include/cogl/cogl/cogl-error.h +20 -15
  124. data/vendor/local/include/cogl/cogl/cogl-euler.h +31 -13
  125. data/vendor/local/include/cogl/cogl/cogl-fence.h +20 -13
  126. data/vendor/local/include/cogl/cogl/cogl-fixed.h +20 -13
  127. data/vendor/local/include/cogl/cogl/cogl-frame-info.h +31 -12
  128. data/vendor/local/include/cogl/cogl/cogl-framebuffer-deprecated.h +264 -0
  129. data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +70 -29
  130. data/vendor/local/include/cogl/cogl/cogl-gles2.h +64 -18
  131. data/vendor/local/include/cogl/cogl/cogl-glib-source.h +18 -11
  132. data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +31 -11
  133. data/vendor/local/include/cogl/cogl/cogl-indices.h +31 -11
  134. data/vendor/local/include/cogl/cogl/cogl-macros.h +33 -13
  135. data/vendor/local/include/cogl/cogl/cogl-material-compat.h +20 -13
  136. data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +37 -12
  137. data/vendor/local/include/cogl/cogl/cogl-matrix.h +34 -15
  138. data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +25 -12
  139. data/vendor/local/include/cogl/cogl/cogl-object.h +40 -12
  140. data/vendor/local/include/cogl/cogl/cogl-offscreen.h +31 -11
  141. data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +31 -12
  142. data/vendor/local/include/cogl/cogl/cogl-onscreen.h +63 -12
  143. data/vendor/local/include/cogl/cogl/cogl-output.h +31 -12
  144. data/vendor/local/include/cogl/cogl/cogl-pango.h +18 -11
  145. data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +20 -13
  146. data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +20 -13
  147. data/vendor/local/include/cogl/cogl/cogl-pipeline.h +31 -11
  148. data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +31 -11
  149. data/vendor/local/include/cogl/cogl/cogl-poll.h +20 -14
  150. data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +25 -12
  151. data/vendor/local/include/cogl/cogl/cogl-primitive.h +32 -13
  152. data/vendor/local/include/cogl/cogl/cogl-primitives.h +20 -13
  153. data/vendor/local/include/cogl/cogl/cogl-quaternion.h +34 -15
  154. data/vendor/local/include/cogl/cogl/cogl-renderer.h +33 -15
  155. data/vendor/local/include/cogl/cogl/cogl-shader.h +20 -13
  156. data/vendor/local/include/cogl/cogl/cogl-snippet.h +27 -12
  157. data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +29 -15
  158. data/vendor/local/include/cogl/cogl/cogl-swap-chain.h +33 -13
  159. data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +29 -24
  160. data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +54 -49
  161. data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +81 -65
  162. data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +71 -54
  163. data/vendor/local/include/cogl/cogl/cogl-texture-deprecated.h +105 -0
  164. data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +61 -48
  165. data/vendor/local/include/cogl/cogl/cogl-texture.h +157 -241
  166. data/vendor/local/include/cogl/cogl/cogl-type-casts.h +53 -0
  167. data/vendor/local/include/cogl/cogl/cogl-types.h +23 -11
  168. data/vendor/local/include/cogl/cogl/cogl-vector.h +20 -15
  169. data/vendor/local/include/cogl/cogl/cogl-version.h +28 -12
  170. data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +20 -13
  171. data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +18 -13
  172. data/vendor/local/include/cogl/cogl/cogl.h +61 -22
  173. data/vendor/local/include/cogl/cogl/cogl1-context.h +20 -434
  174. data/vendor/local/include/cogl/cogl/cogl2-experimental.h +18 -12
  175. data/vendor/local/include/cogl/cogl/deprecated/cogl-auto-texture.h +221 -0
  176. data/vendor/local/include/cogl/cogl/deprecated/cogl-clip-state.h +266 -0
  177. data/vendor/local/include/cogl/cogl/deprecated/cogl-clutter.h +54 -0
  178. data/vendor/local/include/cogl/cogl/deprecated/cogl-fixed.h +811 -0
  179. data/vendor/local/include/cogl/cogl/deprecated/cogl-framebuffer-deprecated.h +264 -0
  180. data/vendor/local/include/cogl/cogl/deprecated/cogl-material-compat.h +1391 -0
  181. data/vendor/local/include/cogl/cogl/deprecated/cogl-shader.h +704 -0
  182. data/vendor/local/include/cogl/cogl/deprecated/cogl-texture-deprecated.h +105 -0
  183. data/vendor/local/include/cogl/cogl/deprecated/cogl-type-casts.h +53 -0
  184. data/vendor/local/include/cogl/cogl/deprecated/cogl-vertex-buffer.h +451 -0
  185. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-core-functions.h +18 -11
  186. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h +18 -11
  187. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h +18 -11
  188. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h +18 -11
  189. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h +18 -11
  190. data/vendor/local/include/json-glib-1.0/json-glib/json-builder.h +21 -7
  191. data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +8 -3
  192. data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +16 -3
  193. data/vendor/local/include/json-glib-1.0/json-glib/json-glib.h +1 -0
  194. data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +23 -5
  195. data/vendor/local/include/json-glib-1.0/json-glib/json-gvariant.h +9 -2
  196. data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +17 -4
  197. data/vendor/local/include/json-glib-1.0/json-glib/json-path.h +13 -8
  198. data/vendor/local/include/json-glib-1.0/json-glib/json-reader.h +28 -7
  199. data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +97 -12
  200. data/vendor/local/include/json-glib-1.0/json-glib/json-version-macros.h +135 -0
  201. data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +14 -12
  202. data/vendor/local/lib/girepository-1.0/Clutter-1.0.typelib +0 -0
  203. data/vendor/local/lib/girepository-1.0/Cogl-1.0.typelib +0 -0
  204. data/vendor/local/lib/girepository-1.0/Cogl-2.0.typelib +0 -0
  205. data/vendor/local/lib/girepository-1.0/CoglPango-1.0.typelib +0 -0
  206. data/vendor/local/lib/girepository-1.0/CoglPango-2.0.typelib +0 -0
  207. data/vendor/local/lib/girepository-1.0/Json-1.0.typelib +0 -0
  208. data/vendor/local/lib/libclutter-1.0.dll.a +0 -0
  209. data/vendor/local/lib/libclutter-1.0.la +4 -4
  210. data/vendor/local/lib/libcogl-pango.dll.a +0 -0
  211. data/vendor/local/lib/libcogl-pango.la +5 -5
  212. data/vendor/local/lib/libcogl-path.dll.a +0 -0
  213. data/vendor/local/lib/libcogl-path.la +41 -0
  214. data/vendor/local/lib/libcogl.dll.a +0 -0
  215. data/vendor/local/lib/libcogl.la +5 -5
  216. data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
  217. data/vendor/local/lib/libjson-glib-1.0.la +3 -3
  218. data/vendor/local/lib/pkgconfig/cally-1.0.pc +1 -1
  219. data/vendor/local/lib/pkgconfig/clutter-1.0.pc +2 -2
  220. data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +2 -2
  221. data/vendor/local/lib/pkgconfig/cogl-1.0.pc +1 -1
  222. data/vendor/local/lib/pkgconfig/cogl-gl-1.0.pc +1 -1
  223. data/vendor/local/lib/pkgconfig/cogl-pango-1.0.pc +1 -1
  224. data/vendor/local/lib/pkgconfig/cogl-pango-2.0-experimental.pc +3 -3
  225. data/vendor/local/lib/pkgconfig/cogl-path-1.0.pc +13 -0
  226. data/vendor/local/lib/pkgconfig/cogl-path-2.0-experimental.pc +13 -0
  227. data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +1 -1
  228. data/vendor/local/share/gir-1.0/Cally-1.0.gir +4 -2
  229. data/vendor/local/share/gir-1.0/Clutter-1.0.gir +4527 -1814
  230. data/vendor/local/share/gir-1.0/Cogl-1.0.gir +1194 -1881
  231. data/vendor/local/share/gir-1.0/Cogl-2.0.gir +20369 -0
  232. data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +9 -5
  233. data/vendor/local/share/gir-1.0/CoglPango-2.0.gir +331 -0
  234. data/vendor/local/share/gir-1.0/Json-1.0.gir +363 -163
  235. data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +356 -259
  236. data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +91 -69
  237. data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +89 -71
  238. data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +90 -68
  239. data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +72 -59
  240. data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +92 -70
  241. data/vendor/local/share/gtk-doc/html/cally/CallyText.html +90 -66
  242. data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +90 -68
  243. data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +42 -37
  244. data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +109 -86
  245. data/vendor/local/share/gtk-doc/html/cally/cally.devhelp2 +16 -16
  246. data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +4 -4
  247. data/vendor/local/share/gtk-doc/html/cally/callybase.html +4 -4
  248. data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +16 -16
  249. data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +4 -4
  250. data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +4 -4
  251. data/vendor/local/share/gtk-doc/html/cally/ch01.html +4 -4
  252. data/vendor/local/share/gtk-doc/html/cally/ch02.html +4 -4
  253. data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +4 -4
  254. data/vendor/local/share/gtk-doc/html/cally/index.html +3 -3
  255. data/vendor/local/share/gtk-doc/html/cally/index.sgml +47 -29
  256. data/vendor/local/share/gtk-doc/html/cally/ix01.html +27 -29
  257. data/vendor/local/share/gtk-doc/html/cally/ix02.html +4 -4
  258. data/vendor/local/share/gtk-doc/html/cally/ix03.html +25 -27
  259. data/vendor/local/share/gtk-doc/html/cally/ix04.html +6 -6
  260. data/vendor/local/share/gtk-doc/html/cally/license.html +4 -4
  261. data/vendor/local/share/gtk-doc/html/cally/style.css +260 -105
  262. data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +47 -45
  263. data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +11634 -9660
  264. data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +283 -206
  265. data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +335 -242
  266. data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +595 -523
  267. data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +341 -273
  268. data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +995 -804
  269. data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +583 -432
  270. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +565 -457
  271. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +207 -169
  272. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +718 -518
  273. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +211 -172
  274. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +338 -283
  275. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +506 -367
  276. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +322 -275
  277. data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +329 -901
  278. data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +374 -553
  279. data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +65 -55
  280. data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +491 -419
  281. data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1032 -790
  282. data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +316 -243
  283. data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +613 -755
  284. data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +367 -373
  285. data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +181 -144
  286. data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +399 -316
  287. data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +177 -135
  288. data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +154 -105
  289. data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +137 -262
  290. data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1119 -851
  291. data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +238 -177
  292. data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +293 -225
  293. data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +159 -114
  294. data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +330 -243
  295. data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +772 -873
  296. data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +304 -766
  297. data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +353 -267
  298. data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +70 -57
  299. data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +646 -825
  300. data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +991 -555
  301. data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +725 -510
  302. data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +177 -133
  303. data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +380 -512
  304. data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1252 -962
  305. data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +414 -320
  306. data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +830 -923
  307. data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +118 -87
  308. data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +144 -130
  309. data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +742 -586
  310. data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +1398 -1058
  311. data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +563 -425
  312. data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +322 -265
  313. data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +292 -194
  314. data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +473 -333
  315. data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +653 -489
  316. data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1107 -855
  317. data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +277 -188
  318. data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +178 -130
  319. data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +334 -216
  320. data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +131 -95
  321. data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +709 -569
  322. data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +958 -899
  323. data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +242 -186
  324. data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +263 -606
  325. data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +243 -165
  326. data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +469 -368
  327. data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +353 -245
  328. data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +1967 -1513
  329. data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1273 -1005
  330. data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +200 -144
  331. data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +995 -745
  332. data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +123 -93
  333. data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +2742 -1997
  334. data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +647 -474
  335. data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +1482 -1223
  336. data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +2161 -1735
  337. data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +496 -383
  338. data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +175 -135
  339. data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +313 -236
  340. data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +29 -13
  341. data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +4 -4
  342. data/vendor/local/share/gtk-doc/html/clutter/ch01.html +4 -4
  343. data/vendor/local/share/gtk-doc/html/clutter/ch02.html +4 -7
  344. data/vendor/local/share/gtk-doc/html/clutter/ch03.html +4 -8
  345. data/vendor/local/share/gtk-doc/html/clutter/ch04.html +4 -4
  346. data/vendor/local/share/gtk-doc/html/clutter/ch05.html +4 -4
  347. data/vendor/local/share/gtk-doc/html/clutter/ch06.html +4 -4
  348. data/vendor/local/share/gtk-doc/html/clutter/ch07.html +4 -4
  349. data/vendor/local/share/gtk-doc/html/clutter/ch08.html +4 -4
  350. data/vendor/local/share/gtk-doc/html/clutter/ch09.html +4 -4
  351. data/vendor/local/share/gtk-doc/html/clutter/ch10.html +5 -5
  352. data/vendor/local/share/gtk-doc/html/clutter/ch11.html +4 -4
  353. data/vendor/local/share/gtk-doc/html/clutter/ch12.html +4 -4
  354. data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +3059 -2295
  355. data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +181 -137
  356. data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +340 -197
  357. data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +306 -222
  358. data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1272 -988
  359. data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +154 -69
  360. data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +2714 -1972
  361. data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +151 -116
  362. data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +205 -154
  363. data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +1455 -1890
  364. data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +1449 -1804
  365. data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +134 -112
  366. data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +625 -520
  367. data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +302 -239
  368. data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +872 -637
  369. data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +293 -213
  370. data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +674 -508
  371. data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +454 -339
  372. data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +816 -623
  373. data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +346 -302
  374. data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +60 -34
  375. data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-specific-support.html +200 -170
  376. data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +162 -119
  377. data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +678 -565
  378. data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +5 -5
  379. data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +1937 -2272
  380. data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +4 -4
  381. data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +4 -4
  382. data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +4 -11
  383. data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +4 -4
  384. data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +87 -87
  385. data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +4 -4
  386. data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +6 -6
  387. data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +5 -5
  388. data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +11 -4
  389. data/vendor/local/share/gtk-doc/html/clutter/go01.html +4 -4
  390. data/vendor/local/share/gtk-doc/html/clutter/index.html +11 -11
  391. data/vendor/local/share/gtk-doc/html/clutter/index.sgml +842 -978
  392. data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +7 -7
  393. data/vendor/local/share/gtk-doc/html/clutter/ix01.html +2005 -1923
  394. data/vendor/local/share/gtk-doc/html/clutter/ix02.html +663 -470
  395. data/vendor/local/share/gtk-doc/html/clutter/ix03.html +83 -85
  396. data/vendor/local/share/gtk-doc/html/clutter/ix04.html +122 -124
  397. data/vendor/local/share/gtk-doc/html/clutter/ix05.html +217 -219
  398. data/vendor/local/share/gtk-doc/html/clutter/ix06.html +148 -150
  399. data/vendor/local/share/gtk-doc/html/clutter/ix07.html +349 -351
  400. data/vendor/local/share/gtk-doc/html/clutter/ix08.html +177 -179
  401. data/vendor/local/share/gtk-doc/html/clutter/ix09.html +214 -216
  402. data/vendor/local/share/gtk-doc/html/clutter/ix10.html +83 -85
  403. data/vendor/local/share/gtk-doc/html/clutter/ix11.html +80 -82
  404. data/vendor/local/share/gtk-doc/html/clutter/ix12.html +219 -221
  405. data/vendor/local/share/gtk-doc/html/clutter/ix13.html +212 -214
  406. data/vendor/local/share/gtk-doc/html/clutter/ix14.html +22 -32
  407. data/vendor/local/share/gtk-doc/html/clutter/license.html +4 -4
  408. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +16 -16
  409. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +15 -15
  410. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +17 -17
  411. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +11 -12
  412. data/vendor/local/share/gtk-doc/html/clutter/migration.html +4 -4
  413. data/vendor/local/share/gtk-doc/html/clutter/pt09.html +4 -4
  414. data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +9 -4
  415. data/vendor/local/share/gtk-doc/html/clutter/style.css +260 -105
  416. data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +6 -6
  417. data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +513 -392
  418. data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +479 -347
  419. data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +804 -600
  420. data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +395 -362
  421. data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +788 -609
  422. data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +32 -43
  423. data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +9 -9
  424. data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +9 -9
  425. data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +9 -9
  426. data/vendor/local/share/gtk-doc/html/json-glib/ch05.html +40 -0
  427. data/vendor/local/share/gtk-doc/html/json-glib/home.png +0 -0
  428. data/vendor/local/share/gtk-doc/html/json-glib/index.html +15 -6
  429. data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +82 -73
  430. data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +230 -227
  431. data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +17 -22
  432. data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +20 -25
  433. data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +17 -22
  434. data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +50 -55
  435. data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +30 -35
  436. data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +39 -44
  437. data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +35 -40
  438. data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +12 -9
  439. data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +9 -9
  440. data/vendor/local/share/gtk-doc/html/json-glib/json-format-tool.html +84 -0
  441. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +306 -221
  442. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +261 -204
  443. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +843 -583
  444. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +223 -199
  445. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +1327 -912
  446. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +986 -694
  447. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +386 -301
  448. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +151 -87
  449. data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +204 -218
  450. data/vendor/local/share/gtk-doc/html/json-glib/json-glib.html +9 -9
  451. data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +9 -9
  452. data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +19 -13
  453. data/vendor/local/share/gtk-doc/html/json-glib/json-validate-tool.html +72 -0
  454. data/vendor/local/share/gtk-doc/html/json-glib/left-insensitive.png +0 -0
  455. data/vendor/local/share/gtk-doc/html/json-glib/left.png +0 -0
  456. data/vendor/local/share/gtk-doc/html/json-glib/license.html +9 -9
  457. data/vendor/local/share/gtk-doc/html/json-glib/right-insensitive.png +0 -0
  458. data/vendor/local/share/gtk-doc/html/json-glib/right.png +0 -0
  459. data/vendor/local/share/gtk-doc/html/json-glib/style.css +314 -104
  460. data/vendor/local/share/gtk-doc/html/json-glib/tools.html +38 -0
  461. data/vendor/local/share/gtk-doc/html/json-glib/up-insensitive.png +0 -0
  462. data/vendor/local/share/gtk-doc/html/json-glib/up.png +0 -0
  463. data/vendor/local/share/license/cogl/COPYING +107 -502
  464. data/vendor/local/share/locale/an/LC_MESSAGES/clutter-1.0.mo +0 -0
  465. data/vendor/local/share/locale/an/LC_MESSAGES/cogl.mo +0 -0
  466. data/vendor/local/share/locale/ar/LC_MESSAGES/clutter-1.0.mo +0 -0
  467. data/vendor/local/share/locale/ar/LC_MESSAGES/cogl.mo +0 -0
  468. data/vendor/local/share/locale/as/LC_MESSAGES/clutter-1.0.mo +0 -0
  469. data/vendor/local/share/locale/as/LC_MESSAGES/cogl.mo +0 -0
  470. data/vendor/local/share/locale/as/LC_MESSAGES/json-glib-1.0.mo +0 -0
  471. data/vendor/local/share/locale/ast/LC_MESSAGES/clutter-1.0.mo +0 -0
  472. data/vendor/local/share/locale/ast/LC_MESSAGES/cogl.mo +0 -0
  473. data/vendor/local/share/locale/az_IR/LC_MESSAGES/clutter-1.0.mo +0 -0
  474. data/vendor/local/share/locale/be/LC_MESSAGES/clutter-1.0.mo +0 -0
  475. data/vendor/local/share/locale/be/LC_MESSAGES/cogl.mo +0 -0
  476. data/vendor/local/share/locale/bg/LC_MESSAGES/clutter-1.0.mo +0 -0
  477. data/vendor/local/share/locale/bg/LC_MESSAGES/cogl.mo +0 -0
  478. data/vendor/local/share/locale/bg/LC_MESSAGES/json-glib-1.0.mo +0 -0
  479. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/json-glib-1.0.mo +0 -0
  480. data/vendor/local/share/locale/ca/LC_MESSAGES/clutter-1.0.mo +0 -0
  481. data/vendor/local/share/locale/ca/LC_MESSAGES/cogl.mo +0 -0
  482. data/vendor/local/share/locale/ca/LC_MESSAGES/json-glib-1.0.mo +0 -0
  483. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/clutter-1.0.mo +0 -0
  484. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/cogl.mo +0 -0
  485. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/json-glib-1.0.mo +0 -0
  486. data/vendor/local/share/locale/cs/LC_MESSAGES/clutter-1.0.mo +0 -0
  487. data/vendor/local/share/locale/cs/LC_MESSAGES/cogl.mo +0 -0
  488. data/vendor/local/share/locale/cs/LC_MESSAGES/json-glib-1.0.mo +0 -0
  489. data/vendor/local/share/locale/da/LC_MESSAGES/clutter-1.0.mo +0 -0
  490. data/vendor/local/share/locale/da/LC_MESSAGES/cogl.mo +0 -0
  491. data/vendor/local/share/locale/da/LC_MESSAGES/json-glib-1.0.mo +0 -0
  492. data/vendor/local/share/locale/de/LC_MESSAGES/clutter-1.0.mo +0 -0
  493. data/vendor/local/share/locale/de/LC_MESSAGES/cogl.mo +0 -0
  494. data/vendor/local/share/locale/de/LC_MESSAGES/json-glib-1.0.mo +0 -0
  495. data/vendor/local/share/locale/el/LC_MESSAGES/clutter-1.0.mo +0 -0
  496. data/vendor/local/share/locale/el/LC_MESSAGES/cogl.mo +0 -0
  497. data/vendor/local/share/locale/el/LC_MESSAGES/json-glib-1.0.mo +0 -0
  498. data/vendor/local/share/locale/en_CA/LC_MESSAGES/cogl.mo +0 -0
  499. data/vendor/local/share/locale/en_GB/LC_MESSAGES/clutter-1.0.mo +0 -0
  500. data/vendor/local/share/locale/en_GB/LC_MESSAGES/cogl.mo +0 -0
  501. data/vendor/local/share/locale/en_GB/LC_MESSAGES/json-glib-1.0.mo +0 -0
  502. data/vendor/local/share/locale/eo/LC_MESSAGES/clutter-1.0.mo +0 -0
  503. data/vendor/local/share/locale/eo/LC_MESSAGES/cogl.mo +0 -0
  504. data/vendor/local/share/locale/eo/LC_MESSAGES/json-glib-1.0.mo +0 -0
  505. data/vendor/local/share/locale/es/LC_MESSAGES/clutter-1.0.mo +0 -0
  506. data/vendor/local/share/locale/es/LC_MESSAGES/cogl.mo +0 -0
  507. data/vendor/local/share/locale/es/LC_MESSAGES/json-glib-1.0.mo +0 -0
  508. data/vendor/local/share/locale/et/LC_MESSAGES/json-glib-1.0.mo +0 -0
  509. data/vendor/local/share/locale/eu/LC_MESSAGES/clutter-1.0.mo +0 -0
  510. data/vendor/local/share/locale/eu/LC_MESSAGES/cogl.mo +0 -0
  511. data/vendor/local/share/locale/eu/LC_MESSAGES/json-glib-1.0.mo +0 -0
  512. data/vendor/local/share/locale/fa/LC_MESSAGES/clutter-1.0.mo +0 -0
  513. data/vendor/local/share/locale/fa/LC_MESSAGES/cogl.mo +0 -0
  514. data/vendor/local/share/locale/fi/LC_MESSAGES/clutter-1.0.mo +0 -0
  515. data/vendor/local/share/locale/fr/LC_MESSAGES/clutter-1.0.mo +0 -0
  516. data/vendor/local/share/locale/fr/LC_MESSAGES/cogl.mo +0 -0
  517. data/vendor/local/share/locale/fr/LC_MESSAGES/json-glib-1.0.mo +0 -0
  518. data/vendor/local/share/locale/fur/LC_MESSAGES/json-glib-1.0.mo +0 -0
  519. data/vendor/local/share/locale/gl/LC_MESSAGES/clutter-1.0.mo +0 -0
  520. data/vendor/local/share/locale/gl/LC_MESSAGES/cogl.mo +0 -0
  521. data/vendor/local/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  522. data/vendor/local/share/locale/he/LC_MESSAGES/clutter-1.0.mo +0 -0
  523. data/vendor/local/share/locale/he/LC_MESSAGES/cogl.mo +0 -0
  524. data/vendor/local/share/locale/he/LC_MESSAGES/json-glib-1.0.mo +0 -0
  525. data/vendor/local/share/locale/hi/LC_MESSAGES/clutter-1.0.mo +0 -0
  526. data/vendor/local/share/locale/hi/LC_MESSAGES/cogl.mo +0 -0
  527. data/vendor/local/share/locale/hi/LC_MESSAGES/json-glib-1.0.mo +0 -0
  528. data/vendor/local/share/locale/hu/LC_MESSAGES/clutter-1.0.mo +0 -0
  529. data/vendor/local/share/locale/hu/LC_MESSAGES/cogl.mo +0 -0
  530. data/vendor/local/share/locale/hu/LC_MESSAGES/json-glib-1.0.mo +0 -0
  531. data/vendor/local/share/locale/id/LC_MESSAGES/clutter-1.0.mo +0 -0
  532. data/vendor/local/share/locale/id/LC_MESSAGES/cogl.mo +0 -0
  533. data/vendor/local/share/locale/id/LC_MESSAGES/json-glib-1.0.mo +0 -0
  534. data/vendor/local/share/locale/it/LC_MESSAGES/clutter-1.0.mo +0 -0
  535. data/vendor/local/share/locale/it/LC_MESSAGES/cogl.mo +0 -0
  536. data/vendor/local/share/locale/it/LC_MESSAGES/json-glib-1.0.mo +0 -0
  537. data/vendor/local/share/locale/ja/LC_MESSAGES/clutter-1.0.mo +0 -0
  538. data/vendor/local/share/locale/ja/LC_MESSAGES/cogl.mo +0 -0
  539. data/vendor/local/share/locale/ja/LC_MESSAGES/json-glib-1.0.mo +0 -0
  540. data/vendor/local/share/locale/km/LC_MESSAGES/clutter-1.0.mo +0 -0
  541. data/vendor/local/share/locale/km/LC_MESSAGES/cogl.mo +0 -0
  542. data/vendor/local/share/locale/kn/LC_MESSAGES/clutter-1.0.mo +0 -0
  543. data/vendor/local/share/locale/kn/LC_MESSAGES/cogl.mo +0 -0
  544. data/vendor/local/share/locale/ko/LC_MESSAGES/clutter-1.0.mo +0 -0
  545. data/vendor/local/share/locale/ko/LC_MESSAGES/cogl.mo +0 -0
  546. data/vendor/local/share/locale/ko/LC_MESSAGES/json-glib-1.0.mo +0 -0
  547. data/vendor/local/share/locale/ky/LC_MESSAGES/json-glib-1.0.mo +0 -0
  548. data/vendor/local/share/locale/lt/LC_MESSAGES/clutter-1.0.mo +0 -0
  549. data/vendor/local/share/locale/lt/LC_MESSAGES/cogl.mo +0 -0
  550. data/vendor/local/share/locale/lt/LC_MESSAGES/json-glib-1.0.mo +0 -0
  551. data/vendor/local/share/locale/lv/LC_MESSAGES/clutter-1.0.mo +0 -0
  552. data/vendor/local/share/locale/lv/LC_MESSAGES/cogl.mo +0 -0
  553. data/vendor/local/share/locale/lv/LC_MESSAGES/json-glib-1.0.mo +0 -0
  554. data/vendor/local/share/locale/mk/LC_MESSAGES/clutter-1.0.mo +0 -0
  555. data/vendor/local/share/locale/ml/LC_MESSAGES/clutter-1.0.mo +0 -0
  556. data/vendor/local/share/locale/ml/LC_MESSAGES/cogl.mo +0 -0
  557. data/vendor/local/share/locale/ml/LC_MESSAGES/json-glib-1.0.mo +0 -0
  558. data/vendor/local/share/locale/nb/LC_MESSAGES/clutter-1.0.mo +0 -0
  559. data/vendor/local/share/locale/nb/LC_MESSAGES/cogl.mo +0 -0
  560. data/vendor/local/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo +0 -0
  561. data/vendor/local/share/locale/nl/LC_MESSAGES/clutter-1.0.mo +0 -0
  562. data/vendor/local/share/locale/nl/LC_MESSAGES/cogl.mo +0 -0
  563. data/vendor/local/share/locale/or/LC_MESSAGES/clutter-1.0.mo +0 -0
  564. data/vendor/local/share/locale/or/LC_MESSAGES/cogl.mo +0 -0
  565. data/vendor/local/share/locale/or/LC_MESSAGES/json-glib-1.0.mo +0 -0
  566. data/vendor/local/share/locale/pa/LC_MESSAGES/clutter-1.0.mo +0 -0
  567. data/vendor/local/share/locale/pa/LC_MESSAGES/cogl.mo +0 -0
  568. data/vendor/local/share/locale/pa/LC_MESSAGES/json-glib-1.0.mo +0 -0
  569. data/vendor/local/share/locale/pl/LC_MESSAGES/clutter-1.0.mo +0 -0
  570. data/vendor/local/share/locale/pl/LC_MESSAGES/cogl.mo +0 -0
  571. data/vendor/local/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  572. data/vendor/local/share/locale/ps/LC_MESSAGES/clutter-1.0.mo +0 -0
  573. data/vendor/local/share/locale/pt/LC_MESSAGES/clutter-1.0.mo +0 -0
  574. data/vendor/local/share/locale/pt/LC_MESSAGES/cogl.mo +0 -0
  575. data/vendor/local/share/locale/pt/LC_MESSAGES/json-glib-1.0.mo +0 -0
  576. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/clutter-1.0.mo +0 -0
  577. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/cogl.mo +0 -0
  578. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo +0 -0
  579. data/vendor/local/share/locale/ro/LC_MESSAGES/clutter-1.0.mo +0 -0
  580. data/vendor/local/share/locale/ru/LC_MESSAGES/clutter-1.0.mo +0 -0
  581. data/vendor/local/share/locale/ru/LC_MESSAGES/cogl.mo +0 -0
  582. data/vendor/local/share/locale/ru/LC_MESSAGES/json-glib-1.0.mo +0 -0
  583. data/vendor/local/share/locale/sk/LC_MESSAGES/clutter-1.0.mo +0 -0
  584. data/vendor/local/share/locale/sk/LC_MESSAGES/cogl.mo +0 -0
  585. data/vendor/local/share/locale/sk/LC_MESSAGES/json-glib-1.0.mo +0 -0
  586. data/vendor/local/share/locale/sl/LC_MESSAGES/clutter-1.0.mo +0 -0
  587. data/vendor/local/share/locale/sl/LC_MESSAGES/cogl.mo +0 -0
  588. data/vendor/local/share/locale/sl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  589. data/vendor/local/share/locale/sr/LC_MESSAGES/clutter-1.0.mo +0 -0
  590. data/vendor/local/share/locale/sr/LC_MESSAGES/cogl.mo +0 -0
  591. data/vendor/local/share/locale/sr/LC_MESSAGES/json-glib-1.0.mo +0 -0
  592. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/clutter-1.0.mo +0 -0
  593. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/cogl.mo +0 -0
  594. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/json-glib-1.0.mo +0 -0
  595. data/vendor/local/share/locale/sv/LC_MESSAGES/clutter-1.0.mo +0 -0
  596. data/vendor/local/share/locale/sv/LC_MESSAGES/cogl.mo +0 -0
  597. data/vendor/local/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo +0 -0
  598. data/vendor/local/share/locale/ta/LC_MESSAGES/clutter-1.0.mo +0 -0
  599. data/vendor/local/share/locale/ta/LC_MESSAGES/cogl.mo +0 -0
  600. data/vendor/local/share/locale/te/LC_MESSAGES/clutter-1.0.mo +0 -0
  601. data/vendor/local/share/locale/te/LC_MESSAGES/cogl.mo +0 -0
  602. data/vendor/local/share/locale/te/LC_MESSAGES/json-glib-1.0.mo +0 -0
  603. data/vendor/local/share/locale/tg/LC_MESSAGES/json-glib-1.0.mo +0 -0
  604. data/vendor/local/share/locale/th/LC_MESSAGES/cogl.mo +0 -0
  605. data/vendor/local/share/locale/tr/LC_MESSAGES/clutter-1.0.mo +0 -0
  606. data/vendor/local/share/locale/tr/LC_MESSAGES/cogl.mo +0 -0
  607. data/vendor/local/share/locale/tr/LC_MESSAGES/json-glib-1.0.mo +0 -0
  608. data/vendor/local/share/locale/ug/LC_MESSAGES/clutter-1.0.mo +0 -0
  609. data/vendor/local/share/locale/ug/LC_MESSAGES/cogl.mo +0 -0
  610. data/vendor/local/share/locale/ug/LC_MESSAGES/json-glib-1.0.mo +0 -0
  611. data/vendor/local/share/locale/uk/LC_MESSAGES/clutter-1.0.mo +0 -0
  612. data/vendor/local/share/locale/uk/LC_MESSAGES/cogl.mo +0 -0
  613. data/vendor/local/share/locale/uk/LC_MESSAGES/json-glib-1.0.mo +0 -0
  614. data/vendor/local/share/locale/ur/LC_MESSAGES/clutter-1.0.mo +0 -0
  615. data/vendor/local/share/locale/vi/LC_MESSAGES/cogl.mo +0 -0
  616. data/vendor/local/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo +0 -0
  617. data/vendor/local/share/locale/yi/LC_MESSAGES/clutter-1.0.mo +0 -0
  618. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/clutter-1.0.mo +0 -0
  619. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/cogl.mo +0 -0
  620. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/json-glib-1.0.mo +0 -0
  621. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/clutter-1.0.mo +0 -0
  622. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/cogl.mo +0 -0
  623. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/json-glib-1.0.mo +0 -0
  624. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/clutter-1.0.mo +0 -0
  625. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/cogl.mo +0 -0
  626. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/json-glib-1.0.mo +0 -0
  627. data/vendor/local/share/man/man1/json-glib-format.1 +60 -0
  628. data/vendor/local/share/man/man1/json-glib-validate.1 +56 -0
  629. metadata +66 -27
  630. data/vendor/local/bin/libcogl-pango-15.dll +0 -0
  631. data/vendor/local/share/gtk-doc/html/json-glib/ch04.html +0 -38
@@ -1,23 +1,29 @@
1
1
  /*
2
2
  * Cogl
3
3
  *
4
- * An object oriented GL/GLES Abstraction/Utility Layer
4
+ * A Low Level GPU Graphics and Utilities API
5
5
  *
6
6
  * Copyright (C) 2011 Intel Corporation.
7
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.
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:
12
15
  *
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.
16
+ * The above copyright notice and this permission notice shall be
17
+ * included in all copies or substantial portions of the Software.
17
18
  *
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/>.
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.
21
27
  *
22
28
  *
23
29
  * Authors:
@@ -63,6 +69,15 @@ COGL_BEGIN_DECLS
63
69
  typedef struct _CoglTextureRectangle CoglTextureRectangle;
64
70
  #define COGL_TEXTURE_RECTANGLE(X) ((CoglTextureRectangle *)X)
65
71
 
72
+ #ifdef COGL_HAS_GTYPE_SUPPORT
73
+ /**
74
+ * cogl_texture_rectangle_get_gtype:
75
+ *
76
+ * Returns: a #GType that can be used with the GLib type system.
77
+ */
78
+ GType cogl_texture_rectangle_get_gtype (void);
79
+ #endif
80
+
66
81
  /**
67
82
  * cogl_is_texture_rectangle:
68
83
  * @object: A #CoglObject
@@ -81,13 +96,11 @@ cogl_is_texture_rectangle (void *object);
81
96
  * @ctx: A #CoglContext pointer
82
97
  * @width: The texture width to allocate
83
98
  * @height: The texture height to allocate
84
- * @internal_format: The desired internal texture format
85
- * @error: An optional CoglError pointer for reporting exceptions
86
99
  *
87
- * Allocates a new #CoglTextureRectangle texture with a given @width, @height
88
- * and @internal_format. This texture is a low-level texture that
89
- * the GPU can sample from directly unlike high-level textures such
90
- * as #CoglTexture2DSliced and #CoglAtlasTexture.
100
+ * Creates a new #CoglTextureRectangle texture with a given @width,
101
+ * and @height. This texture is a low-level texture that the GPU can
102
+ * sample from directly unlike high-level textures such as
103
+ * #CoglTexture2DSliced and #CoglAtlasTexture.
91
104
  *
92
105
  * <note>Unlike for #CoglTexture2D textures, coordinates for
93
106
  * #CoglTextureRectangle textures should not be normalized. So instead
@@ -102,10 +115,15 @@ cogl_is_texture_rectangle (void *object);
102
115
  * first check for the %COGL_FEATURE_ID_TEXTURE_RECTANGLE feature
103
116
  * using cogl_has_feature().</note>
104
117
  *
105
- * Return value: (transfer full): A pointer to a newly allocated
106
- * #CoglTextureRectangle texture or if the size was too large
107
- * or there wasn't enough memory %NULL is returned and @error
108
- * set.
118
+ * The storage for the texture is not allocated before this function
119
+ * returns. You can call cogl_texture_allocate() to explicitly
120
+ * allocate the underlying storage or preferably let Cogl
121
+ * automatically allocate storage lazily when it may know more about
122
+ * how the texture is going to be used and can optimize how it is
123
+ * allocated.
124
+ *
125
+ * Returns value: (transfer full): A pointer to a new #CoglTextureRectangle
126
+ * object with no storage allocated yet.
109
127
  *
110
128
  * Since: 1.10
111
129
  * Stability: unstable
@@ -113,23 +131,17 @@ cogl_is_texture_rectangle (void *object);
113
131
  CoglTextureRectangle *
114
132
  cogl_texture_rectangle_new_with_size (CoglContext *ctx,
115
133
  int width,
116
- int height,
117
- CoglPixelFormat internal_format,
118
- CoglError **error);
134
+ int height);
119
135
 
120
136
  /**
121
137
  * cogl_texture_rectangle_new_from_bitmap:
122
138
  * @bitmap: A #CoglBitmap
123
- * @internal_format: the #CoglPixelFormat to use for the GPU storage of the
124
- * texture
125
- * @error: A return location for a CoglError or %NULL
126
139
  *
127
140
  * Allocates a new #CoglTextureRectangle texture which will be
128
- * initialized with the pixel data from @bitmap. Internally the data
129
- * will be stored in the format given by @internal_format. This
130
- * texture is a low-level texture that the GPU can sample from
131
- * directly unlike high-level textures such as #CoglTexture2DSliced
132
- * and #CoglAtlasTexture.
141
+ * initialized with the pixel data from @bitmap. This texture is a
142
+ * low-level texture that the GPU can sample from directly unlike
143
+ * high-level textures such as #CoglTexture2DSliced and
144
+ * #CoglAtlasTexture.
133
145
  *
134
146
  * <note>Unlike for #CoglTexture2D textures, coordinates for
135
147
  * #CoglTextureRectangle textures should not be normalized. So instead
@@ -144,17 +156,20 @@ cogl_texture_rectangle_new_with_size (CoglContext *ctx,
144
156
  * first check for the %COGL_FEATURE_ID_TEXTURE_RECTANGLE feature
145
157
  * using cogl_has_feature().</note>
146
158
  *
147
- * Return value: (transfer full): A pointer to a newly allocated
148
- * #CoglTextureRectangle texture or if the size was too large
149
- * or there wasn't enough memory %NULL is returned and @error
150
- * set.
159
+ * The storage for the texture is not allocated before this function
160
+ * returns. You can call cogl_texture_allocate() to explicitly
161
+ * allocate the underlying storage or preferably let Cogl
162
+ * automatically allocate storage lazily when it may know more about
163
+ * how the texture is going to be used and can optimize how it is
164
+ * allocated.
165
+ *
166
+ * Return value: (transfer full): A pointer to a new
167
+ * #CoglTextureRectangle texture.
151
168
  * Since: 2.0
152
169
  * Stability: unstable
153
170
  */
154
171
  CoglTextureRectangle *
155
- cogl_texture_rectangle_new_from_bitmap (CoglBitmap *bitmap,
156
- CoglPixelFormat internal_format,
157
- CoglError **error);
172
+ cogl_texture_rectangle_new_from_bitmap (CoglBitmap *bitmap);
158
173
 
159
174
  /**
160
175
  * cogl_texture_rectangle_new_from_foreign:
@@ -163,7 +178,6 @@ cogl_texture_rectangle_new_from_bitmap (CoglBitmap *bitmap,
163
178
  * @width: Width of the foreign GL texture
164
179
  * @height: Height of the foreign GL texture
165
180
  * @format: The format of the texture
166
- * @error: A #CoglError for exceptions
167
181
  *
168
182
  * Wraps an existing GL_TEXTURE_RECTANGLE texture object as a
169
183
  * #CoglTextureRectangle. This can be used for integrating Cogl with
@@ -185,20 +199,19 @@ cogl_texture_rectangle_new_from_bitmap (CoglBitmap *bitmap,
185
199
  * <note>Applications wanting to use #CoglTextureRectangle should
186
200
  * first check for the %COGL_FEATURE_ID_TEXTURE_RECTANGLE feature
187
201
  * using cogl_has_feature().</note>
188
-
189
- * Return value: (transfer full): A newly allocated
190
- * #CoglTextureRectangle, or if Cogl could not validate the
191
- * @gl_handle in some way (perhaps because of an unsupported
192
- * format) it will return %NULL and set @error.
193
202
  *
203
+ * The texture is still configurable until it has been allocated so
204
+ * for example you can declare whether the texture is premultiplied
205
+ * with cogl_texture_set_premultiplied().
206
+ *
207
+ * Return value: (transfer full): A new #CoglTextureRectangle texture
194
208
  */
195
209
  CoglTextureRectangle *
196
210
  cogl_texture_rectangle_new_from_foreign (CoglContext *ctx,
197
211
  unsigned int gl_handle,
198
212
  int width,
199
213
  int height,
200
- CoglPixelFormat format,
201
- CoglError **error);
214
+ CoglPixelFormat format);
202
215
 
203
216
  COGL_END_DECLS
204
217
 
@@ -1,22 +1,29 @@
1
1
  /*
2
2
  * Cogl
3
3
  *
4
- * An object oriented GL/GLES Abstraction/Utility Layer
4
+ * A Low Level GPU Graphics and Utilities API
5
5
  *
6
6
  * Copyright (C) 2007,2008,2009,2010 Intel Corporation.
7
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.
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:
12
15
  *
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.
16
+ * The above copyright notice and this permission notice shall be
17
+ * included in all copies or substantial portions of the Software.
17
18
  *
18
- * You should have received a copy of the GNU Lesser General Public
19
- * License along with this library. If not, see <http://www.gnu.org/licenses/>.
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.
20
27
  *
21
28
  *
22
29
  */
@@ -31,15 +38,28 @@
31
38
  /* We forward declare the CoglTexture type here to avoid some circular
32
39
  * dependency issues with the following headers.
33
40
  */
41
+ #ifdef __COGL_H_INSIDE__
42
+ /* For the public C api we typedef interface types as void to avoid needing
43
+ * lots of casting in code and instead we will rely on runtime type checking
44
+ * for these objects. */
45
+ typedef void CoglTexture;
46
+ #else
34
47
  typedef struct _CoglTexture CoglTexture;
48
+ #define COGL_TEXTURE(X) ((CoglTexture *)X)
49
+ #endif
35
50
 
36
51
  #include <cogl/cogl-types.h>
52
+ #include <cogl/cogl-macros.h>
37
53
  #include <cogl/cogl-defines.h>
38
54
  #if defined (COGL_ENABLE_EXPERIMENTAL_API)
39
55
  #include <cogl/cogl-pixel-buffer.h>
40
56
  #endif
41
57
  #include <cogl/cogl-bitmap.h>
42
58
 
59
+ #ifdef COGL_HAS_GTYPE_SUPPORT
60
+ #include <glib-object.h>
61
+ #endif
62
+
43
63
  COGL_BEGIN_DECLS
44
64
 
45
65
  /**
@@ -51,28 +71,37 @@ COGL_BEGIN_DECLS
51
71
  * loading and manipulating textures.
52
72
  */
53
73
 
54
- #define COGL_TEXTURE(X) ((CoglTexture *)X)
55
-
56
74
  #define COGL_TEXTURE_MAX_WASTE 127
57
75
 
76
+ #ifdef COGL_HAS_GTYPE_SUPPORT
77
+ /**
78
+ * cogl_texture_get_gtype:
79
+ *
80
+ * Returns: a #GType that can be used with the GLib type system.
81
+ */
82
+ GType cogl_texture_get_gtype (void);
83
+ #endif
84
+
58
85
  /**
59
86
  * COGL_TEXTURE_ERROR:
60
87
  *
61
88
  * #CoglError domain for texture errors.
62
89
  *
63
- * Since: 2.0
90
+ * Since: 1.8
64
91
  * Stability: Unstable
65
92
  */
66
93
  #define COGL_TEXTURE_ERROR (cogl_texture_error_quark ())
67
94
 
68
-
69
95
  /**
70
96
  * CoglTextureError:
71
97
  * @COGL_TEXTURE_ERROR_SIZE: Unsupported size
98
+ * @COGL_TEXTURE_ERROR_FORMAT: Unsupported format
99
+ * @COGL_TEXTURE_ERROR_TYPE: A primitive texture type that is
100
+ * unsupported by the driver was used
72
101
  *
73
102
  * Error codes that can be thrown when allocating textures.
74
103
  *
75
- * Since: 2.0
104
+ * Since: 1.8
76
105
  * Stability: Unstable
77
106
  */
78
107
  typedef enum {
@@ -103,151 +132,139 @@ typedef enum {
103
132
  uint32_t cogl_texture_error_quark (void);
104
133
 
105
134
  /**
106
- * cogl_texture_new_with_size:
107
- * @width: width of texture in pixels.
108
- * @height: height of texture in pixels.
109
- * @flags: Optional flags for the texture, or %COGL_TEXTURE_NONE
110
- * @internal_format: the #CoglPixelFormat to use for the GPU storage of the
111
- * texture.
112
- *
113
- * Creates a new #CoglTexture with the specified dimensions and pixel format.
135
+ * cogl_is_texture:
136
+ * @object: A #CoglObject pointer
114
137
  *
115
- * Return value: (transfer full): A newly created #CoglTexture or %NULL on failure
138
+ * Gets whether the given object references a texture object.
116
139
  *
117
- * Since: 0.8
118
- */
119
- CoglTexture *
120
- cogl_texture_new_with_size (unsigned int width,
121
- unsigned int height,
122
- CoglTextureFlags flags,
123
- CoglPixelFormat internal_format);
124
-
125
- /**
126
- * cogl_texture_new_from_file:
127
- * @filename: the file to load
128
- * @flags: Optional flags for the texture, or %COGL_TEXTURE_NONE
129
- * @internal_format: the #CoglPixelFormat to use for the GPU storage of the
130
- * texture. If %COGL_PIXEL_FORMAT_ANY is given then a premultiplied
131
- * format similar to the format of the source data will be used. The
132
- * default blending equations of Cogl expect premultiplied color data;
133
- * the main use of passing a non-premultiplied format here is if you
134
- * have non-premultiplied source data and are going to adjust the blend
135
- * mode (see cogl_material_set_blend()) or use the data for something
136
- * other than straight blending.
137
- * @error: return location for a #CoglError or %NULL
138
- *
139
- * Creates a #CoglTexture from an image file.
140
- *
141
- * Return value: (transfer full): A newly created #CoglTexture or
142
- * %NULL on failure
143
- *
144
- * Since: 0.8
140
+ * Return value: %TRUE if the @object references a texture, and
141
+ * %FALSE otherwise
145
142
  */
146
- CoglTexture *
147
- cogl_texture_new_from_file (const char *filename,
148
- CoglTextureFlags flags,
149
- CoglPixelFormat internal_format,
150
- CoglError **error);
143
+ CoglBool
144
+ cogl_is_texture (void *object);
151
145
 
152
146
  /**
153
- * cogl_texture_new_from_data:
154
- * @width: width of texture in pixels
155
- * @height: height of texture in pixels
156
- * @flags: Optional flags for the texture, or %COGL_TEXTURE_NONE
157
- * @format: the #CoglPixelFormat the buffer is stored in in RAM
158
- * @internal_format: the #CoglPixelFormat that will be used for storing
159
- * the buffer on the GPU. If COGL_PIXEL_FORMAT_ANY is given then a
160
- * premultiplied format similar to the format of the source data will
161
- * be used. The default blending equations of Cogl expect premultiplied
162
- * color data; the main use of passing a non-premultiplied format here
163
- * is if you have non-premultiplied source data and are going to adjust
164
- * the blend mode (see cogl_material_set_blend()) or use the data for
165
- * something other than straight blending.
166
- * @rowstride: the memory offset in bytes between the starts of
167
- * scanlines in @data
168
- * @data: pointer the memory region where the source buffer resides
169
- *
170
- * Creates a new #CoglTexture based on data residing in memory.
171
- *
172
- * Return value: (transfer full): A newly created #CoglTexture or
173
- * %NULL on failure
174
- *
175
- * Since: 0.8
147
+ * CoglTextureComponents:
148
+ * @COGL_TEXTURE_COMPONENTS_A: Only the alpha component
149
+ * @COGL_TEXTURE_COMPONENTS_RG: Red and green components. Note that
150
+ * this can only be used if the %COGL_FEATURE_ID_TEXTURE_RG feature
151
+ * is advertised.
152
+ * @COGL_TEXTURE_COMPONENTS_RGB: Red, green and blue components
153
+ * @COGL_TEXTURE_COMPONENTS_RGBA: Red, green, blue and alpha components
154
+ * @COGL_TEXTURE_COMPONENTS_DEPTH: Only a depth component
155
+ *
156
+ * See cogl_texture_set_components().
157
+ *
158
+ * Since: 1.18
176
159
  */
177
- CoglTexture *
178
- cogl_texture_new_from_data (int width,
179
- int height,
180
- CoglTextureFlags flags,
181
- CoglPixelFormat format,
182
- CoglPixelFormat internal_format,
183
- int rowstride,
184
- const uint8_t *data);
160
+ typedef enum _CoglTextureComponents
161
+ {
162
+ COGL_TEXTURE_COMPONENTS_A = 1,
163
+ COGL_TEXTURE_COMPONENTS_RG,
164
+ COGL_TEXTURE_COMPONENTS_RGB,
165
+ COGL_TEXTURE_COMPONENTS_RGBA,
166
+ COGL_TEXTURE_COMPONENTS_DEPTH
167
+ } CoglTextureComponents;
185
168
 
186
169
  /**
187
- * cogl_texture_new_from_foreign:
188
- * @gl_handle: opengl handle of foreign texture.
189
- * @gl_target: opengl target type of foreign texture
190
- * @width: width of foreign texture
191
- * @height: height of foreign texture.
192
- * @x_pot_waste: horizontal waste on the right hand edge of the texture.
193
- * @y_pot_waste: vertical waste on the bottom edge of the texture.
194
- * @format: format of the foreign texture.
195
- *
196
- * Creates a #CoglTexture based on an existing OpenGL texture; the
197
- * width, height and format are passed along since it is not always
198
- * possible to query these from OpenGL.
199
- *
200
- * The waste arguments allow you to create a Cogl texture that maps to
201
- * a region smaller than the real OpenGL texture. For instance if your
202
- * hardware only supports power-of-two textures you may load a
203
- * non-power-of-two image into a larger power-of-two texture and use
204
- * the waste arguments to tell Cogl which region should be mapped to
205
- * the texture coordinate range [0:1].
206
- *
207
- * Return value: (transfer full): A newly created #CoglTexture or
208
- * %NULL on failure
209
- *
210
- * Since: 0.8
170
+ * cogl_texture_set_components:
171
+ * @texture: a #CoglTexture pointer.
172
+ *
173
+ * Affects the internal storage format for this texture by specifying
174
+ * what components will be required for sampling later.
175
+ *
176
+ * This api affects how data is uploaded to the GPU since unused
177
+ * components can potentially be discarded from source data.
178
+ *
179
+ * For textures created by the ‘_with_size’ constructors the default
180
+ * is %COGL_TEXTURE_COMPONENTS_RGBA. The other constructors which take
181
+ * a %CoglBitmap or a data pointer default to the same components as
182
+ * the pixel format of the data.
183
+ *
184
+ * Note that the %COGL_TEXTURE_COMPONENTS_RG format is not available
185
+ * on all drivers. The availability can be determined by checking for
186
+ * the %COGL_FEATURE_ID_TEXTURE_RG feature. If this format is used on
187
+ * a driver where it is not available then %COGL_TEXTURE_ERROR_FORMAT
188
+ * will be raised when the texture is allocated. Even if the feature
189
+ * is not available then %COGL_PIXEL_FORMAT_RG_88 can still be used as
190
+ * an image format as long as %COGL_TEXTURE_COMPONENTS_RG isn't used
191
+ * as the texture's components.
192
+ *
193
+ * Since: 1.18
211
194
  */
212
- CoglTexture *
213
- cogl_texture_new_from_foreign (unsigned int gl_handle,
214
- unsigned int gl_target,
215
- unsigned int width,
216
- unsigned int height,
217
- unsigned int x_pot_waste,
218
- unsigned int y_pot_waste,
219
- CoglPixelFormat format);
195
+ void
196
+ cogl_texture_set_components (CoglTexture *texture,
197
+ CoglTextureComponents components);
220
198
 
221
199
  /**
222
- * cogl_texture_new_from_bitmap:
223
- * @bitmap: A #CoglBitmap pointer
224
- * @flags: Optional flags for the texture, or %COGL_TEXTURE_NONE
225
- * @internal_format: the #CoglPixelFormat to use for the GPU storage of the
226
- * texture
200
+ * cogl_texture_get_components:
201
+ * @texture: a #CoglTexture pointer.
227
202
  *
228
- * Creates a #CoglTexture from a #CoglBitmap.
203
+ * Queries what components the given @texture stores internally as set
204
+ * via cogl_texture_set_components().
229
205
  *
230
- * Return value: (transfer full): A newly created #CoglTexture or
231
- * %NULL on failure
206
+ * For textures created by the ‘_with_size’ constructors the default
207
+ * is %COGL_TEXTURE_COMPONENTS_RGBA. The other constructors which take
208
+ * a %CoglBitmap or a data pointer default to the same components as
209
+ * the pixel format of the data.
232
210
  *
233
- * Since: 1.0
211
+ * Since: 1.18
234
212
  */
235
- CoglTexture *
236
- cogl_texture_new_from_bitmap (CoglBitmap *bitmap,
237
- CoglTextureFlags flags,
238
- CoglPixelFormat internal_format);
213
+ CoglTextureComponents
214
+ cogl_texture_get_components (CoglTexture *texture);
239
215
 
240
216
  /**
241
- * cogl_is_texture:
242
- * @object: A #CoglObject pointer
217
+ * cogl_texture_set_premultiplied:
218
+ * @texture: a #CoglTexture pointer.
219
+ * @premultiplied: Whether any internally stored red, green or blue
220
+ * components are pre-multiplied by an alpha
221
+ * component.
222
+ *
223
+ * Affects the internal storage format for this texture by specifying
224
+ * whether red, green and blue color components should be stored as
225
+ * pre-multiplied alpha values.
226
+ *
227
+ * This api affects how data is uploaded to the GPU since Cogl will
228
+ * convert source data to have premultiplied or unpremultiplied
229
+ * components according to this state.
230
+ *
231
+ * For example if you create a texture via
232
+ * cogl_texture_2d_new_with_size() and then upload data via
233
+ * cogl_texture_set_data() passing a source format of
234
+ * %COGL_PIXEL_FORMAT_RGBA_8888 then Cogl will internally multiply the
235
+ * red, green and blue components of the source data by the alpha
236
+ * component, for each pixel so that the internally stored data has
237
+ * pre-multiplied alpha components. If you instead upload data that
238
+ * already has pre-multiplied components by passing
239
+ * %COGL_PIXEL_FORMAT_RGBA_8888_PRE as the source format to
240
+ * cogl_texture_set_data() then the data can be uploaded without being
241
+ * converted.
242
+ *
243
+ * By default the @premultipled state is @TRUE.
244
+ *
245
+ * Since: 1.18
246
+ */
247
+ void
248
+ cogl_texture_set_premultiplied (CoglTexture *texture,
249
+ CoglBool premultiplied);
250
+
251
+ /**
252
+ * cogl_texture_get_premultiplied:
253
+ * @texture: a #CoglTexture pointer.
243
254
  *
244
- * Gets whether the given object references a texture object.
255
+ * Queries the pre-multiplied alpha status for internally stored red,
256
+ * green and blue components for the given @texture as set by
257
+ * cogl_texture_set_premultiplied().
245
258
  *
246
- * Return value: %TRUE if the @object references a texture, and
247
- * %FALSE otherwise
259
+ * By default the pre-multipled state is @TRUE.
260
+ *
261
+ * Return value: %TRUE if red, green and blue components are
262
+ * internally stored pre-multiplied by the alpha
263
+ * value or %FALSE if not.
264
+ * Since: 1.18
248
265
  */
249
266
  CoglBool
250
- cogl_is_texture (void *object);
267
+ cogl_texture_get_premultiplied (CoglTexture *texture);
251
268
 
252
269
  /**
253
270
  * cogl_texture_get_width:
@@ -271,50 +288,6 @@ cogl_texture_get_width (CoglTexture *texture);
271
288
  unsigned int
272
289
  cogl_texture_get_height (CoglTexture *texture);
273
290
 
274
- /**
275
- * cogl_texture_get_format:
276
- * @texture: a #CoglTexture pointer.
277
- *
278
- * Queries the #CoglPixelFormat of a cogl texture.
279
- *
280
- * Return value: the #CoglPixelFormat of the GPU side texture
281
- */
282
- CoglPixelFormat
283
- cogl_texture_get_format (CoglTexture *texture);
284
-
285
-
286
- /**
287
- * cogl_texture_get_rowstride:
288
- * @texture a #CoglTexture pointer.
289
- *
290
- * Determines the bytes-per-pixel for the #CoglPixelFormat retrieved
291
- * from cogl_texture_get_format() and multiplies that by the texture's
292
- * width.
293
- *
294
- * <note>It's very unlikely that anyone would need to use this API to
295
- * query the internal rowstride of a #CoglTexture which can just be
296
- * considered an implementation detail. Actually it's not even useful
297
- * internally since underlying drivers are free to use a different
298
- * format</note>
299
- *
300
- * <note>This API is only here for backwards compatibility and
301
- * shouldn't be used in new code. In particular please don't be
302
- * mislead to pass the returned value to cogl_texture_get_data() for
303
- * the rowstride, since you should be passing the rowstride you desire
304
- * for your destination buffer not the rowstride of the source
305
- * texture.</note>
306
- *
307
- * Return value: The bytes-per-pixel for the current format
308
- * multiplied by the texture's width
309
- *
310
- * Deprecated: 1.10: There's no replacement for the API but there's
311
- * also no known need for API either. It was just
312
- * a mistake that it was ever published.
313
- */
314
- COGL_DEPRECATED_IN_1_10
315
- unsigned int
316
- cogl_texture_get_rowstride (CoglTexture *texture);
317
-
318
291
  /**
319
292
  * cogl_texture_get_max_waste:
320
293
  * @texture: a #CoglTexture pointer.
@@ -524,63 +497,6 @@ cogl_texture_set_region_from_bitmap (CoglTexture *texture,
524
497
  CoglBitmap *bitmap);
525
498
  #endif
526
499
 
527
- /**
528
- * cogl_texture_new_from_sub_texture:
529
- * @full_texture: a #CoglTexture pointer
530
- * @sub_x: X coordinate of the top-left of the subregion
531
- * @sub_y: Y coordinate of the top-left of the subregion
532
- * @sub_width: Width in pixels of the subregion
533
- * @sub_height: Height in pixels of the subregion
534
- *
535
- * Creates a new texture which represents a subregion of another
536
- * texture. The GL resources will be shared so that no new texture
537
- * data is actually allocated.
538
- *
539
- * Sub textures have undefined behaviour texture coordinates outside
540
- * of the range [0,1] are used. They also do not work with
541
- * CoglVertexBuffers.
542
- *
543
- * The sub texture will keep a reference to the full texture so you do
544
- * not need to keep one separately if you only want to use the sub
545
- * texture.
546
- *
547
- * Return value: (transfer full): A newly created #CoglTexture or
548
- * %NULL on failure
549
- * Since: 1.2
550
- */
551
- CoglTexture *
552
- cogl_texture_new_from_sub_texture (CoglTexture *full_texture,
553
- int sub_x,
554
- int sub_y,
555
- int sub_width,
556
- int sub_height);
557
-
558
- /**
559
- * cogl_texture_ref: (skip)
560
- * @texture: a #CoglTexture.
561
- *
562
- * Increment the reference count for a cogl texture.
563
- *
564
- * Deprecated: 1.2: Use cogl_object_ref() instead
565
- *
566
- * Return value: the @texture pointer.
567
- */
568
- COGL_DEPRECATED_FOR (cogl_object_ref)
569
- void *
570
- cogl_texture_ref (void *texture);
571
-
572
- /**
573
- * cogl_texture_unref: (skip)
574
- * @texture: a #CoglTexture.
575
- *
576
- * Decrement the reference count for a cogl texture.
577
- *
578
- * Deprecated: 1.2: Use cogl_object_unref() instead
579
- */
580
- COGL_DEPRECATED_FOR (cogl_object_unref)
581
- void
582
- cogl_texture_unref (void *texture);
583
-
584
500
  /**
585
501
  * cogl_texture_allocate:
586
502
  * @texture: A #CoglTexture