clutter 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (631) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +14 -5
  3. data/lib/clutter.rb +1 -2
  4. data/vendor/local/bin/json-glib-format.exe +0 -0
  5. data/vendor/local/bin/json-glib-validate.exe +0 -0
  6. data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
  7. data/vendor/local/bin/{libcogl-15.dll → libcogl-20.dll} +0 -0
  8. data/vendor/local/bin/libcogl-pango-20.dll +0 -0
  9. data/vendor/local/bin/libcogl-path-20.dll +0 -0
  10. data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
  11. data/vendor/local/include/clutter-1.0/cally/cally-actor.h +9 -4
  12. data/vendor/local/include/clutter-1.0/cally/cally-clone.h +6 -4
  13. data/vendor/local/include/clutter-1.0/cally/cally-group.h +5 -3
  14. data/vendor/local/include/clutter-1.0/cally/cally-main.h +7 -2
  15. data/vendor/local/include/clutter-1.0/cally/cally-rectangle.h +5 -3
  16. data/vendor/local/include/clutter-1.0/cally/cally-root.h +6 -4
  17. data/vendor/local/include/clutter-1.0/cally/cally-stage.h +5 -3
  18. data/vendor/local/include/clutter-1.0/cally/cally-text.h +6 -4
  19. data/vendor/local/include/clutter-1.0/cally/cally-texture.h +6 -4
  20. data/vendor/local/include/clutter-1.0/cally/cally-util.h +7 -3
  21. data/vendor/local/include/clutter-1.0/clutter/clutter-action.h +13 -5
  22. data/vendor/local/include/clutter-1.0/clutter/clutter-actor-meta.h +8 -2
  23. data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +90 -1
  24. data/vendor/local/include/clutter-1.0/clutter/clutter-align-constraint.h +9 -1
  25. data/vendor/local/include/clutter-1.0/clutter/clutter-animatable.h +5 -0
  26. data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +15 -9
  27. data/vendor/local/include/clutter-1.0/clutter/clutter-bin-layout.h +4 -2
  28. data/vendor/local/include/clutter-1.0/clutter/clutter-bind-constraint.h +9 -1
  29. data/vendor/local/include/clutter-1.0/clutter/clutter-binding-pool.h +13 -0
  30. data/vendor/local/include/clutter-1.0/clutter/clutter-blur-effect.h +3 -1
  31. data/vendor/local/include/clutter-1.0/clutter/clutter-box-layout.h +9 -0
  32. data/vendor/local/include/clutter-1.0/clutter/clutter-brightness-contrast-effect.h +9 -1
  33. data/vendor/local/include/clutter-1.0/clutter/clutter-cairo.h +2 -0
  34. data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +7 -2
  35. data/vendor/local/include/clutter-1.0/clutter/clutter-child-meta.h +10 -8
  36. data/vendor/local/include/clutter-1.0/clutter/clutter-click-action.h +8 -2
  37. data/vendor/local/include/clutter-1.0/clutter/clutter-clone.h +8 -4
  38. data/vendor/local/include/clutter-1.0/clutter/clutter-color.h +32 -7
  39. data/vendor/local/include/clutter-1.0/clutter/clutter-colorize-effect.h +5 -1
  40. data/vendor/local/include/clutter-1.0/clutter/clutter-constraint.h +14 -2
  41. data/vendor/local/include/clutter-1.0/clutter/clutter-container.h +49 -37
  42. data/vendor/local/include/clutter-1.0/clutter/clutter-content.h +2 -2
  43. data/vendor/local/include/clutter-1.0/clutter/clutter-deform-effect.h +19 -13
  44. data/vendor/local/include/clutter-1.0/clutter/clutter-deprecated.h +1 -0
  45. data/vendor/local/include/clutter-1.0/clutter/clutter-desaturate-effect.h +5 -1
  46. data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +6 -2
  47. data/vendor/local/include/clutter-1.0/clutter/clutter-drag-action.h +12 -2
  48. data/vendor/local/include/clutter-1.0/clutter/clutter-drop-action.h +4 -2
  49. data/vendor/local/include/clutter-1.0/clutter/clutter-effect.h +11 -1
  50. data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +62 -55
  51. data/vendor/local/include/clutter-1.0/clutter/clutter-enums.h +23 -0
  52. data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +74 -8
  53. data/vendor/local/include/clutter-1.0/clutter/clutter-feature.h +2 -0
  54. data/vendor/local/include/clutter-1.0/clutter/clutter-fixed-layout.h +2 -0
  55. data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +14 -0
  56. data/vendor/local/include/clutter-1.0/clutter/clutter-gesture-action.h +27 -2
  57. data/vendor/local/include/clutter-1.0/clutter/clutter-group.h +1 -0
  58. data/vendor/local/include/clutter-1.0/clutter/clutter-image.h +2 -2
  59. data/vendor/local/include/clutter-1.0/clutter/clutter-input-device.h +20 -0
  60. data/vendor/local/include/clutter-1.0/clutter/clutter-interval.h +18 -0
  61. data/vendor/local/include/clutter-1.0/clutter/clutter-layout-manager.h +13 -0
  62. data/vendor/local/include/clutter-1.0/clutter/clutter-layout-meta.h +2 -0
  63. data/vendor/local/include/clutter-1.0/clutter/clutter-list-model.h +3 -0
  64. data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +67 -33
  65. data/vendor/local/include/clutter-1.0/clutter/clutter-main.h +36 -0
  66. data/vendor/local/include/clutter-1.0/clutter/clutter-model.h +42 -1
  67. data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +4 -0
  68. data/vendor/local/include/clutter-1.0/clutter/clutter-page-turn-effect.h +9 -1
  69. data/vendor/local/include/clutter-1.0/clutter/clutter-paint-nodes.h +5 -5
  70. data/vendor/local/include/clutter-1.0/clutter/clutter-pan-action.h +2 -2
  71. data/vendor/local/include/clutter-1.0/clutter/clutter-path-constraint.h +7 -1
  72. data/vendor/local/include/clutter-1.0/clutter/clutter-path.h +26 -0
  73. data/vendor/local/include/clutter-1.0/clutter/clutter-property-transition.h +2 -2
  74. data/vendor/local/include/clutter-1.0/clutter/clutter-rotate-action.h +2 -2
  75. data/vendor/local/include/clutter-1.0/clutter/clutter-script.h +16 -0
  76. data/vendor/local/include/clutter-1.0/clutter/clutter-scriptable.h +5 -0
  77. data/vendor/local/include/clutter-1.0/clutter/clutter-scroll-actor.h +2 -2
  78. data/vendor/local/include/clutter-1.0/clutter/clutter-settings.h +2 -0
  79. data/vendor/local/include/clutter-1.0/clutter/clutter-shader-effect.h +9 -2
  80. data/vendor/local/include/clutter-1.0/clutter/clutter-shader-types.h +10 -1
  81. data/vendor/local/include/clutter-1.0/clutter/clutter-snap-constraint.h +9 -1
  82. data/vendor/local/include/clutter-1.0/clutter/clutter-stage-manager.h +5 -0
  83. data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +35 -9
  84. data/vendor/local/include/clutter-1.0/clutter/clutter-swipe-action.h +4 -2
  85. data/vendor/local/include/clutter-1.0/clutter/clutter-tap-action.h +2 -2
  86. data/vendor/local/include/clutter-1.0/clutter/clutter-test-utils.h +164 -0
  87. data/vendor/local/include/clutter-1.0/clutter/clutter-text-buffer.h +2 -2
  88. data/vendor/local/include/clutter-1.0/clutter/clutter-text.h +67 -0
  89. data/vendor/local/include/clutter-1.0/clutter/clutter-texture.h +2 -0
  90. data/vendor/local/include/clutter-1.0/clutter/clutter-timeline.h +25 -0
  91. data/vendor/local/include/clutter-1.0/clutter/clutter-transition-group.h +2 -2
  92. data/vendor/local/include/clutter-1.0/clutter/clutter-transition.h +2 -2
  93. data/vendor/local/include/clutter-1.0/clutter/clutter-types.h +60 -6
  94. data/vendor/local/include/clutter-1.0/clutter/clutter-units.h +18 -0
  95. data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +37 -20
  96. data/vendor/local/include/clutter-1.0/clutter/clutter-zoom-action.h +2 -2
  97. data/vendor/local/include/clutter-1.0/clutter/clutter.h +2 -3
  98. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-fixed.h +1 -0
  99. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-state.h +3 -3
  100. data/vendor/local/include/clutter-1.0/clutter/{clutter-table-layout.h → deprecated/clutter-table-layout.h} +15 -0
  101. data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeout-pool.h +1 -1
  102. data/vendor/local/include/clutter-1.0/clutter/win32/clutter-win32.h +5 -0
  103. data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +33 -14
  104. data/vendor/local/include/cogl/cogl-path/cogl-path-types.h +18 -14
  105. data/vendor/local/include/cogl/cogl-path/cogl-path.h +22 -12
  106. data/vendor/local/include/cogl/cogl-path/cogl1-path-functions.h +20 -13
  107. data/vendor/local/include/cogl/cogl-path/cogl2-path-functions.h +35 -13
  108. data/vendor/local/include/cogl/cogl/cogl-atlas-texture.h +81 -53
  109. data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +31 -11
  110. data/vendor/local/include/cogl/cogl/cogl-attribute.h +31 -11
  111. data/vendor/local/include/cogl/cogl/cogl-auto-texture.h +221 -0
  112. data/vendor/local/include/cogl/cogl/cogl-bitmap.h +31 -11
  113. data/vendor/local/include/cogl/cogl/cogl-buffer.h +26 -13
  114. data/vendor/local/include/cogl/cogl/cogl-clip-state.h +244 -15
  115. data/vendor/local/include/cogl/cogl/cogl-clutter.h +18 -13
  116. data/vendor/local/include/cogl/cogl/cogl-color.h +31 -11
  117. data/vendor/local/include/cogl/cogl/cogl-context.h +41 -14
  118. data/vendor/local/include/cogl/cogl/cogl-defines.h +20 -13
  119. data/vendor/local/include/cogl/cogl/cogl-deprecated.h +18 -11
  120. data/vendor/local/include/cogl/cogl/cogl-depth-state.h +20 -14
  121. data/vendor/local/include/cogl/cogl/cogl-display.h +33 -14
  122. data/vendor/local/include/cogl/cogl/cogl-enum-types.h +9 -6
  123. data/vendor/local/include/cogl/cogl/cogl-error.h +20 -15
  124. data/vendor/local/include/cogl/cogl/cogl-euler.h +31 -13
  125. data/vendor/local/include/cogl/cogl/cogl-fence.h +20 -13
  126. data/vendor/local/include/cogl/cogl/cogl-fixed.h +20 -13
  127. data/vendor/local/include/cogl/cogl/cogl-frame-info.h +31 -12
  128. data/vendor/local/include/cogl/cogl/cogl-framebuffer-deprecated.h +264 -0
  129. data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +70 -29
  130. data/vendor/local/include/cogl/cogl/cogl-gles2.h +64 -18
  131. data/vendor/local/include/cogl/cogl/cogl-glib-source.h +18 -11
  132. data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +31 -11
  133. data/vendor/local/include/cogl/cogl/cogl-indices.h +31 -11
  134. data/vendor/local/include/cogl/cogl/cogl-macros.h +33 -13
  135. data/vendor/local/include/cogl/cogl/cogl-material-compat.h +20 -13
  136. data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +37 -12
  137. data/vendor/local/include/cogl/cogl/cogl-matrix.h +34 -15
  138. data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +25 -12
  139. data/vendor/local/include/cogl/cogl/cogl-object.h +40 -12
  140. data/vendor/local/include/cogl/cogl/cogl-offscreen.h +31 -11
  141. data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +31 -12
  142. data/vendor/local/include/cogl/cogl/cogl-onscreen.h +63 -12
  143. data/vendor/local/include/cogl/cogl/cogl-output.h +31 -12
  144. data/vendor/local/include/cogl/cogl/cogl-pango.h +18 -11
  145. data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +20 -13
  146. data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +20 -13
  147. data/vendor/local/include/cogl/cogl/cogl-pipeline.h +31 -11
  148. data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +31 -11
  149. data/vendor/local/include/cogl/cogl/cogl-poll.h +20 -14
  150. data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +25 -12
  151. data/vendor/local/include/cogl/cogl/cogl-primitive.h +32 -13
  152. data/vendor/local/include/cogl/cogl/cogl-primitives.h +20 -13
  153. data/vendor/local/include/cogl/cogl/cogl-quaternion.h +34 -15
  154. data/vendor/local/include/cogl/cogl/cogl-renderer.h +33 -15
  155. data/vendor/local/include/cogl/cogl/cogl-shader.h +20 -13
  156. data/vendor/local/include/cogl/cogl/cogl-snippet.h +27 -12
  157. data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +29 -15
  158. data/vendor/local/include/cogl/cogl/cogl-swap-chain.h +33 -13
  159. data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +29 -24
  160. data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +54 -49
  161. data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +81 -65
  162. data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +71 -54
  163. data/vendor/local/include/cogl/cogl/cogl-texture-deprecated.h +105 -0
  164. data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +61 -48
  165. data/vendor/local/include/cogl/cogl/cogl-texture.h +157 -241
  166. data/vendor/local/include/cogl/cogl/cogl-type-casts.h +53 -0
  167. data/vendor/local/include/cogl/cogl/cogl-types.h +23 -11
  168. data/vendor/local/include/cogl/cogl/cogl-vector.h +20 -15
  169. data/vendor/local/include/cogl/cogl/cogl-version.h +28 -12
  170. data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +20 -13
  171. data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +18 -13
  172. data/vendor/local/include/cogl/cogl/cogl.h +61 -22
  173. data/vendor/local/include/cogl/cogl/cogl1-context.h +20 -434
  174. data/vendor/local/include/cogl/cogl/cogl2-experimental.h +18 -12
  175. data/vendor/local/include/cogl/cogl/deprecated/cogl-auto-texture.h +221 -0
  176. data/vendor/local/include/cogl/cogl/deprecated/cogl-clip-state.h +266 -0
  177. data/vendor/local/include/cogl/cogl/deprecated/cogl-clutter.h +54 -0
  178. data/vendor/local/include/cogl/cogl/deprecated/cogl-fixed.h +811 -0
  179. data/vendor/local/include/cogl/cogl/deprecated/cogl-framebuffer-deprecated.h +264 -0
  180. data/vendor/local/include/cogl/cogl/deprecated/cogl-material-compat.h +1391 -0
  181. data/vendor/local/include/cogl/cogl/deprecated/cogl-shader.h +704 -0
  182. data/vendor/local/include/cogl/cogl/deprecated/cogl-texture-deprecated.h +105 -0
  183. data/vendor/local/include/cogl/cogl/deprecated/cogl-type-casts.h +53 -0
  184. data/vendor/local/include/cogl/cogl/deprecated/cogl-vertex-buffer.h +451 -0
  185. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-core-functions.h +18 -11
  186. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h +18 -11
  187. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h +18 -11
  188. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h +18 -11
  189. data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h +18 -11
  190. data/vendor/local/include/json-glib-1.0/json-glib/json-builder.h +21 -7
  191. data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +8 -3
  192. data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +16 -3
  193. data/vendor/local/include/json-glib-1.0/json-glib/json-glib.h +1 -0
  194. data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +23 -5
  195. data/vendor/local/include/json-glib-1.0/json-glib/json-gvariant.h +9 -2
  196. data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +17 -4
  197. data/vendor/local/include/json-glib-1.0/json-glib/json-path.h +13 -8
  198. data/vendor/local/include/json-glib-1.0/json-glib/json-reader.h +28 -7
  199. data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +97 -12
  200. data/vendor/local/include/json-glib-1.0/json-glib/json-version-macros.h +135 -0
  201. data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +14 -12
  202. data/vendor/local/lib/girepository-1.0/Clutter-1.0.typelib +0 -0
  203. data/vendor/local/lib/girepository-1.0/Cogl-1.0.typelib +0 -0
  204. data/vendor/local/lib/girepository-1.0/Cogl-2.0.typelib +0 -0
  205. data/vendor/local/lib/girepository-1.0/CoglPango-1.0.typelib +0 -0
  206. data/vendor/local/lib/girepository-1.0/CoglPango-2.0.typelib +0 -0
  207. data/vendor/local/lib/girepository-1.0/Json-1.0.typelib +0 -0
  208. data/vendor/local/lib/libclutter-1.0.dll.a +0 -0
  209. data/vendor/local/lib/libclutter-1.0.la +4 -4
  210. data/vendor/local/lib/libcogl-pango.dll.a +0 -0
  211. data/vendor/local/lib/libcogl-pango.la +5 -5
  212. data/vendor/local/lib/libcogl-path.dll.a +0 -0
  213. data/vendor/local/lib/libcogl-path.la +41 -0
  214. data/vendor/local/lib/libcogl.dll.a +0 -0
  215. data/vendor/local/lib/libcogl.la +5 -5
  216. data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
  217. data/vendor/local/lib/libjson-glib-1.0.la +3 -3
  218. data/vendor/local/lib/pkgconfig/cally-1.0.pc +1 -1
  219. data/vendor/local/lib/pkgconfig/clutter-1.0.pc +2 -2
  220. data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +2 -2
  221. data/vendor/local/lib/pkgconfig/cogl-1.0.pc +1 -1
  222. data/vendor/local/lib/pkgconfig/cogl-gl-1.0.pc +1 -1
  223. data/vendor/local/lib/pkgconfig/cogl-pango-1.0.pc +1 -1
  224. data/vendor/local/lib/pkgconfig/cogl-pango-2.0-experimental.pc +3 -3
  225. data/vendor/local/lib/pkgconfig/cogl-path-1.0.pc +13 -0
  226. data/vendor/local/lib/pkgconfig/cogl-path-2.0-experimental.pc +13 -0
  227. data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +1 -1
  228. data/vendor/local/share/gir-1.0/Cally-1.0.gir +4 -2
  229. data/vendor/local/share/gir-1.0/Clutter-1.0.gir +4527 -1814
  230. data/vendor/local/share/gir-1.0/Cogl-1.0.gir +1194 -1881
  231. data/vendor/local/share/gir-1.0/Cogl-2.0.gir +20369 -0
  232. data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +9 -5
  233. data/vendor/local/share/gir-1.0/CoglPango-2.0.gir +331 -0
  234. data/vendor/local/share/gir-1.0/Json-1.0.gir +363 -163
  235. data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +356 -259
  236. data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +91 -69
  237. data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +89 -71
  238. data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +90 -68
  239. data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +72 -59
  240. data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +92 -70
  241. data/vendor/local/share/gtk-doc/html/cally/CallyText.html +90 -66
  242. data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +90 -68
  243. data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +42 -37
  244. data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +109 -86
  245. data/vendor/local/share/gtk-doc/html/cally/cally.devhelp2 +16 -16
  246. data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +4 -4
  247. data/vendor/local/share/gtk-doc/html/cally/callybase.html +4 -4
  248. data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +16 -16
  249. data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +4 -4
  250. data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +4 -4
  251. data/vendor/local/share/gtk-doc/html/cally/ch01.html +4 -4
  252. data/vendor/local/share/gtk-doc/html/cally/ch02.html +4 -4
  253. data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +4 -4
  254. data/vendor/local/share/gtk-doc/html/cally/index.html +3 -3
  255. data/vendor/local/share/gtk-doc/html/cally/index.sgml +47 -29
  256. data/vendor/local/share/gtk-doc/html/cally/ix01.html +27 -29
  257. data/vendor/local/share/gtk-doc/html/cally/ix02.html +4 -4
  258. data/vendor/local/share/gtk-doc/html/cally/ix03.html +25 -27
  259. data/vendor/local/share/gtk-doc/html/cally/ix04.html +6 -6
  260. data/vendor/local/share/gtk-doc/html/cally/license.html +4 -4
  261. data/vendor/local/share/gtk-doc/html/cally/style.css +260 -105
  262. data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +47 -45
  263. data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +11634 -9660
  264. data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +283 -206
  265. data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +335 -242
  266. data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +595 -523
  267. data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +341 -273
  268. data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +995 -804
  269. data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +583 -432
  270. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +565 -457
  271. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +207 -169
  272. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +718 -518
  273. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +211 -172
  274. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +338 -283
  275. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +506 -367
  276. data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +322 -275
  277. data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +329 -901
  278. data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +374 -553
  279. data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +65 -55
  280. data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +491 -419
  281. data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1032 -790
  282. data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +316 -243
  283. data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +613 -755
  284. data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +367 -373
  285. data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +181 -144
  286. data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +399 -316
  287. data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +177 -135
  288. data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +154 -105
  289. data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +137 -262
  290. data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1119 -851
  291. data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +238 -177
  292. data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +293 -225
  293. data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +159 -114
  294. data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +330 -243
  295. data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +772 -873
  296. data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +304 -766
  297. data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +353 -267
  298. data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +70 -57
  299. data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +646 -825
  300. data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +991 -555
  301. data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +725 -510
  302. data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +177 -133
  303. data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +380 -512
  304. data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1252 -962
  305. data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +414 -320
  306. data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +830 -923
  307. data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +118 -87
  308. data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +144 -130
  309. data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +742 -586
  310. data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +1398 -1058
  311. data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +563 -425
  312. data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +322 -265
  313. data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +292 -194
  314. data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +473 -333
  315. data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +653 -489
  316. data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1107 -855
  317. data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +277 -188
  318. data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +178 -130
  319. data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +334 -216
  320. data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +131 -95
  321. data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +709 -569
  322. data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +958 -899
  323. data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +242 -186
  324. data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +263 -606
  325. data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +243 -165
  326. data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +469 -368
  327. data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +353 -245
  328. data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +1967 -1513
  329. data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1273 -1005
  330. data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +200 -144
  331. data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +995 -745
  332. data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +123 -93
  333. data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +2742 -1997
  334. data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +647 -474
  335. data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +1482 -1223
  336. data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +2161 -1735
  337. data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +496 -383
  338. data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +175 -135
  339. data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +313 -236
  340. data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +29 -13
  341. data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +4 -4
  342. data/vendor/local/share/gtk-doc/html/clutter/ch01.html +4 -4
  343. data/vendor/local/share/gtk-doc/html/clutter/ch02.html +4 -7
  344. data/vendor/local/share/gtk-doc/html/clutter/ch03.html +4 -8
  345. data/vendor/local/share/gtk-doc/html/clutter/ch04.html +4 -4
  346. data/vendor/local/share/gtk-doc/html/clutter/ch05.html +4 -4
  347. data/vendor/local/share/gtk-doc/html/clutter/ch06.html +4 -4
  348. data/vendor/local/share/gtk-doc/html/clutter/ch07.html +4 -4
  349. data/vendor/local/share/gtk-doc/html/clutter/ch08.html +4 -4
  350. data/vendor/local/share/gtk-doc/html/clutter/ch09.html +4 -4
  351. data/vendor/local/share/gtk-doc/html/clutter/ch10.html +5 -5
  352. data/vendor/local/share/gtk-doc/html/clutter/ch11.html +4 -4
  353. data/vendor/local/share/gtk-doc/html/clutter/ch12.html +4 -4
  354. data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +3059 -2295
  355. data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +181 -137
  356. data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +340 -197
  357. data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +306 -222
  358. data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1272 -988
  359. data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +154 -69
  360. data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +2714 -1972
  361. data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +151 -116
  362. data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +205 -154
  363. data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +1455 -1890
  364. data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +1449 -1804
  365. data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +134 -112
  366. data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +625 -520
  367. data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +302 -239
  368. data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +872 -637
  369. data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +293 -213
  370. data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +674 -508
  371. data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +454 -339
  372. data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +816 -623
  373. data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +346 -302
  374. data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +60 -34
  375. data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-specific-support.html +200 -170
  376. data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +162 -119
  377. data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +678 -565
  378. data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +5 -5
  379. data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +1937 -2272
  380. data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +4 -4
  381. data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +4 -4
  382. data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +4 -11
  383. data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +4 -4
  384. data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +87 -87
  385. data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +4 -4
  386. data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +6 -6
  387. data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +5 -5
  388. data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +11 -4
  389. data/vendor/local/share/gtk-doc/html/clutter/go01.html +4 -4
  390. data/vendor/local/share/gtk-doc/html/clutter/index.html +11 -11
  391. data/vendor/local/share/gtk-doc/html/clutter/index.sgml +842 -978
  392. data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +7 -7
  393. data/vendor/local/share/gtk-doc/html/clutter/ix01.html +2005 -1923
  394. data/vendor/local/share/gtk-doc/html/clutter/ix02.html +663 -470
  395. data/vendor/local/share/gtk-doc/html/clutter/ix03.html +83 -85
  396. data/vendor/local/share/gtk-doc/html/clutter/ix04.html +122 -124
  397. data/vendor/local/share/gtk-doc/html/clutter/ix05.html +217 -219
  398. data/vendor/local/share/gtk-doc/html/clutter/ix06.html +148 -150
  399. data/vendor/local/share/gtk-doc/html/clutter/ix07.html +349 -351
  400. data/vendor/local/share/gtk-doc/html/clutter/ix08.html +177 -179
  401. data/vendor/local/share/gtk-doc/html/clutter/ix09.html +214 -216
  402. data/vendor/local/share/gtk-doc/html/clutter/ix10.html +83 -85
  403. data/vendor/local/share/gtk-doc/html/clutter/ix11.html +80 -82
  404. data/vendor/local/share/gtk-doc/html/clutter/ix12.html +219 -221
  405. data/vendor/local/share/gtk-doc/html/clutter/ix13.html +212 -214
  406. data/vendor/local/share/gtk-doc/html/clutter/ix14.html +22 -32
  407. data/vendor/local/share/gtk-doc/html/clutter/license.html +4 -4
  408. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +16 -16
  409. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +15 -15
  410. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +17 -17
  411. data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +11 -12
  412. data/vendor/local/share/gtk-doc/html/clutter/migration.html +4 -4
  413. data/vendor/local/share/gtk-doc/html/clutter/pt09.html +4 -4
  414. data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +9 -4
  415. data/vendor/local/share/gtk-doc/html/clutter/style.css +260 -105
  416. data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +6 -6
  417. data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +513 -392
  418. data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +479 -347
  419. data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +804 -600
  420. data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +395 -362
  421. data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +788 -609
  422. data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +32 -43
  423. data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +9 -9
  424. data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +9 -9
  425. data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +9 -9
  426. data/vendor/local/share/gtk-doc/html/json-glib/ch05.html +40 -0
  427. data/vendor/local/share/gtk-doc/html/json-glib/home.png +0 -0
  428. data/vendor/local/share/gtk-doc/html/json-glib/index.html +15 -6
  429. data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +82 -73
  430. data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +230 -227
  431. data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +17 -22
  432. data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +20 -25
  433. data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +17 -22
  434. data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +50 -55
  435. data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +30 -35
  436. data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +39 -44
  437. data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +35 -40
  438. data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +12 -9
  439. data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +9 -9
  440. data/vendor/local/share/gtk-doc/html/json-glib/json-format-tool.html +84 -0
  441. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +306 -221
  442. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +261 -204
  443. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +843 -583
  444. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +223 -199
  445. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +1327 -912
  446. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +986 -694
  447. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +386 -301
  448. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +151 -87
  449. data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +204 -218
  450. data/vendor/local/share/gtk-doc/html/json-glib/json-glib.html +9 -9
  451. data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +9 -9
  452. data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +19 -13
  453. data/vendor/local/share/gtk-doc/html/json-glib/json-validate-tool.html +72 -0
  454. data/vendor/local/share/gtk-doc/html/json-glib/left-insensitive.png +0 -0
  455. data/vendor/local/share/gtk-doc/html/json-glib/left.png +0 -0
  456. data/vendor/local/share/gtk-doc/html/json-glib/license.html +9 -9
  457. data/vendor/local/share/gtk-doc/html/json-glib/right-insensitive.png +0 -0
  458. data/vendor/local/share/gtk-doc/html/json-glib/right.png +0 -0
  459. data/vendor/local/share/gtk-doc/html/json-glib/style.css +314 -104
  460. data/vendor/local/share/gtk-doc/html/json-glib/tools.html +38 -0
  461. data/vendor/local/share/gtk-doc/html/json-glib/up-insensitive.png +0 -0
  462. data/vendor/local/share/gtk-doc/html/json-glib/up.png +0 -0
  463. data/vendor/local/share/license/cogl/COPYING +107 -502
  464. data/vendor/local/share/locale/an/LC_MESSAGES/clutter-1.0.mo +0 -0
  465. data/vendor/local/share/locale/an/LC_MESSAGES/cogl.mo +0 -0
  466. data/vendor/local/share/locale/ar/LC_MESSAGES/clutter-1.0.mo +0 -0
  467. data/vendor/local/share/locale/ar/LC_MESSAGES/cogl.mo +0 -0
  468. data/vendor/local/share/locale/as/LC_MESSAGES/clutter-1.0.mo +0 -0
  469. data/vendor/local/share/locale/as/LC_MESSAGES/cogl.mo +0 -0
  470. data/vendor/local/share/locale/as/LC_MESSAGES/json-glib-1.0.mo +0 -0
  471. data/vendor/local/share/locale/ast/LC_MESSAGES/clutter-1.0.mo +0 -0
  472. data/vendor/local/share/locale/ast/LC_MESSAGES/cogl.mo +0 -0
  473. data/vendor/local/share/locale/az_IR/LC_MESSAGES/clutter-1.0.mo +0 -0
  474. data/vendor/local/share/locale/be/LC_MESSAGES/clutter-1.0.mo +0 -0
  475. data/vendor/local/share/locale/be/LC_MESSAGES/cogl.mo +0 -0
  476. data/vendor/local/share/locale/bg/LC_MESSAGES/clutter-1.0.mo +0 -0
  477. data/vendor/local/share/locale/bg/LC_MESSAGES/cogl.mo +0 -0
  478. data/vendor/local/share/locale/bg/LC_MESSAGES/json-glib-1.0.mo +0 -0
  479. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/json-glib-1.0.mo +0 -0
  480. data/vendor/local/share/locale/ca/LC_MESSAGES/clutter-1.0.mo +0 -0
  481. data/vendor/local/share/locale/ca/LC_MESSAGES/cogl.mo +0 -0
  482. data/vendor/local/share/locale/ca/LC_MESSAGES/json-glib-1.0.mo +0 -0
  483. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/clutter-1.0.mo +0 -0
  484. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/cogl.mo +0 -0
  485. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/json-glib-1.0.mo +0 -0
  486. data/vendor/local/share/locale/cs/LC_MESSAGES/clutter-1.0.mo +0 -0
  487. data/vendor/local/share/locale/cs/LC_MESSAGES/cogl.mo +0 -0
  488. data/vendor/local/share/locale/cs/LC_MESSAGES/json-glib-1.0.mo +0 -0
  489. data/vendor/local/share/locale/da/LC_MESSAGES/clutter-1.0.mo +0 -0
  490. data/vendor/local/share/locale/da/LC_MESSAGES/cogl.mo +0 -0
  491. data/vendor/local/share/locale/da/LC_MESSAGES/json-glib-1.0.mo +0 -0
  492. data/vendor/local/share/locale/de/LC_MESSAGES/clutter-1.0.mo +0 -0
  493. data/vendor/local/share/locale/de/LC_MESSAGES/cogl.mo +0 -0
  494. data/vendor/local/share/locale/de/LC_MESSAGES/json-glib-1.0.mo +0 -0
  495. data/vendor/local/share/locale/el/LC_MESSAGES/clutter-1.0.mo +0 -0
  496. data/vendor/local/share/locale/el/LC_MESSAGES/cogl.mo +0 -0
  497. data/vendor/local/share/locale/el/LC_MESSAGES/json-glib-1.0.mo +0 -0
  498. data/vendor/local/share/locale/en_CA/LC_MESSAGES/cogl.mo +0 -0
  499. data/vendor/local/share/locale/en_GB/LC_MESSAGES/clutter-1.0.mo +0 -0
  500. data/vendor/local/share/locale/en_GB/LC_MESSAGES/cogl.mo +0 -0
  501. data/vendor/local/share/locale/en_GB/LC_MESSAGES/json-glib-1.0.mo +0 -0
  502. data/vendor/local/share/locale/eo/LC_MESSAGES/clutter-1.0.mo +0 -0
  503. data/vendor/local/share/locale/eo/LC_MESSAGES/cogl.mo +0 -0
  504. data/vendor/local/share/locale/eo/LC_MESSAGES/json-glib-1.0.mo +0 -0
  505. data/vendor/local/share/locale/es/LC_MESSAGES/clutter-1.0.mo +0 -0
  506. data/vendor/local/share/locale/es/LC_MESSAGES/cogl.mo +0 -0
  507. data/vendor/local/share/locale/es/LC_MESSAGES/json-glib-1.0.mo +0 -0
  508. data/vendor/local/share/locale/et/LC_MESSAGES/json-glib-1.0.mo +0 -0
  509. data/vendor/local/share/locale/eu/LC_MESSAGES/clutter-1.0.mo +0 -0
  510. data/vendor/local/share/locale/eu/LC_MESSAGES/cogl.mo +0 -0
  511. data/vendor/local/share/locale/eu/LC_MESSAGES/json-glib-1.0.mo +0 -0
  512. data/vendor/local/share/locale/fa/LC_MESSAGES/clutter-1.0.mo +0 -0
  513. data/vendor/local/share/locale/fa/LC_MESSAGES/cogl.mo +0 -0
  514. data/vendor/local/share/locale/fi/LC_MESSAGES/clutter-1.0.mo +0 -0
  515. data/vendor/local/share/locale/fr/LC_MESSAGES/clutter-1.0.mo +0 -0
  516. data/vendor/local/share/locale/fr/LC_MESSAGES/cogl.mo +0 -0
  517. data/vendor/local/share/locale/fr/LC_MESSAGES/json-glib-1.0.mo +0 -0
  518. data/vendor/local/share/locale/fur/LC_MESSAGES/json-glib-1.0.mo +0 -0
  519. data/vendor/local/share/locale/gl/LC_MESSAGES/clutter-1.0.mo +0 -0
  520. data/vendor/local/share/locale/gl/LC_MESSAGES/cogl.mo +0 -0
  521. data/vendor/local/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  522. data/vendor/local/share/locale/he/LC_MESSAGES/clutter-1.0.mo +0 -0
  523. data/vendor/local/share/locale/he/LC_MESSAGES/cogl.mo +0 -0
  524. data/vendor/local/share/locale/he/LC_MESSAGES/json-glib-1.0.mo +0 -0
  525. data/vendor/local/share/locale/hi/LC_MESSAGES/clutter-1.0.mo +0 -0
  526. data/vendor/local/share/locale/hi/LC_MESSAGES/cogl.mo +0 -0
  527. data/vendor/local/share/locale/hi/LC_MESSAGES/json-glib-1.0.mo +0 -0
  528. data/vendor/local/share/locale/hu/LC_MESSAGES/clutter-1.0.mo +0 -0
  529. data/vendor/local/share/locale/hu/LC_MESSAGES/cogl.mo +0 -0
  530. data/vendor/local/share/locale/hu/LC_MESSAGES/json-glib-1.0.mo +0 -0
  531. data/vendor/local/share/locale/id/LC_MESSAGES/clutter-1.0.mo +0 -0
  532. data/vendor/local/share/locale/id/LC_MESSAGES/cogl.mo +0 -0
  533. data/vendor/local/share/locale/id/LC_MESSAGES/json-glib-1.0.mo +0 -0
  534. data/vendor/local/share/locale/it/LC_MESSAGES/clutter-1.0.mo +0 -0
  535. data/vendor/local/share/locale/it/LC_MESSAGES/cogl.mo +0 -0
  536. data/vendor/local/share/locale/it/LC_MESSAGES/json-glib-1.0.mo +0 -0
  537. data/vendor/local/share/locale/ja/LC_MESSAGES/clutter-1.0.mo +0 -0
  538. data/vendor/local/share/locale/ja/LC_MESSAGES/cogl.mo +0 -0
  539. data/vendor/local/share/locale/ja/LC_MESSAGES/json-glib-1.0.mo +0 -0
  540. data/vendor/local/share/locale/km/LC_MESSAGES/clutter-1.0.mo +0 -0
  541. data/vendor/local/share/locale/km/LC_MESSAGES/cogl.mo +0 -0
  542. data/vendor/local/share/locale/kn/LC_MESSAGES/clutter-1.0.mo +0 -0
  543. data/vendor/local/share/locale/kn/LC_MESSAGES/cogl.mo +0 -0
  544. data/vendor/local/share/locale/ko/LC_MESSAGES/clutter-1.0.mo +0 -0
  545. data/vendor/local/share/locale/ko/LC_MESSAGES/cogl.mo +0 -0
  546. data/vendor/local/share/locale/ko/LC_MESSAGES/json-glib-1.0.mo +0 -0
  547. data/vendor/local/share/locale/ky/LC_MESSAGES/json-glib-1.0.mo +0 -0
  548. data/vendor/local/share/locale/lt/LC_MESSAGES/clutter-1.0.mo +0 -0
  549. data/vendor/local/share/locale/lt/LC_MESSAGES/cogl.mo +0 -0
  550. data/vendor/local/share/locale/lt/LC_MESSAGES/json-glib-1.0.mo +0 -0
  551. data/vendor/local/share/locale/lv/LC_MESSAGES/clutter-1.0.mo +0 -0
  552. data/vendor/local/share/locale/lv/LC_MESSAGES/cogl.mo +0 -0
  553. data/vendor/local/share/locale/lv/LC_MESSAGES/json-glib-1.0.mo +0 -0
  554. data/vendor/local/share/locale/mk/LC_MESSAGES/clutter-1.0.mo +0 -0
  555. data/vendor/local/share/locale/ml/LC_MESSAGES/clutter-1.0.mo +0 -0
  556. data/vendor/local/share/locale/ml/LC_MESSAGES/cogl.mo +0 -0
  557. data/vendor/local/share/locale/ml/LC_MESSAGES/json-glib-1.0.mo +0 -0
  558. data/vendor/local/share/locale/nb/LC_MESSAGES/clutter-1.0.mo +0 -0
  559. data/vendor/local/share/locale/nb/LC_MESSAGES/cogl.mo +0 -0
  560. data/vendor/local/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo +0 -0
  561. data/vendor/local/share/locale/nl/LC_MESSAGES/clutter-1.0.mo +0 -0
  562. data/vendor/local/share/locale/nl/LC_MESSAGES/cogl.mo +0 -0
  563. data/vendor/local/share/locale/or/LC_MESSAGES/clutter-1.0.mo +0 -0
  564. data/vendor/local/share/locale/or/LC_MESSAGES/cogl.mo +0 -0
  565. data/vendor/local/share/locale/or/LC_MESSAGES/json-glib-1.0.mo +0 -0
  566. data/vendor/local/share/locale/pa/LC_MESSAGES/clutter-1.0.mo +0 -0
  567. data/vendor/local/share/locale/pa/LC_MESSAGES/cogl.mo +0 -0
  568. data/vendor/local/share/locale/pa/LC_MESSAGES/json-glib-1.0.mo +0 -0
  569. data/vendor/local/share/locale/pl/LC_MESSAGES/clutter-1.0.mo +0 -0
  570. data/vendor/local/share/locale/pl/LC_MESSAGES/cogl.mo +0 -0
  571. data/vendor/local/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  572. data/vendor/local/share/locale/ps/LC_MESSAGES/clutter-1.0.mo +0 -0
  573. data/vendor/local/share/locale/pt/LC_MESSAGES/clutter-1.0.mo +0 -0
  574. data/vendor/local/share/locale/pt/LC_MESSAGES/cogl.mo +0 -0
  575. data/vendor/local/share/locale/pt/LC_MESSAGES/json-glib-1.0.mo +0 -0
  576. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/clutter-1.0.mo +0 -0
  577. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/cogl.mo +0 -0
  578. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo +0 -0
  579. data/vendor/local/share/locale/ro/LC_MESSAGES/clutter-1.0.mo +0 -0
  580. data/vendor/local/share/locale/ru/LC_MESSAGES/clutter-1.0.mo +0 -0
  581. data/vendor/local/share/locale/ru/LC_MESSAGES/cogl.mo +0 -0
  582. data/vendor/local/share/locale/ru/LC_MESSAGES/json-glib-1.0.mo +0 -0
  583. data/vendor/local/share/locale/sk/LC_MESSAGES/clutter-1.0.mo +0 -0
  584. data/vendor/local/share/locale/sk/LC_MESSAGES/cogl.mo +0 -0
  585. data/vendor/local/share/locale/sk/LC_MESSAGES/json-glib-1.0.mo +0 -0
  586. data/vendor/local/share/locale/sl/LC_MESSAGES/clutter-1.0.mo +0 -0
  587. data/vendor/local/share/locale/sl/LC_MESSAGES/cogl.mo +0 -0
  588. data/vendor/local/share/locale/sl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  589. data/vendor/local/share/locale/sr/LC_MESSAGES/clutter-1.0.mo +0 -0
  590. data/vendor/local/share/locale/sr/LC_MESSAGES/cogl.mo +0 -0
  591. data/vendor/local/share/locale/sr/LC_MESSAGES/json-glib-1.0.mo +0 -0
  592. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/clutter-1.0.mo +0 -0
  593. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/cogl.mo +0 -0
  594. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/json-glib-1.0.mo +0 -0
  595. data/vendor/local/share/locale/sv/LC_MESSAGES/clutter-1.0.mo +0 -0
  596. data/vendor/local/share/locale/sv/LC_MESSAGES/cogl.mo +0 -0
  597. data/vendor/local/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo +0 -0
  598. data/vendor/local/share/locale/ta/LC_MESSAGES/clutter-1.0.mo +0 -0
  599. data/vendor/local/share/locale/ta/LC_MESSAGES/cogl.mo +0 -0
  600. data/vendor/local/share/locale/te/LC_MESSAGES/clutter-1.0.mo +0 -0
  601. data/vendor/local/share/locale/te/LC_MESSAGES/cogl.mo +0 -0
  602. data/vendor/local/share/locale/te/LC_MESSAGES/json-glib-1.0.mo +0 -0
  603. data/vendor/local/share/locale/tg/LC_MESSAGES/json-glib-1.0.mo +0 -0
  604. data/vendor/local/share/locale/th/LC_MESSAGES/cogl.mo +0 -0
  605. data/vendor/local/share/locale/tr/LC_MESSAGES/clutter-1.0.mo +0 -0
  606. data/vendor/local/share/locale/tr/LC_MESSAGES/cogl.mo +0 -0
  607. data/vendor/local/share/locale/tr/LC_MESSAGES/json-glib-1.0.mo +0 -0
  608. data/vendor/local/share/locale/ug/LC_MESSAGES/clutter-1.0.mo +0 -0
  609. data/vendor/local/share/locale/ug/LC_MESSAGES/cogl.mo +0 -0
  610. data/vendor/local/share/locale/ug/LC_MESSAGES/json-glib-1.0.mo +0 -0
  611. data/vendor/local/share/locale/uk/LC_MESSAGES/clutter-1.0.mo +0 -0
  612. data/vendor/local/share/locale/uk/LC_MESSAGES/cogl.mo +0 -0
  613. data/vendor/local/share/locale/uk/LC_MESSAGES/json-glib-1.0.mo +0 -0
  614. data/vendor/local/share/locale/ur/LC_MESSAGES/clutter-1.0.mo +0 -0
  615. data/vendor/local/share/locale/vi/LC_MESSAGES/cogl.mo +0 -0
  616. data/vendor/local/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo +0 -0
  617. data/vendor/local/share/locale/yi/LC_MESSAGES/clutter-1.0.mo +0 -0
  618. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/clutter-1.0.mo +0 -0
  619. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/cogl.mo +0 -0
  620. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/json-glib-1.0.mo +0 -0
  621. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/clutter-1.0.mo +0 -0
  622. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/cogl.mo +0 -0
  623. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/json-glib-1.0.mo +0 -0
  624. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/clutter-1.0.mo +0 -0
  625. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/cogl.mo +0 -0
  626. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/json-glib-1.0.mo +0 -0
  627. data/vendor/local/share/man/man1/json-glib-format.1 +60 -0
  628. data/vendor/local/share/man/man1/json-glib-validate.1 +56 -0
  629. metadata +66 -27
  630. data/vendor/local/bin/libcogl-pango-15.dll +0 -0
  631. data/vendor/local/share/gtk-doc/html/json-glib/ch04.html +0 -38
