clutter 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (480) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +4 -4
  3. data/lib/clutter.rb +1 -1
  4. data/sample/easing-modes.rb +1 -3
  5. data/test/clutter-test-utils.rb +6 -1
  6. data/test/run-test.rb +2 -0
  7. data/test/test-clutter-color.rb +8 -0
  8. data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
  9. data/vendor/local/bin/libcogl-15.dll +0 -0
  10. data/vendor/local/bin/libcogl-pango-15.dll +0 -0
  11. data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
  12. data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +16 -4
  13. data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +3 -0
  14. data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +5 -4
  15. data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +3 -1
  16. data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +19 -6
  17. data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +5 -0
  18. data/vendor/local/include/clutter-1.0/clutter/clutter-input-device.h +2 -0
  19. data/vendor/local/include/clutter-1.0/clutter/clutter-layout-manager.h +1 -2
  20. data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +14 -0
  21. data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +6 -0
  22. data/vendor/local/include/clutter-1.0/clutter/clutter-text.h +9 -6
  23. data/vendor/local/include/clutter-1.0/clutter/clutter-types.h +5 -1
  24. data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +14 -4
  25. data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +38 -4
  26. data/vendor/local/include/cogl/cogl-path/cogl-path-enum-types.h +20 -0
  27. data/vendor/local/include/cogl/{cogl/cogl-path.h → cogl-path/cogl-path-types.h} +6 -27
  28. data/vendor/local/include/cogl/cogl-path/cogl-path.h +58 -0
  29. data/vendor/local/include/cogl/{cogl/cogl-path-functions.h → cogl-path/cogl1-path-functions.h} +30 -0
  30. data/vendor/local/include/cogl/{cogl/cogl2-path.h → cogl-path/cogl2-path-functions.h} +87 -70
  31. data/vendor/local/include/cogl/cogl/cogl-atlas-texture.h +230 -0
  32. data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +4 -3
  33. data/vendor/local/include/cogl/cogl/cogl-attribute.h +40 -34
  34. data/vendor/local/include/cogl/cogl/cogl-bitmap.h +14 -12
  35. data/vendor/local/include/cogl/cogl/cogl-buffer.h +4 -2
  36. data/vendor/local/include/cogl/cogl/cogl-clip-state.h +0 -13
  37. data/vendor/local/include/cogl/cogl/cogl-clutter.h +2 -0
  38. data/vendor/local/include/cogl/cogl/cogl-color.h +48 -7
  39. data/vendor/local/include/cogl/cogl/cogl-context.h +28 -4
  40. data/vendor/local/include/cogl/cogl/cogl-defines.h +3 -2
  41. data/vendor/local/include/cogl/cogl/cogl-depth-state.h +1 -1
  42. data/vendor/local/include/cogl/cogl/cogl-display.h +26 -3
  43. data/vendor/local/include/cogl/cogl/cogl-enum-types.h +0 -4
  44. data/vendor/local/include/cogl/cogl/cogl-error.h +4 -0
  45. data/vendor/local/include/cogl/cogl/cogl-fence.h +136 -0
  46. data/vendor/local/include/cogl/cogl/cogl-frame-info.h +2 -2
  47. data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +32 -84
  48. data/vendor/local/include/cogl/cogl/cogl-glib-source.h +34 -3
  49. data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +2 -0
  50. data/vendor/local/include/cogl/cogl/cogl-macros.h +253 -0
  51. data/vendor/local/include/cogl/cogl/cogl-material-compat.h +114 -6
  52. data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +1 -1
  53. data/vendor/local/include/cogl/cogl/cogl-matrix.h +8 -4
  54. data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +8 -8
  55. data/vendor/local/include/cogl/cogl/cogl-object.h +6 -2
  56. data/vendor/local/include/cogl/cogl/cogl-offscreen.h +41 -6
  57. data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +1 -1
  58. data/vendor/local/include/cogl/cogl/cogl-onscreen.h +265 -45
  59. data/vendor/local/include/cogl/cogl/cogl-output.h +1 -1
  60. data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +2 -2
  61. data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +57 -8
  62. data/vendor/local/include/cogl/cogl/cogl-pipeline.h +6 -5
  63. data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +6 -2
  64. data/vendor/local/include/cogl/cogl/cogl-poll.h +44 -24
  65. data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +3 -3
  66. data/vendor/local/include/cogl/cogl/cogl-primitive.h +86 -29
  67. data/vendor/local/include/cogl/cogl/cogl-quaternion.h +7 -7
  68. data/vendor/local/include/cogl/cogl/cogl-renderer.h +7 -2
  69. data/vendor/local/include/cogl/cogl/cogl-shader.h +72 -29
  70. data/vendor/local/include/cogl/cogl/cogl-snippet.h +76 -11
  71. data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +2 -2
  72. data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +5 -5
  73. data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +167 -1
  74. data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +36 -9
  75. data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +6 -6
  76. data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +13 -12
  77. data/vendor/local/include/cogl/cogl/cogl-texture.h +18 -21
  78. data/vendor/local/include/cogl/cogl/cogl-types.h +2 -1
  79. data/vendor/local/include/cogl/cogl/cogl-version.h +150 -3
  80. data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +44 -9
  81. data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +19 -0
  82. data/vendor/local/include/cogl/cogl/cogl.h +13 -9
  83. data/vendor/local/include/cogl/cogl/cogl1-context.h +174 -67
  84. data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +3 -3
  85. data/vendor/local/lib/girepository-1.0/Clutter-1.0.typelib +0 -0
  86. data/vendor/local/lib/girepository-1.0/Cogl-1.0.typelib +0 -0
  87. data/vendor/local/lib/girepository-1.0/CoglPango-1.0.typelib +0 -0
  88. data/vendor/local/lib/girepository-1.0/Json-1.0.typelib +0 -0
  89. data/vendor/local/lib/libclutter-1.0.dll.a +0 -0
  90. data/vendor/local/lib/libclutter-1.0.la +5 -5
  91. data/vendor/local/lib/libcogl-pango.dll.a +0 -0
  92. data/vendor/local/lib/libcogl-pango.la +6 -6
  93. data/vendor/local/lib/libcogl.dll.a +0 -0
  94. data/vendor/local/lib/libcogl.la +5 -5
  95. data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
  96. data/vendor/local/lib/libjson-glib-1.0.la +2 -2
  97. data/vendor/local/lib/pkgconfig/cally-1.0.pc +1 -1
  98. data/vendor/local/lib/pkgconfig/clutter-1.0.pc +2 -2
  99. data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +2 -2
  100. data/vendor/local/lib/pkgconfig/cogl-1.0.pc +1 -1
  101. data/vendor/local/lib/pkgconfig/cogl-gl-1.0.pc +1 -1
  102. data/vendor/local/lib/pkgconfig/cogl-pango-1.0.pc +1 -1
  103. data/vendor/local/lib/pkgconfig/cogl-pango-2.0-experimental.pc +1 -1
  104. data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +1 -1
  105. data/vendor/local/share/gir-1.0/Cally-1.0.gir +74 -74
  106. data/vendor/local/share/gir-1.0/Clutter-1.0.gir +6548 -6241
  107. data/vendor/local/share/gir-1.0/Cogl-1.0.gir +1906 -1405
  108. data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +69 -46
  109. data/vendor/local/share/gir-1.0/Json-1.0.gir +694 -694
  110. data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +12 -15
  111. data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +12 -15
  112. data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +12 -15
  113. data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +12 -15
  114. data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +12 -15
  115. data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +12 -15
  116. data/vendor/local/share/gtk-doc/html/cally/CallyText.html +12 -15
  117. data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +12 -15
  118. data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +12 -15
  119. data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +12 -15
  120. data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +12 -12
  121. data/vendor/local/share/gtk-doc/html/cally/callybase.html +9 -9
  122. data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +9 -9
  123. data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +9 -9
  124. data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +9 -9
  125. data/vendor/local/share/gtk-doc/html/cally/ch01.html +9 -9
  126. data/vendor/local/share/gtk-doc/html/cally/ch02.html +9 -9
  127. data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +9 -9
  128. data/vendor/local/share/gtk-doc/html/cally/home.png +0 -0
  129. data/vendor/local/share/gtk-doc/html/cally/index.html +4 -4
  130. data/vendor/local/share/gtk-doc/html/cally/index.sgml +1 -1
  131. data/vendor/local/share/gtk-doc/html/cally/ix01.html +23 -26
  132. data/vendor/local/share/gtk-doc/html/cally/ix02.html +9 -9
  133. data/vendor/local/share/gtk-doc/html/cally/ix03.html +23 -26
  134. data/vendor/local/share/gtk-doc/html/cally/ix04.html +10 -13
  135. data/vendor/local/share/gtk-doc/html/cally/left-insensitive.png +0 -0
  136. data/vendor/local/share/gtk-doc/html/cally/left.png +0 -0
  137. data/vendor/local/share/gtk-doc/html/cally/license.html +9 -9
  138. data/vendor/local/share/gtk-doc/html/cally/right-insensitive.png +0 -0
  139. data/vendor/local/share/gtk-doc/html/cally/right.png +0 -0
  140. data/vendor/local/share/gtk-doc/html/cally/style.css +71 -16
  141. data/vendor/local/share/gtk-doc/html/cally/up-insensitive.png +0 -0
  142. data/vendor/local/share/gtk-doc/html/cally/up.png +0 -0
  143. data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +12 -15
  144. data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +196 -87
  145. data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +12 -15
  146. data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +12 -15
  147. data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +28 -31
  148. data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +13 -16
  149. data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +37 -40
  150. data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +51 -31
  151. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +28 -31
  152. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +19 -22
  153. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +15 -18
  154. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +19 -22
  155. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +21 -24
  156. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +14 -17
  157. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +21 -24
  158. data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +51 -54
  159. data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +12 -15
  160. data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +12 -15
  161. data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +22 -25
  162. data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +31 -34
  163. data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +12 -15
  164. data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +59 -62
  165. data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +49 -24
  166. data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +12 -15
  167. data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +14 -17
  168. data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +13 -16
  169. data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +12 -15
  170. data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +14 -17
  171. data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +24 -27
  172. data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +12 -15
  173. data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +12 -15
  174. data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +12 -15
  175. data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +13 -16
  176. data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +14 -17
  177. data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +13 -18
  178. data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +12 -15
  179. data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +12 -15
  180. data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +107 -16
  181. data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +33 -15
  182. data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +12 -15
  183. data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +16 -19
  184. data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +26 -41
  185. data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +44 -17
  186. data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +12 -15
  187. data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +15 -18
  188. data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +12 -15
  189. data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +12 -15
  190. data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +39 -42
  191. data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +12 -15
  192. data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +12 -15
  193. data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +60 -15
  194. data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +12 -15
  195. data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +12 -15
  196. data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +12 -15
  197. data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +16 -19
  198. data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +12 -15
  199. data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +12 -15
  200. data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +12 -15
  201. data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +12 -15
  202. data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +32 -35
  203. data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +14 -17
  204. data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +13 -16
  205. data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +12 -15
  206. data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +16 -19
  207. data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +12 -15
  208. data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +12 -15
  209. data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +731 -686
  210. data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +39 -42
  211. data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +13 -16
  212. data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +27 -30
  213. data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +12 -15
  214. data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +95 -27
  215. data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +12 -15
  216. data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +47 -50
  217. data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +20 -23
  218. data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +13 -16
  219. data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +12 -15
  220. data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +12 -15
  221. data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +59 -59
  222. data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +9 -9
  223. data/vendor/local/share/gtk-doc/html/clutter/ch01.html +9 -9
  224. data/vendor/local/share/gtk-doc/html/clutter/ch02.html +9 -9
  225. data/vendor/local/share/gtk-doc/html/clutter/ch03.html +9 -9
  226. data/vendor/local/share/gtk-doc/html/clutter/ch04.html +9 -9
  227. data/vendor/local/share/gtk-doc/html/clutter/ch05.html +9 -9
  228. data/vendor/local/share/gtk-doc/html/clutter/ch06.html +9 -9
  229. data/vendor/local/share/gtk-doc/html/clutter/ch07.html +9 -9
  230. data/vendor/local/share/gtk-doc/html/clutter/ch08.html +9 -9
  231. data/vendor/local/share/gtk-doc/html/clutter/ch09.html +9 -9
  232. data/vendor/local/share/gtk-doc/html/clutter/ch10.html +9 -9
  233. data/vendor/local/share/gtk-doc/html/clutter/ch11.html +9 -9
  234. data/vendor/local/share/gtk-doc/html/clutter/ch12.html +9 -9
  235. data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +33 -24
  236. data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +34 -35
  237. data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +18 -21
  238. data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +12 -15
  239. data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +12 -15
  240. data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +14 -17
  241. data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +96 -37
  242. data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +12 -15
  243. data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +13 -16
  244. data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +32 -35
  245. data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +60 -63
  246. data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +14 -17
  247. data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +12 -15
  248. data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +12 -15
  249. data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +33 -36
  250. data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +13 -16
  251. data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +14 -17
  252. data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +23 -26
  253. data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +20 -15
  254. data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +31 -22
  255. data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +13 -16
  256. data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-specific-support.html +259 -0
  257. data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +12 -15
  258. data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +19 -22
  259. data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +9 -9
  260. data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +48 -25
  261. data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +9 -9
  262. data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +12 -9
  263. data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +9 -9
  264. data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +9 -9
  265. data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +9 -9
  266. data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +9 -9
  267. data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +9 -9
  268. data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +9 -9
  269. data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +9 -9
  270. data/vendor/local/share/gtk-doc/html/clutter/go01.html +9 -9
  271. data/vendor/local/share/gtk-doc/html/clutter/home.png +0 -0
  272. data/vendor/local/share/gtk-doc/html/clutter/index.html +7 -4
  273. data/vendor/local/share/gtk-doc/html/clutter/index.sgml +55 -26
  274. data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +9 -9
  275. data/vendor/local/share/gtk-doc/html/clutter/ix01.html +155 -70
  276. data/vendor/local/share/gtk-doc/html/clutter/ix02.html +89 -45
  277. data/vendor/local/share/gtk-doc/html/clutter/ix03.html +39 -34
  278. data/vendor/local/share/gtk-doc/html/clutter/ix04.html +37 -40
  279. data/vendor/local/share/gtk-doc/html/clutter/ix05.html +33 -36
  280. data/vendor/local/share/gtk-doc/html/clutter/ix06.html +40 -43
  281. data/vendor/local/share/gtk-doc/html/clutter/ix07.html +39 -42
  282. data/vendor/local/share/gtk-doc/html/clutter/ix08.html +35 -38
  283. data/vendor/local/share/gtk-doc/html/clutter/ix09.html +33 -36
  284. data/vendor/local/share/gtk-doc/html/clutter/ix10.html +25 -28
  285. data/vendor/local/share/gtk-doc/html/clutter/ix11.html +31 -34
  286. data/vendor/local/share/gtk-doc/html/clutter/ix12.html +56 -47
  287. data/vendor/local/share/gtk-doc/html/clutter/ix13.html +49 -52
  288. data/vendor/local/share/gtk-doc/html/clutter/ix14.html +36 -24
  289. data/vendor/local/share/gtk-doc/html/clutter/left-insensitive.png +0 -0
  290. data/vendor/local/share/gtk-doc/html/clutter/left.png +0 -0
  291. data/vendor/local/share/gtk-doc/html/clutter/license.html +9 -9
  292. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +9 -9
  293. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +9 -9
  294. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +9 -9
  295. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +10 -10
  296. data/vendor/local/share/gtk-doc/html/clutter/migration.html +9 -9
  297. data/vendor/local/share/gtk-doc/html/clutter/pt09.html +9 -9
  298. data/vendor/local/share/gtk-doc/html/clutter/right-insensitive.png +0 -0
  299. data/vendor/local/share/gtk-doc/html/clutter/right.png +0 -0
  300. data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +9 -9
  301. data/vendor/local/share/gtk-doc/html/clutter/style.css +71 -16
  302. data/vendor/local/share/gtk-doc/html/clutter/up-insensitive.png +0 -0
  303. data/vendor/local/share/gtk-doc/html/clutter/up.png +0 -0
  304. data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +9 -9
  305. data/vendor/local/share/gtk-doc/html/json-glib/index.html +1 -1
  306. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +3 -3
  307. data/vendor/local/share/locale/an/LC_MESSAGES/clutter-1.0.mo +0 -0
  308. data/vendor/local/share/locale/an/LC_MESSAGES/cogl.mo +0 -0
  309. data/vendor/local/share/locale/ar/LC_MESSAGES/clutter-1.0.mo +0 -0
  310. data/vendor/local/share/locale/ar/LC_MESSAGES/cogl.mo +0 -0
  311. data/vendor/local/share/locale/as/LC_MESSAGES/clutter-1.0.mo +0 -0
  312. data/vendor/local/share/locale/as/LC_MESSAGES/cogl.mo +0 -0
  313. data/vendor/local/share/locale/as/LC_MESSAGES/json-glib-1.0.mo +0 -0
  314. data/vendor/local/share/locale/ast/LC_MESSAGES/clutter-1.0.mo +0 -0
  315. data/vendor/local/share/locale/ast/LC_MESSAGES/cogl.mo +0 -0
  316. data/vendor/local/share/locale/az_IR/LC_MESSAGES/clutter-1.0.mo +0 -0
  317. data/vendor/local/share/locale/be/LC_MESSAGES/clutter-1.0.mo +0 -0
  318. data/vendor/local/share/locale/be/LC_MESSAGES/cogl.mo +0 -0
  319. data/vendor/local/share/locale/bg/LC_MESSAGES/clutter-1.0.mo +0 -0
  320. data/vendor/local/share/locale/bg/LC_MESSAGES/cogl.mo +0 -0
  321. data/vendor/local/share/locale/bg/LC_MESSAGES/json-glib-1.0.mo +0 -0
  322. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/json-glib-1.0.mo +0 -0
  323. data/vendor/local/share/locale/ca/LC_MESSAGES/clutter-1.0.mo +0 -0
  324. data/vendor/local/share/locale/ca/LC_MESSAGES/cogl.mo +0 -0
  325. data/vendor/local/share/locale/ca/LC_MESSAGES/json-glib-1.0.mo +0 -0
  326. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/clutter-1.0.mo +0 -0
  327. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/cogl.mo +0 -0
  328. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/json-glib-1.0.mo +0 -0
  329. data/vendor/local/share/locale/cs/LC_MESSAGES/clutter-1.0.mo +0 -0
  330. data/vendor/local/share/locale/cs/LC_MESSAGES/cogl.mo +0 -0
  331. data/vendor/local/share/locale/cs/LC_MESSAGES/json-glib-1.0.mo +0 -0
  332. data/vendor/local/share/locale/da/LC_MESSAGES/clutter-1.0.mo +0 -0
  333. data/vendor/local/share/locale/da/LC_MESSAGES/cogl.mo +0 -0
  334. data/vendor/local/share/locale/da/LC_MESSAGES/json-glib-1.0.mo +0 -0
  335. data/vendor/local/share/locale/de/LC_MESSAGES/clutter-1.0.mo +0 -0
  336. data/vendor/local/share/locale/de/LC_MESSAGES/cogl.mo +0 -0
  337. data/vendor/local/share/locale/de/LC_MESSAGES/json-glib-1.0.mo +0 -0
  338. data/vendor/local/share/locale/el/LC_MESSAGES/clutter-1.0.mo +0 -0
  339. data/vendor/local/share/locale/el/LC_MESSAGES/cogl.mo +0 -0
  340. data/vendor/local/share/locale/el/LC_MESSAGES/json-glib-1.0.mo +0 -0
  341. data/vendor/local/share/locale/en_CA/LC_MESSAGES/cogl.mo +0 -0
  342. data/vendor/local/share/locale/en_GB/LC_MESSAGES/clutter-1.0.mo +0 -0
  343. data/vendor/local/share/locale/en_GB/LC_MESSAGES/cogl.mo +0 -0
  344. data/vendor/local/share/locale/en_GB/LC_MESSAGES/json-glib-1.0.mo +0 -0
  345. data/vendor/local/share/locale/eo/LC_MESSAGES/clutter-1.0.mo +0 -0
  346. data/vendor/local/share/locale/eo/LC_MESSAGES/cogl.mo +0 -0
  347. data/vendor/local/share/locale/eo/LC_MESSAGES/json-glib-1.0.mo +0 -0
  348. data/vendor/local/share/locale/es/LC_MESSAGES/clutter-1.0.mo +0 -0
  349. data/vendor/local/share/locale/es/LC_MESSAGES/cogl.mo +0 -0
  350. data/vendor/local/share/locale/es/LC_MESSAGES/json-glib-1.0.mo +0 -0
  351. data/vendor/local/share/locale/et/LC_MESSAGES/json-glib-1.0.mo +0 -0
  352. data/vendor/local/share/locale/eu/LC_MESSAGES/cogl.mo +0 -0
  353. data/vendor/local/share/locale/eu/LC_MESSAGES/json-glib-1.0.mo +0 -0
  354. data/vendor/local/share/locale/fa/LC_MESSAGES/clutter-1.0.mo +0 -0
  355. data/vendor/local/share/locale/fa/LC_MESSAGES/cogl.mo +0 -0
  356. data/vendor/local/share/locale/fi/LC_MESSAGES/clutter-1.0.mo +0 -0
  357. data/vendor/local/share/locale/fr/LC_MESSAGES/clutter-1.0.mo +0 -0
  358. data/vendor/local/share/locale/fr/LC_MESSAGES/cogl.mo +0 -0
  359. data/vendor/local/share/locale/fr/LC_MESSAGES/json-glib-1.0.mo +0 -0
  360. data/vendor/local/share/locale/gl/LC_MESSAGES/clutter-1.0.mo +0 -0
  361. data/vendor/local/share/locale/gl/LC_MESSAGES/cogl.mo +0 -0
  362. data/vendor/local/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  363. data/vendor/local/share/locale/he/LC_MESSAGES/clutter-1.0.mo +0 -0
  364. data/vendor/local/share/locale/he/LC_MESSAGES/cogl.mo +0 -0
  365. data/vendor/local/share/locale/hi/LC_MESSAGES/clutter-1.0.mo +0 -0
  366. data/vendor/local/share/locale/hi/LC_MESSAGES/cogl.mo +0 -0
  367. data/vendor/local/share/locale/hi/LC_MESSAGES/json-glib-1.0.mo +0 -0
  368. data/vendor/local/share/locale/hu/LC_MESSAGES/clutter-1.0.mo +0 -0
  369. data/vendor/local/share/locale/hu/LC_MESSAGES/cogl.mo +0 -0
  370. data/vendor/local/share/locale/hu/LC_MESSAGES/json-glib-1.0.mo +0 -0
  371. data/vendor/local/share/locale/id/LC_MESSAGES/clutter-1.0.mo +0 -0
  372. data/vendor/local/share/locale/id/LC_MESSAGES/cogl.mo +0 -0
  373. data/vendor/local/share/locale/id/LC_MESSAGES/json-glib-1.0.mo +0 -0
  374. data/vendor/local/share/locale/it/LC_MESSAGES/clutter-1.0.mo +0 -0
  375. data/vendor/local/share/locale/it/LC_MESSAGES/cogl.mo +0 -0
  376. data/vendor/local/share/locale/it/LC_MESSAGES/json-glib-1.0.mo +0 -0
  377. data/vendor/local/share/locale/ja/LC_MESSAGES/clutter-1.0.mo +0 -0
  378. data/vendor/local/share/locale/ja/LC_MESSAGES/cogl.mo +0 -0
  379. data/vendor/local/share/locale/ja/LC_MESSAGES/json-glib-1.0.mo +0 -0
  380. data/vendor/local/share/locale/km/LC_MESSAGES/clutter-1.0.mo +0 -0
  381. data/vendor/local/share/locale/km/LC_MESSAGES/cogl.mo +0 -0
  382. data/vendor/local/share/locale/kn/LC_MESSAGES/clutter-1.0.mo +0 -0
  383. data/vendor/local/share/locale/kn/LC_MESSAGES/cogl.mo +0 -0
  384. data/vendor/local/share/locale/ko/LC_MESSAGES/cogl.mo +0 -0
  385. data/vendor/local/share/locale/ko/LC_MESSAGES/json-glib-1.0.mo +0 -0
  386. data/vendor/local/share/locale/ky/LC_MESSAGES/json-glib-1.0.mo +0 -0
  387. data/vendor/local/share/locale/lt/LC_MESSAGES/clutter-1.0.mo +0 -0
  388. data/vendor/local/share/locale/lt/LC_MESSAGES/cogl.mo +0 -0
  389. data/vendor/local/share/locale/lt/LC_MESSAGES/json-glib-1.0.mo +0 -0
  390. data/vendor/local/share/locale/lv/LC_MESSAGES/clutter-1.0.mo +0 -0
  391. data/vendor/local/share/locale/lv/LC_MESSAGES/cogl.mo +0 -0
  392. data/vendor/local/share/locale/lv/LC_MESSAGES/json-glib-1.0.mo +0 -0
  393. data/vendor/local/share/locale/mk/LC_MESSAGES/clutter-1.0.mo +0 -0
  394. data/vendor/local/share/locale/ml/LC_MESSAGES/clutter-1.0.mo +0 -0
  395. data/vendor/local/share/locale/ml/LC_MESSAGES/cogl.mo +0 -0
  396. data/vendor/local/share/locale/ml/LC_MESSAGES/json-glib-1.0.mo +0 -0
  397. data/vendor/local/share/locale/nb/LC_MESSAGES/clutter-1.0.mo +0 -0
  398. data/vendor/local/share/locale/nb/LC_MESSAGES/cogl.mo +0 -0
  399. data/vendor/local/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo +0 -0
  400. data/vendor/local/share/locale/nl/LC_MESSAGES/clutter-1.0.mo +0 -0
  401. data/vendor/local/share/locale/nl/LC_MESSAGES/cogl.mo +0 -0
  402. data/vendor/local/share/locale/or/LC_MESSAGES/clutter-1.0.mo +0 -0
  403. data/vendor/local/share/locale/or/LC_MESSAGES/cogl.mo +0 -0
  404. data/vendor/local/share/locale/or/LC_MESSAGES/json-glib-1.0.mo +0 -0
  405. data/vendor/local/share/locale/pa/LC_MESSAGES/clutter-1.0.mo +0 -0
  406. data/vendor/local/share/locale/pa/LC_MESSAGES/cogl.mo +0 -0
  407. data/vendor/local/share/locale/pa/LC_MESSAGES/json-glib-1.0.mo +0 -0
  408. data/vendor/local/share/locale/pl/LC_MESSAGES/clutter-1.0.mo +0 -0
  409. data/vendor/local/share/locale/pl/LC_MESSAGES/cogl.mo +0 -0
  410. data/vendor/local/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  411. data/vendor/local/share/locale/ps/LC_MESSAGES/clutter-1.0.mo +0 -0
  412. data/vendor/local/share/locale/pt/LC_MESSAGES/clutter-1.0.mo +0 -0
  413. data/vendor/local/share/locale/pt/LC_MESSAGES/cogl.mo +0 -0
  414. data/vendor/local/share/locale/pt/LC_MESSAGES/json-glib-1.0.mo +0 -0
  415. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/clutter-1.0.mo +0 -0
  416. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/cogl.mo +0 -0
  417. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo +0 -0
  418. data/vendor/local/share/locale/ro/LC_MESSAGES/clutter-1.0.mo +0 -0
  419. data/vendor/local/share/locale/ru/LC_MESSAGES/clutter-1.0.mo +0 -0
  420. data/vendor/local/share/locale/ru/LC_MESSAGES/cogl.mo +0 -0
  421. data/vendor/local/share/locale/ru/LC_MESSAGES/json-glib-1.0.mo +0 -0
  422. data/vendor/local/share/locale/sk/LC_MESSAGES/clutter-1.0.mo +0 -0
  423. data/vendor/local/share/locale/sk/LC_MESSAGES/cogl.mo +0 -0
  424. data/vendor/local/share/locale/sk/LC_MESSAGES/json-glib-1.0.mo +0 -0
  425. data/vendor/local/share/locale/sl/LC_MESSAGES/clutter-1.0.mo +0 -0
  426. data/vendor/local/share/locale/sl/LC_MESSAGES/cogl.mo +0 -0
  427. data/vendor/local/share/locale/sl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  428. data/vendor/local/share/locale/sr/LC_MESSAGES/clutter-1.0.mo +0 -0
  429. data/vendor/local/share/locale/sr/LC_MESSAGES/cogl.mo +0 -0
  430. data/vendor/local/share/locale/sr/LC_MESSAGES/json-glib-1.0.mo +0 -0
  431. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/clutter-1.0.mo +0 -0
  432. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/cogl.mo +0 -0
  433. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/json-glib-1.0.mo +0 -0
  434. data/vendor/local/share/locale/sv/LC_MESSAGES/clutter-1.0.mo +0 -0
  435. data/vendor/local/share/locale/sv/LC_MESSAGES/cogl.mo +0 -0
  436. data/vendor/local/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo +0 -0
  437. data/vendor/local/share/locale/ta/LC_MESSAGES/clutter-1.0.mo +0 -0
  438. data/vendor/local/share/locale/ta/LC_MESSAGES/cogl.mo +0 -0
  439. data/vendor/local/share/locale/te/LC_MESSAGES/clutter-1.0.mo +0 -0
  440. data/vendor/local/share/locale/te/LC_MESSAGES/cogl.mo +0 -0
  441. data/vendor/local/share/locale/te/LC_MESSAGES/json-glib-1.0.mo +0 -0
  442. data/vendor/local/share/locale/tg/LC_MESSAGES/json-glib-1.0.mo +0 -0
  443. data/vendor/local/share/locale/th/LC_MESSAGES/cogl.mo +0 -0
  444. data/vendor/local/share/locale/tr/LC_MESSAGES/clutter-1.0.mo +0 -0
  445. data/vendor/local/share/locale/tr/LC_MESSAGES/cogl.mo +0 -0
  446. data/vendor/local/share/locale/tr/LC_MESSAGES/json-glib-1.0.mo +0 -0
  447. data/vendor/local/share/locale/ug/LC_MESSAGES/clutter-1.0.mo +0 -0
  448. data/vendor/local/share/locale/ug/LC_MESSAGES/cogl.mo +0 -0
  449. data/vendor/local/share/locale/ug/LC_MESSAGES/json-glib-1.0.mo +0 -0
  450. data/vendor/local/share/locale/uk/LC_MESSAGES/clutter-1.0.mo +0 -0
  451. data/vendor/local/share/locale/uk/LC_MESSAGES/cogl.mo +0 -0
  452. data/vendor/local/share/locale/uk/LC_MESSAGES/json-glib-1.0.mo +0 -0
  453. data/vendor/local/share/locale/ur/LC_MESSAGES/clutter-1.0.mo +0 -0
  454. data/vendor/local/share/locale/vi/LC_MESSAGES/cogl.mo +0 -0
  455. data/vendor/local/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo +0 -0
  456. data/vendor/local/share/locale/yi/LC_MESSAGES/clutter-1.0.mo +0 -0
  457. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/clutter-1.0.mo +0 -0
  458. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/cogl.mo +0 -0
  459. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/json-glib-1.0.mo +0 -0
  460. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/clutter-1.0.mo +0 -0
  461. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/cogl.mo +0 -0
  462. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/json-glib-1.0.mo +0 -0
  463. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/clutter-1.0.mo +0 -0
  464. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/cogl.mo +0 -0
  465. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/json-glib-1.0.mo +0 -0
  466. metadata +39 -51
  467. data/vendor/local/bin/libcogl-12.dll +0 -0
  468. data/vendor/local/bin/libcogl-pango-12.dll +0 -0
  469. data/vendor/local/bin/libglut-0.dll +0 -0
  470. data/vendor/local/include/GL/freeglut.h +0 -22
  471. data/vendor/local/include/GL/freeglut_ext.h +0 -239
  472. data/vendor/local/include/GL/freeglut_std.h +0 -636
  473. data/vendor/local/include/GL/glut.h +0 -21
  474. data/vendor/local/include/cogl/cogl/cogl2-compatibility.h +0 -55
  475. data/vendor/local/lib/libglut.a +0 -0
  476. data/vendor/local/lib/libglut.dll.a +0 -0
  477. data/vendor/local/lib/libglut.la +0 -41
  478. data/vendor/local/share/license/freeglut/AUTHORS +0 -39
  479. data/vendor/local/share/license/freeglut/COPYING +0 -27
  480. data/vendor/local/share/locale/tg/LC_MESSAGES/clutter-1.0.mo +0 -0
