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,218 @@
|
|
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
|
+
* Authors:
|
30
|
+
* Robert Bragg <robert@linux.intel.com>
|
31
|
+
*/
|
32
|
+
|
33
|
+
#ifndef __COGL_TEXURE_RECTANGLE_H
|
34
|
+
#define __COGL_TEXURE_RECTANGLE_H
|
35
|
+
|
36
|
+
#include "cogl-context.h"
|
37
|
+
|
38
|
+
COGL_BEGIN_DECLS
|
39
|
+
|
40
|
+
/**
|
41
|
+
* SECTION:cogl-texture-rectangle
|
42
|
+
* @short_description: Functions for creating and manipulating rectangle
|
43
|
+
* textures for use with non-normalized coordinates.
|
44
|
+
*
|
45
|
+
* These functions allow low-level "rectangle" textures to be allocated.
|
46
|
+
* These textures are never constrained to power-of-two sizes but they
|
47
|
+
* also don't support having a mipmap and can only be wrapped with
|
48
|
+
* %COGL_PIPELINE_WRAP_MODE_CLAMP_TO_EDGE.
|
49
|
+
*
|
50
|
+
* The most notable difference between rectangle textures and 2D
|
51
|
+
* textures is that rectangle textures are sampled using un-normalized
|
52
|
+
* texture coordinates, so instead of using coordinates (0,0) and
|
53
|
+
* (1,1) to map to the top-left and bottom right corners of the
|
54
|
+
* texture you would instead use (0,0) and (width,height).
|
55
|
+
*
|
56
|
+
* The use of non-normalized coordinates can be particularly
|
57
|
+
* convenient when writing glsl shaders that use a texture as a lookup
|
58
|
+
* table since you don't need to upload separate uniforms to map
|
59
|
+
* normalized coordinates to texels.
|
60
|
+
*
|
61
|
+
* If you want to sample from a rectangle texture from GLSL you should
|
62
|
+
* use the sampler2DRect sampler type.
|
63
|
+
*
|
64
|
+
* Applications wanting to use #CoglTextureRectangle should first check
|
65
|
+
* for the %COGL_FEATURE_ID_TEXTURE_RECTANGLE feature using
|
66
|
+
* cogl_has_feature().
|
67
|
+
*/
|
68
|
+
|
69
|
+
typedef struct _CoglTextureRectangle CoglTextureRectangle;
|
70
|
+
#define COGL_TEXTURE_RECTANGLE(X) ((CoglTextureRectangle *)X)
|
71
|
+
|
72
|
+
#ifdef COGL_HAS_GTYPE_SUPPORT
|
73
|
+
/**
|
74
|
+
* cogl_texture_rectangle_get_gtype:
|
75
|
+
*
|
76
|
+
* Returns: a #GType that can be used with the GLib type system.
|
77
|
+
*/
|
78
|
+
GType cogl_texture_rectangle_get_gtype (void);
|
79
|
+
#endif
|
80
|
+
|
81
|
+
/**
|
82
|
+
* cogl_is_texture_rectangle:
|
83
|
+
* @object: A #CoglObject
|
84
|
+
*
|
85
|
+
* Gets whether the given object references an existing
|
86
|
+
* #CoglTextureRectangle object.
|
87
|
+
*
|
88
|
+
* Return value: %TRUE if the object references a
|
89
|
+
* #CoglTextureRectangle, %FALSE otherwise.
|
90
|
+
*/
|
91
|
+
CoglBool
|
92
|
+
cogl_is_texture_rectangle (void *object);
|
93
|
+
|
94
|
+
/**
|
95
|
+
* cogl_texture_rectangle_new_with_size:
|
96
|
+
* @ctx: A #CoglContext pointer
|
97
|
+
* @width: The texture width to allocate
|
98
|
+
* @height: The texture height to allocate
|
99
|
+
*
|
100
|
+
* Creates a new #CoglTextureRectangle texture with a given @width,
|
101
|
+
* and @height. This texture is a low-level texture that the GPU can
|
102
|
+
* sample from directly unlike high-level textures such as
|
103
|
+
* #CoglTexture2DSliced and #CoglAtlasTexture.
|
104
|
+
*
|
105
|
+
* <note>Unlike for #CoglTexture2D textures, coordinates for
|
106
|
+
* #CoglTextureRectangle textures should not be normalized. So instead
|
107
|
+
* of using the coordinate (1, 1) to sample the bottom right corner of
|
108
|
+
* a rectangle texture you would use (@width, @height) where @width
|
109
|
+
* and @height are the width and height of the texture.</note>
|
110
|
+
*
|
111
|
+
* <note>If you want to sample from a rectangle texture from GLSL you
|
112
|
+
* should use the sampler2DRect sampler type.</note>
|
113
|
+
*
|
114
|
+
* <note>Applications wanting to use #CoglTextureRectangle should
|
115
|
+
* first check for the %COGL_FEATURE_ID_TEXTURE_RECTANGLE feature
|
116
|
+
* using cogl_has_feature().</note>
|
117
|
+
*
|
118
|
+
* The storage for the texture is not allocated before this function
|
119
|
+
* returns. You can call cogl_texture_allocate() to explicitly
|
120
|
+
* allocate the underlying storage or preferably let Cogl
|
121
|
+
* automatically allocate storage lazily when it may know more about
|
122
|
+
* how the texture is going to be used and can optimize how it is
|
123
|
+
* allocated.
|
124
|
+
*
|
125
|
+
* Returns value: (transfer full): A pointer to a new #CoglTextureRectangle
|
126
|
+
* object with no storage allocated yet.
|
127
|
+
*
|
128
|
+
* Since: 1.10
|
129
|
+
* Stability: unstable
|
130
|
+
*/
|
131
|
+
CoglTextureRectangle *
|
132
|
+
cogl_texture_rectangle_new_with_size (CoglContext *ctx,
|
133
|
+
int width,
|
134
|
+
int height);
|
135
|
+
|
136
|
+
/**
|
137
|
+
* cogl_texture_rectangle_new_from_bitmap:
|
138
|
+
* @bitmap: A #CoglBitmap
|
139
|
+
*
|
140
|
+
* Allocates a new #CoglTextureRectangle texture which will be
|
141
|
+
* initialized with the pixel data from @bitmap. This texture is a
|
142
|
+
* low-level texture that the GPU can sample from directly unlike
|
143
|
+
* high-level textures such as #CoglTexture2DSliced and
|
144
|
+
* #CoglAtlasTexture.
|
145
|
+
*
|
146
|
+
* <note>Unlike for #CoglTexture2D textures, coordinates for
|
147
|
+
* #CoglTextureRectangle textures should not be normalized. So instead
|
148
|
+
* of using the coordinate (1, 1) to sample the bottom right corner of
|
149
|
+
* a rectangle texture you would use (@width, @height) where @width
|
150
|
+
* and @height are the width and height of the texture.</note>
|
151
|
+
*
|
152
|
+
* <note>If you want to sample from a rectangle texture from GLSL you
|
153
|
+
* should use the sampler2DRect sampler type.</note>
|
154
|
+
*
|
155
|
+
* <note>Applications wanting to use #CoglTextureRectangle should
|
156
|
+
* first check for the %COGL_FEATURE_ID_TEXTURE_RECTANGLE feature
|
157
|
+
* using cogl_has_feature().</note>
|
158
|
+
*
|
159
|
+
* The storage for the texture is not allocated before this function
|
160
|
+
* returns. You can call cogl_texture_allocate() to explicitly
|
161
|
+
* allocate the underlying storage or preferably let Cogl
|
162
|
+
* automatically allocate storage lazily when it may know more about
|
163
|
+
* how the texture is going to be used and can optimize how it is
|
164
|
+
* allocated.
|
165
|
+
*
|
166
|
+
* Return value: (transfer full): A pointer to a new
|
167
|
+
* #CoglTextureRectangle texture.
|
168
|
+
* Since: 2.0
|
169
|
+
* Stability: unstable
|
170
|
+
*/
|
171
|
+
CoglTextureRectangle *
|
172
|
+
cogl_texture_rectangle_new_from_bitmap (CoglBitmap *bitmap);
|
173
|
+
|
174
|
+
/**
|
175
|
+
* cogl_texture_rectangle_new_from_foreign:
|
176
|
+
* @ctx: A #CoglContext
|
177
|
+
* @gl_handle: A GL handle for a GL_TEXTURE_RECTANGLE texture object
|
178
|
+
* @width: Width of the foreign GL texture
|
179
|
+
* @height: Height of the foreign GL texture
|
180
|
+
* @format: The format of the texture
|
181
|
+
*
|
182
|
+
* Wraps an existing GL_TEXTURE_RECTANGLE texture object as a
|
183
|
+
* #CoglTextureRectangle. This can be used for integrating Cogl with
|
184
|
+
* software using OpenGL directly.
|
185
|
+
*
|
186
|
+
* <note>Unlike for #CoglTexture2D textures, coordinates for
|
187
|
+
* #CoglTextureRectangle textures should not be normalized. So instead
|
188
|
+
* of using the coordinate (1, 1) to sample the bottom right corner of
|
189
|
+
* a rectangle texture you would use (@width, @height) where @width
|
190
|
+
* and @height are the width and height of the texture.</note>
|
191
|
+
*
|
192
|
+
* <note>The results are undefined for passing an invalid @gl_handle
|
193
|
+
* or if @width or @height don't have the correct texture
|
194
|
+
* geometry.</note>
|
195
|
+
*
|
196
|
+
* <note>If you want to sample from a rectangle texture from GLSL you
|
197
|
+
* should use the sampler2DRect sampler type.</note>
|
198
|
+
*
|
199
|
+
* <note>Applications wanting to use #CoglTextureRectangle should
|
200
|
+
* first check for the %COGL_FEATURE_ID_TEXTURE_RECTANGLE feature
|
201
|
+
* using cogl_has_feature().</note>
|
202
|
+
*
|
203
|
+
* The texture is still configurable until it has been allocated so
|
204
|
+
* for example you can declare whether the texture is premultiplied
|
205
|
+
* with cogl_texture_set_premultiplied().
|
206
|
+
*
|
207
|
+
* Return value: (transfer full): A new #CoglTextureRectangle texture
|
208
|
+
*/
|
209
|
+
CoglTextureRectangle *
|
210
|
+
cogl_texture_rectangle_new_from_foreign (CoglContext *ctx,
|
211
|
+
unsigned int gl_handle,
|
212
|
+
int width,
|
213
|
+
int height,
|
214
|
+
CoglPixelFormat format);
|
215
|
+
|
216
|
+
COGL_END_DECLS
|
217
|
+
|
218
|
+
#endif /* __COGL_TEXURE_RECTANGLE_H */
|
@@ -0,0 +1,524 @@
|
|
1
|
+
/*
|
2
|
+
* Cogl
|
3
|
+
*
|
4
|
+
* A Low Level GPU Graphics and Utilities API
|
5
|
+
*
|
6
|
+
* Copyright (C) 2007,2008,2009,2010 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_TEXTURE_H__
|
36
|
+
#define __COGL_TEXTURE_H__
|
37
|
+
|
38
|
+
/* We forward declare the CoglTexture type here to avoid some circular
|
39
|
+
* dependency issues with the following headers.
|
40
|
+
*/
|
41
|
+
#ifdef __COGL_H_INSIDE__
|
42
|
+
/* For the public C api we typedef interface types as void to avoid needing
|
43
|
+
* lots of casting in code and instead we will rely on runtime type checking
|
44
|
+
* for these objects. */
|
45
|
+
typedef void CoglTexture;
|
46
|
+
#else
|
47
|
+
typedef struct _CoglTexture CoglTexture;
|
48
|
+
#define COGL_TEXTURE(X) ((CoglTexture *)X)
|
49
|
+
#endif
|
50
|
+
|
51
|
+
#include <cogl/cogl-types.h>
|
52
|
+
#include <cogl/cogl-macros.h>
|
53
|
+
#include <cogl/cogl-defines.h>
|
54
|
+
#if defined (COGL_ENABLE_EXPERIMENTAL_API)
|
55
|
+
#include <cogl/cogl-pixel-buffer.h>
|
56
|
+
#endif
|
57
|
+
#include <cogl/cogl-bitmap.h>
|
58
|
+
|
59
|
+
#ifdef COGL_HAS_GTYPE_SUPPORT
|
60
|
+
#include <glib-object.h>
|
61
|
+
#endif
|
62
|
+
|
63
|
+
COGL_BEGIN_DECLS
|
64
|
+
|
65
|
+
/**
|
66
|
+
* SECTION:cogl-texture
|
67
|
+
* @short_description: Functions for creating and manipulating textures
|
68
|
+
*
|
69
|
+
* Cogl allows creating and manipulating textures using a uniform
|
70
|
+
* API that tries to hide all the various complexities of creating,
|
71
|
+
* loading and manipulating textures.
|
72
|
+
*/
|
73
|
+
|
74
|
+
#define COGL_TEXTURE_MAX_WASTE 127
|
75
|
+
|
76
|
+
#ifdef COGL_HAS_GTYPE_SUPPORT
|
77
|
+
/**
|
78
|
+
* cogl_texture_get_gtype:
|
79
|
+
*
|
80
|
+
* Returns: a #GType that can be used with the GLib type system.
|
81
|
+
*/
|
82
|
+
GType cogl_texture_get_gtype (void);
|
83
|
+
#endif
|
84
|
+
|
85
|
+
/**
|
86
|
+
* COGL_TEXTURE_ERROR:
|
87
|
+
*
|
88
|
+
* #CoglError domain for texture errors.
|
89
|
+
*
|
90
|
+
* Since: 1.8
|
91
|
+
* Stability: Unstable
|
92
|
+
*/
|
93
|
+
#define COGL_TEXTURE_ERROR (cogl_texture_error_quark ())
|
94
|
+
|
95
|
+
/**
|
96
|
+
* CoglTextureError:
|
97
|
+
* @COGL_TEXTURE_ERROR_SIZE: Unsupported size
|
98
|
+
* @COGL_TEXTURE_ERROR_FORMAT: Unsupported format
|
99
|
+
* @COGL_TEXTURE_ERROR_TYPE: A primitive texture type that is
|
100
|
+
* unsupported by the driver was used
|
101
|
+
*
|
102
|
+
* Error codes that can be thrown when allocating textures.
|
103
|
+
*
|
104
|
+
* Since: 1.8
|
105
|
+
* Stability: Unstable
|
106
|
+
*/
|
107
|
+
typedef enum {
|
108
|
+
COGL_TEXTURE_ERROR_SIZE,
|
109
|
+
COGL_TEXTURE_ERROR_FORMAT,
|
110
|
+
COGL_TEXTURE_ERROR_BAD_PARAMETER,
|
111
|
+
COGL_TEXTURE_ERROR_TYPE
|
112
|
+
} CoglTextureError;
|
113
|
+
|
114
|
+
/**
|
115
|
+
* CoglTextureType:
|
116
|
+
* @COGL_TEXTURE_TYPE_2D: A #CoglTexture2D
|
117
|
+
* @COGL_TEXTURE_TYPE_3D: A #CoglTexture3D
|
118
|
+
* @COGL_TEXTURE_TYPE_RECTANGLE: A #CoglTextureRectangle
|
119
|
+
*
|
120
|
+
* Constants representing the underlying hardware texture type of a
|
121
|
+
* #CoglTexture.
|
122
|
+
*
|
123
|
+
* Stability: unstable
|
124
|
+
* Since: 1.10
|
125
|
+
*/
|
126
|
+
typedef enum {
|
127
|
+
COGL_TEXTURE_TYPE_2D,
|
128
|
+
COGL_TEXTURE_TYPE_3D,
|
129
|
+
COGL_TEXTURE_TYPE_RECTANGLE
|
130
|
+
} CoglTextureType;
|
131
|
+
|
132
|
+
uint32_t cogl_texture_error_quark (void);
|
133
|
+
|
134
|
+
/**
|
135
|
+
* cogl_is_texture:
|
136
|
+
* @object: A #CoglObject pointer
|
137
|
+
*
|
138
|
+
* Gets whether the given object references a texture object.
|
139
|
+
*
|
140
|
+
* Return value: %TRUE if the @object references a texture, and
|
141
|
+
* %FALSE otherwise
|
142
|
+
*/
|
143
|
+
CoglBool
|
144
|
+
cogl_is_texture (void *object);
|
145
|
+
|
146
|
+
/**
|
147
|
+
* CoglTextureComponents:
|
148
|
+
* @COGL_TEXTURE_COMPONENTS_A: Only the alpha component
|
149
|
+
* @COGL_TEXTURE_COMPONENTS_RG: Red and green components. Note that
|
150
|
+
* this can only be used if the %COGL_FEATURE_ID_TEXTURE_RG feature
|
151
|
+
* is advertised.
|
152
|
+
* @COGL_TEXTURE_COMPONENTS_RGB: Red, green and blue components
|
153
|
+
* @COGL_TEXTURE_COMPONENTS_RGBA: Red, green, blue and alpha components
|
154
|
+
* @COGL_TEXTURE_COMPONENTS_DEPTH: Only a depth component
|
155
|
+
*
|
156
|
+
* See cogl_texture_set_components().
|
157
|
+
*
|
158
|
+
* Since: 1.18
|
159
|
+
*/
|
160
|
+
typedef enum _CoglTextureComponents
|
161
|
+
{
|
162
|
+
COGL_TEXTURE_COMPONENTS_A = 1,
|
163
|
+
COGL_TEXTURE_COMPONENTS_RG,
|
164
|
+
COGL_TEXTURE_COMPONENTS_RGB,
|
165
|
+
COGL_TEXTURE_COMPONENTS_RGBA,
|
166
|
+
COGL_TEXTURE_COMPONENTS_DEPTH
|
167
|
+
} CoglTextureComponents;
|
168
|
+
|
169
|
+
/**
|
170
|
+
* cogl_texture_set_components:
|
171
|
+
* @texture: a #CoglTexture pointer.
|
172
|
+
*
|
173
|
+
* Affects the internal storage format for this texture by specifying
|
174
|
+
* what components will be required for sampling later.
|
175
|
+
*
|
176
|
+
* This api affects how data is uploaded to the GPU since unused
|
177
|
+
* components can potentially be discarded from source data.
|
178
|
+
*
|
179
|
+
* For textures created by the ‘_with_size’ constructors the default
|
180
|
+
* is %COGL_TEXTURE_COMPONENTS_RGBA. The other constructors which take
|
181
|
+
* a %CoglBitmap or a data pointer default to the same components as
|
182
|
+
* the pixel format of the data.
|
183
|
+
*
|
184
|
+
* Note that the %COGL_TEXTURE_COMPONENTS_RG format is not available
|
185
|
+
* on all drivers. The availability can be determined by checking for
|
186
|
+
* the %COGL_FEATURE_ID_TEXTURE_RG feature. If this format is used on
|
187
|
+
* a driver where it is not available then %COGL_TEXTURE_ERROR_FORMAT
|
188
|
+
* will be raised when the texture is allocated. Even if the feature
|
189
|
+
* is not available then %COGL_PIXEL_FORMAT_RG_88 can still be used as
|
190
|
+
* an image format as long as %COGL_TEXTURE_COMPONENTS_RG isn't used
|
191
|
+
* as the texture's components.
|
192
|
+
*
|
193
|
+
* Since: 1.18
|
194
|
+
*/
|
195
|
+
void
|
196
|
+
cogl_texture_set_components (CoglTexture *texture,
|
197
|
+
CoglTextureComponents components);
|
198
|
+
|
199
|
+
/**
|
200
|
+
* cogl_texture_get_components:
|
201
|
+
* @texture: a #CoglTexture pointer.
|
202
|
+
*
|
203
|
+
* Queries what components the given @texture stores internally as set
|
204
|
+
* via cogl_texture_set_components().
|
205
|
+
*
|
206
|
+
* For textures created by the ‘_with_size’ constructors the default
|
207
|
+
* is %COGL_TEXTURE_COMPONENTS_RGBA. The other constructors which take
|
208
|
+
* a %CoglBitmap or a data pointer default to the same components as
|
209
|
+
* the pixel format of the data.
|
210
|
+
*
|
211
|
+
* Since: 1.18
|
212
|
+
*/
|
213
|
+
CoglTextureComponents
|
214
|
+
cogl_texture_get_components (CoglTexture *texture);
|
215
|
+
|
216
|
+
/**
|
217
|
+
* cogl_texture_set_premultiplied:
|
218
|
+
* @texture: a #CoglTexture pointer.
|
219
|
+
* @premultiplied: Whether any internally stored red, green or blue
|
220
|
+
* components are pre-multiplied by an alpha
|
221
|
+
* component.
|
222
|
+
*
|
223
|
+
* Affects the internal storage format for this texture by specifying
|
224
|
+
* whether red, green and blue color components should be stored as
|
225
|
+
* pre-multiplied alpha values.
|
226
|
+
*
|
227
|
+
* This api affects how data is uploaded to the GPU since Cogl will
|
228
|
+
* convert source data to have premultiplied or unpremultiplied
|
229
|
+
* components according to this state.
|
230
|
+
*
|
231
|
+
* For example if you create a texture via
|
232
|
+
* cogl_texture_2d_new_with_size() and then upload data via
|
233
|
+
* cogl_texture_set_data() passing a source format of
|
234
|
+
* %COGL_PIXEL_FORMAT_RGBA_8888 then Cogl will internally multiply the
|
235
|
+
* red, green and blue components of the source data by the alpha
|
236
|
+
* component, for each pixel so that the internally stored data has
|
237
|
+
* pre-multiplied alpha components. If you instead upload data that
|
238
|
+
* already has pre-multiplied components by passing
|
239
|
+
* %COGL_PIXEL_FORMAT_RGBA_8888_PRE as the source format to
|
240
|
+
* cogl_texture_set_data() then the data can be uploaded without being
|
241
|
+
* converted.
|
242
|
+
*
|
243
|
+
* By default the @premultipled state is @TRUE.
|
244
|
+
*
|
245
|
+
* Since: 1.18
|
246
|
+
*/
|
247
|
+
void
|
248
|
+
cogl_texture_set_premultiplied (CoglTexture *texture,
|
249
|
+
CoglBool premultiplied);
|
250
|
+
|
251
|
+
/**
|
252
|
+
* cogl_texture_get_premultiplied:
|
253
|
+
* @texture: a #CoglTexture pointer.
|
254
|
+
*
|
255
|
+
* Queries the pre-multiplied alpha status for internally stored red,
|
256
|
+
* green and blue components for the given @texture as set by
|
257
|
+
* cogl_texture_set_premultiplied().
|
258
|
+
*
|
259
|
+
* By default the pre-multipled state is @TRUE.
|
260
|
+
*
|
261
|
+
* Return value: %TRUE if red, green and blue components are
|
262
|
+
* internally stored pre-multiplied by the alpha
|
263
|
+
* value or %FALSE if not.
|
264
|
+
* Since: 1.18
|
265
|
+
*/
|
266
|
+
CoglBool
|
267
|
+
cogl_texture_get_premultiplied (CoglTexture *texture);
|
268
|
+
|
269
|
+
/**
|
270
|
+
* cogl_texture_get_width:
|
271
|
+
* @texture: a #CoglTexture pointer.
|
272
|
+
*
|
273
|
+
* Queries the width of a cogl texture.
|
274
|
+
*
|
275
|
+
* Return value: the width of the GPU side texture in pixels
|
276
|
+
*/
|
277
|
+
unsigned int
|
278
|
+
cogl_texture_get_width (CoglTexture *texture);
|
279
|
+
|
280
|
+
/**
|
281
|
+
* cogl_texture_get_height:
|
282
|
+
* @texture: a #CoglTexture pointer.
|
283
|
+
*
|
284
|
+
* Queries the height of a cogl texture.
|
285
|
+
*
|
286
|
+
* Return value: the height of the GPU side texture in pixels
|
287
|
+
*/
|
288
|
+
unsigned int
|
289
|
+
cogl_texture_get_height (CoglTexture *texture);
|
290
|
+
|
291
|
+
/**
|
292
|
+
* cogl_texture_get_max_waste:
|
293
|
+
* @texture: a #CoglTexture pointer.
|
294
|
+
*
|
295
|
+
* Queries the maximum wasted (unused) pixels in one dimension of a GPU side
|
296
|
+
* texture.
|
297
|
+
*
|
298
|
+
* Return value: the maximum waste
|
299
|
+
*/
|
300
|
+
int
|
301
|
+
cogl_texture_get_max_waste (CoglTexture *texture);
|
302
|
+
|
303
|
+
/**
|
304
|
+
* cogl_texture_is_sliced:
|
305
|
+
* @texture: a #CoglTexture pointer.
|
306
|
+
*
|
307
|
+
* Queries if a texture is sliced (stored as multiple GPU side tecture
|
308
|
+
* objects).
|
309
|
+
*
|
310
|
+
* Return value: %TRUE if the texture is sliced, %FALSE if the texture
|
311
|
+
* is stored as a single GPU texture
|
312
|
+
*/
|
313
|
+
CoglBool
|
314
|
+
cogl_texture_is_sliced (CoglTexture *texture);
|
315
|
+
|
316
|
+
/**
|
317
|
+
* cogl_texture_get_gl_texture:
|
318
|
+
* @texture: a #CoglTexture pointer.
|
319
|
+
* @out_gl_handle: (out) (allow-none): pointer to return location for the
|
320
|
+
* textures GL handle, or %NULL.
|
321
|
+
* @out_gl_target: (out) (allow-none): pointer to return location for the
|
322
|
+
* GL target type, or %NULL.
|
323
|
+
*
|
324
|
+
* Queries the GL handles for a GPU side texture through its #CoglTexture.
|
325
|
+
*
|
326
|
+
* If the texture is spliced the data for the first sub texture will be
|
327
|
+
* queried.
|
328
|
+
*
|
329
|
+
* Return value: %TRUE if the handle was successfully retrieved, %FALSE
|
330
|
+
* if the handle was invalid
|
331
|
+
*/
|
332
|
+
CoglBool
|
333
|
+
cogl_texture_get_gl_texture (CoglTexture *texture,
|
334
|
+
unsigned int *out_gl_handle,
|
335
|
+
unsigned int *out_gl_target);
|
336
|
+
|
337
|
+
/**
|
338
|
+
* cogl_texture_get_data:
|
339
|
+
* @texture: a #CoglTexture pointer.
|
340
|
+
* @format: the #CoglPixelFormat to store the texture as.
|
341
|
+
* @rowstride: the rowstride of @data in bytes or pass 0 to calculate
|
342
|
+
* from the bytes-per-pixel of @format multiplied by the
|
343
|
+
* @texture width.
|
344
|
+
* @data: memory location to write the @texture's contents, or %NULL
|
345
|
+
* to only query the data size through the return value.
|
346
|
+
*
|
347
|
+
* Copies the pixel data from a cogl texture to system memory.
|
348
|
+
*
|
349
|
+
* <note>Don't pass the value of cogl_texture_get_rowstride() as the
|
350
|
+
* @rowstride argument, the rowstride should be the rowstride you
|
351
|
+
* want for the destination @data buffer not the rowstride of the
|
352
|
+
* source texture</note>
|
353
|
+
*
|
354
|
+
* Return value: the size of the texture data in bytes
|
355
|
+
*/
|
356
|
+
int
|
357
|
+
cogl_texture_get_data (CoglTexture *texture,
|
358
|
+
CoglPixelFormat format,
|
359
|
+
unsigned int rowstride,
|
360
|
+
uint8_t *data);
|
361
|
+
|
362
|
+
/**
|
363
|
+
* cogl_texture_set_region:
|
364
|
+
* @texture: a #CoglTexture.
|
365
|
+
* @src_x: upper left coordinate to use from source data.
|
366
|
+
* @src_y: upper left coordinate to use from source data.
|
367
|
+
* @dst_x: upper left destination horizontal coordinate.
|
368
|
+
* @dst_y: upper left destination vertical coordinate.
|
369
|
+
* @dst_width: width of destination region to write. (Must be less
|
370
|
+
* than or equal to @width)
|
371
|
+
* @dst_height: height of destination region to write. (Must be less
|
372
|
+
* than or equal to @height)
|
373
|
+
* @width: width of source data buffer.
|
374
|
+
* @height: height of source data buffer.
|
375
|
+
* @format: the #CoglPixelFormat used in the source buffer.
|
376
|
+
* @rowstride: rowstride of source buffer (computed from width if none
|
377
|
+
* specified)
|
378
|
+
* @data: the actual pixel data.
|
379
|
+
*
|
380
|
+
* Sets the pixels in a rectangular subregion of @texture from an in-memory
|
381
|
+
* buffer containing pixel data.
|
382
|
+
*
|
383
|
+
* <note>The region set can't be larger than the source @data</note>
|
384
|
+
*
|
385
|
+
* Return value: %TRUE if the subregion upload was successful, and
|
386
|
+
* %FALSE otherwise
|
387
|
+
*/
|
388
|
+
CoglBool
|
389
|
+
cogl_texture_set_region (CoglTexture *texture,
|
390
|
+
int src_x,
|
391
|
+
int src_y,
|
392
|
+
int dst_x,
|
393
|
+
int dst_y,
|
394
|
+
unsigned int dst_width,
|
395
|
+
unsigned int dst_height,
|
396
|
+
int width,
|
397
|
+
int height,
|
398
|
+
CoglPixelFormat format,
|
399
|
+
unsigned int rowstride,
|
400
|
+
const uint8_t *data);
|
401
|
+
|
402
|
+
#if defined (COGL_ENABLE_EXPERIMENTAL_API)
|
403
|
+
|
404
|
+
/**
|
405
|
+
* cogl_texture_set_data:
|
406
|
+
* @texture a #CoglTexture.
|
407
|
+
* @format: the #CoglPixelFormat used in the source @data buffer.
|
408
|
+
* @rowstride: rowstride of the source @data buffer (computed from
|
409
|
+
* the texture width and @format if it equals 0)
|
410
|
+
* @data: the source data, pointing to the first top-left pixel to set
|
411
|
+
* @level: The mipmap level to update (Normally 0 for the largest,
|
412
|
+
* base texture)
|
413
|
+
* @error: A #CoglError to return exceptional errors
|
414
|
+
*
|
415
|
+
* Sets all the pixels for a given mipmap @level by copying the pixel
|
416
|
+
* data pointed to by the @data argument into the given @texture.
|
417
|
+
*
|
418
|
+
* @data should point to the first pixel to copy corresponding
|
419
|
+
* to the top left of the mipmap @level being set.
|
420
|
+
*
|
421
|
+
* If @rowstride equals 0 then it will be automatically calculated
|
422
|
+
* from the width of the mipmap level and the bytes-per-pixel for the
|
423
|
+
* given @format.
|
424
|
+
*
|
425
|
+
* A mipmap @level of 0 corresponds to the largest, base image of a
|
426
|
+
* texture and @level 1 is half the width and height of level 0. If
|
427
|
+
* dividing any dimension of the previous level by two results in a
|
428
|
+
* fraction then round the number down (floor()), but clamp to 1
|
429
|
+
* something like this:
|
430
|
+
*
|
431
|
+
* |[
|
432
|
+
* next_width = MAX (1, floor (prev_width));
|
433
|
+
* ]|
|
434
|
+
*
|
435
|
+
* You can determine the number of mipmap levels for a given texture
|
436
|
+
* like this:
|
437
|
+
*
|
438
|
+
* |[
|
439
|
+
* n_levels = 1 + floor (log2 (max_dimension));
|
440
|
+
* ]|
|
441
|
+
*
|
442
|
+
* Where %max_dimension is the larger of cogl_texture_get_width() and
|
443
|
+
* cogl_texture_get_height().
|
444
|
+
*
|
445
|
+
* It is an error to pass a @level number >= the number of levels that
|
446
|
+
* @texture can have according to the above calculation.
|
447
|
+
*
|
448
|
+
* <note>Since the storage for a #CoglTexture is allocated lazily then
|
449
|
+
* if the given @texture has not previously been allocated then this
|
450
|
+
* api can return %FALSE and throw an exceptional @error if there is
|
451
|
+
* not enough memory to allocate storage for @texture.</note>
|
452
|
+
*
|
453
|
+
* Return value: %TRUE if the data upload was successful, and
|
454
|
+
* %FALSE otherwise
|
455
|
+
*/
|
456
|
+
CoglBool
|
457
|
+
cogl_texture_set_data (CoglTexture *texture,
|
458
|
+
CoglPixelFormat format,
|
459
|
+
int rowstride,
|
460
|
+
const uint8_t *data,
|
461
|
+
int level,
|
462
|
+
CoglError **error);
|
463
|
+
|
464
|
+
/**
|
465
|
+
* cogl_texture_set_region_from_bitmap:
|
466
|
+
* @texture: a #CoglTexture pointer
|
467
|
+
* @src_x: upper left coordinate to use from the source bitmap.
|
468
|
+
* @src_y: upper left coordinate to use from the source bitmap
|
469
|
+
* @dst_x: upper left destination horizontal coordinate.
|
470
|
+
* @dst_y: upper left destination vertical coordinate.
|
471
|
+
* @dst_width: width of destination region to write. (Must be less
|
472
|
+
* than or equal to the bitmap width)
|
473
|
+
* @dst_height: height of destination region to write. (Must be less
|
474
|
+
* than or equal to the bitmap height)
|
475
|
+
* @bitmap: The source bitmap to read from
|
476
|
+
*
|
477
|
+
* Copies a specified source region from @bitmap to the position
|
478
|
+
* (@src_x, @src_y) of the given destination texture @handle.
|
479
|
+
*
|
480
|
+
* <note>The region updated can't be larger than the source
|
481
|
+
* bitmap</note>
|
482
|
+
*
|
483
|
+
* Return value: %TRUE if the subregion upload was successful, and
|
484
|
+
* %FALSE otherwise
|
485
|
+
*
|
486
|
+
* Since: 1.8
|
487
|
+
* Stability: unstable
|
488
|
+
*/
|
489
|
+
CoglBool
|
490
|
+
cogl_texture_set_region_from_bitmap (CoglTexture *texture,
|
491
|
+
int src_x,
|
492
|
+
int src_y,
|
493
|
+
int dst_x,
|
494
|
+
int dst_y,
|
495
|
+
unsigned int dst_width,
|
496
|
+
unsigned int dst_height,
|
497
|
+
CoglBitmap *bitmap);
|
498
|
+
#endif
|
499
|
+
|
500
|
+
/**
|
501
|
+
* cogl_texture_allocate:
|
502
|
+
* @texture: A #CoglTexture
|
503
|
+
* @error: A #CoglError to return exceptional errors or %NULL
|
504
|
+
*
|
505
|
+
* Explicitly allocates the storage for the given @texture which
|
506
|
+
* allows you to be sure that there is enough memory for the
|
507
|
+
* texture and if not then the error can be handled gracefully.
|
508
|
+
*
|
509
|
+
* <note>Normally applications don't need to use this api directly
|
510
|
+
* since the texture will be implicitly allocated when data is set on
|
511
|
+
* the texture, or if the texture is attached to a #CoglOffscreen
|
512
|
+
* framebuffer and rendered too.</note>
|
513
|
+
*
|
514
|
+
* Return value: %TRUE if the texture was successfully allocated,
|
515
|
+
* otherwise %FALSE and @error will be updated if it
|
516
|
+
* wasn't %NULL.
|
517
|
+
*/
|
518
|
+
CoglBool
|
519
|
+
cogl_texture_allocate (CoglTexture *texture,
|
520
|
+
CoglError **error);
|
521
|
+
|
522
|
+
COGL_END_DECLS
|
523
|
+
|
524
|
+
#endif /* __COGL_TEXTURE_H__ */
|