@@ -8,19 +8,16 @@
8
8
  <link rel="up" href="ch06.html" title="Effects">
9
9
  <link rel="prev" href="ClutterOffscreenEffect.html" title="ClutterOffscreenEffect">
10
10
  <link rel="next" href="ClutterDeformEffect.html" title="ClutterDeformEffect">
11
- <meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
11
+ <meta name="generator" content="GTK-Doc V1.20.1 (XML mode)">
12
12
  <link rel="stylesheet" href="style.css" type="text/css">
13
13
  </head>
14
14
  <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
- <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
16
- <td width="100%" align="left">
17
- <a href="#" class="shortcut">Top</a>
18
-  | 
19
- <a href="#ClutterShaderEffect.description" class="shortcut">Description</a>
20
-  | 
21
- <a href="#ClutterShaderEffect.object-hierarchy" class="shortcut">Object Hierarchy</a>
22
-  | 
23
- <a href="#ClutterShaderEffect.properties" class="shortcut">Properties</a>
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16
+ <td width="100%" align="left" class="shortcuts">
17
+ <a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
18
+ <a href="#ClutterShaderEffect.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
19
+ <a href="#ClutterShaderEffect.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
20
+ <a href="#ClutterShaderEffect.properties" class="shortcut">Properties</a></span>
24
21
  </td>