@@ -0,0 +1,230 @@
1
+ /*
2
+ * Cogl
3
+ *
4
+ * An object oriented GL/GLES Abstraction/Utility Layer
5
+ *
6
+ * Copyright (C) 2013 Intel Corporation.
7
+ *
8
+ * This library is free software; you can redistribute it and/or
9
+ * modify it under the terms of the GNU Lesser General Public
10
+ * License as published by the Free Software Foundation; either
11
+ * version 2 of the License, or (at your option) any later version.
12
+ *
13
+ * This library is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
+ * Lesser General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU Lesser General Public
19
+ * License along with this library. If not, see
20
+ * <http://www.gnu.org/licenses/>.
21
+ *
22
+ *
23
+ */
24
+
25
+ #if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
26
+ #error "Only <cogl/cogl.h> can be included directly."
27
+ #endif
28
+
29
+ #ifndef _COGL_ATLAS_TEXTURE_H_
30
+ #define _COGL_ATLAS_TEXTURE_H_
31
+
32
+ #include <cogl/cogl-context.h>
33
+
34
+ COGL_BEGIN_DECLS
35
+
36
+ /**
37
+ * SECTION:cogl-atlas-texture
38
+ * @short_description: Functions for managing textures in Cogl's global
39
+ * set of texture atlases
40
+ *
41
+ * A texture atlas is a texture that contains many smaller images that
42
+ * an application is interested in. These are packed together as a way
43
+ * of optimizing drawing with those images by avoiding the costs of
44
+ * repeatedly telling the hardware to change what texture it should
45
+ * sample from. This can enable more geometry to be batched together
46
+ * into few draw calls.
47
+ *
48
+ * Each #CoglContext has an shared, pool of texture atlases that are
49
+ * are managed by Cogl.
50
+ *
51
+ * This api lets applications upload texture data into one of Cogl's
52
+ * shared texture atlases using a high-level #CoglAtlasTexture which
53
+ * represents a sub-region of one of these atlases.
54
+ *
55
+ * <note>A #CoglAtlasTexture is a high-level meta texture which has
56
+ * some limitations to be aware of. Please see the documentation for
57
+ * #CoglMetaTexture for more details.</note>
58
+ */
59
+
60
+
61
+ typedef struct _CoglAtlasTexture CoglAtlasTexture;
62
+ #define COGL_ATLAS_TEXTURE(tex) ((CoglAtlasTexture *) tex)
63
+
64
+
65
+ /**
66
+ * cogl_atlas_texture_new_with_size:
67
+ * @ctx: A #CoglContext
68
+ * @width: The width of your atlased texture.
69
+ * @height: The height of your atlased texture.
70
+ * @internal_format: The format of the texture
71
+ *
72
+ * Creates a #CoglAtlasTexture with a given @width and @height. A
73
+ * #CoglAtlasTexture represents a sub-region within one of Cogl's
74
+ * shared texture atlases.
75
+ *
76
+ * The storage for the texture is not allocated before this function
77
+ * returns. You can call cogl_texture_allocate() to explicitly
78
+ * allocate the underlying storage or let Cogl automatically allocate
79
+ * storage lazily.
80
+ *
81
+ * <note>This call can fail if Cogl considers the given
82
+ * @internal_format incompatible with the format of its internal
83
+ * atlases.</note>
84
+ *
85
+ * <note>The returned #CoglAtlasTexture is a high-level meta-texture
86
+ * with some limitations. See the documentation for #CoglMetaTexture
87
+ * for more details.</note>
88
+ *
89
+ * Return value: (transfer full): A new #CoglAtlasTexture object with
90
+ * no storage allocated yet or %NULL on failure and @error
91
+ * will be updated.
92
+ * Since: 1.16
93
+ * Stability: unstable
94
+ */
95
+ CoglAtlasTexture *
96
+ cogl_atlas_texture_new_with_size (CoglContext *ctx,
97
+ int width,
98
+ int height,
99
+ CoglPixelFormat internal_format,
100
+ CoglError **error);
101
+
102
+ /**
103
+ * cogl_atlas_texture_new_from_file:
104
+ * @ctx: A #CoglContext
105
+ * @filename: the file to load
106
+ * @internal_format: The format of the texture
107
+ *
108
+ * Creates a #CoglAtlasTexture from an image file. A #CoglAtlasTexture
109
+ * represents a sub-region within one of Cogl's shared texture
110
+ * atlases.
111
+ *
112
+ * <note>This call can fail if Cogl considers the given
113
+ * @internal_format incompatible with the format of its internal
114
+ * atlases.</note>
115
+ *
116
+ * <note>The returned #CoglAtlasTexture is a high-level meta-texture
117
+ * with some limitations. See the documentation for #CoglMetaTexture
118
+ * for more details.</note>
119
+ *
120
+ * Return value: (transfer full): A new #CoglAtlasTexture object or
121
+ * %NULL on failure and @error will be updated.
122
+ * Since: 1.16
123
+ * Stability: unstable
124
+ */
125
+ CoglAtlasTexture *
126
+ cogl_atlas_texture_new_from_file (CoglContext *ctx,
127
+ const char *filename,
128
+ CoglPixelFormat internal_format,
129
+ CoglError **error);
130
+
131
+ /**
132
+ * cogl_atlas_texture_new_from_data:
133
+ * @ctx: A #CoglContext
134
+ * @width: width of texture in pixels
135
+ * @height: height of texture in pixels
136
+ * @format: the #CoglPixelFormat the buffer is stored in in RAM
137
+ * @internal_format: the #CoglPixelFormat to use for the GPU storage of the
138
+ * texture. If %COGL_PIXEL_FORMAT_ANY is given then a premultiplied
139
+ * format similar to the format of the source data will be used. The
140
+ * default blending equations of Cogl expect premultiplied color data;
141
+ * the main use of passing a non-premultiplied format here is if you
142
+ * have non-premultiplied source data and are going to adjust the blend
143
+ * mode (see cogl_material_set_blend()) or use the data for something
144
+ * other than straight blending.
145
+ * @rowstride: the memory offset in bytes between the start of each
146
+ * row in @data. A value of 0 will make Cogl automatically
147
+ * calculate @rowstride from @width and @format.
148
+ * @data: pointer to the memory region where the source buffer resides
149
+ * @error: A #CoglError to catch exceptional errors or %NULL
150
+ *
151
+ * Creates a new #CoglAtlasTexture texture based on data residing in
152
+ * memory. A #CoglAtlasTexture represents a sub-region within one of
153
+ * Cogl's shared texture atlases.
154
+ *
155
+ * <note>This call can fail if Cogl considers the given
156
+ * @internal_format incompatible with the format of its internal
157
+ * atlases.</note>
158
+ *
159
+ * <note>The returned #CoglAtlasTexture is a high-level
160
+ * meta-texture with some limitations. See the documentation for
161
+ * #CoglMetaTexture for more details.</note>
162
+ *
163
+ * Return value: (transfer full): A new #CoglAtlasTexture object or
164
+ * %NULL on failure and @error will be updated.
165
+ * Since: 1.16
166
+ * Stability: unstable
167
+ */
168
+ CoglAtlasTexture *
169
+ cogl_atlas_texture_new_from_data (CoglContext *ctx,
170
+ int width,
171
+ int height,
172
+ CoglPixelFormat format,
173
+ CoglPixelFormat internal_format,
174
+ int rowstride,
175
+ const uint8_t *data,
176
+ CoglError **error);
177
+
178
+ /**
179
+ * cogl_atlas_texture_new_from_bitmap:
180
+ * @bmp: A #CoglBitmap
181
+ * @internal_format: the #CoglPixelFormat to use for the GPU storage of the
182
+ * texture. If %COGL_PIXEL_FORMAT_ANY is given then a premultiplied
183
+ * format similar to the format of the source data will be used. The
184
+ * default blending equations of Cogl expect premultiplied color data;
185
+ * the main use of passing a non-premultiplied format here is if you
186
+ * have non-premultiplied source data and are going to adjust the blend
187
+ * mode (see cogl_material_set_blend()) or use the data for something
188
+ * other than straight blending.
189
+ * @error: A #CoglError to catch exceptional errors or %NULL
190
+ *
191
+ * Creates a new #CoglAtlasTexture texture based on data residing in a
192
+ * @bitmap. A #CoglAtlasTexture represents a sub-region within one of
193
+ * Cogl's shared texture atlases.
194
+ *
195
+ * <note>This call can fail if Cogl considers the given
196
+ * @internal_format incompatible with the format of its internal
197
+ * atlases.</note>
198
+ *
199
+ * <note>The returned #CoglAtlasTexture is a high-level meta-texture
200
+ * with some limitations. See the documentation for #CoglMetaTexture
201
+ * for more details.</note>
202
+ *
203
+ * Return value: (transfer full): A new #CoglAtlasTexture object or
204
+ * %NULL on failure and @error will be updated.
205
+ * Since: 1.16
206
+ * Stability: unstable
207
+ */
208
+ CoglAtlasTexture *
209
+ cogl_atlas_texture_new_from_bitmap (CoglBitmap *bmp,
210
+ CoglPixelFormat internal_format,
211
+ CoglError **error);
212
+
213
+ /**
214
+ * cogl_is_atlas_texture:
215
+ * @object: a #CoglObject
216
+ *
217
+ * Checks whether the given object references a #CoglAtlasTexture
218
+ *
219
+ * Return value: %TRUE if the passed object represents an atlas
220
+ * texture and %FALSE otherwise
221
+ *
222
+ * Since: 1.16
223
+ * Stability: Unstable
224
+ */
225
+ CoglBool
226
+ cogl_is_atlas_texture (void *object);
227
+
228
+ COGL_END_DECLS
229
+
230
+ #endif /* _COGL_ATLAS_TEXTURE_H_ */
@@ -69,7 +69,7 @@ COGL_BEGIN_DECLS
69
69
  * Note: You can assume this function always succeeds and won't return
