clutter 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +4 -4
- data/lib/clutter.rb +1 -1
- data/sample/easing-modes.rb +1 -3
- data/test/clutter-test-utils.rb +6 -1
- data/test/run-test.rb +2 -0
- data/test/test-clutter-color.rb +8 -0
- data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
- data/vendor/local/bin/libcogl-15.dll +0 -0
- data/vendor/local/bin/libcogl-pango-15.dll +0 -0
- data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +16 -4
- data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +3 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +5 -4
- data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +3 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +19 -6
- data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-input-device.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-manager.h +1 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +14 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +6 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-text.h +9 -6
- data/vendor/local/include/clutter-1.0/clutter/clutter-types.h +5 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +14 -4
- data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +38 -4
- data/vendor/local/include/cogl/cogl-path/cogl-path-enum-types.h +20 -0
- data/vendor/local/include/cogl/{cogl/cogl-path.h → cogl-path/cogl-path-types.h} +6 -27
- data/vendor/local/include/cogl/cogl-path/cogl-path.h +58 -0
- data/vendor/local/include/cogl/{cogl/cogl-path-functions.h → cogl-path/cogl1-path-functions.h} +30 -0
- data/vendor/local/include/cogl/{cogl/cogl2-path.h → cogl-path/cogl2-path-functions.h} +87 -70
- data/vendor/local/include/cogl/cogl/cogl-atlas-texture.h +230 -0
- data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +4 -3
- data/vendor/local/include/cogl/cogl/cogl-attribute.h +40 -34
- data/vendor/local/include/cogl/cogl/cogl-bitmap.h +14 -12
- data/vendor/local/include/cogl/cogl/cogl-buffer.h +4 -2
- data/vendor/local/include/cogl/cogl/cogl-clip-state.h +0 -13
- data/vendor/local/include/cogl/cogl/cogl-clutter.h +2 -0
- data/vendor/local/include/cogl/cogl/cogl-color.h +48 -7
- data/vendor/local/include/cogl/cogl/cogl-context.h +28 -4
- data/vendor/local/include/cogl/cogl/cogl-defines.h +3 -2
- data/vendor/local/include/cogl/cogl/cogl-depth-state.h +1 -1
- data/vendor/local/include/cogl/cogl/cogl-display.h +26 -3
- data/vendor/local/include/cogl/cogl/cogl-enum-types.h +0 -4
- data/vendor/local/include/cogl/cogl/cogl-error.h +4 -0
- data/vendor/local/include/cogl/cogl/cogl-fence.h +136 -0
- data/vendor/local/include/cogl/cogl/cogl-frame-info.h +2 -2
- data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +32 -84
- data/vendor/local/include/cogl/cogl/cogl-glib-source.h +34 -3
- data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +2 -0
- data/vendor/local/include/cogl/cogl/cogl-macros.h +253 -0
- data/vendor/local/include/cogl/cogl/cogl-material-compat.h +114 -6
- data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +1 -1
- data/vendor/local/include/cogl/cogl/cogl-matrix.h +8 -4
- data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +8 -8
- data/vendor/local/include/cogl/cogl/cogl-object.h +6 -2
- data/vendor/local/include/cogl/cogl/cogl-offscreen.h +41 -6
- data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +1 -1
- data/vendor/local/include/cogl/cogl/cogl-onscreen.h +265 -45
- data/vendor/local/include/cogl/cogl/cogl-output.h +1 -1
- data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +2 -2
- data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +57 -8
- data/vendor/local/include/cogl/cogl/cogl-pipeline.h +6 -5
- data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +6 -2
- data/vendor/local/include/cogl/cogl/cogl-poll.h +44 -24
- data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +3 -3
- data/vendor/local/include/cogl/cogl/cogl-primitive.h +86 -29
- data/vendor/local/include/cogl/cogl/cogl-quaternion.h +7 -7
- data/vendor/local/include/cogl/cogl/cogl-renderer.h +7 -2
- data/vendor/local/include/cogl/cogl/cogl-shader.h +72 -29
- data/vendor/local/include/cogl/cogl/cogl-snippet.h +76 -11
- data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +2 -2
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +5 -5
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +167 -1
- data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +36 -9
- data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +6 -6
- data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +13 -12
- data/vendor/local/include/cogl/cogl/cogl-texture.h +18 -21
- data/vendor/local/include/cogl/cogl/cogl-types.h +2 -1
- data/vendor/local/include/cogl/cogl/cogl-version.h +150 -3
- data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +44 -9
- data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +19 -0
- data/vendor/local/include/cogl/cogl/cogl.h +13 -9
- data/vendor/local/include/cogl/cogl/cogl1-context.h +174 -67
- data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +3 -3
- data/vendor/local/lib/girepository-1.0/Clutter-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Cogl-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Json-1.0.typelib +0 -0
- data/vendor/local/lib/libclutter-1.0.dll.a +0 -0
- data/vendor/local/lib/libclutter-1.0.la +5 -5
- data/vendor/local/lib/libcogl-pango.dll.a +0 -0
- data/vendor/local/lib/libcogl-pango.la +6 -6
- data/vendor/local/lib/libcogl.dll.a +0 -0
- data/vendor/local/lib/libcogl.la +5 -5
- data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
- data/vendor/local/lib/libjson-glib-1.0.la +2 -2
- data/vendor/local/lib/pkgconfig/cally-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/clutter-1.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/cogl-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-gl-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-pango-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-pango-2.0-experimental.pc +1 -1
- data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +1 -1
- data/vendor/local/share/gir-1.0/Cally-1.0.gir +74 -74
- data/vendor/local/share/gir-1.0/Clutter-1.0.gir +6548 -6241
- data/vendor/local/share/gir-1.0/Cogl-1.0.gir +1906 -1405
- data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +69 -46
- data/vendor/local/share/gir-1.0/Json-1.0.gir +694 -694
- data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +12 -15
- data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +12 -15
- data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +12 -15
- data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +12 -15
- data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +12 -15
- data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +12 -15
- data/vendor/local/share/gtk-doc/html/cally/CallyText.html +12 -15
- data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +12 -15
- data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +12 -15
- data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +12 -15
- data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +12 -12
- data/vendor/local/share/gtk-doc/html/cally/callybase.html +9 -9
- data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +9 -9
- data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +9 -9
- data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +9 -9
- data/vendor/local/share/gtk-doc/html/cally/ch01.html +9 -9
- data/vendor/local/share/gtk-doc/html/cally/ch02.html +9 -9
- data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +9 -9
- data/vendor/local/share/gtk-doc/html/cally/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/index.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/index.sgml +1 -1
- data/vendor/local/share/gtk-doc/html/cally/ix01.html +23 -26
- data/vendor/local/share/gtk-doc/html/cally/ix02.html +9 -9
- data/vendor/local/share/gtk-doc/html/cally/ix03.html +23 -26
- data/vendor/local/share/gtk-doc/html/cally/ix04.html +10 -13
- data/vendor/local/share/gtk-doc/html/cally/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/license.html +9 -9
- data/vendor/local/share/gtk-doc/html/cally/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/style.css +71 -16
- data/vendor/local/share/gtk-doc/html/cally/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +196 -87
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +28 -31
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +13 -16
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +37 -40
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +51 -31
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +28 -31
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +19 -22
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +15 -18
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +19 -22
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +21 -24
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +14 -17
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +21 -24
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +51 -54
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +22 -25
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +31 -34
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +59 -62
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +49 -24
- data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +14 -17
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +13 -16
- data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +14 -17
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +24 -27
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +13 -16
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +14 -17
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +13 -18
- data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +107 -16
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +33 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +16 -19
- data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +26 -41
- data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +44 -17
- data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +15 -18
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +39 -42
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +60 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +16 -19
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +32 -35
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +14 -17
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +13 -16
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +16 -19
- data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +731 -686
- data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +39 -42
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +13 -16
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +27 -30
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +95 -27
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +47 -50
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +20 -23
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +13 -16
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +59 -59
- data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/ch01.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/ch02.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/ch03.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/ch04.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/ch05.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/ch06.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/ch07.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/ch08.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/ch09.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/ch10.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/ch11.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/ch12.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +33 -24
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +34 -35
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +18 -21
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +14 -17
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +96 -37
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +13 -16
- data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +32 -35
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +60 -63
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +14 -17
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +33 -36
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +13 -16
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +14 -17
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +23 -26
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +20 -15
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +31 -22
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +13 -16
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-specific-support.html +259 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +19 -22
- data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +48 -25
- data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +12 -9
- data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/go01.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/index.html +7 -4
- data/vendor/local/share/gtk-doc/html/clutter/index.sgml +55 -26
- data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/ix01.html +155 -70
- data/vendor/local/share/gtk-doc/html/clutter/ix02.html +89 -45
- data/vendor/local/share/gtk-doc/html/clutter/ix03.html +39 -34
- data/vendor/local/share/gtk-doc/html/clutter/ix04.html +37 -40
- data/vendor/local/share/gtk-doc/html/clutter/ix05.html +33 -36
- data/vendor/local/share/gtk-doc/html/clutter/ix06.html +40 -43
- data/vendor/local/share/gtk-doc/html/clutter/ix07.html +39 -42
- data/vendor/local/share/gtk-doc/html/clutter/ix08.html +35 -38
- data/vendor/local/share/gtk-doc/html/clutter/ix09.html +33 -36
- data/vendor/local/share/gtk-doc/html/clutter/ix10.html +25 -28
- data/vendor/local/share/gtk-doc/html/clutter/ix11.html +31 -34
- data/vendor/local/share/gtk-doc/html/clutter/ix12.html +56 -47
- data/vendor/local/share/gtk-doc/html/clutter/ix13.html +49 -52
- data/vendor/local/share/gtk-doc/html/clutter/ix14.html +36 -24
- data/vendor/local/share/gtk-doc/html/clutter/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/license.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +10 -10
- data/vendor/local/share/gtk-doc/html/clutter/migration.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/pt09.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/style.css +71 -16
- data/vendor/local/share/gtk-doc/html/clutter/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +3 -3
- data/vendor/local/share/locale/an/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/an/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/az_IR/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ky/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ur/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/json-glib-1.0.mo +0 -0
- metadata +39 -51
- data/vendor/local/bin/libcogl-12.dll +0 -0
- data/vendor/local/bin/libcogl-pango-12.dll +0 -0
- data/vendor/local/bin/libglut-0.dll +0 -0
- data/vendor/local/include/GL/freeglut.h +0 -22
- data/vendor/local/include/GL/freeglut_ext.h +0 -239
- data/vendor/local/include/GL/freeglut_std.h +0 -636
- data/vendor/local/include/GL/glut.h +0 -21
- data/vendor/local/include/cogl/cogl/cogl2-compatibility.h +0 -55
- data/vendor/local/lib/libglut.a +0 -0
- data/vendor/local/lib/libglut.dll.a +0 -0
- data/vendor/local/lib/libglut.la +0 -41
- data/vendor/local/share/license/freeglut/AUTHORS +0 -39
- data/vendor/local/share/license/freeglut/COPYING +0 -27
- data/vendor/local/share/locale/tg/LC_MESSAGES/clutter-1.0.mo +0 -0
@@ -56,6 +56,13 @@ COGL_BEGIN_DECLS
|
|
56
56
|
|
57
57
|
/**
|
58
58
|
* CoglQuaternion:
|
59
|
+
* @w: based on the angle of rotation it is cos(𝜃/2)
|
60
|
+
* @x: based on the angle of rotation and x component of the axis of
|
61
|
+
* rotation it is sin(𝜃/2)*axis.x
|
62
|
+
* @y: based on the angle of rotation and y component of the axis of
|
63
|
+
* rotation it is sin(𝜃/2)*axis.y
|
64
|
+
* @z: based on the angle of rotation and z component of the axis of
|
65
|
+
* rotation it is sin(𝜃/2)*axis.z
|
59
66
|
*
|
60
67
|
* A quaternion is comprised of a scalar component and a 3D vector
|
61
68
|
* component. The scalar component is normally referred to as w and the
|
@@ -113,13 +120,6 @@ COGL_BEGIN_DECLS
|
|
113
120
|
* </listitem>
|
114
121
|
* </itemizedlist>
|
115
122
|
*
|
116
|
-
* @w: based on the angle of rotation it is cos(𝜃/2)
|
117
|
-
* @x: based on the angle of rotation and x component of the axis of
|
118
|
-
* rotation it is sin(𝜃/2)*axis.x
|
119
|
-
* @y: based on the angle of rotation and y component of the axis of
|
120
|
-
* rotation it is sin(𝜃/2)*axis.y
|
121
|
-
* @z: based on the angle of rotation and z component of the axis of
|
122
|
-
* rotation it is sin(𝜃/2)*axis.z
|
123
123
|
*/
|
124
124
|
struct _CoglQuaternion
|
125
125
|
{
|
@@ -129,6 +129,8 @@ cogl_is_renderer (void *object);
|
|
129
129
|
* so Cogl will automatically connect and setup a renderer and
|
130
130
|
* display.</note>
|
131
131
|
*
|
132
|
+
* Return value: (transfer full): A newly created #CoglRenderer.
|
133
|
+
*
|
132
134
|
* Since: 1.10
|
133
135
|
* Stability: unstable
|
134
136
|
*/
|
@@ -332,6 +334,7 @@ cogl_renderer_remove_constraint (CoglRenderer *renderer,
|
|
332
334
|
* @COGL_DRIVER_GL3: An OpenGL driver using the core GL 3.1 profile
|
333
335
|
* @COGL_DRIVER_GLES1: An OpenGL ES 1.1 driver.
|
334
336
|
* @COGL_DRIVER_GLES2: An OpenGL ES 2.0 driver.
|
337
|
+
* @COGL_DRIVER_WEBGL: A WebGL driver.
|
335
338
|
*
|
336
339
|
* Identifiers for underlying hardware drivers that may be used by
|
337
340
|
* Cogl for rendering.
|
@@ -346,7 +349,8 @@ typedef enum
|
|
346
349
|
COGL_DRIVER_GL,
|
347
350
|
COGL_DRIVER_GL3,
|
348
351
|
COGL_DRIVER_GLES1,
|
349
|
-
COGL_DRIVER_GLES2
|
352
|
+
COGL_DRIVER_GLES2,
|
353
|
+
COGL_DRIVER_WEBGL
|
350
354
|
} CoglDriver;
|
351
355
|
|
352
356
|
/**
|
@@ -402,7 +406,8 @@ typedef void (*CoglOutputCallback) (CoglOutput *output, void *user_data);
|
|
402
406
|
/**
|
403
407
|
* cogl_renderer_foreach_output:
|
404
408
|
* @renderer: A connected #CoglRenderer
|
405
|
-
* @callback: A #CoglOutputCallback to be called for
|
409
|
+
* @callback: (scope call): A #CoglOutputCallback to be called for
|
410
|
+
* each display output
|
406
411
|
* @user_data: A user pointer to be passed to @callback
|
407
412
|
*
|
408
413
|
* Iterates all known display outputs for the given @renderer and
|
@@ -30,6 +30,7 @@
|
|
30
30
|
|
31
31
|
#include <cogl/cogl-types.h>
|
32
32
|
#include <cogl/cogl-defines.h>
|
33
|
+
#include <cogl/cogl-macros.h>
|
33
34
|
|
34
35
|
COGL_BEGIN_DECLS
|
35
36
|
|
@@ -239,24 +240,24 @@ typedef enum {
|
|
239
240
|
* source code to be used on it.
|
240
241
|
*
|
241
242
|
* Returns: a new shader handle.
|
243
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
242
244
|
*/
|
245
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
243
246
|
CoglHandle
|
244
247
|
cogl_create_shader (CoglShaderType shader_type);
|
245
248
|
|
246
|
-
#ifndef COGL_DISABLE_DEPRECATED
|
247
|
-
|
248
249
|
/**
|
249
250
|
* cogl_shader_ref:
|
250
251
|
* @handle: A #CoglHandle to a shader.
|
251
252
|
*
|
252
253
|
* Add an extra reference to a shader.
|
253
254
|
*
|
254
|
-
* Deprecated: 1.0: Please use cogl_handle_ref() instead.
|
255
|
-
*
|
256
255
|
* Returns: @handle
|
256
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
257
257
|
*/
|
258
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
258
259
|
CoglHandle
|
259
|
-
cogl_shader_ref (CoglHandle handle)
|
260
|
+
cogl_shader_ref (CoglHandle handle);
|
260
261
|
|
261
262
|
/**
|
262
263
|
* cogl_shader_unref:
|
@@ -265,12 +266,11 @@ cogl_shader_ref (CoglHandle handle) G_GNUC_DEPRECATED;
|
|
265
266
|
* Removes a reference to a shader. If it was the last reference the
|
266
267
|
* shader object will be destroyed.
|
267
268
|
*
|
268
|
-
* Deprecated: 1.
|
269
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
269
270
|
*/
|
271
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
270
272
|
void
|
271
|
-
cogl_shader_unref (CoglHandle handle)
|
272
|
-
|
273
|
-
#endif /* COGL_DISABLE_DEPRECATED */
|
273
|
+
cogl_shader_unref (CoglHandle handle);
|
274
274
|
|
275
275
|
/**
|
276
276
|
* cogl_is_shader:
|
@@ -280,7 +280,9 @@ cogl_shader_unref (CoglHandle handle) G_GNUC_DEPRECATED;
|
|
280
280
|
*
|
281
281
|
* Returns: %TRUE if the handle references a shader,
|
282
282
|
* %FALSE otherwise
|
283
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
283
284
|
*/
|
285
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
284
286
|
CoglBool
|
285
287
|
cogl_is_shader (CoglHandle handle);
|
286
288
|
|
@@ -295,10 +297,13 @@ cogl_is_shader (CoglHandle handle);
|
|
295
297
|
* Please see <link
|
296
298
|
* linkend="cogl-Shaders-and-Programmable-Pipeline.description">above</link>
|
297
299
|
* for a description of the recommended format for the shader code.
|
300
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
298
301
|
*/
|
302
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
299
303
|
void
|
300
304
|
cogl_shader_source (CoglHandle shader,
|
301
305
|
const char *source);
|
306
|
+
|
302
307
|
/**
|
303
308
|
* cogl_shader_compile:
|
304
309
|
* @handle: #CoglHandle for a shader.
|
@@ -307,7 +312,9 @@ cogl_shader_source (CoglHandle shader,
|
|
307
312
|
* for linking into a program. Note that calling this function is
|
308
313
|
* optional. If it is not called then the shader will be automatically
|
309
314
|
* compiled when it is linked.
|
315
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
310
316
|
*/
|
317
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
311
318
|
void
|
312
319
|
cogl_shader_compile (CoglHandle handle);
|
313
320
|
|
@@ -322,7 +329,9 @@ cogl_shader_compile (CoglHandle handle);
|
|
322
329
|
*
|
323
330
|
* Return value: a newly allocated string containing the info log. Use
|
324
331
|
* g_free() to free it
|
332
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
325
333
|
*/
|
334
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
326
335
|
char *
|
327
336
|
cogl_shader_get_info_log (CoglHandle handle);
|
328
337
|
|
@@ -334,7 +343,9 @@ cogl_shader_get_info_log (CoglHandle handle);
|
|
334
343
|
*
|
335
344
|
* Return value: %COGL_SHADER_TYPE_VERTEX if the shader is a vertex processor
|
336
345
|
* or %COGL_SHADER_TYPE_FRAGMENT if the shader is a frament processor
|
346
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
337
347
|
*/
|
348
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
338
349
|
CoglShaderType
|
339
350
|
cogl_shader_get_type (CoglHandle handle);
|
340
351
|
|
@@ -345,7 +356,9 @@ cogl_shader_get_type (CoglHandle handle);
|
|
345
356
|
* Retrieves whether a shader #CoglHandle has been compiled
|
346
357
|
*
|
347
358
|
* Return value: %TRUE if the shader object has sucessfully be compiled
|
359
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
348
360
|
*/
|
361
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
349
362
|
CoglBool
|
350
363
|
cogl_shader_is_compiled (CoglHandle handle);
|
351
364
|
|
@@ -356,24 +369,26 @@ cogl_shader_is_compiled (CoglHandle handle);
|
|
356
369
|
* rendering pipeline with custom code.
|
357
370
|
*
|
358
371
|
* Returns: a new cogl program.
|
372
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
359
373
|
*/
|
374
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
360
375
|
CoglHandle
|
361
376
|
cogl_create_program (void);
|
362
377
|
|
363
|
-
#ifndef COGL_DISABLE_DEPRECATED
|
364
|
-
|
365
378
|
/**
|
366
379
|
* cogl_program_ref:
|
367
380
|
* @handle: A #CoglHandle to a program.
|
368
381
|
*
|
369
382
|
* Add an extra reference to a program.
|
370
383
|
*
|
371
|
-
* Deprecated: 1.0: Please use
|
384
|
+
* Deprecated: 1.0: Please use cogl_object_ref() instead.
|
372
385
|
*
|
373
386
|
* Returns: @handle
|
387
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
374
388
|
*/
|
389
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
375
390
|
CoglHandle
|
376
|
-
cogl_program_ref (CoglHandle handle)
|
391
|
+
cogl_program_ref (CoglHandle handle);
|
377
392
|
|
378
393
|
/**
|
379
394
|
* cogl_program_unref:
|
@@ -382,12 +397,11 @@ cogl_program_ref (CoglHandle handle) G_GNUC_DEPRECATED;
|
|
382
397
|
* Removes a reference to a program. If it was the last reference the
|
383
398
|
* program object will be destroyed.
|
384
399
|
*
|
385
|
-
* Deprecated: 1.
|
400
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
386
401
|
*/
|
402
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
387
403
|
void
|
388
|
-
cogl_program_unref (CoglHandle handle)
|
389
|
-
|
390
|
-
#endif /* COGL_DISABLE_DEPRECATED */
|
404
|
+
cogl_program_unref (CoglHandle handle);
|
391
405
|
|
392
406
|
/**
|
393
407
|
* cogl_is_program:
|
@@ -397,7 +411,10 @@ cogl_program_unref (CoglHandle handle) G_GNUC_DEPRECATED;
|
|
397
411
|
*
|
398
412
|
* Returns: %TRUE if the handle references a program,
|
399
413
|
* %FALSE otherwise
|
414
|
+
*
|
415
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
400
416
|
*/
|
417
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
401
418
|
CoglBool
|
402
419
|
cogl_is_program (CoglHandle handle);
|
403
420
|
|
@@ -410,7 +427,10 @@ cogl_is_program (CoglHandle handle);
|
|
410
427
|
* vertex or fragment shaders but only one of them may provide a
|
411
428
|
* main() function. It is allowed to use a program with only a vertex
|
412
429
|
* shader or only a fragment shader.
|
430
|
+
*
|
431
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
413
432
|
*/
|
433
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
414
434
|
void
|
415
435
|
cogl_program_attach_shader (CoglHandle program_handle,
|
416
436
|
CoglHandle shader_handle);
|
@@ -422,7 +442,10 @@ cogl_program_attach_shader (CoglHandle program_handle,
|
|
422
442
|
* Links a program making it ready for use. Note that calling this
|
423
443
|
* function is optional. If it is not called the program will
|
424
444
|
* automatically be linked the first time it is used.
|
445
|
+
*
|
446
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
425
447
|
*/
|
448
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
426
449
|
void
|
427
450
|
cogl_program_link (CoglHandle handle);
|
428
451
|
|
@@ -438,7 +461,10 @@ cogl_program_link (CoglHandle handle);
|
|
438
461
|
* context. It is much more efficient to attach the shader to a
|
439
462
|
* specific material used for rendering instead by calling
|
440
463
|
* cogl_material_set_user_program().
|
464
|
+
*
|
465
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
441
466
|
*/
|
467
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
442
468
|
void
|
443
469
|
cogl_program_use (CoglHandle handle);
|
444
470
|
|
@@ -454,7 +480,9 @@ cogl_program_use (CoglHandle handle);
|
|
454
480
|
* Return value: the offset of a uniform in a specified program.
|
455
481
|
* This uniform can be set using cogl_program_uniform_1f() when the
|
456
482
|
* program is in use.
|
483
|
+
* Deprecated: 1.16: Use #CoglSnippet api instead
|
457
484
|
*/
|
485
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
458
486
|
int
|
459
487
|
cogl_program_get_uniform_location (CoglHandle handle,
|
460
488
|
const char *uniform_name);
|
@@ -470,7 +498,9 @@ cogl_program_get_uniform_location (CoglHandle handle,
|
|
470
498
|
* @program.
|
471
499
|
*
|
472
500
|
* Since: 1.4
|
501
|
+
* Deprecated: 1.16: Use #CoglSnippet api instead
|
473
502
|
*/
|
503
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
474
504
|
void
|
475
505
|
cogl_program_set_uniform_1f (CoglHandle program,
|
476
506
|
int uniform_location,
|
@@ -487,7 +517,9 @@ cogl_program_set_uniform_1f (CoglHandle program,
|
|
487
517
|
* @program.
|
488
518
|
*
|
489
519
|
* Since: 1.4
|
520
|
+
* Deprecated: 1.16: Use #CoglSnippet api instead
|
490
521
|
*/
|
522
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
491
523
|
void
|
492
524
|
cogl_program_set_uniform_1i (CoglHandle program,
|
493
525
|
int uniform_location,
|
@@ -508,7 +540,9 @@ cogl_program_set_uniform_1i (CoglHandle program,
|
|
508
540
|
* the given linked @program.
|
509
541
|
*
|
510
542
|
* Since: 1.4
|
543
|
+
* Deprecated: 1.16: Use #CoglSnippet api instead
|
511
544
|
*/
|
545
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
512
546
|
void
|
513
547
|
cogl_program_set_uniform_float (CoglHandle program,
|
514
548
|
int uniform_location,
|
@@ -531,7 +565,9 @@ cogl_program_set_uniform_float (CoglHandle program,
|
|
531
565
|
* the given linked @program.
|
532
566
|
*
|
533
567
|
* Since: 1.4
|
568
|
+
* Deprecated: 1.16: Use #CoglSnippet api instead
|
534
569
|
*/
|
570
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
535
571
|
void
|
536
572
|
cogl_program_set_uniform_int (CoglHandle program,
|
537
573
|
int uniform_location,
|
@@ -555,7 +591,9 @@ cogl_program_set_uniform_int (CoglHandle program,
|
|
555
591
|
* given linked @program.
|
556
592
|
*
|
557
593
|
* Since: 1.4
|
594
|
+
* Deprecated: 1.16: Use #CoglSnippet api instead
|
558
595
|
*/
|
596
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
559
597
|
void
|
560
598
|
cogl_program_set_uniform_matrix (CoglHandle program,
|
561
599
|
int uniform_location,
|
@@ -564,8 +602,6 @@ cogl_program_set_uniform_matrix (CoglHandle program,
|
|
564
602
|
CoglBool transpose,
|
565
603
|
const float *value);
|
566
604
|
|
567
|
-
#ifndef COGL_DISABLE_DEPRECATED
|
568
|
-
|
569
605
|
/**
|
570
606
|
* cogl_program_uniform_1f:
|
571
607
|
* @uniform_no: the uniform to set.
|
@@ -574,11 +610,12 @@ cogl_program_set_uniform_matrix (CoglHandle program,
|
|
574
610
|
* Changes the value of a floating point uniform in the currently
|
575
611
|
* used (see cogl_program_use()) shader program.
|
576
612
|
*
|
577
|
-
* Deprecated: 1.
|
613
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
578
614
|
*/
|
615
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
579
616
|
void
|
580
617
|
cogl_program_uniform_1f (int uniform_no,
|
581
|
-
float value)
|
618
|
+
float value);
|
582
619
|
|
583
620
|
/**
|
584
621
|
* cogl_program_uniform_1i:
|
@@ -588,11 +625,12 @@ cogl_program_uniform_1f (int uniform_no,
|
|
588
625
|
* Changes the value of an integer uniform in the currently
|
589
626
|
* used (see cogl_program_use()) shader program.
|
590
627
|
*
|
591
|
-
* Deprecated: 1.
|
628
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
592
629
|
*/
|
630
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
593
631
|
void
|
594
632
|
cogl_program_uniform_1i (int uniform_no,
|
595
|
-
int value)
|
633
|
+
int value);
|
596
634
|
|
597
635
|
/**
|
598
636
|
* cogl_program_uniform_float:
|
@@ -604,13 +642,14 @@ cogl_program_uniform_1i (int uniform_no,
|
|
604
642
|
* Changes the value of a float vector uniform, or uniform array in the
|
605
643
|
* currently used (see cogl_program_use()) shader program.
|
606
644
|
*
|
607
|
-
* Deprecated: 1.
|
645
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
608
646
|
*/
|
647
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
609
648
|
void
|
610
649
|
cogl_program_uniform_float (int uniform_no,
|
611
650
|
int size,
|
612
651
|
int count,
|
613
|
-
const float *value)
|
652
|
+
const float *value);
|
614
653
|
|
615
654
|
/**
|
616
655
|
* cogl_program_uniform_int:
|
@@ -621,12 +660,15 @@ cogl_program_uniform_float (int uniform_no,
|
|
621
660
|
*
|
622
661
|
* Changes the value of a int vector uniform, or uniform array in the
|
623
662
|
* currently used (see cogl_program_use()) shader program.
|
663
|
+
*
|
664
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
624
665
|
*/
|
666
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
625
667
|
void
|
626
668
|
cogl_program_uniform_int (int uniform_no,
|
627
669
|
int size,
|
628
670
|
int count,
|
629
|
-
const int *value)
|
671
|
+
const int *value);
|
630
672
|
|
631
673
|
/**
|
632
674
|
* cogl_program_uniform_matrix:
|
@@ -639,15 +681,16 @@ cogl_program_uniform_int (int uniform_no,
|
|
639
681
|
* Changes the value of a matrix uniform, or uniform array in the
|
640
682
|
* currently used (see cogl_program_use()) shader program. The @size
|
641
683
|
* parameter is used to determine the square size of the matrix.
|
684
|
+
*
|
685
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
642
686
|
*/
|
687
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
643
688
|
void
|
644
689
|
cogl_program_uniform_matrix (int uniform_no,
|
645
690
|
int size,
|
646
691
|
int count,
|
647
692
|
CoglBool transpose,
|
648
|
-
const float *value)
|
649
|
-
|
650
|
-
#endif /* COGL_DISABLE_DEPRECATED */
|
693
|
+
const float *value);
|
651
694
|
|
652
695
|
COGL_END_DECLS
|
653
696
|
|
@@ -173,17 +173,17 @@ COGL_BEGIN_DECLS
|
|
173
173
|
* <glossterm>attribute vec4
|
174
174
|
* <emphasis>cogl_tex_coord_in</emphasis></glossterm>
|
175
175
|
* <glossdef><para>
|
176
|
-
* The texture coordinate for
|
177
|
-
*
|
176
|
+
* The texture coordinate for layer 0. This is an alternative name
|
177
|
+
* for #cogl_tex_coord0_in.
|
178
178
|
* </para></glossdef>
|
179
179
|
* </glossentry>
|
180
180
|
* <glossentry>
|
181
181
|
* <glossterm>attribute vec4
|
182
182
|
* <emphasis>cogl_tex_coord0_in</emphasis></glossterm>
|
183
183
|
* <glossdef><para>
|
184
|
-
* The texture coordinate for the
|
185
|
-
*
|
186
|
-
*
|
184
|
+
* The texture coordinate for the layer 0. This is equivalent to
|
185
|
+
* #gl_MultiTexCoord0. There will also be #cogl_tex_coord1_in and
|
186
|
+
* so on if more layers are added to the pipeline.
|
187
187
|
* </para></glossdef>
|
188
188
|
* </glossentry>
|
189
189
|
* <glossentry>
|
@@ -203,6 +203,16 @@ COGL_BEGIN_DECLS
|
|
203
203
|
* </glossentry>
|
204
204
|
* <glossentry>
|
205
205
|
* <glossterm>float
|
206
|
+
* <emphasis>cogl_point_size_in</emphasis></glossterm>
|
207
|
+
* <glossdef><para>
|
208
|
+
* The incoming point size from the cogl_point_size_in attribute.
|
209
|
+
* This is only available if
|
210
|
+
* cogl_pipeline_set_per_vertex_point_size() is set on the
|
211
|
+
* pipeline.
|
212
|
+
* </para></glossdef>
|
213
|
+
* </glossentry>
|
214
|
+
* <glossentry>
|
215
|
+
* <glossterm>float
|
206
216
|
* <emphasis>cogl_point_size_out</emphasis></glossterm>
|
207
217
|
* <glossdef><para>
|
208
218
|
* The calculated size of a point. This is equivalent to #gl_PointSize.
|
@@ -217,10 +227,13 @@ COGL_BEGIN_DECLS
|
|
217
227
|
* </glossentry>
|
218
228
|
* <glossentry>
|
219
229
|
* <glossterm>varying vec4
|
220
|
-
* <emphasis>
|
230
|
+
* <emphasis>cogl_tex_coord0_out</emphasis></glossterm>
|
221
231
|
* <glossdef><para>
|
222
|
-
*
|
223
|
-
* equivalent to #gl_TexCoord.
|
232
|
+
* The calculated texture coordinate for layer 0 of the pipeline.
|
233
|
+
* This is equivalent to #gl_TexCoord[0]. There will also be
|
234
|
+
* #cogl_tex_coord1_out and so on if more layers are added to the
|
235
|
+
* pipeline. In the fragment shader, this varying is called
|
236
|
+
* #cogl_tex_coord0_in.
|
224
237
|
* </para></glossdef>
|
225
238
|
* </glossentry>
|
226
239
|
* </glosslist>
|
@@ -236,10 +249,11 @@ COGL_BEGIN_DECLS
|
|
236
249
|
* </glossentry>
|
237
250
|
* <glossentry>
|
238
251
|
* <glossterm>varying vec4
|
239
|
-
* <emphasis>
|
252
|
+
* <emphasis>cogl_tex_coord0_in</emphasis></glossterm>
|
240
253
|
* <glossdef><para>
|
241
|
-
*
|
242
|
-
*
|
254
|
+
* The texture coordinate for layer 0. This is equivalent to
|
255
|
+
* #gl_TexCoord[0]. There will also be #cogl_tex_coord1_in and so
|
256
|
+
* on if more layers are added to the pipeline.
|
243
257
|
* </para></glossdef>
|
244
258
|
* </glossentry>
|
245
259
|
* <glossentry>
|
@@ -265,6 +279,19 @@ COGL_BEGIN_DECLS
|
|
265
279
|
* coloring algorithms. This is equivalent to #gl_FrontFacing.
|
266
280
|
* </para></glossdef>
|
267
281
|
* </glossentry>
|
282
|
+
* <glossentry>
|
283
|
+
* <glossterm>vec2 <emphasis>cogl_point_coord</emphasis></glossterm>
|
284
|
+
* <glossdef><para>
|
285
|
+
* When rendering points, this will contain a vec2 which represents
|
286
|
+
* the position within the point of the current fragment.
|
287
|
+
* vec2(0.0,0.0) will be the topleft of the point and vec2(1.0,1.0)
|
288
|
+
* will be the bottom right. Note that there is currently a bug in
|
289
|
+
* Cogl where when rendering to an offscreen buffer these
|
290
|
+
* coordinates will be upside-down. The value is undefined when not
|
291
|
+
* rendering points. This builtin can only be used if the
|
292
|
+
* %COGL_FEATURE_ID_POINT_SPRITE feature is available.
|
293
|
+
* </para></glossdef>
|
294
|
+
* </glossentry>
|
268
295
|
* </glosslist>
|
269
296
|
*
|
270
297
|
* Here is an example of using a snippet to add a desaturate effect to the
|
@@ -321,6 +348,10 @@ typedef struct _CoglSnippet CoglSnippet;
|
|
321
348
|
* @COGL_SNIPPET_HOOK_VERTEX: A hook for the entire vertex processing
|
322
349
|
* stage of the pipeline.
|
323
350
|
* @COGL_SNIPPET_HOOK_VERTEX_TRANSFORM: A hook for the vertex transformation.
|
351
|
+
* @COGL_SNIPPET_HOOK_POINT_SIZE: A hook for manipulating the point
|
352
|
+
* size of a vertex. This is only used if
|
353
|
+
* cogl_pipeline_set_per_vertex_point_size() is enabled on the
|
354
|
+
* pipeline.
|
324
355
|
* @COGL_SNIPPET_HOOK_FRAGMENT: A hook for the entire fragment
|
325
356
|
* processing stage of the pipeline.
|
326
357
|
* @COGL_SNIPPET_HOOK_TEXTURE_COORD_TRANSFORM: A hook for applying the
|
@@ -422,6 +453,39 @@ typedef struct _CoglSnippet CoglSnippet;
|
|
422
453
|
* </glossdef>
|
423
454
|
* </glossentry>
|
424
455
|
* <glossentry>
|
456
|
+
* <glossterm>%COGL_SNIPPET_HOOK_POINT_SIZE</glossterm>
|
457
|
+
* <glossdef>
|
458
|
+
* <para>
|
459
|
+
* Adds a shader snippet that will hook on to the point size
|
460
|
+
* calculation step within the vertex shader stage. The snippet should
|
461
|
+
* write to the builtin cogl_point_size_out with the new point size.
|
462
|
+
* The snippet can either read cogl_point_size_in directly and write a
|
463
|
+
* new value or first read an existing value in cogl_point_size_out
|
464
|
+
* that would be set by a previous snippet. Note that this hook is
|
465
|
+
* only used if cogl_pipeline_set_per_vertex_point_size() is enabled
|
466
|
+
* on the pipeline.
|
467
|
+
* </para>
|
468
|
+
* <para>
|
469
|
+
* The ‘declarations’ string in @snippet will be inserted in the
|
470
|
+
* global scope of the shader. Use this to declare any uniforms,
|
471
|
+
* attributes or functions that the snippet requires.
|
472
|
+
* </para>
|
473
|
+
* <para>
|
474
|
+
* The ‘pre’ string in @snippet will be inserted just before
|
475
|
+
* calculating the point size.
|
476
|
+
* </para>
|
477
|
+
* <para>
|
478
|
+
* The ‘replace’ string in @snippet will be used instead of the
|
479
|
+
* generated point size calculation if it is present.
|
480
|
+
* </para>
|
481
|
+
* <para>
|
482
|
+
* The ‘post’ string in @snippet will be inserted after the
|
483
|
+
* standard point size calculation is done. This can be used to modify
|
484
|
+
* cogl_point_size_out in addition to the default processing.
|
485
|
+
* </para>
|
486
|
+
* </glossdef>
|
487
|
+
* </glossentry>
|
488
|
+
* <glossentry>
|
425
489
|
* <glossterm>%COGL_SNIPPET_HOOK_FRAGMENT</glossterm>
|
426
490
|
* <glossdef>
|
427
491
|
* <para>
|
@@ -583,6 +647,7 @@ typedef enum {
|
|
583
647
|
COGL_SNIPPET_HOOK_VERTEX = 0,
|
584
648
|
COGL_SNIPPET_HOOK_VERTEX_TRANSFORM,
|
585
649
|
COGL_SNIPPET_HOOK_VERTEX_GLOBALS,
|
650
|
+
COGL_SNIPPET_HOOK_POINT_SIZE,
|
586
651
|
|
587
652
|
/* Per pipeline fragment hooks */
|
588
653
|
COGL_SNIPPET_HOOK_FRAGMENT = 2048,
|