25
22
  <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
26
23
  <td><a accesskey="u" href="ch06.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
@@ -34,270 +31,302 @@
34
31
  <h2><span class="refentrytitle"><a name="ClutterShaderEffect.top_of_page"></a>ClutterShaderEffect</span></h2>
35
32
  <p>ClutterShaderEffect — Base class for shader effects</p>
36
33
  </td>
37
- <td valign="top" align="right"></td>
34
+ <td class="gallery_image" valign="top" align="right"></td>
38
35
  </tr></table></div>
39
- <div class="refsynopsisdiv">
40
- <a name="ClutterShaderEffect.synopsis"></a><h2>Synopsis</h2>
41
- <pre class="synopsis">enum <a class="link" href="ClutterShaderEffect.html#ClutterShaderType" title="enum ClutterShaderType">ClutterShaderType</a>;
42
- struct <a class="link" href="ClutterShaderEffect.html#ClutterShaderEffect-struct" title="struct ClutterShaderEffect">ClutterShaderEffect</a>;
43
- struct <a class="link" href="ClutterShaderEffect.html#ClutterShaderEffectClass" title="struct ClutterShaderEffectClass">ClutterShaderEffectClass</a>;
44
- <a class="link" href="ClutterEffect.html" title="ClutterEffect"><span class="returnvalue">ClutterEffect</span></a> * <a class="link" href="ClutterShaderEffect.html#clutter-shader-effect-new" title="clutter_shader_effect_new ()">clutter_shader_effect_new</a> (<em class="parameter"><code><a class="link" href="ClutterShaderEffect.html#ClutterShaderType" title="enum ClutterShaderType"><span class="type">ClutterShaderType</span></a> shader_type</code></em>);
45
- <span class="returnvalue">void</span> <a class="link" href="ClutterShaderEffect.html#clutter-shader-effect-set-uniform" title="clutter_shader_effect_set_uniform ()">clutter_shader_effect_set_uniform</a> (<em class="parameter"><code><a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> *effect</code></em>,
46
- <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
47
- <em class="parameter"><code><span class="type">GType</span> gtype</code></em>,
48
- <em class="parameter"><code><span class="type">gsize</span> n_values</code></em>,
49
- <em class="parameter"><code>...</code></em>);
50
- <span class="returnvalue">void</span> <a class="link" href="ClutterShaderEffect.html#clutter-shader-effect-set-uniform-value" title="clutter_shader_effect_set_uniform_value ()">clutter_shader_effect_set_uniform_value</a>
51
- (<em class="parameter"><code><a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> *effect</code></em>,
52
- <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
53
- <em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);
54
-
55
- <span class="returnvalue">gboolean</span> <a class="link" href="ClutterShaderEffect.html#clutter-shader-effect-set-shader-source" title="clutter_shader_effect_set_shader_source ()">clutter_shader_effect_set_shader_source</a>
56
- (<em class="parameter"><code><a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> *effect</code></em>,
57
- <em class="parameter"><code>const <span class="type">gchar</span> *source</code></em>);
58
- <span class="returnvalue">CoglHandle</span> <a class="link" href="ClutterShaderEffect.html#clutter-shader-effect-get-program" title="clutter_shader_effect_get_program ()">clutter_shader_effect_get_program</a> (<em class="parameter"><code><a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> *effect</code></em>);
59
- <span class="returnvalue">CoglHandle</span> <a class="link" href="ClutterShaderEffect.html#clutter-shader-effect-get-shader" title="clutter_shader_effect_get_shader ()">clutter_shader_effect_get_shader</a> (<em class="parameter"><code><a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> *effect</code></em>);
60
- </pre>
61
- </div>
62
- <div class="refsect1">
63
- <a name="ClutterShaderEffect.object-hierarchy"></a><h2>Object Hierarchy</h2>
64
- <pre class="synopsis">
65
- GObject
66
- +----GInitiallyUnowned
67
- +----<a class="link" href="ClutterActorMeta.html" title="ClutterActorMeta">ClutterActorMeta</a>
68
- +----<a class="link" href="ClutterEffect.html" title="ClutterEffect">ClutterEffect</a>
69
- +----<a class="link" href="ClutterOffscreenEffect.html" title="ClutterOffscreenEffect">ClutterOffscreenEffect</a>
70
- +----ClutterShaderEffect
71
- </pre>
72
- </div>
73
- <div class="refsect1">
74
- <a name="ClutterShaderEffect.properties"></a><h2>Properties</h2>
75
- <pre class="synopsis">
76
- "<a class="link" href="ClutterShaderEffect.html#ClutterShaderEffect--shader-type" title='The "shader-type" property'>shader-type</a>" <a class="link" href="ClutterShaderEffect.html#ClutterShaderType" title="enum ClutterShaderType"><span class="type">ClutterShaderType</span></a> : Write / Construct Only
77
- </pre>
78
- </div>
79
- <div class="refsect1">
80
- <a name="ClutterShaderEffect.description"></a><h2>Description</h2>
81
- <p>
82
- <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> is a class that implements all the plumbing for
83
- creating <a class="link" href="ClutterEffect.html" title="ClutterEffect"><span class="type">ClutterEffect</span></a>s using GLSL shaders.
84
- </p>
85
- <p>
86
- <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> creates an offscreen buffer and then applies the
87
- GLSL shader (after checking whether the compilation and linking were
88
- successfull) to the buffer before painting it on screen.
89
- </p>
90
- <p>
91
- </p>
92
- <div class="refsect2">
93
- <a name="ClutterShaderEffect-implementing"></a><h3>Implementing a ClutterShaderEffect</h3>
94
- <p>Creating a sub-class of <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> requires the
95
- overriding of the <a class="link" href="ClutterOffscreenEffect.html#ClutterOffscreenEffectClass.paint-target"><code class="function">ClutterOffscreenEffectClass.paint_target()</code></a> virtual
96
- function from the <a class="link" href="ClutterOffscreenEffect.html" title="ClutterOffscreenEffect"><span class="type">ClutterOffscreenEffect</span></a> class as well as the
97
- <code class="function"><code class="function">get_static_shader_source()</code></code> virtual from the
98
- <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> class.</p>
99
- <p>The <a class="link" href="ClutterShaderEffect.html#ClutterShaderEffectClass.get-static-shader-source"><code class="function">ClutterShaderEffectClass.get_static_shader_source()</code></a>
100
- function should return a copy of the shader source to use. This
101
- function is only called once per subclass of <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a>
102
- regardless of how many instances of the effect are created. The
103
- source for the shader is typically stored in a static const
104
- string which is returned from this function via
105
- <code class="function">g_strdup()</code>.</p>
106
- <p>The <code class="function"><code class="function">paint_target()</code></code> should set the
107
- shader's uniforms if any. This is done by calling
108
- <a class="link" href="ClutterShaderEffect.html#clutter-shader-effect-set-uniform-value" title="clutter_shader_effect_set_uniform_value ()"><code class="function">clutter_shader_effect_set_uniform_value()</code></a> or
109
- <a class="link" href="ClutterShaderEffect.html#clutter-shader-effect-set-uniform" title="clutter_shader_effect_set_uniform ()"><code class="function">clutter_shader_effect_set_uniform()</code></a>. The sub-class should then
110
- chain up to the <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> implementation.</p>
111
- <div class="example">
112
- <a name="ClutterShaderEffect-example-uniforms"></a><p class="title"><b>Example 8. Setting uniforms on a ClutterShaderEffect</b></p>
113
- <div class="example-contents">
114
- <p>The example below shows a typical implementation of the
115
- <code class="function"><code class="function">get_static_shader_source()</code></code> and
116
- <code class="function"><code class="function">paint_target()</code></code> phases of a
117
- <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> sub-class.</p>
118
- <pre class="programlisting">
119
- static gchar *
120
- my_effect_get_static_shader_source (ClutterShaderEffect *effect)
121
- {
122
- return g_strdup (shader_source);
123
- }
124
-
125
- static gboolean
126
- my_effect_paint_target (ClutterOffscreenEffect *effect)
127
- {
128
- MyEffect *self = MY_EFFECT (effect);
129
- ClutterShaderEffect *shader = CLUTTER_SHADER_EFFECT (effect);
130
- ClutterEffectClass *parent_class;
131
- gfloat component_r, component_g, component_b;
132
-
133
- /* the "tex" uniform is declared in the shader as:
134
- *
135
- * uniform int tex;
136
- *
137
- * and it is passed a constant value of 0
138
- */
139
- clutter_shader_effect_set_uniform (shader, "tex", G_TYPE_INT, 1, 0);
140
-
141
- /* the "component" uniform is declared in the shader as:
142
- *
143
- * uniform vec3 component;
144
- *
145
- * and it's defined to contain the normalized components
146
- * of a <a class="link" href="clutter-Colors.html#ClutterColor" title="ClutterColor">ClutterColor</a>
147
- */
148
- component_r = self-&gt;color.red / 255.0f;
149
- component_g = self-&gt;color.green / 255.0f;
150
- component_b = self-&gt;color.blue / 255.0f;
151
- clutter_shader_effect_set_uniform (shader, "component",
152
- G_TYPE_FLOAT, 3,
153
- component_r,
154
- component_g,
155
- component_b);
156
-
157
- /* chain up to the parent's implementation */
158
- parent_class = CLUTTER_OFFSCREEN_EFFECT_CLASS (my_effect_parent_class);
159
- return parent_class-&gt;paint_target (effect);
160
- }
161
- </pre>
162
- </div>
163
- </div>
164
- <br class="example-break">
165
- </div>
166
- <p>
167
- </p>
168
- <p>
169
- <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> is available since Clutter 1.4
170
- </p>
171
- </div>
172
36
  <div class="refsect1">
