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
@@ -61,7 +61,7 @@ typedef struct _CoglOutput CoglOutput;
61
61
  #define COGL_OUTPUT(X) ((CoglOutput *)(X))
62
62
 
63
63
  /**
64
- * CoglSubpixelOrder
64
+ * CoglSubpixelOrder:
65
65
  * @COGL_SUBPIXEL_ORDER_UNKNOWN: the layout of subpixel
66
66
  * components for the device is unknown.
67
67
  * @COGL_SUBPIXEL_ORDER_NONE: the device displays colors
@@ -179,8 +179,8 @@ cogl_pipeline_set_layer_null_texture (CoglPipeline *pipeline,
179
179
  * @pipeline: A #CoglPipeline object
180
180
  * @layer_index: the index of the layer
181
181
  *
182
- * Return value: the texture that was set for the given layer of the
183
- * pipeline or %NULL if no texture was set.
182
+ * Return value: (transfer none): the texture that was set for the
183
+ * given layer of the pipeline or %NULL if no texture was set.
184
184
  * Stability: unstable
185
185
  * Since: 1.10
186
186
  */
@@ -487,12 +487,17 @@ cogl_pipeline_set_blend_constant (CoglPipeline *pipeline,
487
487
  * @point_size: the new point size.
488
488
  *
489
489
  * Changes the size of points drawn when %COGL_VERTICES_MODE_POINTS is
490
- * used with the vertex buffer API. Note that typically the GPU will
491
- * only support a limited minimum and maximum range of point sizes. If
492
- * the chosen point size is outside that range then the nearest value
493
- * within that range will be used instead. The size of a point is in
494
- * screen space so it will be the same regardless of any
495
- * transformations. The default point size is 1.0.
490
+ * used with the attribute buffer API. Note that typically the GPU
491
+ * will only support a limited minimum and maximum range of point
492
+ * sizes. If the chosen point size is outside that range then the
493
+ * nearest value within that range will be used instead. The size of a
494
+ * point is in screen space so it will be the same regardless of any
495
+ * transformations.
496
+ *
497
+ * If the point size is set to 0.0 then drawing points with the
498
+ * pipeline will have undefined results. This is the default value so
499
+ * if an application wants to draw points it must make sure to use a
500
+ * pipeline that has an explicit point size set on it.
496
501
  *
497
502
  * Since: 2.0
498
503
  * Stability: Unstable
@@ -516,6 +521,50 @@ cogl_pipeline_set_point_size (CoglPipeline *pipeline,
516
521
  float
517
522
  cogl_pipeline_get_point_size (CoglPipeline *pipeline);
518
523
 
524
+ /**
525
+ * cogl_pipeline_set_per_vertex_point_size:
526
+ * @pipeline: a #CoglPipeline pointer
527
+ * @enable: whether to enable per-vertex point size
528
+ * @error: a location to store a #CoglError if the change failed
529
+ *
530
+ * Sets whether to use a per-vertex point size or to use the value set
531
+ * by cogl_pipeline_set_point_size(). If per-vertex point size is
532
+ * enabled then the point size can be set for an individual point
533
+ * either by drawing with a #CoglAttribute with the name
534
+ * ‘cogl_point_size_in’ or by writing to the GLSL builtin
535
+ * ‘cogl_point_size_out’ from a vertex shader snippet.
536
+ *
537
+ * If per-vertex point size is enabled and this attribute is not used
538
+ * and cogl_point_size_out is not written to then the results are
539
+ * undefined.
540
+ *
541
+ * Note that enabling this will only work if the
542
+ * %COGL_FEATURE_ID_PER_VERTEX_POINT_SIZE feature is available. If
543
+ * this is not available then the function will return %FALSE and set
544
+ * a #CoglError.
545
+ *
546
+ * Since: 2.0
547
+ * Stability: Unstable
548
+ * Return value: %TRUE if the change suceeded or %FALSE otherwise
549
+ */
550
+ CoglBool
551
+ cogl_pipeline_set_per_vertex_point_size (CoglPipeline *pipeline,
552
+ CoglBool enable,
553
+ CoglError **error);
554
+
555
+ /**
556
+ * cogl_pipeline_get_per_vertex_point_size:
557
+ * @pipeline: a #CoglPipeline pointer
558
+ *
559
+ * Since: 2.0
560
+ * Stability: Unstable
561
+ * Return value: %TRUE if the pipeline has per-vertex point size
562
+ * enabled or %FALSE otherwise. The per-vertex point size can be
563
+ * enabled with cogl_pipeline_set_per_vertex_point_size().
564
+ */
565
+ CoglBool
566
+ cogl_pipeline_get_per_vertex_point_size (CoglPipeline *pipeline);
567
+
519
568
  /**
520
569
  * cogl_pipeline_get_color_mask:
521
570
  * @pipeline: a #CoglPipeline object.
@@ -555,7 +604,7 @@ cogl_pipeline_set_color_mask (CoglPipeline *pipeline,
555
604
  * Queries what user program has been associated with the given
556
605
  * @pipeline using cogl_pipeline_set_user_program().
557
606
  *
558
- * Return value: The current user program or %COGL_INVALID_HANDLE.
607
+ * Return value: (transfer none): The current user program or %COGL_INVALID_HANDLE.
559
608
  *
560
609
  * Since: 2.0
561
610
  * Stability: Unstable
@@ -640,7 +689,7 @@ cogl_pipeline_set_depth_state (CoglPipeline *pipeline,
640
689
  CoglError **error);
641
690
 
642
691
  /**
643
- * cogl_pipeline_get_depth_state
692
+ * cogl_pipeline_get_depth_state:
644
693
  * @pipeline: A #CoglPipeline object
645
694
  * @state_out: (out): A destination #CoglDepthState struct
646
695
  *
@@ -64,7 +64,7 @@ COGL_BEGIN_DECLS
64
64
  * Allocates and initializes a default simple pipeline that will color
65
65
  * a primitive white.
66
66
  *
67
- * Return value: a pointer to a new #CoglPipeline
67
+ * Return value: (transfer full): a pointer to a new #CoglPipeline
68
68
  *
69
69
  * Since: 2.0
70
70
  * Stability: Unstable
@@ -85,7 +85,7 @@ cogl_pipeline_new (CoglContext *context);
85
85
  * keep track of a pipelines ancestry which we may use to help minimize GPU
86
86
  * state changes.
87
87
  *
88
- * Returns: a pointer to the newly allocated #CoglPipeline
88
+ * Return value: (transfer full): a pointer to the newly allocated #CoglPipeline
89
89
  *
90
90
  * Since: 2.0
91
91
  * Stability: Unstable
@@ -127,9 +127,10 @@ typedef CoglBool (*CoglPipelineLayerCallback) (CoglPipeline *pipeline,
127
127
  /**
128
128
  * cogl_pipeline_foreach_layer:
129
129
  * @pipeline: A #CoglPipeline object
130
- * @callback: A #CoglPipelineLayerCallback to be called for each layer
131
- * index
132
- * @user_data: Private data that will be passed to the callback
130
+ * @callback: (scope call): A #CoglPipelineLayerCallback to be
131
+ * called for each layer index
132
+ * @user_data: (closure): Private data that will be passed to the
133
+ * callback
133
134
  *
134
135
  * Iterates all the layer indices of the given @pipeline.
135
136
  *
@@ -32,6 +32,10 @@
32
32
  #ifndef __COGL_PIXEL_BUFFER_H__
33
33
  #define __COGL_PIXEL_BUFFER_H__
34
34
 
35
+ /* XXX: We forward declare CoglPixelBuffer here to allow for circular
36
+ * dependencies between some headers */
37
+ typedef struct _CoglPixelBuffer CoglPixelBuffer;
38
+
35
39
  #include <cogl/cogl-types.h>
36
40
  #include <cogl/cogl-context.h>
37
41
 
@@ -39,8 +43,6 @@ COGL_BEGIN_DECLS
39
43
 
40
44
  #define COGL_PIXEL_BUFFER(buffer) ((CoglPixelBuffer *)(buffer))
41
45
 
42
- typedef struct _CoglPixelBuffer CoglPixelBuffer;
43
-
44
46
  /**
45
47
  * cogl_pixel_buffer_new:
46
48
  * @context: A #CoglContext
@@ -55,6 +57,8 @@ typedef struct _CoglPixelBuffer CoglPixelBuffer;
55
57
  * If @data isn't %NULL then @size bytes will be read from @data and
56
58
  * immediately copied into the new buffer.
57
59
  *
60
+ * Return value: (transfer full): a newly allocated #CoglPixelBuffer
61
+ *
58
62
  * Since: 1.10
59
63
  * Stability: unstable
60
64
  */
@@ -104,19 +104,23 @@ typedef struct {
104
104
  } CoglPollFD;
105
105
 
106
106
  /**
107
- * cogl_poll_get_info:
108
- * @context: A #CoglContext
107
+ * cogl_poll_renderer_get_info:
108
+ * @renderer: A #CoglRenderer
109
109
  * @poll_fds: A return location for a pointer to an array
110
110
  * of #CoglPollFD<!-- -->s
111
111
  * @n_poll_fds: A return location for the number of entries in *@poll_fds
112
112
  * @timeout: A return location for the maximum length of time to wait
113
113
  * in microseconds, or -1 to wait indefinitely.
114
114
  *
115
- * This should be called whenever an application is about to go idle
116
- * so that Cogl has a chance to describe what state it needs to be
117
- * woken up on. The assumption is that the application is using a main
118
- * loop with something like the poll function call on Unix or the GLib
119
- * main loop.
115
+ * Is used to integrate Cogl with an application mainloop that is based
116
+ * on the unix poll(2) api (or select() or something equivalent). This
117
+ * api should be called whenever an application is about to go idle so
118
+ * that Cogl has a chance to describe what file descriptor events it
119
+ * needs to be woken up for.
120
+ *
121
+ * <note>If your application is using the Glib mainloop then you
122
+ * should jump to the cogl_glib_source_new() api as a more convenient
123
+ * way of integrating Cogl with the mainloop.</note>
120
124
  *
121
125
  * After the function is called *@poll_fds will contain a pointer to
122
126
  * an array of #CoglPollFD structs describing the file descriptors
@@ -124,8 +128,12 @@ typedef struct {
124
128
  * accordingly. After the application has completed its idle it is
125
129
  * expected to either update the revents members directly in this
126
130
  * array or to create a copy of the array and update them
127
- * there. Either way it should pass a pointer to either array back to
128
- * Cogl when calling cogl_poll_dispatch().
131
+ * there.
132
+ *
133
+ * When the application mainloop returns from calling poll(2) (or its
134
+ * equivalent) then it should call cogl_poll_renderer_dispatch()
135
+ * passing a pointer the array of CoglPollFD<!-- -->s with updated
136
+ * revent values.
129
137
  *
130
138
  * When using the %COGL_WINSYS_ID_WGL winsys (where file descriptors
131
139
  * don't make any sense) or %COGL_WINSYS_ID_SDL (where the event
@@ -134,21 +142,29 @@ typedef struct {
134
142
  *
135
143
  * @timeout will contain a maximum amount of time to wait in
136
144
  * microseconds before the application should wake up or -1 if the
137
- * application should wait indefinitely. This can also be 0 zero if
145
+ * application should wait indefinitely. This can also be 0 if
138
146
  * Cogl needs to be woken up immediately.
139
147
  *
148
+ * Return value: A "poll fd state age" that changes whenever the set
149
+ * of poll_fds has changed. If this API is being used to
150
+ * integrate with another system mainloop api then
151
+ * knowing if the set of file descriptors and events has
152
+ * really changed can help avoid redundant work
153
+ * depending the api. The age isn't guaranteed to change
154
+ * when the timeout changes.
155
+ *
140
156
  * Stability: unstable
141
- * Since: 1.10
157
+ * Since: 1.16
142
158
  */
143
- void
144
- cogl_poll_get_info (CoglContext *context,
145
- CoglPollFD **poll_fds,
146
- int *n_poll_fds,
147
- int64_t *timeout);
159
+ int
160
+ cogl_poll_renderer_get_info (CoglRenderer *renderer,
161
+ CoglPollFD **poll_fds,
162
+ int *n_poll_fds,
163
+ int64_t *timeout);
148
164
 
149
165
  /**
150
- * cogl_poll_dispatch:
151
- * @context: A #CoglContext
166
+ * cogl_poll_renderer_dispatch:
167
+ * @renderer: A #CoglRenderer
152
168
  * @poll_fds: An array of #CoglPollFD<!-- -->s describing the events
153
169
  * that have occurred since the application went idle.
154
170
  * @n_poll_fds: The length of the @poll_fds array.
@@ -157,17 +173,21 @@ cogl_poll_get_info (CoglContext *context,
157
173
  * going idle in its main loop. The @poll_fds array should contain a
158
174
  * list of file descriptors matched with the events that occurred in
159
175
  * revents. The events field is ignored. It is safe to pass in extra
160
- * file descriptors that Cogl didn't request from
161
- * cogl_context_begin_idle() or a shorter array missing some file
176
+ * file descriptors that Cogl didn't request when calling
177
+ * cogl_poll_renderer_get_info() or a shorter array missing some file
162
178
  * descriptors that Cogl requested.
163
179
  *
180
+ * <note>If your application didn't originally create a #CoglRenderer
181
+ * manually then you can easily get a #CoglRenderer pointer by calling
182
+ * cogl_get_renderer().</note>
183
+ *
164
184
  * Stability: unstable
165
- * Since: 1.10
185
+ * Since: 1.16
166
186
  */
167
187
  void
168
- cogl_poll_dispatch (CoglContext *context,
169
- const CoglPollFD *poll_fds,
170
- int n_poll_fds);
188
+ cogl_poll_renderer_dispatch (CoglRenderer *renderer,
189
+ const CoglPollFD *poll_fds,
190
+ int n_poll_fds);
171
191
 
172
192
  COGL_END_DECLS
173
193
 
@@ -46,9 +46,9 @@ COGL_BEGIN_DECLS
46
46
  * as #CoglAtlasTexture and #CoglTexture2DSliced.
47
47
  *
48
48
  * A texture that implements this interface can be directly used with
49
- * the attributes API such as cogl_framebuffer_draw_attributes().
50
- * Other types of textures need to be first resolved to primitive
51
- * textures using the #CoglMetaTexture interface.
49
+ * the low level cogl_primitive_draw() API. Other types of textures
50
+ * need to be first resolved to primitive textures using the
51
+ * #CoglMetaTexture interface.
52
52
  *
53
53
  * <note>Most developers won't need to use this interface directly but
54
54
  * still it is worth understanding the distinction between high-level
@@ -38,6 +38,7 @@ typedef struct _CoglPrimitive CoglPrimitive;
38
38
 
39
39
  #include <cogl/cogl-vertex-buffer.h> /* for CoglVerticesMode */
40
40
  #include <cogl/cogl-attribute.h>
41
+ #include <cogl/cogl-framebuffer.h>
41
42
 
42
43
  COGL_BEGIN_DECLS
43
44
 
@@ -221,7 +222,7 @@ typedef struct {
221
222
  * cogl_primitive_set_n_vertices() were called. This property defines
222
223
  * the number of vertices to read when drawing.
223
224
  *
224
- * Returns: A newly allocated #CoglPrimitive object
225
+ * Return value: (transfer full): A newly allocated #CoglPrimitive object
225
226
  *
226
227
  * Since: 1.6
227
228
  * Stability: Unstable
@@ -231,6 +232,27 @@ cogl_primitive_new (CoglVerticesMode mode,
231
232
  int n_vertices,
232
233
  ...);
233
234
 
235
+ /**
236
+ * cogl_primitive_new_with_attributes:
237
+ * @mode: A #CoglVerticesMode defining how to draw the vertices
238
+ * @n_vertices: The number of vertices to process when drawing
239
+ * @attributes: An array of CoglAttribute
240
+ * @n_attributes: The number of attributes
241
+ *
242
+ * Combines a set of #CoglAttribute<!-- -->s with a specific draw @mode
243
+ * and defines a vertex count so a #CoglPrimitive object can be retained and
244
+ * drawn later with no addition information required.
245
+ *
246
+ * The value passed as @n_vertices will simply update the
247
+ * #CoglPrimitive <structfield>n_vertices</structfield> property as if
248
+ * cogl_primitive_set_n_vertices() were called. This property defines
249
+ * the number of vertices to read when drawing.
250
+ *
251
+ * Return value: (transfer full): A newly allocated #CoglPrimitive object
252
+ *
253
+ * Since: 1.6
254
+ * Stability: Unstable
255
+ */
234
256
  CoglPrimitive *
235
257
  cogl_primitive_new_with_attributes (CoglVerticesMode mode,
236
258
  int n_vertices,
@@ -243,7 +265,9 @@ cogl_primitive_new_with_attributes (CoglVerticesMode mode,
243
265
  * @mode: A #CoglVerticesMode defining how to draw the vertices
244
266
  * @n_vertices: The number of vertices to read from @data and also
245
267
  * the number of vertices to read when later drawing.
246
- * @data: An array of #CoglVertexP2 vertices
268
+
269
+ * @data: (array length=n_vertices): (type Cogl.VertexP2): An array
270
+ * of #CoglVertexP2 vertices
247
271
  *
248
272
  * Provides a convenient way to describe a primitive, such as a single
249
273
  * triangle strip or a triangle fan, that will internally allocate the
@@ -278,8 +302,8 @@ cogl_primitive_new_with_attributes (CoglVerticesMode mode,
278
302
  * 1.1) then you will need to make sure your assets are resized to a
279
303
  * power-of-two size (though they don't have to be square)</note>
280
304
  *
281
- * Return value: A newly allocated #CoglPrimitive with a reference of
282
- * 1. This can be freed using cogl_object_unref().
305
+ * Return value: (transfer full): A newly allocated #CoglPrimitive
306
+ * with a reference of 1. This can be freed using cogl_object_unref().
283
307
  *
284
308
  * Since: 1.6
285
309
  * Stability: Unstable
@@ -296,7 +320,8 @@ cogl_primitive_new_p2 (CoglContext *context,
296
320
  * @mode: A #CoglVerticesMode defining how to draw the vertices
297
321
  * @n_vertices: The number of vertices to read from @data and also
298
322
  * the number of vertices to read when later drawing.
299
- * @data: An array of #CoglVertexP3 vertices
323
+ * @data: (array length=n_vertices): (type Cogl.VertexP3): An array of
324
+ * #CoglVertexP3 vertices
300
325
  *
301
326
  * Provides a convenient way to describe a primitive, such as a single
302
327
  * triangle strip or a triangle fan, that will internally allocate the
@@ -331,8 +356,8 @@ cogl_primitive_new_p2 (CoglContext *context,
331
356
  * 1.1) then you will need to make sure your assets are resized to a
332
357
  * power-of-two size (though they don't have to be square)</note>
333
358
  *
334
- * Return value: A newly allocated #CoglPrimitive with a reference of
335
- * 1. This can be freed using cogl_object_unref().
359
+ * Return value: (transfer full): A newly allocated #CoglPrimitive
360
+ * with a reference of 1. This can be freed using cogl_object_unref().
336
361
  *
337
362
  * Since: 1.6
338
363
  * Stability: Unstable
@@ -349,7 +374,8 @@ cogl_primitive_new_p3 (CoglContext *context,
349
374
  * @mode: A #CoglVerticesMode defining how to draw the vertices
350
375
  * @n_vertices: The number of vertices to read from @data and also
351
376
  * the number of vertices to read when later drawing.
352
- * @data: An array of #CoglVertexP2C4 vertices
377
+ * @data: (array length=n_vertices): (type Cogl.VertexP2C4): An array
378
+ * of #CoglVertexP2C4 vertices
353
379
  *
354
380
  * Provides a convenient way to describe a primitive, such as a single
355
381
  * triangle strip or a triangle fan, that will internally allocate the
@@ -386,8 +412,8 @@ cogl_primitive_new_p3 (CoglContext *context,
386
412
  * 1.1) then you will need to make sure your assets are resized to a
387
413
  * power-of-two size (though they don't have to be square)</note>
388
414
  *
389
- * Return value: A newly allocated #CoglPrimitive with a reference of
390
- * 1. This can be freed using cogl_object_unref().
415
+ * Return value: (transfer full): A newly allocated #CoglPrimitive
416
+ * with a reference of 1. This can be freed using cogl_object_unref().
391
417
  *
392
418
  * Since: 1.6
393
419
  * Stability: Unstable
@@ -404,7 +430,8 @@ cogl_primitive_new_p2c4 (CoglContext *context,
404
430
  * @mode: A #CoglVerticesMode defining how to draw the vertices
405
431
  * @n_vertices: The number of vertices to read from @data and also
406
432
  * the number of vertices to read when later drawing.
407
- * @data: An array of #CoglVertexP3C4 vertices
433
+ * @data: (array length=n_vertices): (type Cogl.VertexP3C4): An array
434
+ * of #CoglVertexP3C4 vertices
408
435
  *
409
436
  * Provides a convenient way to describe a primitive, such as a single
410
437
  * triangle strip or a triangle fan, that will internally allocate the
@@ -441,8 +468,8 @@ cogl_primitive_new_p2c4 (CoglContext *context,
441
468
  * 1.1) then you will need to make sure your assets are resized to a
442
469
  * power-of-two size (though they don't have to be square)</note>
443
470
  *
444
- * Return value: A newly allocated #CoglPrimitive with a reference of
445
- * 1. This can be freed using cogl_object_unref().
471
+ * Return value: (transfer full): A newly allocated #CoglPrimitive
472
+ * with a reference of 1. This can be freed using cogl_object_unref().
446
473
  *
447
474
  * Since: 1.6
448
475
  * Stability: Unstable
@@ -459,7 +486,8 @@ cogl_primitive_new_p3c4 (CoglContext *context,
459
486
  * @mode: A #CoglVerticesMode defining how to draw the vertices
460
487
  * @n_vertices: The number of vertices to read from @data and also
461
488
  * the number of vertices to read when later drawing.
462
- * @data: An array of #CoglVertexP2T2 vertices
489
+ * @data: (array length=n_vertices): (type Cogl.VertexP2T2): An array
490
+ * of #CoglVertexP2T2 vertices
463
491
  *
464
492
  * Provides a convenient way to describe a primitive, such as a single
465
493
  * triangle strip or a triangle fan, that will internally allocate the
@@ -496,8 +524,8 @@ cogl_primitive_new_p3c4 (CoglContext *context,
496
524
  * 1.1) then you will need to make sure your assets are resized to a
497
525
  * power-of-two size (though they don't have to be square)</note>
498
526
  *
499
- * Return value: A newly allocated #CoglPrimitive with a reference of
500
- * 1. This can be freed using cogl_object_unref().
527
+ * Return value: (transfer full): A newly allocated #CoglPrimitive
528
+ * with a reference of 1. This can be freed using cogl_object_unref().
501
529
  *
502
530
  * Since: 1.6
503
531
  * Stability: Unstable
@@ -514,7 +542,8 @@ cogl_primitive_new_p2t2 (CoglContext *context,
514
542
  * @mode: A #CoglVerticesMode defining how to draw the vertices
515
543
  * @n_vertices: The number of vertices to read from @data and also
516
544
  * the number of vertices to read when later drawing.
517
- * @data: An array of #CoglVertexP3T2 vertices
545
+ * @data: (array length=n_vertices): (type Cogl.VertexP3T2): An array
546
+ * of #CoglVertexP3T2 vertices
518
547
  *
519
548
  * Provides a convenient way to describe a primitive, such as a single
520
549
  * triangle strip or a triangle fan, that will internally allocate the
@@ -551,8 +580,8 @@ cogl_primitive_new_p2t2 (CoglContext *context,
551
580
  * 1.1) then you will need to make sure your assets are resized to a
552
581
  * power-of-two size (though they don't have to be square)</note>
553
582
  *
554
- * Return value: A newly allocated #CoglPrimitive with a reference of
555
- * 1. This can be freed using cogl_object_unref().
583
+ * Return value: (transfer full): A newly allocated #CoglPrimitive
584
+ * with a reference of 1. This can be freed using cogl_object_unref().
556
585
  *
557
586
  * Since: 1.6
558
587
  * Stability: Unstable
@@ -569,7 +598,8 @@ cogl_primitive_new_p3t2 (CoglContext *context,
569
598
  * @mode: A #CoglVerticesMode defining how to draw the vertices
570
599
  * @n_vertices: The number of vertices to read from @data and also
571
600
  * the number of vertices to read when later drawing.
572
- * @data: An array of #CoglVertexP2T2C4 vertices
601
+ * @data: (array length=n_vertices): (type Cogl.VertexP2T2C4): An
602
+ * array of #CoglVertexP2T2C4 vertices
573
603
  *
574
604
  * Provides a convenient way to describe a primitive, such as a single
575
605
  * triangle strip or a triangle fan, that will internally allocate the
@@ -606,8 +636,8 @@ cogl_primitive_new_p3t2 (CoglContext *context,
606
636
  * 1.1) then you will need to make sure your assets are resized to a
607
637
  * power-of-two size (though they don't have to be square)</note>
608
638
  *
609
- * Return value: A newly allocated #CoglPrimitive with a reference of
610
- * 1. This can be freed using cogl_object_unref().
639
+ * Return value: (transfer full): A newly allocated #CoglPrimitive
640
+ * with a reference of 1. This can be freed using cogl_object_unref().
611
641
  *
612
642
  * Since: 1.6
613
643
  * Stability: Unstable
@@ -624,7 +654,8 @@ cogl_primitive_new_p2t2c4 (CoglContext *context,
624
654
  * @mode: A #CoglVerticesMode defining how to draw the vertices
625
655
  * @n_vertices: The number of vertices to read from @data and also
626
656
  * the number of vertices to read when later drawing.
627
- * @data: An array of #CoglVertexP3T2C4 vertices
657
+ * @data: (array length=n_vertices): (type Cogl.VertexP3T2C4): An
658
+ * array of #CoglVertexP3T2C4 vertices
628
659
  *
629
660
  * Provides a convenient way to describe a primitive, such as a single
630
661
  * triangle strip or a triangle fan, that will internally allocate the
@@ -661,8 +692,8 @@ cogl_primitive_new_p2t2c4 (CoglContext *context,
661
692
  * 1.1) then you will need to make sure your assets are resized to a
662
693
  * power-of-two size (though they don't have to be square)</note>
663
694
  *
664
- * Return value: A newly allocated #CoglPrimitive with a reference of
665
- * 1. This can be freed using cogl_object_unref().
695
+ * Return value: (transfer full): A newly allocated #CoglPrimitive
696
+ * with a reference of 1. This can be freed using cogl_object_unref().
666
697
  *
667
698
  * Since: 1.6
668
699
  * Stability: Unstable
@@ -786,7 +817,7 @@ cogl_primitive_set_indices (CoglPrimitive *primitive,
786
817
  * cogl_primitive_get_indices:
787
818
  * @primitive: A #CoglPrimitive
788
819
  *
789
- * Return value: the indices that were set with
820
+ * Return value: (transfer none): the indices that were set with
790
821
  * cogl_primitive_set_indices() or %NULL if no indices were set.
791
822
  *
792
823
  * Since: 1.10
@@ -803,7 +834,7 @@ cogl_primitive_get_indices (CoglPrimitive *primitive);
803
834
  * is a shallow copy which means it will use the same attributes and
804
835
  * attribute buffers as the original primitive.
805
836
  *
806
- * Return value: the new primitive
837
+ * Return value: (transfer full): the new primitive
807
838
  * Since: 1.10
808
839
  * Stability: unstable
809
840
  */
@@ -847,8 +878,10 @@ typedef CoglBool (* CoglPrimitiveAttributeCallback) (CoglPrimitive *primitive,
847
878
  /**
848
879
  * cogl_primitive_foreach_attribute:
849
880
  * @primitive: A #CoglPrimitive object
850
- * @callback: A #CoglPrimitiveAttributeCallback to be called for each attribute
851
- * @user_data: Private data that will be passed to the callback
881
+ * @callback: (scope call): A #CoglPrimitiveAttributeCallback to be
882
+ * called for each attribute
883
+ * @user_data: (closure): Private data that will be passed to the
884
+ * callback
852
885
  *
853
886
  * Iterates all the attributes of the given #CoglPrimitive.
854
887
  *
@@ -860,6 +893,30 @@ cogl_primitive_foreach_attribute (CoglPrimitive *primitive,
860
893
  CoglPrimitiveAttributeCallback callback,
861
894
  void *user_data);
862
895
 
896
+ /**
897
+ * cogl_primitive_draw:
898
+ * @primitive: A #CoglPrimitive geometry object
899
+ * @framebuffer: A destination #CoglFramebuffer
900
+ * @pipeline: A #CoglPipeline state object
901
+ *
902
+ * Draws the given @primitive geometry to the specified destination
903
+ * @framebuffer using the graphics processing state described by @pipeline.
904
+ *
905
+ * This drawing api doesn't support high-level meta texture types such
906
+ * as #CoglTexture2DSliced so it is the user's responsibility to
907
+ * ensure that only low-level textures that can be directly sampled by
908
+ * a GPU such as #CoglTexture2D, #CoglTextureRectangle or #CoglTexture3D
909
+ * are associated with layers of the given @pipeline.
910
+ *
911
+ * Stability: unstable
912
+ * Since: 1.16
913
+ */
914
+ void
915
+ cogl_primitive_draw (CoglPrimitive *primitive,
916
+ CoglFramebuffer *framebuffer,
917
+ CoglPipeline *pipeline);
918
+
919
+
863
920
  COGL_END_DECLS
864
921
 
865
922
  #endif /* __COGL_PRIMITIVE_H__ */