70
70
  * %NULL
71
71
  *
72
- * Return value: A newly allocated #CoglAttributeBuffer. Never %NULL.
72
+ * Return value: (transfer full): A newly allocated #CoglAttributeBuffer. Never %NULL.
73
73
  *
74
74
  * Stability: Unstable
75
75
  */
@@ -81,7 +81,8 @@ cogl_attribute_buffer_new_with_size (CoglContext *context,
81
81
  * cogl_attribute_buffer_new:
82
82
  * @context: A #CoglContext
83
83
  * @bytes: The number of bytes to allocate for vertex attribute data.
84
- * @data: An optional pointer to vertex data to upload immediately.
84
+ * @data: (array length=bytes): An optional pointer to vertex data to
85
+ * upload immediately.
85
86
  *
86
87
  * Describes a new #CoglAttributeBuffer of @size bytes to contain
87
88
  * arrays of vertex attribute data and also uploads @size bytes read
@@ -100,7 +101,7 @@ cogl_attribute_buffer_new_with_size (CoglContext *context,
100
101
  * explicitly catch errors with cogl_buffer_set_data() or
101
102
  * cogl_buffer_map().</note>
102
103
  *
103
- * Return value: A newly allocated #CoglAttributeBuffer (never %NULL)
104
+ * Return value: (transfer full): A newly allocated #CoglAttributeBuffer (never %NULL)
104
105
  *
105
106
  * Since: 1.4
106
107
  * Stability: Unstable
@@ -50,7 +50,7 @@ COGL_BEGIN_DECLS
50
50
  */
51
51
 
52
52
  /**
53
- * cogl_attribute_new:
53
+ * cogl_attribute_new: (constructor)
54
54
  * @attribute_buffer: The #CoglAttributeBuffer containing the actual
55
55
  * attribute data
56
56
  * @name: The name of the attribute (used to reference it from GLSL)
@@ -76,6 +76,11 @@ COGL_BEGIN_DECLS
76
76
  * <listitem>"cogl_tex_coord0_in", "cogl_tex_coord1", ...
77
77
  * (used for vertex texture coordinates)</listitem>
78
78
  * <listitem>"cogl_normal_in" (used for vertex normals)</listitem>
79
+ * <listitem>"cogl_point_size_in" (used to set the size of points
80
+ * per-vertex. Note this can only be used if
81
+ * %COGL_FEATURE_ID_POINT_SIZE_ATTRIBUTE is advertised and
82
+ * cogl_pipeline_set_per_vertex_point_size() is called on the pipeline.
83
+ * </listitem>
79
84
  * </itemizedlist>
80
85
  *
81
86
  * The attribute values corresponding to different vertices can either
@@ -125,8 +130,9 @@ COGL_BEGIN_DECLS
125
130
  * mapped into the GPU which can be a bottlneck when dealing with
126
131
  * a large number of vertices.
127
132
  *
128
- * Returns: A newly allocated #CoglAttribute describing the
129
- * layout for a list of attribute values stored in @array.
133
+ * Return value: (transfer full): A newly allocated #CoglAttribute
134
+ * describing the layout for a list of attribute values
135
+ * stored in @array.
130
136
  *
131
137
  * Since: 1.4
132
138
  * Stability: Unstable
@@ -158,8 +164,8 @@ cogl_attribute_new (CoglAttributeBuffer *attribute_buffer,
158
164
  * attribute float name;
159
165
  * |]
160
166
  *
161
- * Returns: A newly allocated #CoglAttribute representing the given
162
- * constant @value.
167
+ * Return value: (transfer full): A newly allocated #CoglAttribute
168
+ * representing the given constant @value.
163
169
  */
164
170
  CoglAttribute *
165
171
  cogl_attribute_new_const_1f (CoglContext *context,
@@ -170,8 +176,8 @@ cogl_attribute_new_const_1f (CoglContext *context,
170
176
  * cogl_attribute_new_const_2f:
171
177
  * @context: A #CoglContext
172
178
  * @name: The name of the attribute (used to reference it from GLSL)
173
- * @constant0: The first component of a 2 component vector
174
- * @constant1: The second component of a 2 component vector
179
+ * @component0: The first component of a 2 component vector
180
+ * @component1: The second component of a 2 component vector
175
181
  *
176
182
  * Creates a new, 2 component, attribute whose value remains
177
183
  * constant across all the vertices of a primitive without needing to
@@ -185,8 +191,8 @@ cogl_attribute_new_const_1f (CoglContext *context,
185
191
  * attribute vec2 name;
186
192
  * |]
187
193
  *
188
- * Returns: A newly allocated #CoglAttribute representing the given
189
- * constant vector.
194
+ * Return value: (transfer full): A newly allocated #CoglAttribute
195
+ * representing the given constant vector.
190
196
  */
191
197
  CoglAttribute *
192
198
  cogl_attribute_new_const_2f (CoglContext *context,
@@ -198,9 +204,9 @@ cogl_attribute_new_const_2f (CoglContext *context,
198
204
  * cogl_attribute_new_const_3f:
199
205
  * @context: A #CoglContext
200
206
  * @name: The name of the attribute (used to reference it from GLSL)
201
- * @constant0: The first component of a 3 component vector
202
- * @constant1: The second component of a 3 component vector
203
- * @constant2: The third component of a 3 component vector
207
+ * @component0: The first component of a 3 component vector
208
+ * @component1: The second component of a 3 component vector
209
+ * @component2: The third component of a 3 component vector
204
210
  *
205
211
  * Creates a new, 3 component, attribute whose value remains
206
212
  * constant across all the vertices of a primitive without needing to
@@ -217,8 +223,8 @@ cogl_attribute_new_const_2f (CoglContext *context,
217
223
  * unless the built in name "cogl_normal_in" is being used where no
218
224
  * explicit GLSL declaration need be made.
219
225
  *
220
- * Returns: A newly allocated #CoglAttribute representing the given
221
- * constant vector.
226
+ * Return value: (transfer full): A newly allocated #CoglAttribute
227
+ * representing the given constant vector.
222
228
  */
223
229
  CoglAttribute *
224
230
  cogl_attribute_new_const_3f (CoglContext *context,
@@ -231,10 +237,10 @@ cogl_attribute_new_const_3f (CoglContext *context,
231
237
  * cogl_attribute_new_const_4f:
232
238
  * @context: A #CoglContext
233
239
  * @name: The name of the attribute (used to reference it from GLSL)
234
- * @constant0: The first component of a 4 component vector
235
- * @constant1: The second component of a 4 component vector
236
- * @constant2: The third component of a 4 component vector
237
- * @constant3: The fourth component of a 4 component vector
240
+ * @component0: The first component of a 4 component vector
241
+ * @component1: The second component of a 4 component vector
242
+ * @component2: The third component of a 4 component vector
243
+ * @component3: The fourth component of a 4 component vector
238
244
  *
239
245
  * Creates a new, 4 component, attribute whose value remains
240
246
  * constant across all the vertices of a primitive without needing to
@@ -252,8 +258,8 @@ cogl_attribute_new_const_3f (CoglContext *context,
252
258
  * "cogl_tex_coord0_in or "cogl_tex_coord1_in" etc is being used where
253
259
  * no explicit GLSL declaration need be made.
254
260
  *
255
- * Returns: A newly allocated #CoglAttribute representing the given
256
- * constant vector.
261
+ * Return value: (transfer full): A newly allocated #CoglAttribute
262
+ * representing the given constant vector.
257
263
  */
258
264
  CoglAttribute *
259
265
  cogl_attribute_new_const_4f (CoglContext *context,
@@ -281,8 +287,8 @@ cogl_attribute_new_const_4f (CoglContext *context,
281
287
  * attribute vec2 name;
282
288
  * |]
283
289
  *
284
- * Returns: A newly allocated #CoglAttribute representing the given
285
- * constant vector.
290
+ * Return value: (transfer full): A newly allocated #CoglAttribute
291
+ * representing the given constant vector.
286
292
  */
287
293
  CoglAttribute *
288
294
  cogl_attribute_new_const_2fv (CoglContext *context,
@@ -310,8 +316,8 @@ cogl_attribute_new_const_2fv (CoglContext *context,
310
316
  * unless the built in name "cogl_normal_in" is being used where no
311
317
  * explicit GLSL declaration need be made.
312
318
  *
313
- * Returns: A newly allocated #CoglAttribute representing the given
314
- * constant vector.
319
+ * Return value: (transfer full): A newly allocated #CoglAttribute
320
+ * representing the given constant vector.
315
321
  */
316
322
  CoglAttribute *
317
323
  cogl_attribute_new_const_3fv (CoglContext *context,
@@ -340,8 +346,8 @@ cogl_attribute_new_const_3fv (CoglContext *context,
340
346
  * "cogl_tex_coord0_in or "cogl_tex_coord1_in" etc is being used where
341
347
  * no explicit GLSL declaration need be made.
342
348
  *
343
- * Returns: A newly allocated #CoglAttribute representing the given
344
- * constant vector.
349
+ * Return value: (transfer full): A newly allocated #CoglAttribute
350
+ * representing the given constant vector.
345
351
  */
346
352
  CoglAttribute *
347
353
  cogl_attribute_new_const_4fv (CoglContext *context,
@@ -373,8 +379,8 @@ cogl_attribute_new_const_4fv (CoglContext *context,
373
379
  * around the diagonal of the matrix such that the first column
374
380
  * becomes the first row and the second column becomes the second row.
375
381
  *
376
- * Returns: A newly allocated #CoglAttribute representing the given
377
- * constant matrix.
382
+ * Return value: (transfer full): A newly allocated #CoglAttribute
383
+ * representing the given constant matrix.
378
384
  */
379
385
  CoglAttribute *
380
386
  cogl_attribute_new_const_2x2fv (CoglContext *context,
@@ -408,8 +414,8 @@ cogl_attribute_new_const_2x2fv (CoglContext *context,
408
414
  * becomes the first row and the second column becomes the second row
409
415
  * etc.
410
416
  *
411
- * Returns: A newly allocated #CoglAttribute representing the given
412
- * constant matrix.
417
+ * Return value: (transfer full): A newly allocated #CoglAttribute
418
+ * representing the given constant matrix.
413
419
  */
414
420
  CoglAttribute *
415
421
  cogl_attribute_new_const_3x3fv (CoglContext *context,
@@ -443,8 +449,8 @@ cogl_attribute_new_const_3x3fv (CoglContext *context,
443
449
  * becomes the first row and the second column becomes the second row
444
450
  * etc.
445
451
  *
446
- * Returns: A newly allocated #CoglAttribute representing the given
447
- * constant matrix.
452
+ * Return value: (transfer full): A newly allocated #CoglAttribute
453
+ * representing the given constant matrix.
448
454
  */
449
455
  CoglAttribute *
450
456
  cogl_attribute_new_const_4x4fv (CoglContext *context,
@@ -491,8 +497,8 @@ cogl_attribute_get_normalized (CoglAttribute *attribute);
491
497
  * cogl_attribute_get_buffer:
492
498
  * @attribute: A #CoglAttribute
493
499
  *
494
- * Return value: the #CoglAttributeBuffer that was set with
495
- * cogl_attribute_set_buffer() or cogl_attribute_new().
500
+ * Return value: (transfer none): the #CoglAttributeBuffer that was
501
+ * set with cogl_attribute_set_buffer() or cogl_attribute_new().
496
502
  *
497
503
  * Stability: unstable
498
504
  * Since: 1.10
@@ -28,6 +28,10 @@
28
28
  #ifndef __COGL_BITMAP_H__
29
29
  #define __COGL_BITMAP_H__
30
30
 
31
+ /* XXX: We forward declare CoglBitmap here to allow for circular
32
+ * dependencies between some headers */
33
+ typedef struct _CoglBitmap CoglBitmap;
34
+
31
35
  #include <cogl/cogl-types.h>
32
36
  #include <cogl/cogl-buffer.h>
33
37
  #include <cogl/cogl-context.h>
@@ -39,8 +43,6 @@
39
43
 
40
44
  COGL_BEGIN_DECLS
41
45
 
42
- typedef struct _CoglBitmap CoglBitmap;
43
-
44
46
  /**
45
47
  * SECTION:cogl-bitmap
46
48
  * @short_description: Functions for loading images
@@ -60,8 +62,8 @@ typedef struct _CoglBitmap CoglBitmap;
60
62
  * Loads an image file from disk. This function can be safely called from
61
63
  * within a thread.
62
64
  *
63
- * Return value: a #CoglBitmap to the new loaded image data, or
64
- * %NULL if loading the image failed.
65
+ * Return value: (transfer full): a #CoglBitmap to the new loaded
66
+ * image data, or %NULL if loading the image failed.
65
67
  *
66
68
  * Since: 1.0
67
69
  */
@@ -79,8 +81,8 @@ cogl_bitmap_new_from_file (const char *filename,
79
81
  *
80
82
  * Loads an Android asset into a newly allocated #CoglBitmap.
81
83
  *
82
- * Return value: A newly allocated #CoglBitmap holding the image data of the
83
- * specified asset.
84
+ * Return value: (transfer full): A newly allocated #CoglBitmap
85
+ * holding the image data of the specified asset.
84
86
  *
85
87
  * Since: 2.0
86
88
  */
@@ -107,7 +109,7 @@ cogl_android_bitmap_new_from_asset (CoglContext *context,
107
109
  * Wraps some image data that has been uploaded into a #CoglBuffer as
108
110
  * a #CoglBitmap. The data is not copied in this process.
109
111
  *
110
- * Return value: a #CoglBitmap encapsulating the given @buffer.
112
+ * Return value: (transfer full): a #CoglBitmap encapsulating the given @buffer.
111
113
  *
112
114
  * Since: 1.8
113
115
  * Stability: unstable
@@ -143,8 +145,8 @@ cogl_bitmap_new_from_buffer (CoglBuffer *buffer,
143
145
  * writing into it. The stride can be retrieved with
144
146
  * cogl_bitmap_get_rowstride().</note>
145
147
  *
146
- * Return value: a #CoglPixelBuffer representing the newly created array or
147
- * %NULL on failure
148
+ * Return value: (transfer full): a #CoglPixelBuffer representing the
149
+ * newly created array or %NULL on failure
148
150
  *
149
151
  * Since: 1.10
150
152
  * Stability: Unstable
@@ -171,7 +173,7 @@ cogl_bitmap_new_with_size (CoglContext *context,
171
173
  * cogl_framebuffer_read_pixels_into_bitmap() to read data directly
172
174
  * into an application buffer with the specified rowstride.
173
175
  *
174
- * Return value: A new #CoglBitmap.
176
+ * Return value: (transfer full): A new #CoglBitmap.
175
177
  * Since: 1.10
176
178
  * Stability: unstable
177
179
  */
@@ -233,8 +235,8 @@ cogl_bitmap_get_rowstride (CoglBitmap *bitmap);
233
235
  * cogl_bitmap_get_buffer:
234
236
  * @bitmap: A #CoglBitmap
235
237
  *
236
- * Return value: the #CoglPixelBuffer that this buffer uses for
237
- * storage. Note that if the bitmap was created with
238
+ * Return value: (transfer none): the #CoglPixelBuffer that this
239
+ * buffer uses for storage. Note that if the bitmap was created with
238
240
  * cogl_bitmap_new_from_file() then it will not actually be using a
239
241
  * pixel buffer and this function will return %NULL.
240
242
  * Stability: unstable