173
- <a name="ClutterShaderEffect.details"></a><h2>Details</h2>
174
- <div class="refsect2">
175
- <a name="ClutterShaderType"></a><h3>enum ClutterShaderType</h3>
176
- <pre class="programlisting">typedef enum {
177
- CLUTTER_VERTEX_SHADER,
178
- CLUTTER_FRAGMENT_SHADER
179
- } ClutterShaderType;
180
- </pre>
181
- <p>
182
- The type of GLSL shader program
183
- </p>
184
- <div class="variablelist"><table border="0" class="variablelist">
37
+ <a name="ClutterShaderEffect.functions"></a><h2>Functions</h2>
38
+ <div class="informaltable"><table width="100%" border="0">
185
39
  <colgroup>
186
- <col align="left" valign="top">
187
- <col>
40
+ <col width="150px" class="functions_return">
41
+ <col class="functions_name">
188
42
  </colgroup>
189
43
  <tbody>
190
44
  <tr>
191
- <td><p><a name="CLUTTER-VERTEX-SHADER:CAPS"></a><span class="term"><code class="literal">CLUTTER_VERTEX_SHADER</code></span></p></td>
192
- <td>a vertex shader
45
+ <td class="function_type">
46
+ <a class="link" href="ClutterEffect.html" title="ClutterEffect"><span class="returnvalue">ClutterEffect</span></a> *
47
+ </td>
48
+ <td class="function_name">
49
+ <a class="link" href="ClutterShaderEffect.html#clutter-shader-effect-new" title="clutter_shader_effect_new ()">clutter_shader_effect_new</a> <span class="c_punctuation">()</span>
50
+ </td>
51
+ </tr>
52
+ <tr>
53
+ <td class="function_type">
54
+ <span class="returnvalue">void</span>
55
+ </td>
56
+ <td class="function_name">
57
+ <a class="link" href="ClutterShaderEffect.html#clutter-shader-effect-set-uniform" title="clutter_shader_effect_set_uniform ()">clutter_shader_effect_set_uniform</a> <span class="c_punctuation">()</span>
58
+ </td>
59
+ </tr>
60
+ <tr>
61
+ <td class="function_type">
62
+ <span class="returnvalue">void</span>
63
+ </td>
64
+ <td class="function_name">
65
+ <a class="link" href="ClutterShaderEffect.html#clutter-shader-effect-set-uniform-value" title="clutter_shader_effect_set_uniform_value ()">clutter_shader_effect_set_uniform_value</a> <span class="c_punctuation">()</span>
66
+ </td>
67
+ </tr>
68
+ <tr>
69
+ <td class="function_type">
70
+ <span class="returnvalue">gboolean</span>
71
+ </td>
72
+ <td class="function_name">
73
+ <a class="link" href="ClutterShaderEffect.html#clutter-shader-effect-set-shader-source" title="clutter_shader_effect_set_shader_source ()">clutter_shader_effect_set_shader_source</a> <span class="c_punctuation">()</span>
74
+ </td>
75
+ </tr>
76
+ <tr>
77
+ <td class="function_type">
78
+ <span class="returnvalue">CoglHandle</span>
79
+ </td>
80
+ <td class="function_name">
81
+ <a class="link" href="ClutterShaderEffect.html#clutter-shader-effect-get-program" title="clutter_shader_effect_get_program ()">clutter_shader_effect_get_program</a> <span class="c_punctuation">()</span>
193
82
  </td>
