clutter 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
@@ -72,8 +72,8 @@ typedef struct _CoglSubTexture CoglSubTexture;
|
|
72
72
|
* #CoglMetaTexture interface to resolve a #CoglSubTexture into a
|
73
73
|
* low-level texture before drawing.</note>
|
74
74
|
*
|
75
|
-
*
|
76
|
-
* sub-region of @parent_texture.
|
75
|
+
* Return value: (transfer full): A newly allocated #CoglSubTexture
|
76
|
+
* representing a sub-region of @parent_texture.
|
77
77
|
*
|
78
78
|
* Since: 1.10
|
79
79
|
* Stability: unstable
|
@@ -42,7 +42,7 @@ COGL_BEGIN_DECLS
|
|
42
42
|
* @gl_handle: A GL handle for a GL_TEXTURE_2D texture object
|
43
43
|
* @width: Width of the foreign GL texture
|
44
44
|
* @height: Height of the foreign GL texture
|
45
|
-
* @
|
45
|
+
* @format: The format of the texture
|
46
46
|
* @error: A #CoglError for exceptions
|
47
47
|
*
|
48
48
|
* Wraps an existing GL_TEXTURE_2D texture object as a #CoglTexture2D.
|
@@ -53,10 +53,10 @@ COGL_BEGIN_DECLS
|
|
53
53
|
* or if @width or @height don't have the correct texture
|
54
54
|
* geometry.</note>
|
55
55
|
*
|
56
|
-
*
|
57
|
-
* validate the @gl_handle in some way
|
58
|
-
* an unsupported format) it will return
|
59
|
-
* @error.
|
56
|
+
* Return value: (transfer full): A newly allocated #CoglTexture2D, or
|
57
|
+
* if Cogl could not validate the @gl_handle in some way
|
58
|
+
* (perhaps because of an unsupported format) it will return
|
59
|
+
* %NULL and set @error.
|
60
60
|
*
|
61
61
|
* Since: 2.0
|
62
62
|
*/
|
@@ -100,7 +100,7 @@ typedef struct _CoglTexture2DSliced CoglTexture2DSliced;
|
|
100
100
|
* is larger than is supported by the hardware but slicing is disabled
|
101
101
|
* the texture size would be too large to handle.</note>
|
102
102
|
*
|
103
|
-
* Returns: A new #CoglTexture2DSliced object with no storage
|
103
|
+
* Returns: (transfer full): A new #CoglTexture2DSliced object with no storage
|
104
104
|
* allocated yet.
|
105
105
|
*
|
106
106
|
* Since: 1.10
|
@@ -113,6 +113,172 @@ cogl_texture_2d_sliced_new_with_size (CoglContext *ctx,
|
|
113
113
|
int max_waste,
|
114
114
|
CoglPixelFormat internal_format);
|
115
115
|
|
116
|
+
/**
|
117
|
+
* cogl_texture_2d_sliced_new_from_file:
|
118
|
+
* @ctx: A #CoglContext
|
119
|
+
* @filename: the file to load
|
120
|
+
* @max_waste: The threshold of how wide a strip of wasted texels
|
121
|
+
* are allowed along the right and bottom textures before
|
122
|
+
* they must be sliced to reduce the amount of waste. A
|
123
|
+
* negative can be passed to disable slicing.
|
124
|
+
* @internal_format: the #CoglPixelFormat to use for the GPU storage of the
|
125
|
+
* texture. If %COGL_PIXEL_FORMAT_ANY is given then a premultiplied
|
126
|
+
* format similar to the format of the source data will be used. The
|
127
|
+
* default blending equations of Cogl expect premultiplied color data;
|
128
|
+
* the main use of passing a non-premultiplied format here is if you
|
129
|
+
* have non-premultiplied source data and are going to adjust the blend
|
130
|
+
* mode (see cogl_material_set_blend()) or use the data for something
|
131
|
+
* other than straight blending.
|
132
|
+
* @error: A #CoglError to catch exceptional errors or %NULL
|
133
|
+
*
|
134
|
+
* Creates a #CoglTexture2DSliced from an image file.
|
135
|
+
*
|
136
|
+
* A #CoglTexture2DSliced may internally be comprised of 1 or more
|
137
|
+
* #CoglTexture2D textures depending on GPU limitations. For example
|
138
|
+
* if the GPU only supports power-of-two sized textures then a sliced
|
139
|
+
* texture will turn a non-power-of-two size into a combination of
|
140
|
+
* smaller power-of-two sized textures. If the requested texture size
|
141
|
+
* is larger than is supported by the hardware then the texture will
|
142
|
+
* be sliced into smaller textures that can be accessed by the
|
143
|
+
* hardware.
|
144
|
+
*
|
145
|
+
* @max_waste is used as a threshold for recursively slicing the
|
146
|
+
* right-most or bottom-most slices into smaller sizes until the
|
147
|
+
* wasted padding at the bottom and right of the textures is less than
|
148
|
+
* specified. A negative @max_waste will disable slicing.
|
149
|
+
*
|
150
|
+
* <note>It's possible for the allocation of a sliced texture to fail
|
151
|
+
* later due to impossible slicing constraints if a negative
|
152
|
+
* @max_waste value is given. If the given virtual texture size is
|
153
|
+
* larger than is supported by the hardware but slicing is disabled
|
154
|
+
* the texture size would be too large to handle.</note>
|
155
|
+
*
|
156
|
+
* Return value: (transfer full): A newly created #CoglTexture2DSliced
|
157
|
+
* or %NULL on failure and @error will be updated.
|
158
|
+
*
|
159
|
+
* Since: 1.16
|
160
|
+
*/
|
161
|
+
CoglTexture2DSliced *
|
162
|
+
cogl_texture_2d_sliced_new_from_file (CoglContext *ctx,
|
163
|
+
const char *filename,
|
164
|
+
int max_waste,
|
165
|
+
CoglPixelFormat internal_format,
|
166
|
+
CoglError **error);
|
167
|
+
|
168
|
+
/**
|
169
|
+
* cogl_texture_2d_sliced_new_from_data:
|
170
|
+
* @ctx: A #CoglContext
|
171
|
+
* @width: width of texture in pixels
|
172
|
+
* @height: height of texture in pixels
|
173
|
+
* @format: the #CoglPixelFormat the buffer is stored in in RAM
|
174
|
+
* @max_waste: The threshold of how wide a strip of wasted texels
|
175
|
+
* are allowed along the right and bottom textures before
|
176
|
+
* they must be sliced to reduce the amount of waste. A
|
177
|
+
* negative can be passed to disable slicing.
|
178
|
+
* @internal_format: the #CoglPixelFormat to use for the GPU storage of the
|
179
|
+
* texture. If %COGL_PIXEL_FORMAT_ANY is given then a premultiplied
|
180
|
+
* format similar to the format of the source data will be used. The
|
181
|
+
* default blending equations of Cogl expect premultiplied color data;
|
182
|
+
* the main use of passing a non-premultiplied format here is if you
|
183
|
+
* have non-premultiplied source data and are going to adjust the blend
|
184
|
+
* mode (see cogl_material_set_blend()) or use the data for something
|
185
|
+
* other than straight blending.
|
186
|
+
* @rowstride: the memory offset in bytes between the start of each
|
187
|
+
* row in @data. A value of 0 will make Cogl automatically
|
188
|
+
* calculate @rowstride from @width and @format.
|
189
|
+
* @data: pointer the memory region where the source buffer resides
|
190
|
+
* @error: A #CoglError to catch exceptional errors or %NULL
|
191
|
+
*
|
192
|
+
* Creates a new #CoglTexture2DSliced texture based on data residing
|
193
|
+
* in memory.
|
194
|
+
*
|
195
|
+
* A #CoglTexture2DSliced may internally be comprised of 1 or more
|
196
|
+
* #CoglTexture2D textures depending on GPU limitations. For example
|
197
|
+
* if the GPU only supports power-of-two sized textures then a sliced
|
198
|
+
* texture will turn a non-power-of-two size into a combination of
|
199
|
+
* smaller power-of-two sized textures. If the requested texture size
|
200
|
+
* is larger than is supported by the hardware then the texture will
|
201
|
+
* be sliced into smaller textures that can be accessed by the
|
202
|
+
* hardware.
|
203
|
+
*
|
204
|
+
* @max_waste is used as a threshold for recursively slicing the
|
205
|
+
* right-most or bottom-most slices into smaller sizes until the
|
206
|
+
* wasted padding at the bottom and right of the textures is less than
|
207
|
+
* specified. A negative @max_waste will disable slicing.
|
208
|
+
*
|
209
|
+
* <note>It's possible for the allocation of a sliced texture to fail
|
210
|
+
* later due to impossible slicing constraints if a negative
|
211
|
+
* @max_waste value is given. If the given virtual texture size is
|
212
|
+
* larger than is supported by the hardware but slicing is disabled
|
213
|
+
* the texture size would be too large to handle.</note>
|
214
|
+
*
|
215
|
+
* Return value: (transfer full): A newly created #CoglTexture2DSliced
|
216
|
+
* or %NULL on failure and @error will be updated.
|
217
|
+
*
|
218
|
+
* Since: 1.16
|
219
|
+
*/
|
220
|
+
CoglTexture2DSliced *
|
221
|
+
cogl_texture_2d_sliced_new_from_data (CoglContext *ctx,
|
222
|
+
int width,
|
223
|
+
int height,
|
224
|
+
int max_waste,
|
225
|
+
CoglPixelFormat format,
|
226
|
+
CoglPixelFormat internal_format,
|
227
|
+
int rowstride,
|
228
|
+
const uint8_t *data,
|
229
|
+
CoglError **error);
|
230
|
+
|
231
|
+
/**
|
232
|
+
* cogl_texture_2d_sliced_new_from_bitmap:
|
233
|
+
* @bmp: A #CoglBitmap
|
234
|
+
* @max_waste: The threshold of how wide a strip of wasted texels
|
235
|
+
* are allowed along the right and bottom textures before
|
236
|
+
* they must be sliced to reduce the amount of waste. A
|
237
|
+
* negative can be passed to disable slicing.
|
238
|
+
* @internal_format: the #CoglPixelFormat to use for the GPU storage of the
|
239
|
+
* texture. If %COGL_PIXEL_FORMAT_ANY is given then a premultiplied
|
240
|
+
* format similar to the format of the source data will be used. The
|
241
|
+
* default blending equations of Cogl expect premultiplied color data;
|
242
|
+
* the main use of passing a non-premultiplied format here is if you
|
243
|
+
* have non-premultiplied source data and are going to adjust the blend
|
244
|
+
* mode (see cogl_material_set_blend()) or use the data for something
|
245
|
+
* other than straight blending.
|
246
|
+
* @error: A #CoglError to catch exceptional errors or %NULL
|
247
|
+
*
|
248
|
+
* Creates a new #CoglTexture2DSliced texture based on data residing
|
249
|
+
* in a bitmap.
|
250
|
+
*
|
251
|
+
* A #CoglTexture2DSliced may internally be comprised of 1 or more
|
252
|
+
* #CoglTexture2D textures depending on GPU limitations. For example
|
253
|
+
* if the GPU only supports power-of-two sized textures then a sliced
|
254
|
+
* texture will turn a non-power-of-two size into a combination of
|
255
|
+
* smaller power-of-two sized textures. If the requested texture size
|
256
|
+
* is larger than is supported by the hardware then the texture will
|
257
|
+
* be sliced into smaller textures that can be accessed by the
|
258
|
+
* hardware.
|
259
|
+
*
|
260
|
+
* @max_waste is used as a threshold for recursively slicing the
|
261
|
+
* right-most or bottom-most slices into smaller sizes until the
|
262
|
+
* wasted padding at the bottom and right of the textures is less than
|
263
|
+
* specified. A negative @max_waste will disable slicing.
|
264
|
+
*
|
265
|
+
* <note>It's possible for the allocation of a sliced texture to fail
|
266
|
+
* later due to impossible slicing constraints if a negative
|
267
|
+
* @max_waste value is given. If the given virtual texture size is
|
268
|
+
* larger than is supported by the hardware but slicing is disabled
|
269
|
+
* the texture size would be too large to handle.</note>
|
270
|
+
*
|
271
|
+
* Return value: (transfer full): A newly created #CoglTexture2DSliced
|
272
|
+
* or %NULL on failure and @error will be updated.
|
273
|
+
*
|
274
|
+
* Since: 1.16
|
275
|
+
*/
|
276
|
+
CoglTexture2DSliced *
|
277
|
+
cogl_texture_2d_sliced_new_from_bitmap (CoglBitmap *bmp,
|
278
|
+
int max_waste,
|
279
|
+
CoglPixelFormat internal_format,
|
280
|
+
CoglError **error);
|
281
|
+
|
116
282
|
/**
|
117
283
|
* cogl_is_texture_2d_sliced:
|
118
284
|
* @object: A #CoglObject pointer
|
@@ -92,7 +92,7 @@ cogl_is_texture_2d (void *object);
|
|
92
92
|
* checking for the %COGL_FEATURE_ID_TEXTURE_NPOT feature via
|
93
93
|
* cogl_has_feature().</note>
|
94
94
|
*
|
95
|
-
* Returns: A new #CoglTexture2D object with no storage yet allocated.
|
95
|
+
* Returns: (transfer full): A new #CoglTexture2D object with no storage yet allocated.
|
96
96
|
*
|
97
97
|
* Since: 2.0
|
98
98
|
*/
|
@@ -102,6 +102,33 @@ cogl_texture_2d_new_with_size (CoglContext *ctx,
|
|
102
102
|
int height,
|
103
103
|
CoglPixelFormat internal_format);
|
104
104
|
|
105
|
+
/**
|
106
|
+
* cogl_texture_2d_new_from_file:
|
107
|
+
* @ctx: A #CoglContext
|
108
|
+
* @filename: the file to load
|
109
|
+
* @internal_format: the #CoglPixelFormat to use for the GPU storage of the
|
110
|
+
* texture. If %COGL_PIXEL_FORMAT_ANY is given then a premultiplied
|
111
|
+
* format similar to the format of the source data will be used. The
|
112
|
+
* default blending equations of Cogl expect premultiplied color data;
|
113
|
+
* the main use of passing a non-premultiplied format here is if you
|
114
|
+
* have non-premultiplied source data and are going to adjust the blend
|
115
|
+
* mode (see cogl_material_set_blend()) or use the data for something
|
116
|
+
* other than straight blending.
|
117
|
+
* @error: A #CoglError to catch exceptional errors or %NULL
|
118
|
+
*
|
119
|
+
* Creates a #CoglTexture2D from an image file.
|
120
|
+
*
|
121
|
+
* Return value: (transfer full): A newly created #CoglTexture2D or %NULL on failure
|
122
|
+
* and @error will be updated.
|
123
|
+
*
|
124
|
+
* Since: 1.16
|
125
|
+
*/
|
126
|
+
CoglTexture2D *
|
127
|
+
cogl_texture_2d_new_from_file (CoglContext *ctx,
|
128
|
+
const char *filename,
|
129
|
+
CoglPixelFormat internal_format,
|
130
|
+
CoglError **error);
|
131
|
+
|
105
132
|
/**
|
106
133
|
* cogl_texture_2d_new_from_data:
|
107
134
|
* @ctx: A #CoglContext
|
@@ -132,10 +159,10 @@ cogl_texture_2d_new_with_size (CoglContext *ctx,
|
|
132
159
|
* checking for the %COGL_FEATURE_ID_TEXTURE_NPOT feature via
|
133
160
|
* cogl_has_feature().</note>
|
134
161
|
*
|
135
|
-
* Returns: A newly allocated #CoglTexture2D, or if
|
136
|
-
* supported (because it is too large or a
|
137
|
-
* size that the hardware doesn't support)
|
138
|
-
* %NULL and set @error.
|
162
|
+
* Returns: (transfer full): A newly allocated #CoglTexture2D, or if
|
163
|
+
* the size is not supported (because it is too large or a
|
164
|
+
* non-power-of-two size that the hardware doesn't support)
|
165
|
+
* it will return %NULL and set @error.
|
139
166
|
*
|
140
167
|
* Since: 2.0
|
141
168
|
*/
|
@@ -173,10 +200,10 @@ cogl_texture_2d_new_from_data (CoglContext *ctx,
|
|
173
200
|
* checking for the %COGL_FEATURE_ID_TEXTURE_NPOT feature via
|
174
201
|
* cogl_has_feature().</note>
|
175
202
|
*
|
176
|
-
* Returns: A newly allocated #CoglTexture2D, or if
|
177
|
-
* supported (because it is too large or a
|
178
|
-
* size that the hardware doesn't support)
|
179
|
-
* %NULL and set @error.
|
203
|
+
* Returns: (transfer full): A newly allocated #CoglTexture2D, or if
|
204
|
+
* the size is not supported (because it is too large or a
|
205
|
+
* non-power-of-two size that the hardware doesn't support)
|
206
|
+
* it will return %NULL and set @error.
|
180
207
|
*
|
181
208
|
* Since: 2.0
|
182
209
|
* Stability: unstable
|
@@ -71,7 +71,7 @@ typedef struct _CoglTexture3D CoglTexture3D;
|
|
71
71
|
* fail if the requested dimensions are not supported by the
|
72
72
|
* GPU.</note>
|
73
73
|
*
|
74
|
-
* Returns: A new #CoglTexture3D object with no storage yet allocated.
|
74
|
+
* Returns: (transfer full): A new #CoglTexture3D object with no storage yet allocated.
|
75
75
|
* Since: 1.10
|
76
76
|
* Stability: Unstable
|
77
77
|
*/
|
@@ -115,9 +115,9 @@ cogl_texture_3d_new_with_size (CoglContext *context,
|
|
115
115
|
* %COGL_FEATURE_ID_TEXTURE_3D is not advertised. It can also fail if the
|
116
116
|
* requested dimensions are not supported by the GPU.
|
117
117
|
*
|
118
|
-
* Return value: the newly created #CoglTexture3D or
|
119
|
-
* there was an error an an exception will be
|
120
|
-
* through @error.
|
118
|
+
* Return value: (transfer full): the newly created #CoglTexture3D or
|
119
|
+
* %NULL if there was an error an an exception will be
|
120
|
+
* returned through @error.
|
121
121
|
* Since: 1.10
|
122
122
|
* Stability: Unstable
|
123
123
|
*/
|
@@ -155,8 +155,8 @@ cogl_texture_3d_new_from_data (CoglContext *context,
|
|
155
155
|
* actual height of the bitmap can be larger than @height × @depth. In
|
156
156
|
* this case it assumes there is padding between the images.
|
157
157
|
*
|
158
|
-
* Return value: the newly created texture or %NULL
|
159
|
-
* there was an error.
|
158
|
+
* Return value: (transfer full): the newly created texture or %NULL
|
159
|
+
* if there was an error.
|
160
160
|
* Since: 2.0
|
161
161
|
* Stability: unstable
|
162
162
|
*/
|
@@ -102,9 +102,10 @@ cogl_is_texture_rectangle (void *object);
|
|
102
102
|
* first check for the %COGL_FEATURE_ID_TEXTURE_RECTANGLE feature
|
103
103
|
* using cogl_has_feature().</note>
|
104
104
|
*
|
105
|
-
*
|
106
|
-
* or if the size was too large
|
107
|
-
* %NULL is returned and @error
|
105
|
+
* Return value: (transfer full): A pointer to a newly allocated
|
106
|
+
* #CoglTextureRectangle texture or if the size was too large
|
107
|
+
* or there wasn't enough memory %NULL is returned and @error
|
108
|
+
* set.
|
108
109
|
*
|
109
110
|
* Since: 1.10
|
110
111
|
* Stability: unstable
|
@@ -143,9 +144,10 @@ cogl_texture_rectangle_new_with_size (CoglContext *ctx,
|
|
143
144
|
* first check for the %COGL_FEATURE_ID_TEXTURE_RECTANGLE feature
|
144
145
|
* using cogl_has_feature().</note>
|
145
146
|
*
|
146
|
-
*
|
147
|
-
* or if the size was too large
|
148
|
-
* %NULL is returned and @error
|
147
|
+
* Return value: (transfer full): A pointer to a newly allocated
|
148
|
+
* #CoglTextureRectangle texture or if the size was too large
|
149
|
+
* or there wasn't enough memory %NULL is returned and @error
|
150
|
+
* set.
|
149
151
|
* Since: 2.0
|
150
152
|
* Stability: unstable
|
151
153
|
*/
|
@@ -160,7 +162,7 @@ cogl_texture_rectangle_new_from_bitmap (CoglBitmap *bitmap,
|
|
160
162
|
* @gl_handle: A GL handle for a GL_TEXTURE_RECTANGLE texture object
|
161
163
|
* @width: Width of the foreign GL texture
|
162
164
|
* @height: Height of the foreign GL texture
|
163
|
-
* @
|
165
|
+
* @format: The format of the texture
|
164
166
|
* @error: A #CoglError for exceptions
|
165
167
|
*
|
166
168
|
* Wraps an existing GL_TEXTURE_RECTANGLE texture object as a
|
@@ -184,12 +186,11 @@ cogl_texture_rectangle_new_from_bitmap (CoglBitmap *bitmap,
|
|
184
186
|
* first check for the %COGL_FEATURE_ID_TEXTURE_RECTANGLE feature
|
185
187
|
* using cogl_has_feature().</note>
|
186
188
|
|
187
|
-
*
|
188
|
-
*
|
189
|
-
*
|
190
|
-
* @error.
|
189
|
+
* Return value: (transfer full): A newly allocated
|
190
|
+
* #CoglTextureRectangle, or if Cogl could not validate the
|
191
|
+
* @gl_handle in some way (perhaps because of an unsupported
|
192
|
+
* format) it will return %NULL and set @error.
|
191
193
|
*
|
192
|
-
|
193
194
|
*/
|
194
195
|
CoglTextureRectangle *
|
195
196
|
cogl_texture_rectangle_new_from_foreign (CoglContext *ctx,
|
@@ -112,14 +112,7 @@ uint32_t cogl_texture_error_quark (void);
|
|
112
112
|
*
|
113
113
|
* Creates a new #CoglTexture with the specified dimensions and pixel format.
|
114
114
|
*
|
115
|
-
*
|
116
|
-
* function returns. The storage can be explicitly allocated using
|
117
|
-
* cogl_texture_allocate() or preferably you can let Cogl
|
118
|
-
* automatically allocate the storage lazily when uploading data when
|
119
|
-
* Cogl may know more about how the texture will be used and can
|
120
|
-
* optimize how it is allocated.
|
121
|
-
*
|
122
|
-
* Return value: A newly created #CoglTexture
|
115
|
+
* Return value: (transfer full): A newly created #CoglTexture or %NULL on failure
|
123
116
|
*
|
124
117
|
* Since: 0.8
|
125
118
|
*/
|
@@ -145,7 +138,8 @@ cogl_texture_new_with_size (unsigned int width,
|
|
145
138
|
*
|
146
139
|
* Creates a #CoglTexture from an image file.
|
147
140
|
*
|
148
|
-
* Return value: A newly created #CoglTexture or
|
141
|
+
* Return value: (transfer full): A newly created #CoglTexture or
|
142
|
+
* %NULL on failure
|
149
143
|
*
|
150
144
|
* Since: 0.8
|
151
145
|
*/
|
@@ -175,7 +169,8 @@ cogl_texture_new_from_file (const char *filename,
|
|
175
169
|
*
|
176
170
|
* Creates a new #CoglTexture based on data residing in memory.
|
177
171
|
*
|
178
|
-
* Return value: A newly created #CoglTexture or
|
172
|
+
* Return value: (transfer full): A newly created #CoglTexture or
|
173
|
+
* %NULL on failure
|
179
174
|
*
|
180
175
|
* Since: 0.8
|
181
176
|
*/
|
@@ -209,7 +204,8 @@ cogl_texture_new_from_data (int width,
|
|
209
204
|
* the waste arguments to tell Cogl which region should be mapped to
|
210
205
|
* the texture coordinate range [0:1].
|
211
206
|
*
|
212
|
-
* Return value: A newly created #CoglTexture or
|
207
|
+
* Return value: (transfer full): A newly created #CoglTexture or
|
208
|
+
* %NULL on failure
|
213
209
|
*
|
214
210
|
* Since: 0.8
|
215
211
|
*/
|
@@ -231,7 +227,8 @@ cogl_texture_new_from_foreign (unsigned int gl_handle,
|
|
231
227
|
*
|
232
228
|
* Creates a #CoglTexture from a #CoglBitmap.
|
233
229
|
*
|
234
|
-
* Return value: A newly created #CoglTexture or
|
230
|
+
* Return value: (transfer full): A newly created #CoglTexture or
|
231
|
+
* %NULL on failure
|
235
232
|
*
|
236
233
|
* Since: 1.0
|
237
234
|
*/
|
@@ -314,6 +311,7 @@ cogl_texture_get_format (CoglTexture *texture);
|
|
314
311
|
* also no known need for API either. It was just
|
315
312
|
* a mistake that it was ever published.
|
316
313
|
*/
|
314
|
+
COGL_DEPRECATED_IN_1_10
|
317
315
|
unsigned int
|
318
316
|
cogl_texture_get_rowstride (CoglTexture *texture);
|
319
317
|
|
@@ -546,7 +544,8 @@ cogl_texture_set_region_from_bitmap (CoglTexture *texture,
|
|
546
544
|
* not need to keep one separately if you only want to use the sub
|
547
545
|
* texture.
|
548
546
|
*
|
549
|
-
* Return value: A newly created #CoglTexture or
|
547
|
+
* Return value: (transfer full): A newly created #CoglTexture or
|
548
|
+
* %NULL on failure
|
550
549
|
* Since: 1.2
|
551
550
|
*/
|
552
551
|
CoglTexture *
|
@@ -556,10 +555,8 @@ cogl_texture_new_from_sub_texture (CoglTexture *full_texture,
|
|
556
555
|
int sub_width,
|
557
556
|
int sub_height);
|
558
557
|
|
559
|
-
#ifndef COGL_DISABLE_DEPRECATED
|
560
|
-
|
561
558
|
/**
|
562
|
-
* cogl_texture_ref:
|
559
|
+
* cogl_texture_ref: (skip)
|
563
560
|
* @texture: a #CoglTexture.
|
564
561
|
*
|
565
562
|
* Increment the reference count for a cogl texture.
|
@@ -568,21 +565,21 @@ cogl_texture_new_from_sub_texture (CoglTexture *full_texture,
|
|
568
565
|
*
|
569
566
|
* Return value: the @texture pointer.
|
570
567
|
*/
|
568
|
+
COGL_DEPRECATED_FOR (cogl_object_ref)
|
571
569
|
void *
|
572
|
-
cogl_texture_ref (void *texture)
|
570
|
+
cogl_texture_ref (void *texture);
|
573
571
|
|
574
572
|
/**
|
575
|
-
* cogl_texture_unref:
|
573
|
+
* cogl_texture_unref: (skip)
|
576
574
|
* @texture: a #CoglTexture.
|
577
575
|
*
|
578
576
|
* Decrement the reference count for a cogl texture.
|
579
577
|
*
|
580
578
|
* Deprecated: 1.2: Use cogl_object_unref() instead
|
581
579
|
*/
|
580
|
+
COGL_DEPRECATED_FOR (cogl_object_unref)
|
582
581
|
void
|
583
|
-
cogl_texture_unref (void *texture)
|
584
|
-
|
585
|
-
#endif /* COGL_DISABLE_DEPRECATED */
|
582
|
+
cogl_texture_unref (void *texture);
|
586
583
|
|
587
584
|
/**
|
588
585
|
* cogl_texture_allocate:
|