clutter 2.2.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +147 -0
- data/lib/clutter.rb +169 -0
- data/lib/clutter/actor-iter.rb +33 -0
- data/lib/clutter/actor.rb +34 -0
- data/lib/clutter/animatable.rb +26 -0
- data/lib/clutter/brightness-contrast-effect.rb +44 -0
- data/lib/clutter/cairo.rb +24 -0
- data/lib/clutter/clutter.rb +25 -0
- data/lib/clutter/color.rb +83 -0
- data/lib/clutter/event.rb +21 -0
- data/lib/clutter/point.rb +25 -0
- data/lib/clutter/text-buffer.rb +36 -0
- data/lib/clutter/text.rb +23 -0
- data/lib/clutter/threads.rb +38 -0
- data/sample/basic-actor.rb +123 -0
- data/sample/bin-layout.rb +213 -0
- data/sample/box-layout.rb +194 -0
- data/sample/canvas.rb +115 -0
- data/sample/constraints.rb +79 -0
- data/sample/drag-action.rb +175 -0
- data/sample/drop-action.rb +196 -0
- data/sample/easing-modes.rb +141 -0
- data/sample/flow-layout.rb +119 -0
- data/sample/grid-layout.rb +237 -0
- data/sample/image-content.rb +86 -0
- data/sample/pan-action.rb +98 -0
- data/sample/redhand.png +0 -0
- data/sample/rounded-rectangle.rb +88 -0
- data/sample/scroll-actor.rb +103 -0
- data/test/clutter-test-utils.rb +38 -0
- data/test/run-test.rb +59 -0
- data/test/test-clutter-actor.rb +242 -0
- data/test/test-clutter-blur-effect.rb +27 -0
- data/test/test-clutter-brightness-contrast-effect.rb +56 -0
- data/test/test-clutter-canvas.rb +43 -0
- data/test/test-clutter-color.rb +50 -0
- data/test/test-clutter-colorize-effect.rb +31 -0
- data/test/test-clutter-desaturate-effect.rb +30 -0
- data/test/test-clutter-feature.rb +34 -0
- data/test/test-clutter-flow-layout.rb +83 -0
- data/test/test-clutter-page-turn-effect.rb +46 -0
- data/test/test-clutter-property-transiton.rb +30 -0
- data/test/test-clutter-shader-effect.rb +65 -0
- data/test/test-clutter-text-buffer.rb +72 -0
- data/test/test-clutter-timeline.rb +59 -0
- data/vendor/local/bin/json-glib-format.exe +0 -0
- data/vendor/local/bin/json-glib-validate.exe +0 -0
- data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
- data/vendor/local/bin/libcogl-20.dll +0 -0
- data/vendor/local/bin/libcogl-pango-20.dll +0 -0
- data/vendor/local/bin/libcogl-path-20.dll +0 -0
- data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
- data/vendor/local/include/clutter-1.0/cally/cally-actor.h +160 -0
- data/vendor/local/include/clutter-1.0/cally/cally-clone.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-factory.h +117 -0
- data/vendor/local/include/clutter-1.0/cally/cally-group.h +87 -0
- data/vendor/local/include/clutter-1.0/cally/cally-main.h +44 -0
- data/vendor/local/include/clutter-1.0/cally/cally-rectangle.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-root.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-stage.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-text.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-texture.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-util.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-action.h +111 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor-meta.h +119 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +836 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-align-constraint.h +77 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-animatable.h +121 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +83 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-bin-layout.h +86 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-bind-constraint.h +77 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-binding-pool.h +135 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-blur-effect.h +59 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-box-layout.h +168 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-brightness-contrast-effect.h +88 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-cairo.h +61 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +106 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-child-meta.h +122 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-click-action.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-clone.h +94 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-cogl-compat.h +52 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-color-static.h +79 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-color.h +200 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-colorize-effect.h +67 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-config.h +19 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-constraint.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-container.h +196 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-content.h +103 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-deform-effect.h +117 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-deprecated.h +44 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-desaturate-effect.h +65 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +110 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-drag-action.h +152 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-drop-action.h +115 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-effect.h +130 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +190 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-enums.h +1385 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +588 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-feature.h +42 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-fixed-layout.h +82 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +129 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-gesture-action.h +179 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-grid-layout.h +161 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-group.h +96 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-image.h +141 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-input-device.h +140 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-interval.h +159 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-keyframe-transition.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-keysyms.h +2304 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-manager.h +227 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-meta.h +103 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-list-model.h +91 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +327 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-main.h +184 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-marshal.h +273 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-model.h +422 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +122 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-page-turn-effect.h +80 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-paint-node.h +102 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-paint-nodes.h +150 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-pan-action.h +147 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-path-constraint.h +72 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-path.h +181 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-property-transition.h +91 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-rotate-action.h +100 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-script.h +220 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scriptable.h +112 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scroll-actor.h +97 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-settings.h +27 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-effect.h +121 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-types.h +104 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-snap-constraint.h +81 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage-manager.h +86 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +250 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-swipe-action.h +109 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-tap-action.h +102 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-test-utils.h +164 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-text-buffer.h +172 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-text.h +307 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-texture.h +130 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-timeline.h +226 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition-group.h +91 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition.h +132 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-types.h +773 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-units.h +184 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +329 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-zoom-action.h +114 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter.h +117 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-actor.h +161 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-alpha.h +144 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animatable.h +47 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animation.h +206 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animator.h +186 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-backend.h +64 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-depth.h +101 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-ellipse.h +159 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-opacity.h +115 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-path.h +135 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-rotate.h +119 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-scale.h +107 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour.h +170 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-bin-layout.h +56 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-box.h +143 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-cairo-texture.h +139 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-container.h +93 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-fixed.h +98 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-frame-source.h +49 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-group.h +62 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-input-device.h +41 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-keysyms.h +2306 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-main.h +96 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-media.h +121 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-rectangle.h +117 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-score.h +144 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-shader.h +182 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-stage-manager.h +42 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-stage.h +102 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-state.h +187 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-table-layout.h +172 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-texture.h +138 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeline.h +41 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeout-pool.h +69 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-util.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/win32/clutter-win32.h +63 -0
- data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +298 -0
- data/vendor/local/include/cogl/cogl-path/cogl-path-enum-types.h +20 -0
- data/vendor/local/include/cogl/cogl-path/cogl-path-types.h +85 -0
- data/vendor/local/include/cogl/cogl-path/cogl-path.h +68 -0
- data/vendor/local/include/cogl/cogl-path/cogl1-path-functions.h +467 -0
- data/vendor/local/include/cogl/cogl-path/cogl2-path-functions.h +545 -0
- data/vendor/local/include/cogl/cogl/cogl-atlas-texture.h +258 -0
- data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +152 -0
- data/vendor/local/include/cogl/cogl/cogl-attribute.h +558 -0
- data/vendor/local/include/cogl/cogl/cogl-auto-texture.h +221 -0
- data/vendor/local/include/cogl/cogl/cogl-bitmap.h +336 -0
- data/vendor/local/include/cogl/cogl/cogl-buffer.h +324 -0
- data/vendor/local/include/cogl/cogl/cogl-clip-state.h +266 -0
- data/vendor/local/include/cogl/cogl/cogl-clutter.h +54 -0
- data/vendor/local/include/cogl/cogl/cogl-color.h +604 -0
- data/vendor/local/include/cogl/cogl/cogl-context.h +401 -0
- data/vendor/local/include/cogl/cogl/cogl-defines.h +58 -0
- data/vendor/local/include/cogl/cogl/cogl-deprecated.h +43 -0
- data/vendor/local/include/cogl/cogl/cogl-depth-state.h +270 -0
- data/vendor/local/include/cogl/cogl/cogl-display.h +234 -0
- data/vendor/local/include/cogl/cogl/cogl-enum-types.h +99 -0
- data/vendor/local/include/cogl/cogl/cogl-error.h +185 -0
- data/vendor/local/include/cogl/cogl/cogl-euler.h +269 -0
- data/vendor/local/include/cogl/cogl/cogl-fence.h +143 -0
- data/vendor/local/include/cogl/cogl/cogl-fixed.h +811 -0
- data/vendor/local/include/cogl/cogl/cogl-frame-info.h +148 -0
- data/vendor/local/include/cogl/cogl/cogl-framebuffer-deprecated.h +264 -0
- data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +1818 -0
- data/vendor/local/include/cogl/cogl/cogl-gles2-types.h +474 -0
- data/vendor/local/include/cogl/cogl/cogl-gles2.h +420 -0
- data/vendor/local/include/cogl/cogl/cogl-glib-source.h +97 -0
- data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +107 -0
- data/vendor/local/include/cogl/cogl/cogl-indices.h +165 -0
- data/vendor/local/include/cogl/cogl/cogl-macros.h +273 -0
- data/vendor/local/include/cogl/cogl/cogl-material-compat.h +1391 -0
- data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +645 -0
- data/vendor/local/include/cogl/cogl/cogl-matrix.h +821 -0
- data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +194 -0
- data/vendor/local/include/cogl/cogl/cogl-object.h +251 -0
- data/vendor/local/include/cogl/cogl/cogl-offscreen.h +172 -0
- data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +125 -0
- data/vendor/local/include/cogl/cogl/cogl-onscreen.h +1012 -0
- data/vendor/local/include/cogl/cogl/cogl-output.h +261 -0
- data/vendor/local/include/cogl/cogl/cogl-pango.h +40 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +620 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +980 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline.h +194 -0
- data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +138 -0
- data/vendor/local/include/cogl/cogl/cogl-poll.h +200 -0
- data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +111 -0
- data/vendor/local/include/cogl/cogl/cogl-primitive.h +942 -0
- data/vendor/local/include/cogl/cogl/cogl-primitives.h +197 -0
- data/vendor/local/include/cogl/cogl/cogl-quaternion.h +564 -0
- data/vendor/local/include/cogl/cogl/cogl-renderer.h +446 -0
- data/vendor/local/include/cogl/cogl/cogl-shader.h +704 -0
- data/vendor/local/include/cogl/cogl/cogl-snippet.h +866 -0
- data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +136 -0
- data/vendor/local/include/cogl/cogl/cogl-swap-chain.h +71 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +78 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +301 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +234 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +204 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-deprecated.h +105 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +218 -0
- data/vendor/local/include/cogl/cogl/cogl-texture.h +524 -0
- data/vendor/local/include/cogl/cogl/cogl-type-casts.h +53 -0
- data/vendor/local/include/cogl/cogl/cogl-types.h +925 -0
- data/vendor/local/include/cogl/cogl/cogl-vector.h +356 -0
- data/vendor/local/include/cogl/cogl/cogl-version.h +348 -0
- data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +451 -0
- data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +123 -0
- data/vendor/local/include/cogl/cogl/cogl.h +194 -0
- data/vendor/local/include/cogl/cogl/cogl1-context.h +862 -0
- data/vendor/local/include/cogl/cogl/cogl2-experimental.h +37 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-auto-texture.h +221 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-clip-state.h +266 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-clutter.h +54 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-fixed.h +811 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-framebuffer-deprecated.h +264 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-material-compat.h +1391 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-shader.h +704 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-texture-deprecated.h +105 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-type-casts.h +53 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-vertex-buffer.h +451 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-core-functions.h +198 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h +43 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h +286 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h +148 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h +186 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-builder.h +120 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +41 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +120 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-glib.h +47 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +199 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gvariant.h +53 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +188 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-path.h +102 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-reader.h +171 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +445 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-version-macros.h +135 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +102 -0
- data/vendor/local/lib/girepository-1.0/Cally-1.0.typelib +0 -0
- 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/Cogl-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-2.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 +41 -0
- data/vendor/local/lib/libcogl-pango.dll.a +0 -0
- data/vendor/local/lib/libcogl-pango.la +41 -0
- data/vendor/local/lib/libcogl-path.dll.a +0 -0
- data/vendor/local/lib/libcogl-path.la +41 -0
- data/vendor/local/lib/libcogl.dll.a +0 -0
- data/vendor/local/lib/libcogl.la +41 -0
- data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
- data/vendor/local/lib/libjson-glib-1.0.la +41 -0
- data/vendor/local/lib/pkgconfig/cally-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/clutter-1.0.pc +24 -0
- data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +24 -0
- data/vendor/local/lib/pkgconfig/cogl-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-2.0-experimental.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-gl-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-pango-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-pango-2.0-experimental.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-path-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-path-2.0-experimental.pc +13 -0
- data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +11 -0
- data/vendor/local/share/cogl/examples-data/crate.jpg +0 -0
- data/vendor/local/share/gir-1.0/Cally-1.0.gir +681 -0
- data/vendor/local/share/gir-1.0/Clutter-1.0.gir +70493 -0
- data/vendor/local/share/gir-1.0/Cogl-1.0.gir +8197 -0
- data/vendor/local/share/gir-1.0/Cogl-2.0.gir +20369 -0
- data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +333 -0
- data/vendor/local/share/gir-1.0/CoglPango-2.0.gir +331 -0
- data/vendor/local/share/gir-1.0/Json-1.0.gir +4742 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +509 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +155 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +154 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +154 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +133 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +159 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyText.html +154 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +154 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +102 -0
- data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +187 -0
- data/vendor/local/share/gtk-doc/html/cally/cally.devhelp2 +73 -0
- data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +41 -0
- data/vendor/local/share/gtk-doc/html/cally/callybase.html +71 -0
- data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +45 -0
- data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +64 -0
- data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +39 -0
- data/vendor/local/share/gtk-doc/html/cally/ch01.html +53 -0
- data/vendor/local/share/gtk-doc/html/cally/ch02.html +41 -0
- data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +96 -0
- data/vendor/local/share/gtk-doc/html/cally/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/index.html +103 -0
- data/vendor/local/share/gtk-doc/html/cally/index.sgml +121 -0
- data/vendor/local/share/gtk-doc/html/cally/ix01.html +193 -0
- data/vendor/local/share/gtk-doc/html/cally/ix02.html +31 -0
- data/vendor/local/share/gtk-doc/html/cally/ix03.html +185 -0
- data/vendor/local/share/gtk-doc/html/cally/ix04.html +39 -0
- 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 +58 -0
- 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 +476 -0
- 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 +109 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +15797 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +396 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +494 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +816 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +497 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +1406 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +855 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +802 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +313 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +1041 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +319 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +502 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +744 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +476 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +481 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +598 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +116 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +726 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1471 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +480 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +873 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +488 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +287 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +667 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +258 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +239 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +208 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1611 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +367 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +418 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +242 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +492 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +1120 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +498 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +469 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +125 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +928 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +1321 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +1020 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +272 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +527 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1805 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +616 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +1280 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +189 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +222 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +1053 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +2052 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +779 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +452 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +428 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +671 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +946 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1576 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +407 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +261 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +484 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +216 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +1018 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +1421 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +364 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +385 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +376 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +693 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +526 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +2751 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1823 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +333 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +1393 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +219 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +3871 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +906 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +2085 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +2864 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +684 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +264 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +474 -0
- data/vendor/local/share/gtk-doc/html/clutter/actor-box.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/actor-example.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/animator-key-frames.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +95 -0
- data/vendor/local/share/gtk-doc/html/clutter/bin-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/box-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +275 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch01.html +65 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch02.html +44 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch03.html +47 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch04.html +59 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch05.html +44 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch06.html +57 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch07.html +38 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch08.html +38 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch09.html +53 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch10.html +78 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch11.html +38 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch12.html +41 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +4244 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +268 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +454 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +442 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1644 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +211 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +3454 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +232 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +297 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +2112 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +2213 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +200 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +992 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +411 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +1236 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +418 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +1006 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +661 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +1221 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +578 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +106 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-specific-support.html +289 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +241 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +916 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +77 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +2403 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +65 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +74 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +195 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +37 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +118 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +184 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +37 -0
- data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +105 -0
- data/vendor/local/share/gtk-doc/html/clutter/constraints-example.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +93 -0
- data/vendor/local/share/gtk-doc/html/clutter/easing-modes.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/event-flow.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/flow-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/go01.html +126 -0
- data/vendor/local/share/gtk-doc/html/clutter/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/index.html +454 -0
- data/vendor/local/share/gtk-doc/html/clutter/index.sgml +3165 -0
- data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +56 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix01.html +8982 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix02.html +2198 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix03.html +457 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix04.html +578 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix05.html +952 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix06.html +637 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix07.html +1525 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix08.html +815 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix09.html +1000 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix10.html +364 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix11.html +361 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix12.html +1085 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix13.html +979 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix14.html +101 -0
- 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 +58 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +223 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +197 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +154 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +155 -0
- data/vendor/local/share/gtk-doc/html/clutter/migration.html +49 -0
- data/vendor/local/share/gtk-doc/html/clutter/offscreen-redirect.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/path-alpha-func.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/pt09.html +31 -0
- 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 +378 -0
- data/vendor/local/share/gtk-doc/html/clutter/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/clutter/table-layout.png +0 -0
- 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 +36 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +676 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +660 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +1144 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +512 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +1140 -0
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +66 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +41 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +41 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch05.html +40 -0
- data/vendor/local/share/gtk-doc/html/json-glib/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/index.html +134 -0
- data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +327 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +965 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +49 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +56 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +49 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +181 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +116 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +156 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +132 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +50 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +61 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-format-tool.html +84 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +491 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +385 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +1188 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +318 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +1803 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +1369 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +582 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +215 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +277 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +63 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +45 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-validate-tool.html +72 -0
- data/vendor/local/share/gtk-doc/html/json-glib/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/license.html +58 -0
- data/vendor/local/share/gtk-doc/html/json-glib/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/json-glib/tools.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/up.png +0 -0
- data/vendor/local/share/license/clutter/COPYING +502 -0
- data/vendor/local/share/license/cogl/COPYING +107 -0
- data/vendor/local/share/license/json-glib/COPYING +504 -0
- 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/clutter-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/fur/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/he/LC_MESSAGES/json-glib-1.0.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/clutter-1.0.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 +869 -0
@@ -0,0 +1,54 @@
|
|
1
|
+
/*
|
2
|
+
* Cogl
|
3
|
+
*
|
4
|
+
* A Low Level GPU Graphics and Utilities API
|
5
|
+
*
|
6
|
+
* Copyright (C) 2011 Intel Corporation.
|
7
|
+
*
|
8
|
+
* Permission is hereby granted, free of charge, to any person
|
9
|
+
* obtaining a copy of this software and associated documentation
|
10
|
+
* files (the "Software"), to deal in the Software without
|
11
|
+
* restriction, including without limitation the rights to use, copy,
|
12
|
+
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
13
|
+
* of the Software, and to permit persons to whom the Software is
|
14
|
+
* furnished to do so, subject to the following conditions:
|
15
|
+
*
|
16
|
+
* The above copyright notice and this permission notice shall be
|
17
|
+
* included in all copies or substantial portions of the Software.
|
18
|
+
*
|
19
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
20
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
21
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
22
|
+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
23
|
+
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
24
|
+
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
25
|
+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
26
|
+
* SOFTWARE.
|
27
|
+
*/
|
28
|
+
|
29
|
+
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
|
30
|
+
#error "Only <cogl/cogl.h> can be included directly."
|
31
|
+
#endif
|
32
|
+
|
33
|
+
#ifndef __COGL_CLUTTER_H__
|
34
|
+
#define __COGL_CLUTTER_H__
|
35
|
+
|
36
|
+
COGL_BEGIN_DECLS
|
37
|
+
|
38
|
+
#define cogl_clutter_check_extension cogl_clutter_check_extension_CLUTTER
|
39
|
+
COGL_DEPRECATED_IN_1_16
|
40
|
+
CoglBool
|
41
|
+
cogl_clutter_check_extension (const char *name, const char *ext);
|
42
|
+
|
43
|
+
#define cogl_clutter_winsys_has_feature cogl_clutter_winsys_has_feature_CLUTTER
|
44
|
+
COGL_DEPRECATED_FOR (cogl_has_feature)
|
45
|
+
CoglBool
|
46
|
+
cogl_clutter_winsys_has_feature (CoglWinsysFeature feature);
|
47
|
+
|
48
|
+
#define cogl_onscreen_clutter_backend_set_size cogl_onscreen_clutter_backend_set_size_CLUTTER
|
49
|
+
void
|
50
|
+
cogl_onscreen_clutter_backend_set_size (int width, int height);
|
51
|
+
|
52
|
+
COGL_END_DECLS
|
53
|
+
|
54
|
+
#endif /* __COGL_CLUTTER_H__ */
|
@@ -0,0 +1,811 @@
|
|
1
|
+
/*
|
2
|
+
* Cogl
|
3
|
+
*
|
4
|
+
* A Low Level GPU Graphics and Utilities API
|
5
|
+
*
|
6
|
+
* Copyright (C) 2007,2008,2009 Intel Corporation.
|
7
|
+
*
|
8
|
+
* Permission is hereby granted, free of charge, to any person
|
9
|
+
* obtaining a copy of this software and associated documentation
|
10
|
+
* files (the "Software"), to deal in the Software without
|
11
|
+
* restriction, including without limitation the rights to use, copy,
|
12
|
+
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
13
|
+
* of the Software, and to permit persons to whom the Software is
|
14
|
+
* furnished to do so, subject to the following conditions:
|
15
|
+
*
|
16
|
+
* The above copyright notice and this permission notice shall be
|
17
|
+
* included in all copies or substantial portions of the Software.
|
18
|
+
*
|
19
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
20
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
21
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
22
|
+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
23
|
+
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
24
|
+
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
25
|
+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
26
|
+
* SOFTWARE.
|
27
|
+
*
|
28
|
+
*
|
29
|
+
*/
|
30
|
+
|
31
|
+
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
|
32
|
+
#error "Only <cogl/cogl.h> can be included directly."
|
33
|
+
#endif
|
34
|
+
|
35
|
+
#ifndef __COGL_FIXED_H__
|
36
|
+
#define __COGL_FIXED_H__
|
37
|
+
|
38
|
+
#include <cogl/cogl-types.h>
|
39
|
+
|
40
|
+
/**
|
41
|
+
* SECTION:cogl-fixed
|
42
|
+
* @short_description: Fixed Point API
|
43
|
+
*
|
44
|
+
* COGL has a fixed point API targeted at platforms without a floating
|
45
|
+
* point unit, such as embedded devices. On such platforms this API should
|
46
|
+
* be preferred to the floating point one as it does not trigger the slow
|
47
|
+
* path of software emulation, relying on integer math for fixed-to-floating
|
48
|
+
* and floating-to-fixed notations conversion.
|
49
|
+
*
|
50
|
+
* It is not recommened for use on platforms with a floating point unit
|
51
|
+
* (e.g. desktop systems), nor for use in language bindings.
|
52
|
+
*
|
53
|
+
* Basic rules of Fixed Point arithmethic:
|
54
|
+
* <itemizedlist>
|
55
|
+
* <listitem>
|
56
|
+
* <para>Two fixed point numbers can be directly added, subtracted and
|
57
|
+
* have their modulus taken.</para>
|
58
|
+
* </listitem>
|
59
|
+
* <listitem>
|
60
|
+
* <para>To add other numerical type to a fixed point number it has to
|
61
|
+
* be first converted to fixed point.</para>
|
62
|
+
* </listitem>
|
63
|
+
* <listitem>
|
64
|
+
* <para>A fixed point number can be directly multiplied or divided by
|
65
|
+
* an integer.</para>
|
66
|
+
* </listitem>
|
67
|
+
* <listitem>
|
68
|
+
* <para>Two fixed point numbers can only be multiplied and divided by
|
69
|
+
* the provided %COGL_FIXED_MUL and %COGL_FIXED_DIV macros.</para>
|
70
|
+
* </listitem>
|
71
|
+
* </itemizedlist>
|
72
|
+
*
|
73
|
+
* The fixed point API is available since COGL 1.0.
|
74
|
+
*/
|
75
|
+
|
76
|
+
COGL_BEGIN_DECLS
|
77
|
+
|
78
|
+
/**
|
79
|
+
* COGL_FIXED_BITS:
|
80
|
+
*
|
81
|
+
* Evaluates to the number of bits used by the #CoglFixed type.
|
82
|
+
*
|
83
|
+
* Since: 1.0
|
84
|
+
*/
|
85
|
+
#define COGL_FIXED_BITS (32)
|
86
|
+
|
87
|
+
/**
|
88
|
+
* COGL_FIXED_Q:
|
89
|
+
*
|
90
|
+
* Evaluates to the number of bits used for the non-integer part
|
91
|
+
* of the #CoglFixed type.
|
92
|
+
*
|
93
|
+
* Since: 1.0
|
94
|
+
*/
|
95
|
+
#define COGL_FIXED_Q (COGL_FIXED_BITS - 16)
|
96
|
+
|
97
|
+
/**
|
98
|
+
* COGL_FIXED_1:
|
99
|
+
*
|
100
|
+
* The number 1 expressed as a #CoglFixed number.
|
101
|
+
*
|
102
|
+
* Since: 1.0
|
103
|
+
*/
|
104
|
+
#define COGL_FIXED_1 (1 << COGL_FIXED_Q)
|
105
|
+
|
106
|
+
/**
|
107
|
+
* COGL_FIXED_0_5:
|
108
|
+
*
|
109
|
+
* The number 0.5 expressed as a #CoglFixed number.
|
110
|
+
*
|
111
|
+
* Since: 1.0
|
112
|
+
*/
|
113
|
+
#define COGL_FIXED_0_5 (32768)
|
114
|
+
|
115
|
+
/**
|
116
|
+
* COGL_FIXED_EPSILON:
|
117
|
+
*
|
118
|
+
* A very small number expressed as a #CoglFixed number.
|
119
|
+
*
|
120
|
+
* Since: 1.0
|
121
|
+
*/
|
122
|
+
#define COGL_FIXED_EPSILON (1)
|
123
|
+
|
124
|
+
/**
|
125
|
+
* COGL_FIXED_MAX:
|
126
|
+
*
|
127
|
+
* The biggest number representable using #CoglFixed
|
128
|
+
*
|
129
|
+
* Since: 1.0
|
130
|
+
*/
|
131
|
+
#define COGL_FIXED_MAX (0x7fffffff)
|
132
|
+
|
133
|
+
/**
|
134
|
+
* COGL_FIXED_MIN:
|
135
|
+
*
|
136
|
+
* The smallest number representable using #CoglFixed
|
137
|
+
*
|
138
|
+
* Since: 1.0
|
139
|
+
*/
|
140
|
+
#define COGL_FIXED_MIN (0x80000000)
|
141
|
+
|
142
|
+
/**
|
143
|
+
* COGL_FIXED_PI:
|
144
|
+
*
|
145
|
+
* The number pi, expressed as a #CoglFixed number.
|
146
|
+
*
|
147
|
+
* Since: 1.0
|
148
|
+
*/
|
149
|
+
#define COGL_FIXED_PI (0x0003243f)
|
150
|
+
|
151
|
+
/**
|
152
|
+
* COGL_FIXED_2_PI:
|
153
|
+
*
|
154
|
+
* Two times pi, expressed as a #CoglFixed number.
|
155
|
+
*
|
156
|
+
* Since: 1.0
|
157
|
+
*/
|
158
|
+
#define COGL_FIXED_2_PI (0x0006487f)
|
159
|
+
|
160
|
+
/**
|
161
|
+
* COGL_FIXED_PI_2:
|
162
|
+
*
|
163
|
+
* Half pi, expressed as a #CoglFixed number.
|
164
|
+
*
|
165
|
+
* Since: 1.0
|
166
|
+
*/
|
167
|
+
#define COGL_FIXED_PI_2 (0x00019220)
|
168
|
+
|
169
|
+
/**
|
170
|
+
* COGL_FIXED_PI_4:
|
171
|
+
*
|
172
|
+
* pi / 4, expressed as #CoglFixed number.
|
173
|
+
*
|
174
|
+
* Since: 1.0
|
175
|
+
*/
|
176
|
+
#define COGL_FIXED_PI_4 (0x0000c910)
|
177
|
+
|
178
|
+
/**
|
179
|
+
* COGL_FIXED_360:
|
180
|
+
*
|
181
|
+
* Evaluates to the number 360 in fixed point notation.
|
182
|
+
*
|
183
|
+
* Since: 1.0
|
184
|
+
*/
|
185
|
+
#define COGL_FIXED_360 (COGL_FIXED_FROM_INT (360))
|
186
|
+
|
187
|
+
/**
|
188
|
+
* COGL_FIXED_270:
|
189
|
+
*
|
190
|
+
* Evaluates to the number 270 in fixed point notation.
|
191
|
+
*
|
192
|
+
* Since: 1.0
|
193
|
+
*/
|
194
|
+
#define COGL_FIXED_270 (COGL_FIXED_FROM_INT (270))
|
195
|
+
|
196
|
+
/**
|
197
|
+
* COGL_FIXED_255:
|
198
|
+
*
|
199
|
+
* Evaluates to the number 255 in fixed point notation.
|
200
|
+
*
|
201
|
+
* Since: 1.0
|
202
|
+
*/
|
203
|
+
#define COGL_FIXED_255 (COGL_FIXED_FROM_INT (255))
|
204
|
+
|
205
|
+
/**
|
206
|
+
* COGL_FIXED_240:
|
207
|
+
*
|
208
|
+
* Evaluates to the number 240 in fixed point notation.
|
209
|
+
*
|
210
|
+
* Since: 1.0
|
211
|
+
*/
|
212
|
+
#define COGL_FIXED_240 (COGL_FIXED_FROM_INT (240))
|
213
|
+
|
214
|
+
/**
|
215
|
+
* COGL_FIXED_180:
|
216
|
+
*
|
217
|
+
* Evaluates to the number 180 in fixed point notation.
|
218
|
+
*
|
219
|
+
* Since: 1.0
|
220
|
+
*/
|
221
|
+
#define COGL_FIXED_180 (COGL_FIXED_FROM_INT (180))
|
222
|
+
|
223
|
+
/**
|
224
|
+
* COGL_FIXED_120:
|
225
|
+
*
|
226
|
+
* Evaluates to the number 120 in fixed point notation.
|
227
|
+
*
|
228
|
+
* Since: 1.0
|
229
|
+
*/
|
230
|
+
#define COGL_FIXED_120 (COGL_FIXED_FROM_INT (120))
|
231
|
+
|
232
|
+
/**
|
233
|
+
* COGL_FIXED_90:
|
234
|
+
*
|
235
|
+
* Evaluates to the number 90 in fixed point notation.
|
236
|
+
*
|
237
|
+
* Since: 1.0
|
238
|
+
*/
|
239
|
+
#define COGL_FIXED_90 (COGL_FIXED_FROM_INT (90))
|
240
|
+
|
241
|
+
/**
|
242
|
+
* COGL_FIXED_60:
|
243
|
+
*
|
244
|
+
* Evaluates to the number 60 in fixed point notation.
|
245
|
+
*
|
246
|
+
* Since: 1.0
|
247
|
+
*/
|
248
|
+
#define COGL_FIXED_60 (COGL_FIXED_FROM_INT (60))
|
249
|
+
|
250
|
+
/**
|
251
|
+
* COGL_FIXED_45:
|
252
|
+
*
|
253
|
+
* Evaluates to the number 45 in fixed point notation.
|
254
|
+
*
|
255
|
+
* Since: 1.0
|
256
|
+
*/
|
257
|
+
#define COGL_FIXED_45 (COGL_FIXED_FROM_INT (45))
|
258
|
+
|
259
|
+
/**
|
260
|
+
* COGL_FIXED_30:
|
261
|
+
*
|
262
|
+
* Evaluates to the number 30 in fixed point notation.
|
263
|
+
*
|
264
|
+
* Since: 1.0
|
265
|
+
*/
|
266
|
+
#define COGL_FIXED_30 (COGL_FIXED_FROM_INT (30))
|
267
|
+
|
268
|
+
/**
|
269
|
+
* COGL_RADIANS_TO_DEGREES:
|
270
|
+
*
|
271
|
+
* Evaluates to 180 / pi in fixed point notation.
|
272
|
+
*
|
273
|
+
* Since: 1.0
|
274
|
+
*/
|
275
|
+
#define COGL_RADIANS_TO_DEGREES (0x394bb8)
|
276
|
+
|
277
|
+
/*
|
278
|
+
* conversion macros
|
279
|
+
*/
|
280
|
+
|
281
|
+
/**
|
282
|
+
* COGL_FIXED_FROM_FLOAT:
|
283
|
+
* @x: a floating point number
|
284
|
+
*
|
285
|
+
* Converts @x from a floating point to a fixed point notation.
|
286
|
+
*
|
287
|
+
* Since: 1.0
|
288
|
+
*/
|
289
|
+
#define COGL_FIXED_FROM_FLOAT(x) ((float) cogl_double_to_fixed (x))
|
290
|
+
|
291
|
+
/**
|
292
|
+
* COGL_FIXED_TO_FLOAT:
|
293
|
+
* @x: a #CoglFixed number
|
294
|
+
*
|
295
|
+
* Converts @x from a fixed point to a floating point notation, in
|
296
|
+
* single precision.
|
297
|
+
*
|
298
|
+
* Since: 1.0
|
299
|
+
*/
|
300
|
+
#define COGL_FIXED_TO_FLOAT(x) ((float) ((int)(x) / 65536.0))
|
301
|
+
|
302
|
+
/**
|
303
|
+
* COGL_FIXED_FROM_DOUBLE:
|
304
|
+
* @x: a floating point number
|
305
|
+
*
|
306
|
+
* Converts @x from a double precision, floating point to a fixed
|
307
|
+
* point notation.
|
308
|
+
*
|
309
|
+
* Since: 1.0
|
310
|
+
*/
|
311
|
+
#define COGL_FIXED_FROM_DOUBLE(x) (cogl_double_to_fixed (x))
|
312
|
+
|
313
|
+
/**
|
314
|
+
* COGL_FIXED_TO_DOUBLE:
|
315
|
+
* @x: a #CoglFixed number
|
316
|
+
*
|
317
|
+
* Converts @x from a fixed point to a floating point notation, in
|
318
|
+
* double precision.
|
319
|
+
*
|
320
|
+
* Since: 1.0
|
321
|
+
*/
|
322
|
+
#define COGL_FIXED_TO_DOUBLE(x) ((double) ((int)(x) / 65536.0))
|
323
|
+
|
324
|
+
/**
|
325
|
+
* COGL_FIXED_FROM_INT:
|
326
|
+
* @x: an integer number
|
327
|
+
*
|
328
|
+
* Converts @x from an integer to a fixed point notation.
|
329
|
+
*
|
330
|
+
* Since: 1.0
|
331
|
+
*/
|
332
|
+
#define COGL_FIXED_FROM_INT(x) ((x) << COGL_FIXED_Q)
|
333
|
+
|
334
|
+
/**
|
335
|
+
* COGL_FIXED_TO_INT:
|
336
|
+
* @x: a #CoglFixed number
|
337
|
+
*
|
338
|
+
* Converts @x from a fixed point notation to an integer, dropping
|
339
|
+
* the fractional part without rounding.
|
340
|
+
*
|
341
|
+
* Since: 1.0
|
342
|
+
*/
|
343
|
+
#define COGL_FIXED_TO_INT(x) ((x) >> COGL_FIXED_Q)
|
344
|
+
|
345
|
+
/**
|
346
|
+
* COGL_FLOAT_TO_INT:
|
347
|
+
* @x: a floatint point number
|
348
|
+
*
|
349
|
+
* Converts @x from a floating point notation to a signed integer.
|
350
|
+
*
|
351
|
+
* Since: 1.0
|
352
|
+
*/
|
353
|
+
#define COGL_FLOAT_TO_INT(x) (cogl_double_to_int ((x)))
|
354
|
+
|
355
|
+
/**
|
356
|
+
* COGL_FLOAT_TO_UINT:
|
357
|
+
* @x: a floatint point number
|
358
|
+
*
|
359
|
+
* Converts @x from a floating point notation to an unsigned integer.
|
360
|
+
*
|
361
|
+
* Since: 1.0
|
362
|
+
*/
|
363
|
+
#define COGL_FLOAT_TO_UINT(x) (cogl_double_to_uint ((x)))
|
364
|
+
|
365
|
+
/*
|
366
|
+
* fixed point math functions
|
367
|
+
*/
|
368
|
+
|
369
|
+
/**
|
370
|
+
* COGL_FIXED_FRACTION:
|
371
|
+
* @x: a #CoglFixed number
|
372
|
+
*
|
373
|
+
* Retrieves the fractionary part of @x.
|
374
|
+
*
|
375
|
+
* Since: 1.0
|
376
|
+
*/
|
377
|
+
#define COGL_FIXED_FRACTION(x) ((x) & ((1 << COGL_FIXED_Q) - 1))
|
378
|
+
|
379
|
+
/**
|
380
|
+
* COGL_FIXED_FLOOR:
|
381
|
+
* @x: a #CoglFixed number
|
382
|
+
*
|
383
|
+
* Rounds down a fixed point number to the previous integer.
|
384
|
+
*
|
385
|
+
* Since: 1.0
|
386
|
+
*/
|
387
|
+
#define COGL_FIXED_FLOOR(x) (((x) >= 0) ? ((x) >> COGL_FIXED_Q) \
|
388
|
+
: ~((~(x)) >> COGL_FIXED_Q))
|
389
|
+
|
390
|
+
/**
|
391
|
+
* COGL_FIXED_CEIL:
|
392
|
+
* @x: a #CoglFixed number
|
393
|
+
*
|
394
|
+
* Rounds up a fixed point number to the next integer.
|
395
|
+
*
|
396
|
+
* Since: 1.0
|
397
|
+
*/
|
398
|
+
#define COGL_FIXED_CEIL(x) (COGL_FIXED_FLOOR ((x) + 0xffff))
|
399
|
+
|
400
|
+
/**
|
401
|
+
* COGL_FIXED_MUL:
|
402
|
+
* @a: a #CoglFixed number
|
403
|
+
* @b: a #CoglFixed number
|
404
|
+
*
|
405
|
+
* Computes (a * b).
|
406
|
+
*
|
407
|
+
* Since: 1.0
|
408
|
+
*/
|
409
|
+
#define COGL_FIXED_MUL(a,b) (cogl_fixed_mul ((a), (b)))
|
410
|
+
|
411
|
+
/**
|
412
|
+
* COGL_FIXED_DIV:
|
413
|
+
* @a: a #CoglFixed number
|
414
|
+
* @b: a #CoglFixed number
|
415
|
+
*
|
416
|
+
* Computes (a / b).
|
417
|
+
*
|
418
|
+
* Since: 1.0
|
419
|
+
*/
|
420
|
+
#define COGL_FIXED_DIV(a,b) (cogl_fixed_div ((a), (b)))
|
421
|
+
|
422
|
+
/**
|
423
|
+
* COGL_FIXED_MUL_DIV:
|
424
|
+
* @a: a #CoglFixed number
|
425
|
+
* @b: a #CoglFixed number
|
426
|
+
* @c: a #CoglFixed number
|
427
|
+
*
|
428
|
+
* Computes ((a * b) / c). It is logically equivalent to:
|
429
|
+
*
|
430
|
+
* |[
|
431
|
+
* res = COGL_FIXED_DIV (COGL_FIXED_MUL (a, b), c);
|
432
|
+
* ]|
|
433
|
+
*
|
434
|
+
* But it is shorter to type.
|
435
|
+
*
|
436
|
+
* Since: 1.0
|
437
|
+
*/
|
438
|
+
#define COGL_FIXED_MUL_DIV(a,b,c) (cogl_fixed_mul_div ((a), (b), (c)))
|
439
|
+
|
440
|
+
/**
|
441
|
+
* COGL_FIXED_FAST_MUL:
|
442
|
+
* @a: a #CoglFixed number
|
443
|
+
* @b: a #CoglFixed number
|
444
|
+
*
|
445
|
+
* Fast version of %COGL_FIXED_MUL, implemented as a macro.
|
446
|
+
*
|
447
|
+
* <note>This macro might lose precision. If the precision of the result
|
448
|
+
* is important use %COGL_FIXED_MUL instead.</note>
|
449
|
+
*
|
450
|
+
* Since: 1.0
|
451
|
+
*/
|
452
|
+
#define COGL_FIXED_FAST_MUL(a,b) ((a) >> 8) * ((b) >> 8)
|
453
|
+
|
454
|
+
/**
|
455
|
+
* COGL_FIXED_FAST_DIV:
|
456
|
+
* @a: a #CoglFixed number
|
457
|
+
* @b: a #CoglFixed number
|
458
|
+
*
|
459
|
+
* Fast version of %COGL_FIXED_DIV, implemented as a macro.
|
460
|
+
*
|
461
|
+
* <note>This macro might lose precision. If the precision of the result
|
462
|
+
* is important use %COGL_FIXED_DIV instead.</note>
|
463
|
+
*
|
464
|
+
* Since: 1.0
|
465
|
+
*/
|
466
|
+
#define COGL_FIXED_FAST_DIV(a,b) ((((a) << 8) / (b)) << 8)
|
467
|
+
|
468
|
+
/**
|
469
|
+
* cogl_fixed_sin:
|
470
|
+
* @angle: a #CoglFixed number
|
471
|
+
*
|
472
|
+
* Computes the sine of @angle.
|
473
|
+
*
|
474
|
+
* Return value: the sine of the passed angle, in fixed point notation
|
475
|
+
*
|
476
|
+
* Since: 1.0
|
477
|
+
*/
|
478
|
+
CoglFixed
|
479
|
+
cogl_fixed_sin (CoglFixed angle);
|
480
|
+
|
481
|
+
/**
|
482
|
+
* cogl_fixed_tan:
|
483
|
+
* @angle: a #CoglFixed number
|
484
|
+
*
|
485
|
+
* Computes the tangent of @angle.
|
486
|
+
*
|
487
|
+
* Return value: the tangent of the passed angle, in fixed point notation
|
488
|
+
*
|
489
|
+
* Since: 1.0
|
490
|
+
*/
|
491
|
+
CoglFixed
|
492
|
+
cogl_fixed_tan (CoglFixed angle);
|
493
|
+
|
494
|
+
/**
|
495
|
+
* cogl_fixed_cos:
|
496
|
+
* @angle: a #CoglFixed number
|
497
|
+
*
|
498
|
+
* Computes the cosine of @angle.
|
499
|
+
*
|
500
|
+
* Return value: the cosine of the passed angle, in fixed point notation
|
501
|
+
*
|
502
|
+
* Since: 1.0
|
503
|
+
*/
|
504
|
+
CoglFixed cogl_fixed_cos (CoglFixed angle);
|
505
|
+
|
506
|
+
/**
|
507
|
+
* cogl_fixed_atan:
|
508
|
+
* @a: a #CoglFixed number
|
509
|
+
*
|
510
|
+
* Computes the arc tangent of @a.
|
511
|
+
*
|
512
|
+
* Return value: the arc tangent of the passed value, in fixed point notation
|
513
|
+
*
|
514
|
+
* Since: 1.0
|
515
|
+
*/
|
516
|
+
CoglFixed
|
517
|
+
cogl_fixed_atan (CoglFixed a);
|
518
|
+
|
519
|
+
/**
|
520
|
+
* cogl_fixed_atan2:
|
521
|
+
* @a: the numerator as a #CoglFixed number
|
522
|
+
* @b: the denominator as a #CoglFixed number
|
523
|
+
*
|
524
|
+
* Computes the arc tangent of @a / @b but uses the sign of both
|
525
|
+
* arguments to return the angle in right quadrant.
|
526
|
+
*
|
527
|
+
* Return value: the arc tangent of the passed fraction, in fixed point
|
528
|
+
* notation
|
529
|
+
*
|
530
|
+
* Since: 1.0
|
531
|
+
*/
|
532
|
+
CoglFixed
|
533
|
+
cogl_fixed_atan2 (CoglFixed a,
|
534
|
+
CoglFixed b);
|
535
|
+
|
536
|
+
/*< public >*/
|
537
|
+
|
538
|
+
/* Fixed point math routines */
|
539
|
+
G_INLINE_FUNC CoglFixed
|
540
|
+
cogl_fixed_mul (CoglFixed a,
|
541
|
+
CoglFixed b);
|
542
|
+
|
543
|
+
G_INLINE_FUNC CoglFixed
|
544
|
+
cogl_fixed_div (CoglFixed a,
|
545
|
+
CoglFixed b);
|
546
|
+
|
547
|
+
G_INLINE_FUNC CoglFixed
|
548
|
+
cogl_fixed_mul_div (CoglFixed a,
|
549
|
+
CoglFixed b,
|
550
|
+
CoglFixed c);
|
551
|
+
|
552
|
+
/**
|
553
|
+
* COGL_SQRTI_ARG_MAX:
|
554
|
+
*
|
555
|
+
* Maximum argument that can be passed to cogl_sqrti() function.
|
556
|
+
*
|
557
|
+
* Since: 1.0
|
558
|
+
*/
|
559
|
+
#ifndef __SSE2__
|
560
|
+
#define COGL_SQRTI_ARG_MAX 0x3fffff
|
561
|
+
#else
|
562
|
+
#define COGL_SQRTI_ARG_MAX INT_MAX
|
563
|
+
#endif
|
564
|
+
|
565
|
+
/**
|
566
|
+
* COGL_SQRTI_ARG_5_PERCENT:
|
567
|
+
*
|
568
|
+
* Maximum argument that can be passed to cogl_sqrti() for which the
|
569
|
+
* resulting error is < 5%
|
570
|
+
*
|
571
|
+
* Since: 1.0
|
572
|
+
*/
|
573
|
+
#ifndef __SSE2__
|
574
|
+
#define COGL_SQRTI_ARG_5_PERCENT 210
|
575
|
+
#else
|
576
|
+
#define COGL_SQRTI_ARG_5_PERCENT INT_MAX
|
577
|
+
#endif
|
578
|
+
|
579
|
+
/**
|
580
|
+
* COGL_SQRTI_ARG_10_PERCENT:
|
581
|
+
*
|
582
|
+
* Maximum argument that can be passed to cogl_sqrti() for which the
|
583
|
+
* resulting error is < 10%
|
584
|
+
*
|
585
|
+
* Since: 1.0
|
586
|
+
*/
|
587
|
+
#ifndef __SSE2__
|
588
|
+
#define COGL_SQRTI_ARG_10_PERCENT 5590
|
589
|
+
#else
|
590
|
+
#define COGL_SQRTI_ARG_10_PERCENT INT_MAX
|
591
|
+
#endif
|
592
|
+
|
593
|
+
/**
|
594
|
+
* cogl_fixed_sqrt:
|
595
|
+
* @x: a #CoglFixed number
|
596
|
+
*
|
597
|
+
* Computes the square root of @x.
|
598
|
+
*
|
599
|
+
* Return value: the square root of the passed value, in floating point
|
600
|
+
* notation
|
601
|
+
*
|
602
|
+
* Since: 1.0
|
603
|
+
*/
|
604
|
+
CoglFixed
|
605
|
+
cogl_fixed_sqrt (CoglFixed x);
|
606
|
+
|
607
|
+
/**
|
608
|
+
* cogl_fixed_log2:
|
609
|
+
* @x: value to calculate base 2 logarithm from
|
610
|
+
*
|
611
|
+
* Calculates base 2 logarithm.
|
612
|
+
*
|
613
|
+
* This function is some 2.5 times faster on x86, and over 12 times faster on
|
614
|
+
* fpu-less arm, than using libc log().
|
615
|
+
*
|
616
|
+
* Return value: base 2 logarithm.
|
617
|
+
*
|
618
|
+
* Since: 1.0
|
619
|
+
*/
|
620
|
+
CoglFixed
|
621
|
+
cogl_fixed_log2 (unsigned int x);
|
622
|
+
|
623
|
+
/**
|
624
|
+
* cogl_fixed_pow2:
|
625
|
+
* @x: a #CoglFixed number
|
626
|
+
*
|
627
|
+
* Calculates 2 to the @x power.
|
628
|
+
*
|
629
|
+
* This function is around 11 times faster on x86, and around 22 times faster
|
630
|
+
* on fpu-less arm than libc pow(2, x).
|
631
|
+
*
|
632
|
+
* Return value: the power of 2 to the passed value
|
633
|
+
*
|
634
|
+
* Since: 1.0
|
635
|
+
*/
|
636
|
+
unsigned int
|
637
|
+
cogl_fixed_pow2 (CoglFixed x);
|
638
|
+
|
639
|
+
/**
|
640
|
+
* cogl_fixed_pow:
|
641
|
+
* @x: base
|
642
|
+
* @y: #CoglFixed exponent
|
643
|
+
*
|
644
|
+
* Calculates @x to the @y power.
|
645
|
+
*
|
646
|
+
* Return value: the power of @x to the @y
|
647
|
+
*
|
648
|
+
* Since: 1.0
|
649
|
+
*/
|
650
|
+
unsigned int
|
651
|
+
cogl_fixed_pow (unsigned int x,
|
652
|
+
CoglFixed y);
|
653
|
+
|
654
|
+
/**
|
655
|
+
* cogl_sqrti:
|
656
|
+
* @x: integer value
|
657
|
+
*
|
658
|
+
* Very fast fixed point implementation of square root for integers.
|
659
|
+
*
|
660
|
+
* This function is at least 6x faster than clib sqrt() on x86, and (this is
|
661
|
+
* not a typo!) about 500x faster on ARM without FPU. It's error is less than
|
662
|
+
* 5% for arguments smaller than %COGL_SQRTI_ARG_5_PERCENT and less than 10%
|
663
|
+
* for narguments smaller than %COGL_SQRTI_ARG_10_PERCENT. The maximum
|
664
|
+
* argument that can be passed to this function is %COGL_SQRTI_ARG_MAX.
|
665
|
+
*
|
666
|
+
* Return value: integer square root.
|
667
|
+
*
|
668
|
+
* Since: 1.0
|
669
|
+
*/
|
670
|
+
int
|
671
|
+
cogl_sqrti (int x);
|
672
|
+
|
673
|
+
/**
|
674
|
+
* COGL_ANGLE_FROM_DEG:
|
675
|
+
* @x: an angle in degrees in floating point notation
|
676
|
+
*
|
677
|
+
* Converts an angle in degrees into a #CoglAngle.
|
678
|
+
*
|
679
|
+
* Since: 1.0
|
680
|
+
*/
|
681
|
+
#define COGL_ANGLE_FROM_DEG(x) (COGL_FLOAT_TO_INT (((float)(x) * 1024.0f) / 360.0f))
|
682
|
+
|
683
|
+
/**
|
684
|
+
* COGL_ANGLE_TO_DEG:
|
685
|
+
* @x: a #CoglAngle
|
686
|
+
*
|
687
|
+
* Converts a #CoglAngle into an angle in degrees, using floatint point
|
688
|
+
* notation.
|
689
|
+
*
|
690
|
+
* Since: 1.0
|
691
|
+
*/
|
692
|
+
#define COGL_ANGLE_TO_DEG(x) (((float)(x) * 360.0) / 1024.0)
|
693
|
+
|
694
|
+
/**
|
695
|
+
* COGL_ANGLE_FROM_DEGX:
|
696
|
+
* @x: an angle in degrees in fixed point notation
|
697
|
+
*
|
698
|
+
* Converts an angle in degrees into a #CoglAngle.
|
699
|
+
*
|
700
|
+
* Since: 1.0
|
701
|
+
*/
|
702
|
+
#define COGL_ANGLE_FROM_DEGX(x) (COGL_FIXED_TO_INT ((((x) / 360) * 1024) + COGL_FIXED_0_5))
|
703
|
+
|
704
|
+
/**
|
705
|
+
* COGL_ANGLE_TO_DEGX:
|
706
|
+
* @x: a #CoglAngle
|
707
|
+
*
|
708
|
+
* Converts a #CoglAngle into an angle in degrees, using fixed point notation
|
709
|
+
*
|
710
|
+
* Since: 1.0
|
711
|
+
*/
|
712
|
+
#define COGL_ANGLE_TO_DEGX(x) (COGL_FIXED_FROM_INT ((x) * 45) / 128)
|
713
|
+
|
714
|
+
/**
|
715
|
+
* cogl_angle_sin:
|
716
|
+
* @angle: an angle expressed using #CoglAngle
|
717
|
+
*
|
718
|
+
* Computes the sine of @angle
|
719
|
+
*
|
720
|
+
* Return value: the sine of the passed angle
|
721
|
+
*
|
722
|
+
* Since: 1.0
|
723
|
+
*/
|
724
|
+
CoglFixed
|
725
|
+
cogl_angle_sin (CoglAngle angle);
|
726
|
+
|
727
|
+
/**
|
728
|
+
* cogl_angle_tan:
|
729
|
+
* @angle: an angle expressed using #CoglAngle
|
730
|
+
*
|
731
|
+
* Computes the tangent of @angle
|
732
|
+
*
|
733
|
+
* Return value: the tangent of the passed angle
|
734
|
+
*
|
735
|
+
* Since: 1.0
|
736
|
+
*/
|
737
|
+
CoglFixed
|
738
|
+
cogl_angle_tan (CoglAngle angle);
|
739
|
+
|
740
|
+
/**
|
741
|
+
* cogl_angle_cos:
|
742
|
+
* @angle: an angle expressed using #CoglAngle
|
743
|
+
*
|
744
|
+
* Computes the cosine of @angle
|
745
|
+
*
|
746
|
+
* Return value: the cosine of the passed angle
|
747
|
+
*
|
748
|
+
* Since: 1.0
|
749
|
+
*/
|
750
|
+
CoglFixed
|
751
|
+
cogl_angle_cos (CoglAngle angle);
|
752
|
+
|
753
|
+
/*< private >*/
|
754
|
+
|
755
|
+
#if defined (G_CAN_INLINE)
|
756
|
+
G_INLINE_FUNC CoglFixed
|
757
|
+
cogl_fixed_mul (CoglFixed a,
|
758
|
+
CoglFixed b)
|
759
|
+
{
|
760
|
+
# ifdef __arm__
|
761
|
+
int res_low, res_hi;
|
762
|
+
|
763
|
+
__asm__ ("smull %0, %1, %2, %3 \n"
|
764
|
+
"mov %0, %0, lsr %4 \n"
|
765
|
+
"add %1, %0, %1, lsl %5 \n"
|
766
|
+
: "=r"(res_hi), "=r"(res_low)\
|
767
|
+
: "r"(a), "r"(b), "i"(COGL_FIXED_Q), "i"(32 - COGL_FIXED_Q));
|
768
|
+
|
769
|
+
return (CoglFixed) res_low;
|
770
|
+
# else
|
771
|
+
long long r = (long long) a * (long long) b;
|
772
|
+
|
773
|
+
return (unsigned int)(r >> COGL_FIXED_Q);
|
774
|
+
# endif
|
775
|
+
}
|
776
|
+
#endif
|
777
|
+
|
778
|
+
#if defined (G_CAN_INLINE)
|
779
|
+
G_INLINE_FUNC CoglFixed
|
780
|
+
cogl_fixed_div (CoglFixed a,
|
781
|
+
CoglFixed b)
|
782
|
+
{
|
783
|
+
return (CoglFixed) ((((int64_t) a) << COGL_FIXED_Q) / b);
|
784
|
+
}
|
785
|
+
#endif
|
786
|
+
|
787
|
+
#if defined(G_CAN_INLINE)
|
788
|
+
G_INLINE_FUNC CoglFixed
|
789
|
+
cogl_fixed_mul_div (CoglFixed a,
|
790
|
+
CoglFixed b,
|
791
|
+
CoglFixed c)
|
792
|
+
{
|
793
|
+
CoglFixed ab = cogl_fixed_mul (a, b);
|
794
|
+
CoglFixed quo = cogl_fixed_div (ab, c);
|
795
|
+
|
796
|
+
return quo;
|
797
|
+
}
|
798
|
+
#endif
|
799
|
+
|
800
|
+
CoglFixed
|
801
|
+
cogl_double_to_fixed (double value);
|
802
|
+
|
803
|
+
int
|
804
|
+
cogl_double_to_int (double value);
|
805
|
+
|
806
|
+
unsigned int
|
807
|
+
cogl_double_to_uint (double value);
|
808
|
+
|
809
|
+
COGL_END_DECLS
|
810
|
+
|
811
|
+
#endif /* __COGL_FIXED_H__ */
|