194
83
  </tr>
195
84
  <tr>
196
- <td><p><a name="CLUTTER-FRAGMENT-SHADER:CAPS"></a><span class="term"><code class="literal">CLUTTER_FRAGMENT_SHADER</code></span></p></td>
197
- <td>a fragment shader
85
+ <td class="function_type">
86
+ <span class="returnvalue">CoglHandle</span>
87
+ </td>
88
+ <td class="function_name">
89
+ <a class="link" href="ClutterShaderEffect.html#clutter-shader-effect-get-shader" title="clutter_shader_effect_get_shader ()">clutter_shader_effect_get_shader</a> <span class="c_punctuation">()</span>
198
90
  </td>
199
91
  </tr>
200
92
  </tbody>
201
93
  </table></div>
202
- <p class="since">Since 1.4</p>
203
94
  </div>
204
- <hr>
205
- <div class="refsect2">
206
- <a name="ClutterShaderEffect-struct"></a><h3>struct ClutterShaderEffect</h3>
207
- <pre class="programlisting">struct ClutterShaderEffect;</pre>
208
- <p>
209
- The <span class="structname">ClutterShaderEffect</span> structure contains
210
- only private data and should be accessed using the provided API
211
- </p>
212
- <p class="since">Since 1.4</p>
213
- </div>
214
- <hr>
215
- <div class="refsect2">
216
- <a name="ClutterShaderEffectClass"></a><h3>struct ClutterShaderEffectClass</h3>
217
- <pre class="programlisting">struct ClutterShaderEffectClass {
218
- gchar * (* get_static_shader_source) (ClutterShaderEffect *effect);
219
- };
220
- </pre>
221
- <p>
222
- The <span class="structname">ClutterShaderEffectClass</span> structure contains
223
- only private data
224
- </p>
225
- <div class="variablelist"><table border="0" class="variablelist">
95
+ <div class="refsect1">
96
+ <a name="ClutterShaderEffect.properties"></a><h2>Properties</h2>
97
+ <div class="informaltable"><table border="0">
226
98
  <colgroup>
227
- <col align="left" valign="top">
228
- <col>
99
+ <col width="150px" class="properties_type">
100
+ <col width="300px" class="properties_name">
101
+ <col width="200px" class="properties_flags">
229
102
  </colgroup>
230
103
  <tbody><tr>
231
- <td><p><span class="term"><em class="structfield"><code><a name="ClutterShaderEffectClass.get-static-shader-source"></a>get_static_shader_source</code></em> ()</span></p></td>
232
- <td>Returns the GLSL source code to use for
233
- instances of this shader effect. Note that this function is only
234
- called once per subclass of <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> regardless of how
235
- many instances are used. It is expected that subclasses will return
236
- a copy of a static string from this function.</td>
104
+ <td class="property_type"><a class="link" href="ClutterShaderEffect.html#ClutterShaderType" title="enum ClutterShaderType"><span class="type">ClutterShaderType</span></a></td>
105
+ <td class="property_name"><a class="link" href="ClutterShaderEffect.html#ClutterShaderEffect--shader-type" title="The “shader-type” property">shader-type</a></td>
106
+ <td class="property_flags">Write / Construct Only</td>
237
107
  </tr></tbody>
238
108
  </table></div>
239
- <p class="since">Since 1.4</p>
240
109
  </div>
241
- <hr>
242
- <div class="refsect2">
243
- <a name="clutter-shader-effect-new"></a><h3>clutter_shader_effect_new ()</h3>
244
- <pre class="programlisting"><a class="link" href="ClutterEffect.html" title="ClutterEffect"><span class="returnvalue">ClutterEffect</span></a> * clutter_shader_effect_new (<em class="parameter"><code><a class="link" href="ClutterShaderEffect.html#ClutterShaderType" title="enum ClutterShaderType"><span class="type">ClutterShaderType</span></a> shader_type</code></em>);</pre>
245
- <p>
246
- Creates a new <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a>, to be applied to an actor using
247
- <a class="link" href="ClutterActor.html#clutter-actor-add-effect" title="clutter_actor_add_effect ()"><code class="function">clutter_actor_add_effect()</code></a>.
248
- </p>
249
- <p>
250
- The effect will be empty until <a class="link" href="ClutterShaderEffect.html#clutter-shader-effect-set-shader-source" title="clutter_shader_effect_set_shader_source ()"><code class="function">clutter_shader_effect_set_shader_source()</code></a>
251
- is called.
252
- </p>
253
- <div class="variablelist"><table border="0" class="variablelist">
110
+ <div class="refsect1">
111
+ <a name="ClutterShaderEffect.other"></a><h2>Types and Values</h2>
112
+ <div class="informaltable"><table width="100%" border="0">
254
113
  <colgroup>
255
- <col align="left" valign="top">
256
- <col>
114
+ <col width="150px" class="name">
115
+ <col class="description">
257
116
  </colgroup>
258
117
  <tbody>
259
118
  <tr>
260
- <td><p><span class="term"><em class="parameter"><code>shader_type</code></em> :</span></p></td>
261
- <td>the type of the shader, either <a class="link" href="ClutterShaderEffect.html#CLUTTER-FRAGMENT-SHADER:CAPS"><code class="literal">CLUTTER_FRAGMENT_SHADER</code></a>,
262
- or <a class="link" href="ClutterShaderEffect.html#CLUTTER-VERTEX-SHADER:CAPS"><code class="literal">CLUTTER_VERTEX_SHADER</code></a>
263
- </td>
119
+ <td class="datatype_keyword">enum</td>
120
+ <td class="function_name"><a class="link" href="ClutterShaderEffect.html#ClutterShaderType" title="enum ClutterShaderType">ClutterShaderType</a></td>
264
121
  </tr>
265
122
  <tr>
