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,258 @@
|
|
1
|
+
/*
|
2
|
+
* Cogl
|
3
|
+
*
|
4
|
+
* A Low Level GPU Graphics and Utilities API
|
5
|
+
*
|
6
|
+
* Copyright (C) 2013 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_ATLAS_TEXTURE_H_
|
36
|
+
#define _COGL_ATLAS_TEXTURE_H_
|
37
|
+
|
38
|
+
#include <cogl/cogl-context.h>
|
39
|
+
|
40
|
+
#ifdef COGL_HAS_GTYPE_SUPPORT
|
41
|
+
#include <glib-object.h>
|
42
|
+
#endif
|
43
|
+
|
44
|
+
COGL_BEGIN_DECLS
|
45
|
+
|
46
|
+
/**
|
47
|
+
* SECTION:cogl-atlas-texture
|
48
|
+
* @short_description: Functions for managing textures in Cogl's global
|
49
|
+
* set of texture atlases
|
50
|
+
*
|
51
|
+
* A texture atlas is a texture that contains many smaller images that
|
52
|
+
* an application is interested in. These are packed together as a way
|
53
|
+
* of optimizing drawing with those images by avoiding the costs of
|
54
|
+
* repeatedly telling the hardware to change what texture it should
|
55
|
+
* sample from. This can enable more geometry to be batched together
|
56
|
+
* into few draw calls.
|
57
|
+
*
|
58
|
+
* Each #CoglContext has an shared, pool of texture atlases that are
|
59
|
+
* are managed by Cogl.
|
60
|
+
*
|
61
|
+
* This api lets applications upload texture data into one of Cogl's
|
62
|
+
* shared texture atlases using a high-level #CoglAtlasTexture which
|
63
|
+
* represents a sub-region of one of these atlases.
|
64
|
+
*
|
65
|
+
* <note>A #CoglAtlasTexture is a high-level meta texture which has
|
66
|
+
* some limitations to be aware of. Please see the documentation for
|
67
|
+
* #CoglMetaTexture for more details.</note>
|
68
|
+
*/
|
69
|
+
|
70
|
+
|
71
|
+
typedef struct _CoglAtlasTexture CoglAtlasTexture;
|
72
|
+
#define COGL_ATLAS_TEXTURE(tex) ((CoglAtlasTexture *) tex)
|
73
|
+
|
74
|
+
#ifdef COGL_HAS_GTYPE_SUPPORT
|
75
|
+
/**
|
76
|
+
* cogl_atlas_texture_get_gtype:
|
77
|
+
*
|
78
|
+
* Returns: a #GType that can be used with the GLib type system.
|
79
|
+
*/
|
80
|
+
GType cogl_atlas_texture_get_gtype (void);
|
81
|
+
#endif
|
82
|
+
|
83
|
+
/**
|
84
|
+
* cogl_atlas_texture_new_with_size:
|
85
|
+
* @ctx: A #CoglContext
|
86
|
+
* @width: The width of your atlased texture.
|
87
|
+
* @height: The height of your atlased texture.
|
88
|
+
*
|
89
|
+
* Creates a #CoglAtlasTexture with a given @width and @height. A
|
90
|
+
* #CoglAtlasTexture represents a sub-region within one of Cogl's
|
91
|
+
* shared texture atlases.
|
92
|
+
*
|
93
|
+
* The storage for the texture is not allocated before this function
|
94
|
+
* returns. You can call cogl_texture_allocate() to explicitly
|
95
|
+
* allocate the underlying storage or let Cogl automatically allocate
|
96
|
+
* storage lazily.
|
97
|
+
*
|
98
|
+
* The texture is still configurable until it has been allocated so
|
99
|
+
* for example you can influence the internal format of the texture
|
100
|
+
* using cogl_texture_set_components() and
|
101
|
+
* cogl_texture_set_premultiplied().
|
102
|
+
*
|
103
|
+
* <note>Allocate call can fail if Cogl considers the internal
|
104
|
+
* format to be incompatible with the format of its internal
|
105
|
+
* atlases.</note>
|
106
|
+
*
|
107
|
+
* <note>The returned #CoglAtlasTexture is a high-level meta-texture
|
108
|
+
* with some limitations. See the documentation for #CoglMetaTexture
|
109
|
+
* for more details.</note>
|
110
|
+
*
|
111
|
+
* Returns: (transfer full): A new #CoglAtlasTexture object.
|
112
|
+
* Since: 1.16
|
113
|
+
* Stability: unstable
|
114
|
+
*/
|
115
|
+
CoglAtlasTexture *
|
116
|
+
cogl_atlas_texture_new_with_size (CoglContext *ctx,
|
117
|
+
int width,
|
118
|
+
int height);
|
119
|
+
|
120
|
+
/**
|
121
|
+
* cogl_atlas_texture_new_from_file:
|
122
|
+
* @ctx: A #CoglContext
|
123
|
+
* @filename: the file to load
|
124
|
+
* @error: A #CoglError to catch exceptional errors or %NULL
|
125
|
+
*
|
126
|
+
* Creates a #CoglAtlasTexture from an image file. A #CoglAtlasTexture
|
127
|
+
* represents a sub-region within one of Cogl's shared texture
|
128
|
+
* atlases.
|
129
|
+
*
|
130
|
+
* The storage for the texture is not allocated before this function
|
131
|
+
* returns. You can call cogl_texture_allocate() to explicitly
|
132
|
+
* allocate the underlying storage or let Cogl automatically allocate
|
133
|
+
* storage lazily.
|
134
|
+
*
|
135
|
+
* The texture is still configurable until it has been allocated so
|
136
|
+
* for example you can influence the internal format of the texture
|
137
|
+
* using cogl_texture_set_components() and
|
138
|
+
* cogl_texture_set_premultiplied().
|
139
|
+
*
|
140
|
+
* <note>Allocate call can fail if Cogl considers the internal
|
141
|
+
* format to be incompatible with the format of its internal
|
142
|
+
* atlases.</note>
|
143
|
+
*
|
144
|
+
* <note>The returned #CoglAtlasTexture is a high-level meta-texture
|
145
|
+
* with some limitations. See the documentation for #CoglMetaTexture
|
146
|
+
* for more details.</note>
|
147
|
+
*
|
148
|
+
* Return value: (transfer full): A new #CoglAtlasTexture object or
|
149
|
+
* %NULL on failure and @error will be updated.
|
150
|
+
* Since: 1.16
|
151
|
+
* Stability: unstable
|
152
|
+
*/
|
153
|
+
CoglAtlasTexture *
|
154
|
+
cogl_atlas_texture_new_from_file (CoglContext *ctx,
|
155
|
+
const char *filename,
|
156
|
+
CoglError **error);
|
157
|
+
|
158
|
+
/**
|
159
|
+
* cogl_atlas_texture_new_from_data:
|
160
|
+
* @ctx: A #CoglContext
|
161
|
+
* @width: width of texture in pixels
|
162
|
+
* @height: height of texture in pixels
|
163
|
+
* @format: the #CoglPixelFormat the buffer is stored in in RAM
|
164
|
+
* @rowstride: the memory offset in bytes between the start of each
|
165
|
+
* row in @data. A value of 0 will make Cogl automatically
|
166
|
+
* calculate @rowstride from @width and @format.
|
167
|
+
* @data: pointer to the memory region where the source buffer resides
|
168
|
+
* @error: A #CoglError to catch exceptional errors or %NULL
|
169
|
+
*
|
170
|
+
* Creates a new #CoglAtlasTexture texture based on data residing in
|
171
|
+
* memory. A #CoglAtlasTexture represents a sub-region within one of
|
172
|
+
* Cogl's shared texture atlases.
|
173
|
+
*
|
174
|
+
* <note>This api will always immediately allocate GPU memory for the
|
175
|
+
* texture and upload the given data so that the @data pointer does
|
176
|
+
* not need to remain valid once this function returns. This means it
|
177
|
+
* is not possible to configure the texture before it is allocated. If
|
178
|
+
* you do need to configure the texture before allocation (to specify
|
179
|
+
* constraints on the internal format for example) then you can
|
180
|
+
* instead create a #CoglBitmap for your data and use
|
181
|
+
* cogl_atlas_texture_new_from_bitmap() or use
|
182
|
+
* cogl_atlas_texture_new_with_size() and then upload data using
|
183
|
+
* cogl_texture_set_data()</note>
|
184
|
+
*
|
185
|
+
* <note>Allocate call can fail if Cogl considers the internal
|
186
|
+
* format to be incompatible with the format of its internal
|
187
|
+
* atlases.</note>
|
188
|
+
*
|
189
|
+
* <note>The returned #CoglAtlasTexture is a high-level
|
190
|
+
* meta-texture with some limitations. See the documentation for
|
191
|
+
* #CoglMetaTexture for more details.</note>
|
192
|
+
*
|
193
|
+
* Return value: (transfer full): A new #CoglAtlasTexture object or
|
194
|
+
* %NULL on failure and @error will be updated.
|
195
|
+
* Since: 1.16
|
196
|
+
* Stability: unstable
|
197
|
+
*/
|
198
|
+
CoglAtlasTexture *
|
199
|
+
cogl_atlas_texture_new_from_data (CoglContext *ctx,
|
200
|
+
int width,
|
201
|
+
int height,
|
202
|
+
CoglPixelFormat format,
|
203
|
+
int rowstride,
|
204
|
+
const uint8_t *data,
|
205
|
+
CoglError **error);
|
206
|
+
|
207
|
+
/**
|
208
|
+
* cogl_atlas_texture_new_from_bitmap:
|
209
|
+
* @bitmap: A #CoglBitmap
|
210
|
+
*
|
211
|
+
* Creates a new #CoglAtlasTexture texture based on data residing in a
|
212
|
+
* @bitmap. A #CoglAtlasTexture represents a sub-region within one of
|
213
|
+
* Cogl's shared texture atlases.
|
214
|
+
*
|
215
|
+
* The storage for the texture is not allocated before this function
|
216
|
+
* returns. You can call cogl_texture_allocate() to explicitly
|
217
|
+
* allocate the underlying storage or preferably let Cogl
|
218
|
+
* automatically allocate storage lazily when it may know more about
|
219
|
+
* how the texture is being used and can optimize how it is allocated.
|
220
|
+
*
|
221
|
+
* The texture is still configurable until it has been allocated so
|
222
|
+
* for example you can influence the internal format of the texture
|
223
|
+
* using cogl_texture_set_components() and
|
224
|
+
* cogl_texture_set_premultiplied().
|
225
|
+
*
|
226
|
+
* <note>Allocate call can fail if Cogl considers the internal
|
227
|
+
* format to be incompatible with the format of its internal
|
228
|
+
* atlases.</note>
|
229
|
+
*
|
230
|
+
* <note>The returned #CoglAtlasTexture is a high-level meta-texture
|
231
|
+
* with some limitations. See the documentation for #CoglMetaTexture
|
232
|
+
* for more details.</note>
|
233
|
+
*
|
234
|
+
* Returns: (transfer full): A new #CoglAtlasTexture object.
|
235
|
+
* Since: 1.16
|
236
|
+
* Stability: unstable
|
237
|
+
*/
|
238
|
+
CoglAtlasTexture *
|
239
|
+
cogl_atlas_texture_new_from_bitmap (CoglBitmap *bmp);
|
240
|
+
|
241
|
+
/**
|
242
|
+
* cogl_is_atlas_texture:
|
243
|
+
* @object: a #CoglObject
|
244
|
+
*
|
245
|
+
* Checks whether the given object references a #CoglAtlasTexture
|
246
|
+
*
|
247
|
+
* Return value: %TRUE if the passed object represents an atlas
|
248
|
+
* texture and %FALSE otherwise
|
249
|
+
*
|
250
|
+
* Since: 1.16
|
251
|
+
* Stability: Unstable
|
252
|
+
*/
|
253
|
+
CoglBool
|
254
|
+
cogl_is_atlas_texture (void *object);
|
255
|
+
|
256
|
+
COGL_END_DECLS
|
257
|
+
|
258
|
+
#endif /* _COGL_ATLAS_TEXTURE_H_ */
|
@@ -0,0 +1,152 @@
|
|
1
|
+
/*
|
2
|
+
* Cogl
|
3
|
+
*
|
4
|
+
* A Low Level GPU Graphics and Utilities API
|
5
|
+
*
|
6
|
+
* Copyright (C) 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
|
+
* Authors:
|
31
|
+
* Robert Bragg <robert@linux.intel.com>
|
32
|
+
*/
|
33
|
+
|
34
|
+
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
|
35
|
+
#error "Only <cogl/cogl.h> can be included directly."
|
36
|
+
#endif
|
37
|
+
|
38
|
+
#ifndef __COGL_ATTRIBUTE_BUFFER_H__
|
39
|
+
#define __COGL_ATTRIBUTE_BUFFER_H__
|
40
|
+
|
41
|
+
/* We forward declare the CoglAttributeBuffer type here to avoid some circular
|
42
|
+
* dependency issues with the following headers.
|
43
|
+
*/
|
44
|
+
typedef struct _CoglAttributeBuffer CoglAttributeBuffer;
|
45
|
+
|
46
|
+
#include <cogl/cogl-context.h>
|
47
|
+
|
48
|
+
#ifdef COGL_HAS_GTYPE_SUPPORT
|
49
|
+
#include <glib-object.h>
|
50
|
+
#endif
|
51
|
+
|
52
|
+
COGL_BEGIN_DECLS
|
53
|
+
|
54
|
+
/**
|
55
|
+
* SECTION:cogl-attribute-buffer
|
56
|
+
* @short_description: Functions for creating and manipulating attribute
|
57
|
+
* buffers
|
58
|
+
*
|
59
|
+
* FIXME
|
60
|
+
*/
|
61
|
+
|
62
|
+
#define COGL_ATTRIBUTE_BUFFER(buffer) ((CoglAttributeBuffer *)(buffer))
|
63
|
+
|
64
|
+
#ifdef COGL_HAS_GTYPE_SUPPORT
|
65
|
+
/**
|
66
|
+
* cogl_attribute_buffer_get_gtype:
|
67
|
+
*
|
68
|
+
* Returns: a #GType that can be used with the GLib type system.
|
69
|
+
*/
|
70
|
+
GType cogl_attribute_buffer_get_gtype (void);
|
71
|
+
#endif
|
72
|
+
|
73
|
+
/**
|
74
|
+
* cogl_attribute_buffer_new_with_size:
|
75
|
+
* @context: A #CoglContext
|
76
|
+
* @bytes: The number of bytes to allocate for vertex attribute data.
|
77
|
+
*
|
78
|
+
* Describes a new #CoglAttributeBuffer of @size bytes to contain
|
79
|
+
* arrays of vertex attribute data. Afterwards data can be set using
|
80
|
+
* cogl_buffer_set_data() or by mapping it into the application's
|
81
|
+
* address space using cogl_buffer_map().
|
82
|
+
*
|
83
|
+
* The underlying storage of this buffer isn't allocated by this
|
84
|
+
* function so that you have an opportunity to use the
|
85
|
+
* cogl_buffer_set_update_hint() and cogl_buffer_set_usage_hint()
|
86
|
+
* functions which may influence how the storage is allocated. The
|
87
|
+
* storage will be allocated once you upload data to the buffer.
|
88
|
+
*
|
89
|
+
* Note: You can assume this function always succeeds and won't return
|
90
|
+
* %NULL
|
91
|
+
*
|
92
|
+
* Return value: (transfer full): A newly allocated #CoglAttributeBuffer. Never %NULL.
|
93
|
+
*
|
94
|
+
* Stability: Unstable
|
95
|
+
*/
|
96
|
+
CoglAttributeBuffer *
|
97
|
+
cogl_attribute_buffer_new_with_size (CoglContext *context,
|
98
|
+
size_t bytes);
|
99
|
+
|
100
|
+
/**
|
101
|
+
* cogl_attribute_buffer_new:
|
102
|
+
* @context: A #CoglContext
|
103
|
+
* @bytes: The number of bytes to allocate for vertex attribute data.
|
104
|
+
* @data: (array length=bytes): An optional pointer to vertex data to
|
105
|
+
* upload immediately.
|
106
|
+
*
|
107
|
+
* Describes a new #CoglAttributeBuffer of @size bytes to contain
|
108
|
+
* arrays of vertex attribute data and also uploads @size bytes read
|
109
|
+
* from @data to the new buffer.
|
110
|
+
*
|
111
|
+
* You should never pass a %NULL data pointer.
|
112
|
+
*
|
113
|
+
* <note>This function does not report out-of-memory errors back to
|
114
|
+
* the caller by returning %NULL and so you can assume this function
|
115
|
+
* always succeeds.</note>
|
116
|
+
*
|
117
|
+
* <note>In the unlikely case that there is an out of memory problem
|
118
|
+
* then Cogl will abort the application with a message. If your
|
119
|
+
* application needs to gracefully handle out-of-memory errors then
|
120
|
+
* you can use cogl_attribute_buffer_new_with_size() and then
|
121
|
+
* explicitly catch errors with cogl_buffer_set_data() or
|
122
|
+
* cogl_buffer_map().</note>
|
123
|
+
*
|
124
|
+
* Return value: (transfer full): A newly allocated #CoglAttributeBuffer (never %NULL)
|
125
|
+
*
|
126
|
+
* Since: 1.4
|
127
|
+
* Stability: Unstable
|
128
|
+
*/
|
129
|
+
CoglAttributeBuffer *
|
130
|
+
cogl_attribute_buffer_new (CoglContext *context,
|
131
|
+
size_t bytes,
|
132
|
+
const void *data);
|
133
|
+
|
134
|
+
/**
|
135
|
+
* cogl_is_attribute_buffer:
|
136
|
+
* @object: A #CoglObject
|
137
|
+
*
|
138
|
+
* Gets whether the given object references a #CoglAttributeBuffer.
|
139
|
+
*
|
140
|
+
* Returns: %TRUE if @object references a #CoglAttributeBuffer,
|
141
|
+
* %FALSE otherwise
|
142
|
+
*
|
143
|
+
* Since: 1.4
|
144
|
+
* Stability: Unstable
|
145
|
+
*/
|
146
|
+
CoglBool
|
147
|
+
cogl_is_attribute_buffer (void *object);
|
148
|
+
|
149
|
+
COGL_END_DECLS
|
150
|
+
|
151
|
+
#endif /* __COGL_ATTRIBUTE_BUFFER_H__ */
|
152
|
+
|
@@ -0,0 +1,558 @@
|
|
1
|
+
/*
|
2
|
+
* Cogl
|
3
|
+
*
|
4
|
+
* A Low Level GPU Graphics and Utilities API
|
5
|
+
*
|
6
|
+
* Copyright (C) 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
|
+
* Authors:
|
31
|
+
* Robert Bragg <robert@linux.intel.com>
|
32
|
+
*/
|
33
|
+
|
34
|
+
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
|
35
|
+
#error "Only <cogl/cogl.h> can be included directly."
|
36
|
+
#endif
|
37
|
+
|
38
|
+
#ifndef __COGL_ATTRIBUTE_H__
|
39
|
+
#define __COGL_ATTRIBUTE_H__
|
40
|
+
|
41
|
+
/* We forward declare the CoglAttribute type here to avoid some circular
|
42
|
+
* dependency issues with the following headers.
|
43
|
+
*/
|
44
|
+
typedef struct _CoglAttribute CoglAttribute;
|
45
|
+
|
46
|
+
#include <cogl/cogl-attribute-buffer.h>
|
47
|
+
#include <cogl/cogl-indices.h>
|
48
|
+
|
49
|
+
#ifdef COGL_HAS_GTYPE_SUPPORT
|
50
|
+
#include <glib-object.h>
|
51
|
+
#endif
|
52
|
+
|
53
|
+
COGL_BEGIN_DECLS
|
54
|
+
|
55
|
+
/**
|
56
|
+
* SECTION:cogl-attribute
|
57
|
+
* @short_description: Functions for declaring and drawing vertex
|
58
|
+
* attributes
|
59
|
+
*
|
60
|
+
* FIXME
|
61
|
+
*/
|
62
|
+
|
63
|
+
#ifdef COGL_HAS_GTYPE_SUPPORT
|
64
|
+
/**
|
65
|
+
* cogl_attribute_get_gtype:
|
66
|
+
*
|
67
|
+
* Returns: a #GType that can be used with the GLib type system.
|
68
|
+
*/
|
69
|
+
GType cogl_attribute_get_gtype (void);
|
70
|
+
#endif
|
71
|
+
|
72
|
+
/**
|
73
|
+
* cogl_attribute_new: (constructor)
|
74
|
+
* @attribute_buffer: The #CoglAttributeBuffer containing the actual
|
75
|
+
* attribute data
|
76
|
+
* @name: The name of the attribute (used to reference it from GLSL)
|
77
|
+
* @stride: The number of bytes to jump to get to the next attribute
|
78
|
+
* value for the next vertex. (Usually
|
79
|
+
* <literal>sizeof (MyVertex)</literal>)
|
80
|
+
* @offset: The byte offset from the start of @attribute_buffer for
|
81
|
+
* the first attribute value. (Usually
|
82
|
+
* <literal>offsetof (MyVertex, component0)</literal>
|
83
|
+
* @components: The number of components (e.g. 4 for an rgba color or
|
84
|
+
* 3 for and (x,y,z) position)
|
85
|
+
* @type: FIXME
|
86
|
+
*
|
87
|
+
* Describes the layout for a list of vertex attribute values (For
|
88
|
+
* example, a list of texture coordinates or colors).
|
89
|
+
*
|
90
|
+
* The @name is used to access the attribute inside a GLSL vertex
|
91
|
+
* shader and there are some special names you should use if they are
|
92
|
+
* applicable:
|
93
|
+
* <itemizedlist>
|
94
|
+
* <listitem>"cogl_position_in" (used for vertex positions)</listitem>
|
95
|
+
* <listitem>"cogl_color_in" (used for vertex colors)</listitem>
|
96
|
+
* <listitem>"cogl_tex_coord0_in", "cogl_tex_coord1", ...
|
97
|
+
* (used for vertex texture coordinates)</listitem>
|
98
|
+
* <listitem>"cogl_normal_in" (used for vertex normals)</listitem>
|
99
|
+
* <listitem>"cogl_point_size_in" (used to set the size of points
|
100
|
+
* per-vertex. Note this can only be used if
|
101
|
+
* %COGL_FEATURE_ID_POINT_SIZE_ATTRIBUTE is advertised and
|
102
|
+
* cogl_pipeline_set_per_vertex_point_size() is called on the pipeline.
|
103
|
+
* </listitem>
|
104
|
+
* </itemizedlist>
|
105
|
+
*
|
106
|
+
* The attribute values corresponding to different vertices can either
|
107
|
+
* be tightly packed or interleaved with other attribute values. For
|
108
|
+
* example it's common to define a structure for a single vertex like:
|
109
|
+
* |[
|
110
|
+
* typedef struct
|
111
|
+
* {
|
112
|
+
* float x, y, z; /<!-- -->* position attribute *<!-- -->/
|
113
|
+
* float s, t; /<!-- -->* texture coordinate attribute *<!-- -->/
|
114
|
+
* } MyVertex;
|
115
|
+
* ]|
|
116
|
+
*
|
117
|
+
* And then create an array of vertex data something like:
|
118
|
+
* |[
|
119
|
+
* MyVertex vertices[100] = { .... }
|
120
|
+
* ]|
|
121
|
+
*
|
122
|
+
* In this case, to describe either the position or texture coordinate
|
123
|
+
* attribute you have to move <literal>sizeof (MyVertex)</literal> bytes to
|
124
|
+
* move from one vertex to the next. This is called the attribute
|
125
|
+
* @stride. If you weren't interleving attributes and you instead had
|
126
|
+
* a packed array of float x, y pairs then the attribute stride would
|
127
|
+
* be <literal>(2 * sizeof (float))</literal>. So the @stride is the number of
|
128
|
+
* bytes to move to find the attribute value of the next vertex.
|
129
|
+
*
|
130
|
+
* Normally a list of attributes starts at the beginning of an array.
|
131
|
+
* So for the <literal>MyVertex</literal> example above the @offset is the
|
132
|
+
* offset inside the <literal>MyVertex</literal> structure to the first
|
133
|
+
* component of the attribute. For the texture coordinate attribute
|
134
|
+
* the offset would be <literal>offsetof (MyVertex, s)</literal> or instead of
|
135
|
+
* using the offsetof macro you could use <literal>sizeof (float) *
|
136
|
+
* 3</literal>. If you've divided your @array into blocks of non-interleved
|
137
|
+
* attributes then you will need to calculate the @offset as the number of
|
138
|
+
* bytes in blocks preceding the attribute you're describing.
|
139
|
+
*
|
140
|
+
* An attribute often has more than one component. For example a color
|
141
|
+
* is often comprised of 4 red, green, blue and alpha @components, and a
|
142
|
+
* position may be comprised of 2 x and y @components. You should aim
|
143
|
+
* to keep the number of components to a minimum as more components
|
144
|
+
* means more data needs to be mapped into the GPU which can be a
|
145
|
+
* bottlneck when dealing with a large number of vertices.
|
146
|
+
*
|
147
|
+
* Finally you need to specify the component data type. Here you
|
148
|
+
* should aim to use the smallest type that meets your precision
|
149
|
+
* requirements. Again the larger the type then more data needs to be
|
150
|
+
* mapped into the GPU which can be a bottlneck when dealing with
|
151
|
+
* a large number of vertices.
|
152
|
+
*
|
153
|
+
* Return value: (transfer full): A newly allocated #CoglAttribute
|
154
|
+
* describing the layout for a list of attribute values
|
155
|
+
* stored in @array.
|
156
|
+
*
|
157
|
+
* Since: 1.4
|
158
|
+
* Stability: Unstable
|
159
|
+
*/
|
160
|
+
/* XXX: look for a precedent to see if the stride/offset args should
|
161
|
+
* have a different order. */
|
162
|
+
CoglAttribute *
|
163
|
+
cogl_attribute_new (CoglAttributeBuffer *attribute_buffer,
|
164
|
+
const char *name,
|
165
|
+
size_t stride,
|
166
|
+
size_t offset,
|
167
|
+
int components,
|
168
|
+
CoglAttributeType type);
|
169
|
+
|
170
|
+
/**
|
171
|
+
* cogl_attribute_new_const_1f:
|
172
|
+
* @context: A #CoglContext
|
173
|
+
* @name: The name of the attribute (used to reference it from GLSL)
|
174
|
+
* @value: The constant value for the attribute
|
175
|
+
*
|
176
|
+
* Creates a new, single component, attribute whose value remains
|
177
|
+
* constant across all the vertices of a primitive without needing to
|
178
|
+
* duplicate the value for each vertex.
|
179
|
+
*
|
180
|
+
* The constant @value is a single precision floating point scalar
|
181
|
+
* which should have a corresponding declaration in GLSL code like:
|
182
|
+
*
|
183
|
+
* [|
|
184
|
+
* attribute float name;
|
185
|
+
* |]
|
186
|
+
*
|
187
|
+
* Return value: (transfer full): A newly allocated #CoglAttribute
|
188
|
+
* representing the given constant @value.
|
189
|
+
*/
|
190
|
+
CoglAttribute *
|
191
|
+
cogl_attribute_new_const_1f (CoglContext *context,
|
192
|
+
const char *name,
|
193
|
+
float value);
|
194
|
+
|
195
|
+
/**
|
196
|
+
* cogl_attribute_new_const_2f:
|
197
|
+
* @context: A #CoglContext
|
198
|
+
* @name: The name of the attribute (used to reference it from GLSL)
|
199
|
+
* @component0: The first component of a 2 component vector
|
200
|
+
* @component1: The second component of a 2 component vector
|
201
|
+
*
|
202
|
+
* Creates a new, 2 component, attribute whose value remains
|
203
|
+
* constant across all the vertices of a primitive without needing to
|
204
|
+
* duplicate the value for each vertex.
|
205
|
+
*
|
206
|
+
* The constants (@component0, @component1) represent a 2 component
|
207
|
+
* float vector which should have a corresponding declaration in GLSL
|
208
|
+
* code like:
|
209
|
+
*
|
210
|
+
* [|
|
211
|
+
* attribute vec2 name;
|
212
|
+
* |]
|
213
|
+
*
|
214
|
+
* Return value: (transfer full): A newly allocated #CoglAttribute
|
215
|
+
* representing the given constant vector.
|
216
|
+
*/
|
217
|
+
CoglAttribute *
|
218
|
+
cogl_attribute_new_const_2f (CoglContext *context,
|
219
|
+
const char *name,
|
220
|
+
float component0,
|
221
|
+
float component1);
|
222
|
+
|
223
|
+
/**
|
224
|
+
* cogl_attribute_new_const_3f:
|
225
|
+
* @context: A #CoglContext
|
226
|
+
* @name: The name of the attribute (used to reference it from GLSL)
|
227
|
+
* @component0: The first component of a 3 component vector
|
228
|
+
* @component1: The second component of a 3 component vector
|
229
|
+
* @component2: The third component of a 3 component vector
|
230
|
+
*
|
231
|
+
* Creates a new, 3 component, attribute whose value remains
|
232
|
+
* constant across all the vertices of a primitive without needing to
|
233
|
+
* duplicate the value for each vertex.
|
234
|
+
*
|
235
|
+
* The constants (@component0, @component1, @component2) represent a 3
|
236
|
+
* component float vector which should have a corresponding
|
237
|
+
* declaration in GLSL code like:
|
238
|
+
*
|
239
|
+
* [|
|
240
|
+
* attribute vec3 name;
|
241
|
+
* |]
|
242
|
+
*
|
243
|
+
* unless the built in name "cogl_normal_in" is being used where no
|
244
|
+
* explicit GLSL declaration need be made.
|
245
|
+
*
|
246
|
+
* Return value: (transfer full): A newly allocated #CoglAttribute
|
247
|
+
* representing the given constant vector.
|
248
|
+
*/
|
249
|
+
CoglAttribute *
|
250
|
+
cogl_attribute_new_const_3f (CoglContext *context,
|
251
|
+
const char *name,
|
252
|
+
float component0,
|
253
|
+
float component1,
|
254
|
+
float component2);
|
255
|
+
|
256
|
+
/**
|
257
|
+
* cogl_attribute_new_const_4f:
|
258
|
+
* @context: A #CoglContext
|
259
|
+
* @name: The name of the attribute (used to reference it from GLSL)
|
260
|
+
* @component0: The first component of a 4 component vector
|
261
|
+
* @component1: The second component of a 4 component vector
|
262
|
+
* @component2: The third component of a 4 component vector
|
263
|
+
* @component3: The fourth component of a 4 component vector
|
264
|
+
*
|
265
|
+
* Creates a new, 4 component, attribute whose value remains
|
266
|
+
* constant across all the vertices of a primitive without needing to
|
267
|
+
* duplicate the value for each vertex.
|
268
|
+
*
|
269
|
+
* The constants (@component0, @component1, @component2, @constant3)
|
270
|
+
* represent a 4 component float vector which should have a
|
271
|
+
* corresponding declaration in GLSL code like:
|
272
|
+
*
|
273
|
+
* [|
|
274
|
+
* attribute vec4 name;
|
275
|
+
* |]
|
276
|
+
*
|
277
|
+
* unless one of the built in names "cogl_color_in",
|
278
|
+
* "cogl_tex_coord0_in or "cogl_tex_coord1_in" etc is being used where
|
279
|
+
* no explicit GLSL declaration need be made.
|
280
|
+
*
|
281
|
+
* Return value: (transfer full): A newly allocated #CoglAttribute
|
282
|
+
* representing the given constant vector.
|
283
|
+
*/
|
284
|
+
CoglAttribute *
|
285
|
+
cogl_attribute_new_const_4f (CoglContext *context,
|
286
|
+
const char *name,
|
287
|
+
float component0,
|
288
|
+
float component1,
|
289
|
+
float component2,
|
290
|
+
float component3);
|
291
|
+
|
292
|
+
/**
|
293
|
+
* cogl_attribute_new_const_2fv:
|
294
|
+
* @context: A #CoglContext
|
295
|
+
* @name: The name of the attribute (used to reference it from GLSL)
|
296
|
+
* @value: A pointer to a 2 component float vector
|
297
|
+
*
|
298
|
+
* Creates a new, 2 component, attribute whose value remains
|
299
|
+
* constant across all the vertices of a primitive without needing to
|
300
|
+
* duplicate the value for each vertex.
|
301
|
+
*
|
302
|
+
* The constants (value[0], value[1]) represent a 2 component float
|
303
|
+
* vector which should have a corresponding declaration in GLSL code
|
304
|
+
* like:
|
305
|
+
*
|
306
|
+
* [|
|
307
|
+
* attribute vec2 name;
|
308
|
+
* |]
|
309
|
+
*
|
310
|
+
* Return value: (transfer full): A newly allocated #CoglAttribute
|
311
|
+
* representing the given constant vector.
|
312
|
+
*/
|
313
|
+
CoglAttribute *
|
314
|
+
cogl_attribute_new_const_2fv (CoglContext *context,
|
315
|
+
const char *name,
|
316
|
+
const float *value);
|
317
|
+
|
318
|
+
/**
|
319
|
+
* cogl_attribute_new_const_3fv:
|
320
|
+
* @context: A #CoglContext
|
321
|
+
* @name: The name of the attribute (used to reference it from GLSL)
|
322
|
+
* @value: A pointer to a 3 component float vector
|
323
|
+
*
|
324
|
+
* Creates a new, 3 component, attribute whose value remains
|
325
|
+
* constant across all the vertices of a primitive without needing to
|
326
|
+
* duplicate the value for each vertex.
|
327
|
+
*
|
328
|
+
* The constants (value[0], value[1], value[2]) represent a 3
|
329
|
+
* component float vector which should have a corresponding
|
330
|
+
* declaration in GLSL code like:
|
331
|
+
*
|
332
|
+
* [|
|
333
|
+
* attribute vec3 name;
|
334
|
+
* |]
|
335
|
+
*
|
336
|
+
* unless the built in name "cogl_normal_in" is being used where no
|
337
|
+
* explicit GLSL declaration need be made.
|
338
|
+
*
|
339
|
+
* Return value: (transfer full): A newly allocated #CoglAttribute
|
340
|
+
* representing the given constant vector.
|
341
|
+
*/
|
342
|
+
CoglAttribute *
|
343
|
+
cogl_attribute_new_const_3fv (CoglContext *context,
|
344
|
+
const char *name,
|
345
|
+
const float *value);
|
346
|
+
|
347
|
+
/**
|
348
|
+
* cogl_attribute_new_const_4fv:
|
349
|
+
* @context: A #CoglContext
|
350
|
+
* @name: The name of the attribute (used to reference it from GLSL)
|
351
|
+
* @value: A pointer to a 4 component float vector
|
352
|
+
*
|
353
|
+
* Creates a new, 4 component, attribute whose value remains
|
354
|
+
* constant across all the vertices of a primitive without needing to
|
355
|
+
* duplicate the value for each vertex.
|
356
|
+
*
|
357
|
+
* The constants (value[0], value[1], value[2], value[3]) represent a
|
358
|
+
* 4 component float vector which should have a corresponding
|
359
|
+
* declaration in GLSL code like:
|
360
|
+
*
|
361
|
+
* [|
|
362
|
+
* attribute vec4 name;
|
363
|
+
* |]
|
364
|
+
*
|
365
|
+
* unless one of the built in names "cogl_color_in",
|
366
|
+
* "cogl_tex_coord0_in or "cogl_tex_coord1_in" etc is being used where
|
367
|
+
* no explicit GLSL declaration need be made.
|
368
|
+
*
|
369
|
+
* Return value: (transfer full): A newly allocated #CoglAttribute
|
370
|
+
* representing the given constant vector.
|
371
|
+
*/
|
372
|
+
CoglAttribute *
|
373
|
+
cogl_attribute_new_const_4fv (CoglContext *context,
|
374
|
+
const char *name,
|
375
|
+
const float *value);
|
376
|
+
|
377
|
+
/**
|
378
|
+
* cogl_attribute_new_const_2x2fv:
|
379
|
+
* @context: A #CoglContext
|
380
|
+
* @name: The name of the attribute (used to reference it from GLSL)
|
381
|
+
* @matrix2x2: A pointer to a 2 by 2 matrix
|
382
|
+
* @transpose: Whether the matrix should be transposed on upload or
|
383
|
+
* not
|
384
|
+
*
|
385
|
+
* Creates a new matrix attribute whose value remains constant
|
386
|
+
* across all the vertices of a primitive without needing to duplicate
|
387
|
+
* the value for each vertex.
|
388
|
+
*
|
389
|
+
* @matrix2x2 represent a square 2 by 2 matrix specified in
|
390
|
+
* column-major order (each pair of consecutive numbers represents a
|
391
|
+
* column) which should have a corresponding declaration in GLSL code
|
392
|
+
* like:
|
393
|
+
*
|
394
|
+
* [|
|
395
|
+
* attribute mat2 name;
|
396
|
+
* |]
|
397
|
+
*
|
398
|
+
* If @transpose is %TRUE then all matrix components are rotated
|
399
|
+
* around the diagonal of the matrix such that the first column
|
400
|
+
* becomes the first row and the second column becomes the second row.
|
401
|
+
*
|
402
|
+
* Return value: (transfer full): A newly allocated #CoglAttribute
|
403
|
+
* representing the given constant matrix.
|
404
|
+
*/
|
405
|
+
CoglAttribute *
|
406
|
+
cogl_attribute_new_const_2x2fv (CoglContext *context,
|
407
|
+
const char *name,
|
408
|
+
const float *matrix2x2,
|
409
|
+
CoglBool transpose);
|
410
|
+
|
411
|
+
/**
|
412
|
+
* cogl_attribute_new_const_3x3fv:
|
413
|
+
* @context: A #CoglContext
|
414
|
+
* @name: The name of the attribute (used to reference it from GLSL)
|
415
|
+
* @matrix3x3: A pointer to a 3 by 3 matrix
|
416
|
+
* @transpose: Whether the matrix should be transposed on upload or
|
417
|
+
* not
|
418
|
+
*
|
419
|
+
* Creates a new matrix attribute whose value remains constant
|
420
|
+
* across all the vertices of a primitive without needing to duplicate
|
421
|
+
* the value for each vertex.
|
422
|
+
*
|
423
|
+
* @matrix3x3 represent a square 3 by 3 matrix specified in
|
424
|
+
* column-major order (each triple of consecutive numbers represents a
|
425
|
+
* column) which should have a corresponding declaration in GLSL code
|
426
|
+
* like:
|
427
|
+
*
|
428
|
+
* [|
|
429
|
+
* attribute mat3 name;
|
430
|
+
* |]
|
431
|
+
*
|
432
|
+
* If @transpose is %TRUE then all matrix components are rotated
|
433
|
+
* around the diagonal of the matrix such that the first column
|
434
|
+
* becomes the first row and the second column becomes the second row
|
435
|
+
* etc.
|
436
|
+
*
|
437
|
+
* Return value: (transfer full): A newly allocated #CoglAttribute
|
438
|
+
* representing the given constant matrix.
|
439
|
+
*/
|
440
|
+
CoglAttribute *
|
441
|
+
cogl_attribute_new_const_3x3fv (CoglContext *context,
|
442
|
+
const char *name,
|
443
|
+
const float *matrix3x3,
|
444
|
+
CoglBool transpose);
|
445
|
+
|
446
|
+
/**
|
447
|
+
* cogl_attribute_new_const_4x4fv:
|
448
|
+
* @context: A #CoglContext
|
449
|
+
* @name: The name of the attribute (used to reference it from GLSL)
|
450
|
+
* @matrix4x4: A pointer to a 4 by 4 matrix
|
451
|
+
* @transpose: Whether the matrix should be transposed on upload or
|
452
|
+
* not
|
453
|
+
*
|
454
|
+
* Creates a new matrix attribute whose value remains constant
|
455
|
+
* across all the vertices of a primitive without needing to duplicate
|
456
|
+
* the value for each vertex.
|
457
|
+
*
|
458
|
+
* @matrix4x4 represent a square 4 by 4 matrix specified in
|
459
|
+
* column-major order (each 4-tuple of consecutive numbers represents a
|
460
|
+
* column) which should have a corresponding declaration in GLSL code
|
461
|
+
* like:
|
462
|
+
*
|
463
|
+
* [|
|
464
|
+
* attribute mat4 name;
|
465
|
+
* |]
|
466
|
+
*
|
467
|
+
* If @transpose is %TRUE then all matrix components are rotated
|
468
|
+
* around the diagonal of the matrix such that the first column
|
469
|
+
* becomes the first row and the second column becomes the second row
|
470
|
+
* etc.
|
471
|
+
*
|
472
|
+
* Return value: (transfer full): A newly allocated #CoglAttribute
|
473
|
+
* representing the given constant matrix.
|
474
|
+
*/
|
475
|
+
CoglAttribute *
|
476
|
+
cogl_attribute_new_const_4x4fv (CoglContext *context,
|
477
|
+
const char *name,
|
478
|
+
const float *matrix4x4,
|
479
|
+
CoglBool transpose);
|
480
|
+
|
481
|
+
/**
|
482
|
+
* cogl_attribute_set_normalized:
|
483
|
+
* @attribute: A #CoglAttribute
|
484
|
+
* @normalized: The new value for the normalized property.
|
485
|
+
*
|
486
|
+
* Sets whether fixed point attribute types are mapped to the range
|
487
|
+
* 0→1. For example when this property is TRUE and a
|
488
|
+
* %COGL_ATTRIBUTE_TYPE_UNSIGNED_BYTE type is used then the value 255
|
489
|
+
* will be mapped to 1.0.
|
490
|
+
*
|
491
|
+
* The default value of this property depends on the name of the
|
492
|
+
* attribute. For the builtin properties cogl_color_in and
|
493
|
+
* cogl_normal_in it will default to TRUE and for all other names it
|
494
|
+
* will default to FALSE.
|
495
|
+
*
|
496
|
+
* Stability: unstable
|
497
|
+
* Since: 1.10
|
498
|
+
*/
|
499
|
+
void
|
500
|
+
cogl_attribute_set_normalized (CoglAttribute *attribute,
|
501
|
+
CoglBool normalized);
|
502
|
+
|
503
|
+
/**
|
504
|
+
* cogl_attribute_get_normalized:
|
505
|
+
* @attribute: A #CoglAttribute
|
506
|
+
*
|
507
|
+
* Return value: the value of the normalized property set with
|
508
|
+
* cogl_attribute_set_normalized().
|
509
|
+
*
|
510
|
+
* Stability: unstable
|
511
|
+
* Since: 1.10
|
512
|
+
*/
|
513
|
+
CoglBool
|
514
|
+
cogl_attribute_get_normalized (CoglAttribute *attribute);
|
515
|
+
|
516
|
+
/**
|
517
|
+
* cogl_attribute_get_buffer:
|
518
|
+
* @attribute: A #CoglAttribute
|
519
|
+
*
|
520
|
+
* Return value: (transfer none): the #CoglAttributeBuffer that was
|
521
|
+
* set with cogl_attribute_set_buffer() or cogl_attribute_new().
|
522
|
+
*
|
523
|
+
* Stability: unstable
|
524
|
+
* Since: 1.10
|
525
|
+
*/
|
526
|
+
CoglAttributeBuffer *
|
527
|
+
cogl_attribute_get_buffer (CoglAttribute *attribute);
|
528
|
+
|
529
|
+
/**
|
530
|
+
* cogl_attribute_set_buffer:
|
531
|
+
* @attribute: A #CoglAttribute
|
532
|
+
* @attribute_buffer: A #CoglAttributeBuffer
|
533
|
+
*
|
534
|
+
* Sets a new #CoglAttributeBuffer for the attribute.
|
535
|
+
*
|
536
|
+
* Stability: unstable
|
537
|
+
* Since: 1.10
|
538
|
+
*/
|
539
|
+
void
|
540
|
+
cogl_attribute_set_buffer (CoglAttribute *attribute,
|
541
|
+
CoglAttributeBuffer *attribute_buffer);
|
542
|
+
|
543
|
+
/**
|
544
|
+
* cogl_is_attribute:
|
545
|
+
* @object: A #CoglObject
|
546
|
+
*
|
547
|
+
* Gets whether the given object references a #CoglAttribute.
|
548
|
+
*
|
549
|
+
* Return value: %TRUE if the @object references a #CoglAttribute,
|
550
|
+
* %FALSE otherwise
|
551
|
+
*/
|
552
|
+
CoglBool
|
553
|
+
cogl_is_attribute (void *object);
|
554
|
+
|
555
|
+
COGL_END_DECLS
|
556
|
+
|
557
|
+
#endif /* __COGL_ATTRIBUTE_H__ */
|
558
|
+
|