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