266
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
267
- <td>the newly created <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a>.
268
- Use <code class="function">g_object_unref()</code> when done.</td>
123
+ <td class="datatype_keyword">struct</td>
124
+ <td class="function_name"><a class="link" href="ClutterShaderEffect.html#ClutterShaderEffect-struct" title="struct ClutterShaderEffect">ClutterShaderEffect</a></td>
125
+ </tr>
126
+ <tr>
127
+ <td class="datatype_keyword">struct</td>
128
+ <td class="function_name"><a class="link" href="ClutterShaderEffect.html#ClutterShaderEffectClass" title="struct ClutterShaderEffectClass">ClutterShaderEffectClass</a></td>
269
129
  </tr>
270
130
  </tbody>
271
131
  </table></div>
132
+ </div>
133
+ <div class="refsect1">
134
+ <a name="ClutterShaderEffect.object-hierarchy"></a><h2>Object Hierarchy</h2>
135
+ <pre class="screen"> GObject
136
+ <span class="lineart">╰──</span> GInitiallyUnowned
137
+ <span class="lineart">╰──</span> <a class="link" href="ClutterActorMeta.html" title="ClutterActorMeta">ClutterActorMeta</a>
138
+ <span class="lineart">╰──</span> <a class="link" href="ClutterEffect.html" title="ClutterEffect">ClutterEffect</a>
139
+ <span class="lineart">╰──</span> <a class="link" href="ClutterOffscreenEffect.html" title="ClutterOffscreenEffect">ClutterOffscreenEffect</a>
140
+ <span class="lineart">╰──</span> ClutterShaderEffect
141
+ </pre>
142
+ </div>
143
+ <div class="refsect1">
144
+ <a name="ClutterShaderEffect.description"></a><h2>Description</h2>
145
+ <p><a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> is a class that implements all the plumbing for
146
+ creating <a class="link" href="ClutterEffect.html" title="ClutterEffect"><span class="type">ClutterEffect</span></a>&lt;!-- --&gt;s using GLSL shaders.</p>
147
+ <p><a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> creates an offscreen buffer and then applies the
148
+ GLSL shader (after checking whether the compilation and linking were
149
+ successfull) to the buffer before painting it on screen.</p>
150
+ <p><a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> is available since Clutter 1.4</p>
151
+ <div class="refsect3">
152
+ <a name="id-1.5.7.3.7.5"></a><h4>Implementing a ClutterShaderEffect</h4>
153
+ <p>Creating a sub-class of <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> requires the
154
+ overriding of the <a class="link" href="ClutterOffscreenEffect.html#ClutterOffscreenEffectClass.paint-target"><code class="function">ClutterOffscreenEffectClass.paint_target()</code></a> virtual
155
+ function from the <a class="link" href="ClutterOffscreenEffect.html" title="ClutterOffscreenEffect"><span class="type">ClutterOffscreenEffect</span></a> class. It is also convenient
156
+ to implement the <a class="link" href="ClutterShaderEffect.html#ClutterShaderEffectClass.get-static-shader-source"><code class="function">ClutterShaderEffectClass.get_static_shader_source()</code></a>
157
+ virtual function in case you are planning to create more than one
158
+ instance of the effect.</p>
159
+ <p>The <a class="link" href="ClutterShaderEffect.html#ClutterShaderEffectClass.get-static-shader-source"><code class="function">ClutterShaderEffectClass.get_static_shader_source()</code></a>
160
+ function should return a copy of the shader source to use. This
161
+ function is only called once per subclass of <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a>
162
+ regardless of how many instances of the effect are created. The
163
+ source for the shader is typically stored in a static const
164
+ string which is returned from this function via
165
+ <code class="function">g_strdup()</code>.</p>
166
+ <p>The <a class="link" href="ClutterOffscreenEffect.html#ClutterOffscreenEffectClass.paint-target"><code class="function">ClutterOffscreenEffectClass.paint_target()</code></a> should set the
167
+ shader's uniforms if any. This is done by calling
168
+ <a class="link" href="ClutterShaderEffect.html#clutter-shader-effect-set-uniform-value" title="clutter_shader_effect_set_uniform_value ()"><code class="function">clutter_shader_effect_set_uniform_value()</code></a> or
169
+ <a class="link" href="ClutterShaderEffect.html#clutter-shader-effect-set-uniform" title="clutter_shader_effect_set_uniform ()"><code class="function">clutter_shader_effect_set_uniform()</code></a>. The sub-class should then
170
+ chain up to the <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> implementation.</p>
171
+ </div>
172
+ <div class="refsect3">
173
+ <a name="id-1.5.7.3.7.6"></a><h4>Setting uniforms on a ClutterShaderEffect</h4>
174
+ <p>The example below shows a typical implementation of the
175
+ <a class="link" href="ClutterShaderEffect.html#ClutterShaderEffectClass.get-static-shader-source"><code class="function">ClutterShaderEffectClass.get_static_shader_source()</code></a> and
176
+ <a class="link" href="ClutterOffscreenEffect.html#ClutterOffscreenEffectClass.paint-target"><code class="function">ClutterOffscreenEffectClass.paint_target()</code></a> virtual functions
177
+ for a <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> subclass.</p>
178
+ <div class="informalexample">
179
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
180
+ <tbody>
181
+ <tr>
182
+ <td class="listing_lines" align="right"><pre>1
183
+ 2
184
+ 3
185
+ 4
186
+ 5
187
+ 6
188
+ 7
189
+ 8
190
+ 9
191
+ 10
192
+ 11
193
+ 12
194
+ 13
195
+ 14
196
+ 15
197
+ 16
198
+ 17
199
+ 18
200
+ 19
201
+ 20
202
+ 21
203
+ 22
204
+ 23
205
+ 24
206
+ 25
207
+ 26
208
+ 27
209
+ 28
210
+ 29
211
+ 30
212
+ 31
213
+ 32
214
+ 33
215
+ 34
216
+ 35
217
+ 36
218
+ 37
219
+ 38
220
+ 39
221
+ 40
222
+ 41</pre></td>
223
+ <td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> gchar </span><span class="symbol">*</span>
224
+ <span class="function">my_effect_get_static_shader_source</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ClutterShaderEffect</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">effect</span><span class="symbol">)</span>
225
+ <span class="cbracket">{</span>
226
+ <span class="normal"> </span><span class="comment">// shader_source is set elsewhere</span>
227
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="function">g_strdup</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">shader_source</span><span class="symbol">);</span>
228
+ <span class="cbracket">}</span>
229
+
230
+ <span class="keyword">static</span><span class="normal"> gboolean</span>
231
+ <span class="function">my_effect_paint_target</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ClutterOffscreenEffect</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">effect</span><span class="symbol">)</span>
232
+ <span class="cbracket">{</span>
233
+ <span class="normal"> </span><span class="usertype">MyEffect</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">self </span><span class="symbol">=</span><span class="normal"> </span><span class="function">MY_EFFECT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">effect</span><span class="symbol">);</span>
234
+ <span class="normal"> </span><span class="usertype">ClutterShaderEffect</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">shader </span><span class="symbol">=</span><span class="normal"> </span><span class="function">CLUTTER_SHADER_EFFECT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">effect</span><span class="symbol">);</span>
235
+ <span class="normal"> </span><span class="usertype">ClutterEffectClass</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">parent_class</span><span class="symbol">;</span>
236
+ <span class="normal"> </span><span class="usertype">gfloat</span><span class="normal"> component_r</span><span class="symbol">,</span><span class="normal"> component_g</span><span class="symbol">,</span><span class="normal"> component_b</span><span class="symbol">;</span>
237
+
238
+ <span class="normal"> </span><span class="comment">// the "tex" uniform is declared in the shader as:</span>
239
+ <span class="normal"> </span><span class="comment">//</span>
240
+ <span class="normal"> </span><span class="comment">// uniform int tex;</span>
241
+ <span class="normal"> </span><span class="comment">//</span>
242
+ <span class="normal"> </span><span class="comment">// and it is passed a constant value of 0</span>
243
+ <span class="normal"> </span><span class="function"><a href="ClutterShaderEffect.html#clutter-shader-effect-set-uniform">clutter_shader_effect_set_uniform</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">shader</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"tex"</span><span class="symbol">,</span><span class="normal"> G_TYPE_INT</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">);</span>
244
+
245
+ <span class="normal"> </span><span class="comment">// the "component" uniform is declared in the shader as:</span>
246
+ <span class="normal"> </span><span class="comment">//</span>
247
+ <span class="normal"> </span><span class="comment">// uniform vec3 component;</span>
248
+ <span class="normal"> </span><span class="comment">//</span>
249
+ <span class="normal"> </span><span class="comment">// and it's defined to contain the normalized components</span>
250
+ <span class="normal"> </span><span class="comment">// of a #ClutterColor</span>
251
+ <span class="normal"> component_r </span><span class="symbol">=</span><span class="normal"> self</span><span class="symbol">-&gt;</span><span class="normal">color</span><span class="symbol">.</span><span class="normal">red </span><span class="symbol">/</span><span class="normal"> </span><span class="number">255</span><span class="symbol">.</span><span class="normal">0f</span><span class="symbol">;</span>
252
+ <span class="normal"> component_g </span><span class="symbol">=</span><span class="normal"> self</span><span class="symbol">-&gt;</span><span class="normal">color</span><span class="symbol">.</span><span class="normal">green </span><span class="symbol">/</span><span class="normal"> </span><span class="number">255</span><span class="symbol">.</span><span class="normal">0f</span><span class="symbol">;</span>
253
+ <span class="normal"> component_b </span><span class="symbol">=</span><span class="normal"> self</span><span class="symbol">-&gt;</span><span class="normal">color</span><span class="symbol">.</span><span class="normal">blue </span><span class="symbol">/</span><span class="normal"> </span><span class="number">255</span><span class="symbol">.</span><span class="normal">0f</span><span class="symbol">;</span>
254
+ <span class="normal"> </span><span class="function"><a href="ClutterShaderEffect.html#clutter-shader-effect-set-uniform">clutter_shader_effect_set_uniform</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">shader</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"component"</span><span class="symbol">,</span>
255
+ <span class="normal"> G_TYPE_FLOAT</span><span class="symbol">,</span><span class="normal"> </span><span class="number">3</span><span class="symbol">,</span>
256
+ <span class="normal"> component_r</span><span class="symbol">,</span>
257
+ <span class="normal"> component_g</span><span class="symbol">,</span>
258
+ <span class="normal"> component_b</span><span class="symbol">);</span>
259
+
260
+ <span class="normal"> </span><span class="comment">// chain up to the parent's implementation</span>
261
+ <span class="normal"> parent_class </span><span class="symbol">=</span><span class="normal"> </span><span class="function">CLUTTER_OFFSCREEN_EFFECT_CLASS</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">my_effect_parent_class</span><span class="symbol">);</span>
262
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> parent_class</span><span class="symbol">-&gt;</span><span class="function">paint_target</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">effect</span><span class="symbol">);</span>
263
+ <span class="cbracket">}</span></pre></td>
264
+ </tr>
265
+ </tbody>
266
+ </table>
267
+ </div>
268
+
269
+ <p></p>
270
+ </div>
271
+ </div>
272
+ <div class="refsect1">
273
+ <a name="ClutterShaderEffect.functions_details"></a><h2>Functions</h2>
274
+ <div class="refsect2">
275
+ <a name="clutter-shader-effect-new"></a><h3>clutter_shader_effect_new ()</h3>
276
+ <pre class="programlisting"><a class="link" href="ClutterEffect.html" title="ClutterEffect"><span class="returnvalue">ClutterEffect</span></a> *
277
+ clutter_shader_effect_new (<em class="parameter"><code><a class="link" href="ClutterShaderEffect.html#ClutterShaderType" title="enum ClutterShaderType"><span class="type">ClutterShaderType</span></a> shader_type</code></em>);</pre>
278
+ <p>Creates a new <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a>, to be applied to an actor using
279
+ <a class="link" href="ClutterActor.html#clutter-actor-add-effect" title="clutter_actor_add_effect ()"><code class="function">clutter_actor_add_effect()</code></a>.</p>
280
+ <p>The effect will be empty until <a class="link" href="ClutterShaderEffect.html#clutter-shader-effect-set-shader-source" title="clutter_shader_effect_set_shader_source ()"><code class="function">clutter_shader_effect_set_shader_source()</code></a>
281
+ is called.</p>
282
+ <div class="refsect3">
283
+ <a name="id-1.5.7.3.8.2.6"></a><h4>Parameters</h4>
284
+ <div class="informaltable"><table width="100%" border="0">
285
+ <colgroup>
286
+ <col width="150px" class="parameters_name">
287
+ <col class="parameters_description">
288
+ <col width="200px" class="parameters_annotations">
289
+ </colgroup>
290
+ <tbody><tr>
291
+ <td class="parameter_name"><p>shader_type</p></td>
292
+ <td class="parameter_description"><p>the type of the shader, either <a class="link" href="ClutterShaderEffect.html#CLUTTER-FRAGMENT-SHADER:CAPS"><code class="literal">CLUTTER_FRAGMENT_SHADER</code></a>,
293
+ or <a class="link" href="ClutterShaderEffect.html#CLUTTER-VERTEX-SHADER:CAPS"><code class="literal">CLUTTER_VERTEX_SHADER</code></a></p></td>
294
+ <td class="parameter_annotations"> </td>
295
+ </tr></tbody>
296
+ </table></div>
297
+ </div>
298
+ <div class="refsect3">
299
+ <a name="id-1.5.7.3.8.2.7"></a><h4>Returns</h4>
300
+ <p> the newly created <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a>.
301
+ Use <code class="function">g_object_unref()</code> when done.</p>
302
+ <p></p>
303
+ </div>
272
304
  <p class="since">Since 1.8</p>
