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
@@ -0,0 +1,230 @@
|
|
1
|
+
/*
|
2
|
+
* Cogl
|
3
|
+
*
|
4
|
+
* An object oriented GL/GLES Abstraction/Utility Layer
|
5
|
+
*
|
6
|
+
* Copyright (C) 2013 Intel Corporation.
|
7
|
+
*
|
8
|
+
* This library is free software; you can redistribute it and/or
|
9
|
+
* modify it under the terms of the GNU Lesser General Public
|
10
|
+
* License as published by the Free Software Foundation; either
|
11
|
+
* version 2 of the License, or (at your option) any later version.
|
12
|
+
*
|
13
|
+
* This library is distributed in the hope that it will be useful,
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
16
|
+
* Lesser General Public License for more details.
|
17
|
+
*
|
18
|
+
* You should have received a copy of the GNU Lesser General Public
|
19
|
+
* License along with this library. If not, see
|
20
|
+
* <http://www.gnu.org/licenses/>.
|
21
|
+
*
|
22
|
+
*
|
23
|
+
*/
|
24
|
+
|
25
|
+
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
|
26
|
+
#error "Only <cogl/cogl.h> can be included directly."
|
27
|
+
#endif
|
28
|
+
|
29
|
+
#ifndef _COGL_ATLAS_TEXTURE_H_
|
30
|
+
#define _COGL_ATLAS_TEXTURE_H_
|
31
|
+
|
32
|
+
#include <cogl/cogl-context.h>
|
33
|
+
|
34
|
+
COGL_BEGIN_DECLS
|
35
|
+
|
36
|
+
/**
|
37
|
+
* SECTION:cogl-atlas-texture
|
38
|
+
* @short_description: Functions for managing textures in Cogl's global
|
39
|
+
* set of texture atlases
|
40
|
+
*
|
41
|
+
* A texture atlas is a texture that contains many smaller images that
|
42
|
+
* an application is interested in. These are packed together as a way
|
43
|
+
* of optimizing drawing with those images by avoiding the costs of
|
44
|
+
* repeatedly telling the hardware to change what texture it should
|
45
|
+
* sample from. This can enable more geometry to be batched together
|
46
|
+
* into few draw calls.
|
47
|
+
*
|
48
|
+
* Each #CoglContext has an shared, pool of texture atlases that are
|
49
|
+
* are managed by Cogl.
|
50
|
+
*
|
51
|
+
* This api lets applications upload texture data into one of Cogl's
|
52
|
+
* shared texture atlases using a high-level #CoglAtlasTexture which
|
53
|
+
* represents a sub-region of one of these atlases.
|
54
|
+
*
|
55
|
+
* <note>A #CoglAtlasTexture is a high-level meta texture which has
|
56
|
+
* some limitations to be aware of. Please see the documentation for
|
57
|
+
* #CoglMetaTexture for more details.</note>
|
58
|
+
*/
|
59
|
+
|
60
|
+
|
61
|
+
typedef struct _CoglAtlasTexture CoglAtlasTexture;
|
62
|
+
#define COGL_ATLAS_TEXTURE(tex) ((CoglAtlasTexture *) tex)
|
63
|
+
|
64
|
+
|
65
|
+
/**
|
66
|
+
* cogl_atlas_texture_new_with_size:
|
67
|
+
* @ctx: A #CoglContext
|
68
|
+
* @width: The width of your atlased texture.
|
69
|
+
* @height: The height of your atlased texture.
|
70
|
+
* @internal_format: The format of the texture
|
71
|
+
*
|
72
|
+
* Creates a #CoglAtlasTexture with a given @width and @height. A
|
73
|
+
* #CoglAtlasTexture represents a sub-region within one of Cogl's
|
74
|
+
* shared texture atlases.
|
75
|
+
*
|
76
|
+
* The storage for the texture is not allocated before this function
|
77
|
+
* returns. You can call cogl_texture_allocate() to explicitly
|
78
|
+
* allocate the underlying storage or let Cogl automatically allocate
|
79
|
+
* storage lazily.
|
80
|
+
*
|
81
|
+
* <note>This call can fail if Cogl considers the given
|
82
|
+
* @internal_format incompatible with the format of its internal
|
83
|
+
* atlases.</note>
|
84
|
+
*
|
85
|
+
* <note>The returned #CoglAtlasTexture is a high-level meta-texture
|
86
|
+
* with some limitations. See the documentation for #CoglMetaTexture
|
87
|
+
* for more details.</note>
|
88
|
+
*
|
89
|
+
* Return value: (transfer full): A new #CoglAtlasTexture object with
|
90
|
+
* no storage allocated yet or %NULL on failure and @error
|
91
|
+
* will be updated.
|
92
|
+
* Since: 1.16
|
93
|
+
* Stability: unstable
|
94
|
+
*/
|
95
|
+
CoglAtlasTexture *
|
96
|
+
cogl_atlas_texture_new_with_size (CoglContext *ctx,
|
97
|
+
int width,
|
98
|
+
int height,
|
99
|
+
CoglPixelFormat internal_format,
|
100
|
+
CoglError **error);
|
101
|
+
|
102
|
+
/**
|
103
|
+
* cogl_atlas_texture_new_from_file:
|
104
|
+
* @ctx: A #CoglContext
|
105
|
+
* @filename: the file to load
|
106
|
+
* @internal_format: The format of the texture
|
107
|
+
*
|
108
|
+
* Creates a #CoglAtlasTexture from an image file. A #CoglAtlasTexture
|
109
|
+
* represents a sub-region within one of Cogl's shared texture
|
110
|
+
* atlases.
|
111
|
+
*
|
112
|
+
* <note>This call can fail if Cogl considers the given
|
113
|
+
* @internal_format incompatible with the format of its internal
|
114
|
+
* atlases.</note>
|
115
|
+
*
|
116
|
+
* <note>The returned #CoglAtlasTexture is a high-level meta-texture
|
117
|
+
* with some limitations. See the documentation for #CoglMetaTexture
|
118
|
+
* for more details.</note>
|
119
|
+
*
|
120
|
+
* Return value: (transfer full): A new #CoglAtlasTexture object or
|
121
|
+
* %NULL on failure and @error will be updated.
|
122
|
+
* Since: 1.16
|
123
|
+
* Stability: unstable
|
124
|
+
*/
|
125
|
+
CoglAtlasTexture *
|
126
|
+
cogl_atlas_texture_new_from_file (CoglContext *ctx,
|
127
|
+
const char *filename,
|
128
|
+
CoglPixelFormat internal_format,
|
129
|
+
CoglError **error);
|
130
|
+
|
131
|
+
/**
|
132
|
+
* cogl_atlas_texture_new_from_data:
|
133
|
+
* @ctx: A #CoglContext
|
134
|
+
* @width: width of texture in pixels
|
135
|
+
* @height: height of texture in pixels
|
136
|
+
* @format: the #CoglPixelFormat the buffer is stored in in RAM
|
137
|
+
* @internal_format: the #CoglPixelFormat to use for the GPU storage of the
|
138
|
+
* texture. If %COGL_PIXEL_FORMAT_ANY is given then a premultiplied
|
139
|
+
* format similar to the format of the source data will be used. The
|
140
|
+
* default blending equations of Cogl expect premultiplied color data;
|
141
|
+
* the main use of passing a non-premultiplied format here is if you
|
142
|
+
* have non-premultiplied source data and are going to adjust the blend
|
143
|
+
* mode (see cogl_material_set_blend()) or use the data for something
|
144
|
+
* other than straight blending.
|
145
|
+
* @rowstride: the memory offset in bytes between the start of each
|
146
|
+
* row in @data. A value of 0 will make Cogl automatically
|
147
|
+
* calculate @rowstride from @width and @format.
|
148
|
+
* @data: pointer to the memory region where the source buffer resides
|
149
|
+
* @error: A #CoglError to catch exceptional errors or %NULL
|
150
|
+
*
|
151
|
+
* Creates a new #CoglAtlasTexture texture based on data residing in
|
152
|
+
* memory. A #CoglAtlasTexture represents a sub-region within one of
|
153
|
+
* Cogl's shared texture atlases.
|
154
|
+
*
|
155
|
+
* <note>This call can fail if Cogl considers the given
|
156
|
+
* @internal_format incompatible with the format of its internal
|
157
|
+
* atlases.</note>
|
158
|
+
*
|
159
|
+
* <note>The returned #CoglAtlasTexture is a high-level
|
160
|
+
* meta-texture with some limitations. See the documentation for
|
161
|
+
* #CoglMetaTexture for more details.</note>
|
162
|
+
*
|
163
|
+
* Return value: (transfer full): A new #CoglAtlasTexture object or
|
164
|
+
* %NULL on failure and @error will be updated.
|
165
|
+
* Since: 1.16
|
166
|
+
* Stability: unstable
|
167
|
+
*/
|
168
|
+
CoglAtlasTexture *
|
169
|
+
cogl_atlas_texture_new_from_data (CoglContext *ctx,
|
170
|
+
int width,
|
171
|
+
int height,
|
172
|
+
CoglPixelFormat format,
|
173
|
+
CoglPixelFormat internal_format,
|
174
|
+
int rowstride,
|
175
|
+
const uint8_t *data,
|
176
|
+
CoglError **error);
|
177
|
+
|
178
|
+
/**
|
179
|
+
* cogl_atlas_texture_new_from_bitmap:
|
180
|
+
* @bmp: A #CoglBitmap
|
181
|
+
* @internal_format: the #CoglPixelFormat to use for the GPU storage of the
|
182
|
+
* texture. If %COGL_PIXEL_FORMAT_ANY is given then a premultiplied
|
183
|
+
* format similar to the format of the source data will be used. The
|
184
|
+
* default blending equations of Cogl expect premultiplied color data;
|
185
|
+
* the main use of passing a non-premultiplied format here is if you
|
186
|
+
* have non-premultiplied source data and are going to adjust the blend
|
187
|
+
* mode (see cogl_material_set_blend()) or use the data for something
|
188
|
+
* other than straight blending.
|
189
|
+
* @error: A #CoglError to catch exceptional errors or %NULL
|
190
|
+
*
|
191
|
+
* Creates a new #CoglAtlasTexture texture based on data residing in a
|
192
|
+
* @bitmap. A #CoglAtlasTexture represents a sub-region within one of
|
193
|
+
* Cogl's shared texture atlases.
|
194
|
+
*
|
195
|
+
* <note>This call can fail if Cogl considers the given
|
196
|
+
* @internal_format incompatible with the format of its internal
|
197
|
+
* atlases.</note>
|
198
|
+
*
|
199
|
+
* <note>The returned #CoglAtlasTexture is a high-level meta-texture
|
200
|
+
* with some limitations. See the documentation for #CoglMetaTexture
|
201
|
+
* for more details.</note>
|
202
|
+
*
|
203
|
+
* Return value: (transfer full): A new #CoglAtlasTexture object or
|
204
|
+
* %NULL on failure and @error will be updated.
|
205
|
+
* Since: 1.16
|
206
|
+
* Stability: unstable
|
207
|
+
*/
|
208
|
+
CoglAtlasTexture *
|
209
|
+
cogl_atlas_texture_new_from_bitmap (CoglBitmap *bmp,
|
210
|
+
CoglPixelFormat internal_format,
|
211
|
+
CoglError **error);
|
212
|
+
|
213
|
+
/**
|
214
|
+
* cogl_is_atlas_texture:
|
215
|
+
* @object: a #CoglObject
|
216
|
+
*
|
217
|
+
* Checks whether the given object references a #CoglAtlasTexture
|
218
|
+
*
|
219
|
+
* Return value: %TRUE if the passed object represents an atlas
|
220
|
+
* texture and %FALSE otherwise
|
221
|
+
*
|
222
|
+
* Since: 1.16
|
223
|
+
* Stability: Unstable
|
224
|
+
*/
|
225
|
+
CoglBool
|
226
|
+
cogl_is_atlas_texture (void *object);
|
227
|
+
|
228
|
+
COGL_END_DECLS
|
229
|
+
|
230
|
+
#endif /* _COGL_ATLAS_TEXTURE_H_ */
|
@@ -69,7 +69,7 @@ COGL_BEGIN_DECLS
|
|
69
69
|
* Note: You can assume this function always succeeds and won't return
|
70
70
|
* %NULL
|
71
71
|
*
|
72
|
-
* Return value: A newly allocated #CoglAttributeBuffer. Never %NULL.
|
72
|
+
* Return value: (transfer full): A newly allocated #CoglAttributeBuffer. Never %NULL.
|
73
73
|
*
|
74
74
|
* Stability: Unstable
|
75
75
|
*/
|
@@ -81,7 +81,8 @@ cogl_attribute_buffer_new_with_size (CoglContext *context,
|
|
81
81
|
* cogl_attribute_buffer_new:
|
82
82
|
* @context: A #CoglContext
|
83
83
|
* @bytes: The number of bytes to allocate for vertex attribute data.
|
84
|
-
* @data: An optional pointer to vertex data to
|
84
|
+
* @data: (array length=bytes): An optional pointer to vertex data to
|
85
|
+
* upload immediately.
|
85
86
|
*
|
86
87
|
* Describes a new #CoglAttributeBuffer of @size bytes to contain
|
87
88
|
* arrays of vertex attribute data and also uploads @size bytes read
|
@@ -100,7 +101,7 @@ cogl_attribute_buffer_new_with_size (CoglContext *context,
|
|
100
101
|
* explicitly catch errors with cogl_buffer_set_data() or
|
101
102
|
* cogl_buffer_map().</note>
|
102
103
|
*
|
103
|
-
* Return value: A newly allocated #CoglAttributeBuffer (never %NULL)
|
104
|
+
* Return value: (transfer full): A newly allocated #CoglAttributeBuffer (never %NULL)
|
104
105
|
*
|
105
106
|
* Since: 1.4
|
106
107
|
* Stability: Unstable
|
@@ -50,7 +50,7 @@ COGL_BEGIN_DECLS
|
|
50
50
|
*/
|
51
51
|
|
52
52
|
/**
|
53
|
-
* cogl_attribute_new:
|
53
|
+
* cogl_attribute_new: (constructor)
|
54
54
|
* @attribute_buffer: The #CoglAttributeBuffer containing the actual
|
55
55
|
* attribute data
|
56
56
|
* @name: The name of the attribute (used to reference it from GLSL)
|
@@ -76,6 +76,11 @@ COGL_BEGIN_DECLS
|
|
76
76
|
* <listitem>"cogl_tex_coord0_in", "cogl_tex_coord1", ...
|
77
77
|
* (used for vertex texture coordinates)</listitem>
|
78
78
|
* <listitem>"cogl_normal_in" (used for vertex normals)</listitem>
|
79
|
+
* <listitem>"cogl_point_size_in" (used to set the size of points
|
80
|
+
* per-vertex. Note this can only be used if
|
81
|
+
* %COGL_FEATURE_ID_POINT_SIZE_ATTRIBUTE is advertised and
|
82
|
+
* cogl_pipeline_set_per_vertex_point_size() is called on the pipeline.
|
83
|
+
* </listitem>
|
79
84
|
* </itemizedlist>
|
80
85
|
*
|
81
86
|
* The attribute values corresponding to different vertices can either
|
@@ -125,8 +130,9 @@ COGL_BEGIN_DECLS
|
|
125
130
|
* mapped into the GPU which can be a bottlneck when dealing with
|
126
131
|
* a large number of vertices.
|
127
132
|
*
|
128
|
-
*
|
129
|
-
* layout for a list of attribute values
|
133
|
+
* Return value: (transfer full): A newly allocated #CoglAttribute
|
134
|
+
* describing the layout for a list of attribute values
|
135
|
+
* stored in @array.
|
130
136
|
*
|
131
137
|
* Since: 1.4
|
132
138
|
* Stability: Unstable
|
@@ -158,8 +164,8 @@ cogl_attribute_new (CoglAttributeBuffer *attribute_buffer,
|
|
158
164
|
* attribute float name;
|
159
165
|
* |]
|
160
166
|
*
|
161
|
-
*
|
162
|
-
* constant @value.
|
167
|
+
* Return value: (transfer full): A newly allocated #CoglAttribute
|
168
|
+
* representing the given constant @value.
|
163
169
|
*/
|
164
170
|
CoglAttribute *
|
165
171
|
cogl_attribute_new_const_1f (CoglContext *context,
|
@@ -170,8 +176,8 @@ cogl_attribute_new_const_1f (CoglContext *context,
|
|
170
176
|
* cogl_attribute_new_const_2f:
|
171
177
|
* @context: A #CoglContext
|
172
178
|
* @name: The name of the attribute (used to reference it from GLSL)
|
173
|
-
* @
|
174
|
-
* @
|
179
|
+
* @component0: The first component of a 2 component vector
|
180
|
+
* @component1: The second component of a 2 component vector
|
175
181
|
*
|
176
182
|
* Creates a new, 2 component, attribute whose value remains
|
177
183
|
* constant across all the vertices of a primitive without needing to
|
@@ -185,8 +191,8 @@ cogl_attribute_new_const_1f (CoglContext *context,
|
|
185
191
|
* attribute vec2 name;
|
186
192
|
* |]
|
187
193
|
*
|
188
|
-
*
|
189
|
-
* constant vector.
|
194
|
+
* Return value: (transfer full): A newly allocated #CoglAttribute
|
195
|
+
* representing the given constant vector.
|
190
196
|
*/
|
191
197
|
CoglAttribute *
|
192
198
|
cogl_attribute_new_const_2f (CoglContext *context,
|
@@ -198,9 +204,9 @@ cogl_attribute_new_const_2f (CoglContext *context,
|
|
198
204
|
* cogl_attribute_new_const_3f:
|
199
205
|
* @context: A #CoglContext
|
200
206
|
* @name: The name of the attribute (used to reference it from GLSL)
|
201
|
-
* @
|
202
|
-
* @
|
203
|
-
* @
|
207
|
+
* @component0: The first component of a 3 component vector
|
208
|
+
* @component1: The second component of a 3 component vector
|
209
|
+
* @component2: The third component of a 3 component vector
|
204
210
|
*
|
205
211
|
* Creates a new, 3 component, attribute whose value remains
|
206
212
|
* constant across all the vertices of a primitive without needing to
|
@@ -217,8 +223,8 @@ cogl_attribute_new_const_2f (CoglContext *context,
|
|
217
223
|
* unless the built in name "cogl_normal_in" is being used where no
|
218
224
|
* explicit GLSL declaration need be made.
|
219
225
|
*
|
220
|
-
*
|
221
|
-
* constant vector.
|
226
|
+
* Return value: (transfer full): A newly allocated #CoglAttribute
|
227
|
+
* representing the given constant vector.
|
222
228
|
*/
|
223
229
|
CoglAttribute *
|
224
230
|
cogl_attribute_new_const_3f (CoglContext *context,
|
@@ -231,10 +237,10 @@ cogl_attribute_new_const_3f (CoglContext *context,
|
|
231
237
|
* cogl_attribute_new_const_4f:
|
232
238
|
* @context: A #CoglContext
|
233
239
|
* @name: The name of the attribute (used to reference it from GLSL)
|
234
|
-
* @
|
235
|
-
* @
|
236
|
-
* @
|
237
|
-
* @
|
240
|
+
* @component0: The first component of a 4 component vector
|
241
|
+
* @component1: The second component of a 4 component vector
|
242
|
+
* @component2: The third component of a 4 component vector
|
243
|
+
* @component3: The fourth component of a 4 component vector
|
238
244
|
*
|
239
245
|
* Creates a new, 4 component, attribute whose value remains
|
240
246
|
* constant across all the vertices of a primitive without needing to
|
@@ -252,8 +258,8 @@ cogl_attribute_new_const_3f (CoglContext *context,
|
|
252
258
|
* "cogl_tex_coord0_in or "cogl_tex_coord1_in" etc is being used where
|
253
259
|
* no explicit GLSL declaration need be made.
|
254
260
|
*
|
255
|
-
*
|
256
|
-
* constant vector.
|
261
|
+
* Return value: (transfer full): A newly allocated #CoglAttribute
|
262
|
+
* representing the given constant vector.
|
257
263
|
*/
|
258
264
|
CoglAttribute *
|
259
265
|
cogl_attribute_new_const_4f (CoglContext *context,
|
@@ -281,8 +287,8 @@ cogl_attribute_new_const_4f (CoglContext *context,
|
|
281
287
|
* attribute vec2 name;
|
282
288
|
* |]
|
283
289
|
*
|
284
|
-
*
|
285
|
-
* constant vector.
|
290
|
+
* Return value: (transfer full): A newly allocated #CoglAttribute
|
291
|
+
* representing the given constant vector.
|
286
292
|
*/
|
287
293
|
CoglAttribute *
|
288
294
|
cogl_attribute_new_const_2fv (CoglContext *context,
|
@@ -310,8 +316,8 @@ cogl_attribute_new_const_2fv (CoglContext *context,
|
|
310
316
|
* unless the built in name "cogl_normal_in" is being used where no
|
311
317
|
* explicit GLSL declaration need be made.
|
312
318
|
*
|
313
|
-
*
|
314
|
-
* constant vector.
|
319
|
+
* Return value: (transfer full): A newly allocated #CoglAttribute
|
320
|
+
* representing the given constant vector.
|
315
321
|
*/
|
316
322
|
CoglAttribute *
|
317
323
|
cogl_attribute_new_const_3fv (CoglContext *context,
|
@@ -340,8 +346,8 @@ cogl_attribute_new_const_3fv (CoglContext *context,
|
|
340
346
|
* "cogl_tex_coord0_in or "cogl_tex_coord1_in" etc is being used where
|
341
347
|
* no explicit GLSL declaration need be made.
|
342
348
|
*
|
343
|
-
*
|
344
|
-
* constant vector.
|
349
|
+
* Return value: (transfer full): A newly allocated #CoglAttribute
|
350
|
+
* representing the given constant vector.
|
345
351
|
*/
|
346
352
|
CoglAttribute *
|
347
353
|
cogl_attribute_new_const_4fv (CoglContext *context,
|
@@ -373,8 +379,8 @@ cogl_attribute_new_const_4fv (CoglContext *context,
|
|
373
379
|
* around the diagonal of the matrix such that the first column
|
374
380
|
* becomes the first row and the second column becomes the second row.
|
375
381
|
*
|
376
|
-
*
|
377
|
-
* constant matrix.
|
382
|
+
* Return value: (transfer full): A newly allocated #CoglAttribute
|
383
|
+
* representing the given constant matrix.
|
378
384
|
*/
|
379
385
|
CoglAttribute *
|
380
386
|
cogl_attribute_new_const_2x2fv (CoglContext *context,
|
@@ -408,8 +414,8 @@ cogl_attribute_new_const_2x2fv (CoglContext *context,
|
|
408
414
|
* becomes the first row and the second column becomes the second row
|
409
415
|
* etc.
|
410
416
|
*
|
411
|
-
*
|
412
|
-
* constant matrix.
|
417
|
+
* Return value: (transfer full): A newly allocated #CoglAttribute
|
418
|
+
* representing the given constant matrix.
|
413
419
|
*/
|
414
420
|
CoglAttribute *
|
415
421
|
cogl_attribute_new_const_3x3fv (CoglContext *context,
|
@@ -443,8 +449,8 @@ cogl_attribute_new_const_3x3fv (CoglContext *context,
|
|
443
449
|
* becomes the first row and the second column becomes the second row
|
444
450
|
* etc.
|
445
451
|
*
|
446
|
-
*
|
447
|
-
* constant matrix.
|
452
|
+
* Return value: (transfer full): A newly allocated #CoglAttribute
|
453
|
+
* representing the given constant matrix.
|
448
454
|
*/
|
449
455
|
CoglAttribute *
|
450
456
|
cogl_attribute_new_const_4x4fv (CoglContext *context,
|
@@ -491,8 +497,8 @@ cogl_attribute_get_normalized (CoglAttribute *attribute);
|
|
491
497
|
* cogl_attribute_get_buffer:
|
492
498
|
* @attribute: A #CoglAttribute
|
493
499
|
*
|
494
|
-
* Return value: the #CoglAttributeBuffer that was
|
495
|
-
* cogl_attribute_set_buffer() or cogl_attribute_new().
|
500
|
+
* Return value: (transfer none): the #CoglAttributeBuffer that was
|
501
|
+
* set with cogl_attribute_set_buffer() or cogl_attribute_new().
|
496
502
|
*
|
497
503
|
* Stability: unstable
|
498
504
|
* Since: 1.10
|
@@ -28,6 +28,10 @@
|
|
28
28
|
#ifndef __COGL_BITMAP_H__
|
29
29
|
#define __COGL_BITMAP_H__
|
30
30
|
|
31
|
+
/* XXX: We forward declare CoglBitmap here to allow for circular
|
32
|
+
* dependencies between some headers */
|
33
|
+
typedef struct _CoglBitmap CoglBitmap;
|
34
|
+
|
31
35
|
#include <cogl/cogl-types.h>
|
32
36
|
#include <cogl/cogl-buffer.h>
|
33
37
|
#include <cogl/cogl-context.h>
|
@@ -39,8 +43,6 @@
|
|
39
43
|
|
40
44
|
COGL_BEGIN_DECLS
|
41
45
|
|
42
|
-
typedef struct _CoglBitmap CoglBitmap;
|
43
|
-
|
44
46
|
/**
|
45
47
|
* SECTION:cogl-bitmap
|
46
48
|
* @short_description: Functions for loading images
|
@@ -60,8 +62,8 @@ typedef struct _CoglBitmap CoglBitmap;
|
|
60
62
|
* Loads an image file from disk. This function can be safely called from
|
61
63
|
* within a thread.
|
62
64
|
*
|
63
|
-
* Return value: a #CoglBitmap to the new loaded
|
64
|
-
*
|
65
|
+
* Return value: (transfer full): a #CoglBitmap to the new loaded
|
66
|
+
* image data, or %NULL if loading the image failed.
|
65
67
|
*
|
66
68
|
* Since: 1.0
|
67
69
|
*/
|
@@ -79,8 +81,8 @@ cogl_bitmap_new_from_file (const char *filename,
|
|
79
81
|
*
|
80
82
|
* Loads an Android asset into a newly allocated #CoglBitmap.
|
81
83
|
*
|
82
|
-
* Return value: A newly allocated #CoglBitmap
|
83
|
-
* specified asset.
|
84
|
+
* Return value: (transfer full): A newly allocated #CoglBitmap
|
85
|
+
* holding the image data of the specified asset.
|
84
86
|
*
|
85
87
|
* Since: 2.0
|
86
88
|
*/
|
@@ -107,7 +109,7 @@ cogl_android_bitmap_new_from_asset (CoglContext *context,
|
|
107
109
|
* Wraps some image data that has been uploaded into a #CoglBuffer as
|
108
110
|
* a #CoglBitmap. The data is not copied in this process.
|
109
111
|
*
|
110
|
-
* Return value: a #CoglBitmap encapsulating the given @buffer.
|
112
|
+
* Return value: (transfer full): a #CoglBitmap encapsulating the given @buffer.
|
111
113
|
*
|
112
114
|
* Since: 1.8
|
113
115
|
* Stability: unstable
|
@@ -143,8 +145,8 @@ cogl_bitmap_new_from_buffer (CoglBuffer *buffer,
|
|
143
145
|
* writing into it. The stride can be retrieved with
|
144
146
|
* cogl_bitmap_get_rowstride().</note>
|
145
147
|
*
|
146
|
-
* Return value: a #CoglPixelBuffer representing the
|
147
|
-
* %NULL on failure
|
148
|
+
* Return value: (transfer full): a #CoglPixelBuffer representing the
|
149
|
+
* newly created array or %NULL on failure
|
148
150
|
*
|
149
151
|
* Since: 1.10
|
150
152
|
* Stability: Unstable
|
@@ -171,7 +173,7 @@ cogl_bitmap_new_with_size (CoglContext *context,
|
|
171
173
|
* cogl_framebuffer_read_pixels_into_bitmap() to read data directly
|
172
174
|
* into an application buffer with the specified rowstride.
|
173
175
|
*
|
174
|
-
* Return value: A new #CoglBitmap.
|
176
|
+
* Return value: (transfer full): A new #CoglBitmap.
|
175
177
|
* Since: 1.10
|
176
178
|
* Stability: unstable
|
177
179
|
*/
|
@@ -233,8 +235,8 @@ cogl_bitmap_get_rowstride (CoglBitmap *bitmap);
|
|
233
235
|
* cogl_bitmap_get_buffer:
|
234
236
|
* @bitmap: A #CoglBitmap
|
235
237
|
*
|
236
|
-
* Return value: the #CoglPixelBuffer that this
|
237
|
-
* storage. Note that if the bitmap was created with
|
238
|
+
* Return value: (transfer none): the #CoglPixelBuffer that this
|
239
|
+
* buffer uses for storage. Note that if the bitmap was created with
|
238
240
|
* cogl_bitmap_new_from_file() then it will not actually be using a
|
239
241
|
* pixel buffer and this function will return %NULL.
|
240
242
|
* Stability: unstable
|