273
305
  </div>
274
306
  <hr>
275
307
  <div class="refsect2">
276
- <a name="clutter-shader-effect-set-uniform"></a><h3>clutter_shader_effect_set_uniform ()</h3>
277
- <pre class="programlisting"><span class="returnvalue">void</span> clutter_shader_effect_set_uniform (<em class="parameter"><code><a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> *effect</code></em>,
278
- <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
279
- <em class="parameter"><code><span class="type">GType</span> gtype</code></em>,
280
- <em class="parameter"><code><span class="type">gsize</span> n_values</code></em>,
281
- <em class="parameter"><code>...</code></em>);</pre>
282
- <p>
283
- Sets a list of values as the payload for the uniform <em class="parameter"><code>name</code></em> inside
284
- the shader effect
285
- </p>
286
- <p>
287
- The <em class="parameter"><code>gtype</code></em> must be one of: <code class="literal">G_TYPE_INT</code>, for 1 or more integer values;
308
+ <a name="clutter-shader-effect-set-uniform"></a><h3>clutter_shader_effect_set_uniform ()</h3>
309
+ <pre class="programlisting"><span class="returnvalue">void</span>
310
+ clutter_shader_effect_set_uniform (<em class="parameter"><code><a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> *effect</code></em>,
311
+ <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
312
+ <em class="parameter"><code><span class="type">GType</span> gtype</code></em>,
313
+ <em class="parameter"><code><span class="type">gsize</span> n_values</code></em>,
314
+ <em class="parameter"><code>...</code></em>);</pre>
315
+ <p>Sets a list of values as the payload for the uniform <em class="parameter"><code>name</code></em>
316
+ inside
317
+ the shader effect</p>
318
+ <p>The <em class="parameter"><code>gtype</code></em>
319
+ must be one of: <code class="literal">G_TYPE_INT</code>, for 1 or more integer values;
288
320
  <code class="literal">G_TYPE_FLOAT</code>, for 1 or more floating point values;
289
321
  <code class="literal">CLUTTER_TYPE_SHADER_INT</code>, for a pointer to an array of integer values;
290
322
  <code class="literal">CLUTTER_TYPE_SHADER_FLOAT</code>, for a pointer to an array of floating point
291
323
  values; and <code class="literal">CLUTTER_TYPE_SHADER_MATRIX</code>, for a pointer to an array of
292
- floating point values mapping a matrix
293
- </p>
294
- <p>
295
- The number of values interepreted is defined by the <em class="parameter"><code>n_value</code></em>
296
- argument, and by the <em class="parameter"><code>gtype</code></em> argument. For instance, a uniform named
297
- "sampler0" and containing a single integer value is set using:
298
- </p>
299
- <p>
300
- </p>
324
+ floating point values mapping a matrix</p>
325
+ <p>The number of values interepreted is defined by the <em class="parameter"><code>n_value</code></em>
326
+
327
+ argument, and by the <em class="parameter"><code>gtype</code></em>
328
+ argument. For instance, a uniform named
329
+ "sampler0" and containing a single integer value is set using:</p>
301
330
  <div class="informalexample">
302
331
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
303
332
  <tbody>
@@ -313,14 +342,9 @@ argument, and by the <em class="parameter"><code>gtype</code></em> argument. For
313
342
  </table>
314
343
  </div>
315
344
 
316
- <p>
317
- </p>
318
- <p>
319
- While a uniform named "components" and containing a 3-elements vector
320
- of floating point values (a "vec3") can be set using:
321
- </p>
322
- <p>
323
- </p>
345
+ <p></p>
346
+ <p>While a uniform named "components" and containing a 3-elements vector
347
+ of floating point values (a "vec3") can be set using:</p>
324
348
  <div class="informalexample">
325
349
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
326
350
  <tbody>
@@ -344,13 +368,8 @@ of floating point values (a "vec3") can be set using:
344
368
  </table>
345
369
  </div>
346
370
 
347
- <p>
348
- </p>
349
- <p>
350
- or can be set using:
351
- </p>
352
- <p>
353
- </p>
371
+ <p></p>
372
+ <p>or can be set using:</p>
354
373
  <div class="informalexample">
355
374
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
356
375
  <tbody>
@@ -370,13 +389,8 @@ or can be set using:
370
389
  </table>
371
390
  </div>
372
391
 
373
- <p>
374
- </p>
375
- <p>
376
- Finally, a uniform named "map" and containing a matrix can be set using:
377
- </p>
378
- <p>
379
- </p>
392
+ <p></p>
393
+ <p>Finally, a uniform named "map" and containing a matrix can be set using:</p>
380
394
  <div class="informalexample">
381
395
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
382
396
  <tbody>
@@ -392,201 +406,288 @@ Finally, a uniform named "map" and containing a matrix can be set using:
392
406
  </table>
393
407
  </div>
394
408
 
395
- <p>
396
- </p>
397
- <div class="variablelist"><table border="0" class="variablelist">
409
+ <p></p>
410
+ <div class="refsect3">
411
+ <a name="id-1.5.7.3.8.3.18"></a><h4>Parameters</h4>
412
+ <div class="informaltable"><table width="100%" border="0">
398
413
  <colgroup>
399
- <col align="left" valign="top">
400
- <col>
414
+ <col width="150px" class="parameters_name">
415
+ <col class="parameters_description">
416
+ <col width="200px" class="parameters_annotations">
401
417
  </colgroup>
402
418
  <tbody>
403
419
  <tr>
404
- <td><p><span class="term"><em class="parameter"><code>effect</code></em> :</span></p></td>
405
- <td>a <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a>
406
- </td>
420
+ <td class="parameter_name"><p>effect</p></td>
421
+ <td class="parameter_description"><p>a <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a></p></td>
422
+ <td class="parameter_annotations"> </td>
407
423
  </tr>
408
424
  <tr>
409
- <td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
410
- <td>the name of the uniform to set</td>
425
+ <td class="parameter_name"><p>name</p></td>
426
+ <td class="parameter_description"><p>the name of the uniform to set</p></td>
427
+ <td class="parameter_annotations"> </td>
411
428
  </tr>
412
429
  <tr>
413
- <td><p><span class="term"><em class="parameter"><code>gtype</code></em> :</span></p></td>
414
- <td>the type of the uniform to set</td>
430
+ <td class="parameter_name"><p>gtype</p></td>
431
+ <td class="parameter_description"><p>the type of the uniform to set</p></td>
432
+ <td class="parameter_annotations"> </td>
415
433
  </tr>
416
434
  <tr>
417
- <td><p><span class="term"><em class="parameter"><code>n_values</code></em> :</span></p></td>
418
- <td>the number of values</td>
435
+ <td class="parameter_name"><p>n_values</p></td>
436
+ <td class="parameter_description"><p>the number of values</p></td>
437
+ <td class="parameter_annotations"> </td>
419
438
  </tr>
420
439
  <tr>
421
- <td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
422
- <td>a list of values</td>
440
+ <td class="parameter_name"><p>...</p></td>
441
+ <td class="parameter_description"><p>a list of values</p></td>
442
+ <td class="parameter_annotations"> </td>
423
443
  </tr>
424
444
  </tbody>
425
445
  </table></div>
446
+ </div>
426
447
  <p class="since">Since 1.4</p>
427
448
  </div>
428
449
  <hr>
429
450
  <div class="refsect2">
430
- <a name="clutter-shader-effect-set-uniform-value"></a><h3>clutter_shader_effect_set_uniform_value ()</h3>
431
- <pre class="programlisting"><span class="returnvalue">void</span> clutter_shader_effect_set_uniform_value
432
- (<em class="parameter"><code><a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> *effect</code></em>,
433
- <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
434
- <em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);</pre>
435
- <p>
436
- Sets <em class="parameter"><code>value</code></em> as the payload for the uniform <em class="parameter"><code>name</code></em> inside the shader
437
- effect
438
- </p>
439
- <p>
440
- The <span class="type">GType</span> of the <em class="parameter"><code>value</code></em> must be one of: <code class="literal">G_TYPE_INT</code>, for a single
451
+ <a name="clutter-shader-effect-set-uniform-value"></a><h3>clutter_shader_effect_set_uniform_value ()</h3>
452
+ <pre class="programlisting"><span class="returnvalue">void</span>
453
+ clutter_shader_effect_set_uniform_value
454
+ (<em class="parameter"><code><a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> *effect</code></em>,
455
+ <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
456
+ <em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);</pre>
457
+ <p>Sets <em class="parameter"><code>value</code></em>
458
+ as the payload for the uniform <em class="parameter"><code>name</code></em>
459
+ inside the shader
460
+ effect</p>
461
+ <p>The <span class="type">GType</span> of the <em class="parameter"><code>value</code></em>
462
+ must be one of: <code class="literal">G_TYPE_INT</code>, for a single
441
463
  integer value; <code class="literal">G_TYPE_FLOAT</code>, for a single floating point value;
442
464
  <code class="literal">CLUTTER_TYPE_SHADER_INT</code>, for an array of integer values;
443
465
  <code class="literal">CLUTTER_TYPE_SHADER_FLOAT</code>, for an array of floating point values;
444
466
  and <code class="literal">CLUTTER_TYPE_SHADER_MATRIX</code>, for a matrix of floating point
445
467
  values. It also accepts <code class="literal">G_TYPE_DOUBLE</code> for compatibility with other
446
- languages than C.
447
- </p>
448
- <div class="variablelist"><table border="0" class="variablelist">
468
+ languages than C.</p>
469
+ <div class="refsect3">
470
+ <a name="id-1.5.7.3.8.4.6"></a><h4>Parameters</h4>
471
+ <div class="informaltable"><table width="100%" border="0">
449
472
  <colgroup>
450
- <col align="left" valign="top">
451
- <col>
473
+ <col width="150px" class="parameters_name">
474
+ <col class="parameters_description">
475
+ <col width="200px" class="parameters_annotations">
452
476
  </colgroup>
453
477
  <tbody>
454
478
  <tr>
455
- <td><p><span class="term"><em class="parameter"><code>effect</code></em> :</span></p></td>
456
- <td>a <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a>
457
- </td>
479
+ <td class="parameter_name"><p>effect</p></td>
480
+ <td class="parameter_description"><p>a <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a></p></td>
481
+ <td class="parameter_annotations"> </td>
458
482
  </tr>
459
483
  <tr>
460
- <td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
461
- <td>the name of the uniform to set</td>
484
+ <td class="parameter_name"><p>name</p></td>
485
+ <td class="parameter_description"><p>the name of the uniform to set</p></td>
486
+ <td class="parameter_annotations"> </td>
462
487
  </tr>
463
488
  <tr>
464
- <td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
465
- <td>a <span class="type">GValue</span> with the value of the uniform to set</td>
489
+ <td class="parameter_name"><p>value</p></td>
490
+ <td class="parameter_description"><p>a <span class="type">GValue</span> with the value of the uniform to set</p></td>
491
+ <td class="parameter_annotations"> </td>
466
492
  </tr>
467
493
  </tbody>
468
494
  </table></div>
495
+ </div>
469
496
  <p class="since">Since 1.4</p>
470
497
  </div>
471
498
  <hr>
472
499
  <div class="refsect2">
473
- <a name="clutter-shader-effect-set-shader-source"></a><h3>clutter_shader_effect_set_shader_source ()</h3>
474
- <pre class="programlisting"><span class="returnvalue">gboolean</span> clutter_shader_effect_set_shader_source
475
- (<em class="parameter"><code><a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> *effect</code></em>,
476
- <em class="parameter"><code>const <span class="type">gchar</span> *source</code></em>);</pre>
477
- <p>
478
- Sets the source of the GLSL shader used by <em class="parameter"><code>effect</code></em>
479
- </p>
480
- <p>
481
- This function should only be called by implementations of
482
- the <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> class, and not by application code.
483
- </p>
484
- <p>
485
- This function can only be called once; subsequent calls will
486
- yield no result.
487
- </p>
488
- <div class="variablelist"><table border="0" class="variablelist">
500
+ <a name="clutter-shader-effect-set-shader-source"></a><h3>clutter_shader_effect_set_shader_source ()</h3>
501
+ <pre class="programlisting"><span class="returnvalue">gboolean</span>
502
+ clutter_shader_effect_set_shader_source
503
+ (<em class="parameter"><code><a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> *effect</code></em>,
504
+ <em class="parameter"><code>const <span class="type">gchar</span> *source</code></em>);</pre>
505
+ <p>Sets the source of the GLSL shader used by <em class="parameter"><code>effect</code></em>
506
+ </p>
507
+ <p>This function should only be called by implementations of
508
+ the <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> class, and not by application code.</p>
509
+ <p>This function can only be called once; subsequent calls will
510
+ yield no result.</p>
511
+ <div class="refsect3">
512
+ <a name="id-1.5.7.3.8.5.7"></a><h4>Parameters</h4>
513
+ <div class="informaltable"><table width="100%" border="0">
489
514
  <colgroup>
490
- <col align="left" valign="top">
491
- <col>
515
+ <col width="150px" class="parameters_name">
516
+ <col class="parameters_description">
517
+ <col width="200px" class="parameters_annotations">
492
518
  </colgroup>
493
519
  <tbody>
494
520
  <tr>
495
- <td><p><span class="term"><em class="parameter"><code>effect</code></em> :</span></p></td>
496
- <td>a <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a>
497
- </td>
521
+ <td class="parameter_name"><p>effect</p></td>
522
+ <td class="parameter_description"><p>a <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a></p></td>
523
+ <td class="parameter_annotations"> </td>
498
524
  </tr>
499
525
  <tr>
500
- <td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
501
- <td>the source of a GLSL shader</td>
502
- </tr>
503
- <tr>
504
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
505
- <td>
506
- <code class="literal">TRUE</code> if the source was set</td>
526
+ <td class="parameter_name"><p>source</p></td>
527
+ <td class="parameter_description"><p>the source of a GLSL shader</p></td>
528
+ <td class="parameter_annotations"> </td>
507
529
  </tr>
508
530
  </tbody>
509
531
  </table></div>
532
+ </div>
533
+ <div class="refsect3">
534
+ <a name="id-1.5.7.3.8.5.8"></a><h4>Returns</h4>
535
+ <p> <code class="literal">TRUE</code> if the source was set</p>
536
+ <p></p>
537
+ </div>
510
538
  <p class="since">Since 1.4</p>
511
539
  </div>
512
540
  <hr>
513
541
  <div class="refsect2">
514
- <a name="clutter-shader-effect-get-program"></a><h3>clutter_shader_effect_get_program ()</h3>
515
- <pre class="programlisting"><span class="returnvalue">CoglHandle</span> clutter_shader_effect_get_program (<em class="parameter"><code><a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> *effect</code></em>);</pre>
516
- <p>
517
- Retrieves a pointer to the program's handle
518
- </p>
519
- <div class="variablelist"><table border="0" class="variablelist">
542
+ <a name="clutter-shader-effect-get-program"></a><h3>clutter_shader_effect_get_program ()</h3>
543
+ <pre class="programlisting"><span class="returnvalue">CoglHandle</span>
544
+ clutter_shader_effect_get_program (<em class="parameter"><code><a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> *effect</code></em>);</pre>
545
+ <p>Retrieves a pointer to the program's handle</p>
546
+ <div class="refsect3">
547
+ <a name="id-1.5.7.3.8.6.5"></a><h4>Parameters</h4>
548
+ <div class="informaltable"><table width="100%" border="0">
520
549
  <colgroup>
521
- <col align="left" valign="top">
522
- <col>
550
+ <col width="150px" class="parameters_name">
551
+ <col class="parameters_description">
552
+ <col width="200px" class="parameters_annotations">
523
553
  </colgroup>
524
- <tbody>
525
- <tr>
526
- <td><p><span class="term"><em class="parameter"><code>effect</code></em> :</span></p></td>
527
- <td>a <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a>
528
- </td>
529
- </tr>
530
- <tr>
531
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
532
- <td>a pointer to the program's handle,
533
- or <code class="literal">COGL_INVALID_HANDLE</code>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
534
- </td>
535
- </tr>
536
- </tbody>
554
+ <tbody><tr>
555
+ <td class="parameter_name"><p>effect</p></td>
556
+ <td class="parameter_description"><p>a <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a></p></td>
557
+ <td class="parameter_annotations"> </td>
558
+ </tr></tbody>
537
559
  </table></div>
560
+ </div>
561
+ <div class="refsect3">
562
+ <a name="id-1.5.7.3.8.6.6"></a><h4>Returns</h4>
563
+ <p> a pointer to the program's handle,
564
+ or <code class="literal">COGL_INVALID_HANDLE</code>. </p>
565
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
566
+ </div>
538
567
  <p class="since">Since 1.4</p>
539
568
  </div>
540
569
  <hr>
541
570
  <div class="refsect2">
542
- <a name="clutter-shader-effect-get-shader"></a><h3>clutter_shader_effect_get_shader ()</h3>
543
- <pre class="programlisting"><span class="returnvalue">CoglHandle</span> clutter_shader_effect_get_shader (<em class="parameter"><code><a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> *effect</code></em>);</pre>
544
- <p>
545
- Retrieves a pointer to the shader's handle
546
- </p>
547
- <div class="variablelist"><table border="0" class="variablelist">
571
+ <a name="clutter-shader-effect-get-shader"></a><h3>clutter_shader_effect_get_shader ()</h3>
572
+ <pre class="programlisting"><span class="returnvalue">CoglHandle</span>
573
+ clutter_shader_effect_get_shader (<em class="parameter"><code><a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> *effect</code></em>);</pre>
574
+ <p>Retrieves a pointer to the shader's handle</p>
575
+ <div class="refsect3">
576
+ <a name="id-1.5.7.3.8.7.5"></a><h4>Parameters</h4>
577
+ <div class="informaltable"><table width="100%" border="0">
578
+ <colgroup>
579
+ <col width="150px" class="parameters_name">
580
+ <col class="parameters_description">
581
+ <col width="200px" class="parameters_annotations">
582
+ </colgroup>
583
+ <tbody><tr>
584
+ <td class="parameter_name"><p>effect</p></td>
585
+ <td class="parameter_description"><p>a <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a></p></td>
586
+ <td class="parameter_annotations"> </td>
587
+ </tr></tbody>
588
+ </table></div>
589
+ </div>
590
+ <div class="refsect3">
591
+ <a name="id-1.5.7.3.8.7.6"></a><h4>Returns</h4>
592
+ <p> a pointer to the shader's handle,
593
+ or <code class="literal">COGL_INVALID_HANDLE</code>. </p>
594
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
595
+ </div>
596
+ <p class="since">Since 1.4</p>
597
+ </div>
598
+ </div>
599
+ <div class="refsect1">
600
+ <a name="ClutterShaderEffect.other_details"></a><h2>Types and Values</h2>
601
+ <div class="refsect2">
602
+ <a name="ClutterShaderType"></a><h3>enum ClutterShaderType</h3>
603
+ <p>The type of GLSL shader program</p>
604
+ <div class="refsect3">
605
+ <a name="id-1.5.7.3.9.2.4"></a><h4>Members</h4>
606
+ <div class="informaltable"><table width="100%" border="0">
548
607
  <colgroup>
549
- <col align="left" valign="top">
550
- <col>
608
+ <col width="300px" class="enum_members_name">
609
+ <col class="enum_members_description">
610
+ <col width="200px" class="enum_members_annotations">
551
611
  </colgroup>
552
612
  <tbody>
553
613
  <tr>
554
- <td><p><span class="term"><em class="parameter"><code>effect</code></em> :</span></p></td>
555
- <td>a <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a>
614
+ <td class="enum_member_name"><p><a name="CLUTTER-VERTEX-SHADER:CAPS"></a>CLUTTER_VERTEX_SHADER</p></td>
615
+ <td class="enum_member_description">
616
+ <p>a vertex shader</p>
556
617
  </td>
618
+ <td class="enum_member_annotations"> </td>
557
619
  </tr>
558
620
  <tr>
559
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
560
- <td>a pointer to the shader's handle,
561
- or <code class="literal">COGL_INVALID_HANDLE</code>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
621
+ <td class="enum_member_name"><p><a name="CLUTTER-FRAGMENT-SHADER:CAPS"></a>CLUTTER_FRAGMENT_SHADER</p></td>
622
+ <td class="enum_member_description">
623
+ <p>a fragment shader</p>
562
624
  </td>
625
+ <td class="enum_member_annotations"> </td>
563
626
  </tr>
564
627
  </tbody>
565
628
  </table></div>
629
+ </div>
630
+ <p class="since">Since 1.4</p>
631
+ </div>
632
+ <hr>
633
+ <div class="refsect2">
634
+ <a name="ClutterShaderEffect-struct"></a><h3>struct ClutterShaderEffect</h3>
635
+ <pre class="programlisting">struct ClutterShaderEffect;</pre>
636
+ <p>The <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> structure contains
637
+ only private data and should be accessed using the provided API</p>
638
+ <p class="since">Since 1.4</p>
639
+ </div>
640
+ <hr>
641
+ <div class="refsect2">
642
+ <a name="ClutterShaderEffectClass"></a><h3>struct ClutterShaderEffectClass</h3>
643
+ <pre class="programlisting">struct ClutterShaderEffectClass {
644
+ gchar * (* get_static_shader_source) (ClutterShaderEffect *effect);
645
+ };
646
+ </pre>
647
+ <p>The <a class="link" href="ClutterShaderEffect.html#ClutterShaderEffectClass" title="struct ClutterShaderEffectClass"><span class="type">ClutterShaderEffectClass</span></a> structure contains
648
+ only private data</p>
649
+ <div class="refsect3">
650
+ <a name="id-1.5.7.3.9.4.5"></a><h4>Members</h4>
651
+ <div class="informaltable"><table width="100%" border="0">
652
+ <colgroup>
653
+ <col width="300px" class="struct_members_name">
654
+ <col class="struct_members_description">
655
+ <col width="200px" class="struct_members_annotations">
656
+ </colgroup>
657
+ <tbody><tr>
658
+ <td class="struct_member_name"><p><em class="structfield"><code><a name="ClutterShaderEffectClass.get-static-shader-source"></a>get_static_shader_source</code></em> ()</p></td>
659
+ <td class="struct_member_description"><p>Returns the GLSL source code to use for
660
+ instances of this shader effect. Note that this function is only
661
+ called once per subclass of <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a> regardless of how
662
+ many instances are used. It is expected that subclasses will return
663
+ a copy of a static string from this function.</p></td>
664
+ <td class="struct_member_annotations"> </td>
665
+ </tr></tbody>
666
+ </table></div>
667
+ </div>
566
668
  <p class="since">Since 1.4</p>
567
669
  </div>
568
670
  </div>
569
671
  <div class="refsect1">
570
672
  <a name="ClutterShaderEffect.property-details"></a><h2>Property Details</h2>
571
673
  <div class="refsect2">
572
- <a name="ClutterShaderEffect--shader-type"></a><h3>The <code class="literal">"shader-type"</code> property</h3>
573
- <pre class="programlisting"> "shader-type" <a class="link" href="ClutterShaderEffect.html#ClutterShaderType" title="enum ClutterShaderType"><span class="type">ClutterShaderType</span></a> : Write / Construct Only</pre>
574
- <p>
575
- The type of shader that is used by the effect. This property
674
+ <a name="ClutterShaderEffect--shader-type"></a><h3>The <code class="literal">“shader-type”</code> property</h3>
675
+ <pre class="programlisting"> shader-type <a class="link" href="ClutterShaderEffect.html#ClutterShaderType" title="enum ClutterShaderType"><span class="type">ClutterShaderType</span></a></pre>
676
+ <p>The type of shader that is used by the effect. This property
576
677
  should be set by the constructor of <a class="link" href="ClutterShaderEffect.html" title="ClutterShaderEffect"><span class="type">ClutterShaderEffect</span></a>
577
- sub-classes.
578
- </p>
678
+ sub-classes.</p>
679
+ <p>Flags: Write / Construct Only</p>
579
680
  <p>Default value: CLUTTER_FRAGMENT_SHADER</p>
580
681
  <p class="since">Since 1.4</p>
581
682
  </div>
582
683
  </div>
583
684
  <div class="refsect1">
584
685
  <a name="ClutterShaderEffect.see-also"></a><h2>See Also</h2>
585
- <a class="link" href="ClutterEffect.html" title="ClutterEffect"><span class="type">ClutterEffect</span></a>, <a class="link" href="ClutterOffscreenEffect.html" title="ClutterOffscreenEffect"><span class="type">ClutterOffscreenEffect</span></a>
686
+ <p><a class="link" href="ClutterEffect.html" title="ClutterEffect"><span class="type">ClutterEffect</span></a>, <a class="link" href="ClutterOffscreenEffect.html" title="ClutterOffscreenEffect"><span class="type">ClutterOffscreenEffect</span></a></p>
586
687
  </div>
587
688
  </div>
588
689
  <div class="footer">
589
690
  <hr>
590
- Generated by GTK-Doc V1.19.1</div>
691
+ Generated by GTK-Doc V1.20.1</div>
591
692
  </body>
592
693
  </html>