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,446 @@
|
|
1
|
+
/*
|
2
|
+
* Cogl
|
3
|
+
*
|
4
|
+
* A Low Level GPU Graphics and Utilities API
|
5
|
+
*
|
6
|
+
* Copyright (C) 2007,2008,2009 Intel Corporation.
|
7
|
+
*
|
8
|
+
* Permission is hereby granted, free of charge, to any person
|
9
|
+
* obtaining a copy of this software and associated documentation
|
10
|
+
* files (the "Software"), to deal in the Software without
|
11
|
+
* restriction, including without limitation the rights to use, copy,
|
12
|
+
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
13
|
+
* of the Software, and to permit persons to whom the Software is
|
14
|
+
* furnished to do so, subject to the following conditions:
|
15
|
+
*
|
16
|
+
* The above copyright notice and this permission notice shall be
|
17
|
+
* included in all copies or substantial portions of the Software.
|
18
|
+
*
|
19
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
20
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
21
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
22
|
+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
23
|
+
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
24
|
+
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
25
|
+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
26
|
+
* SOFTWARE.
|
27
|
+
*/
|
28
|
+
|
29
|
+
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
|
30
|
+
#error "Only <cogl/cogl.h> can be included directly."
|
31
|
+
#endif
|
32
|
+
|
33
|
+
#ifndef __COGL_RENDERER_H__
|
34
|
+
#define __COGL_RENDERER_H__
|
35
|
+
|
36
|
+
#include <cogl/cogl-types.h>
|
37
|
+
#include <cogl/cogl-onscreen-template.h>
|
38
|
+
#include <cogl/cogl-error.h>
|
39
|
+
#include <cogl/cogl-output.h>
|
40
|
+
|
41
|
+
#ifdef COGL_HAS_GTYPE_SUPPORT
|
42
|
+
#include <glib-object.h>
|
43
|
+
#endif
|
44
|
+
|
45
|
+
COGL_BEGIN_DECLS
|
46
|
+
|
47
|
+
/**
|
48
|
+
* SECTION:cogl-renderer
|
49
|
+
* @short_description: Choosing a means to render
|
50
|
+
*
|
51
|
+
* A #CoglRenderer represents a means to render. It encapsulates the
|
52
|
+
* selection of an underlying driver, such as OpenGL or OpenGL-ES and
|
53
|
+
* a selection of a window system binding API such as GLX, or EGL or
|
54
|
+
* WGL.
|
55
|
+
*
|
56
|
+
* A #CoglRenderer has two states, "unconnected" and "connected". When
|
57
|
+
* a renderer is first instantiated using cogl_renderer_new() it is
|
58
|
+
* unconnected so that it can be configured and constraints can be
|
59
|
+
* specified for how the backend driver and window system should be
|
60
|
+
* chosen.
|
61
|
+
*
|
62
|
+
* After configuration a #CoglRenderer can (optionally) be explicitly
|
63
|
+
* connected using cogl_renderer_connect() which allows for the
|
64
|
+
* handling of connection errors so that fallback configurations can
|
65
|
+
* be tried if necessary. Applications that don't support any
|
66
|
+
* fallbacks though can skip using cogl_renderer_connect() and leave
|
67
|
+
* Cogl to automatically connect the renderer.
|
68
|
+
*
|
69
|
+
* Once you have a configured #CoglRenderer it can be used to create a
|
70
|
+
* #CoglDisplay object using cogl_display_new().
|
71
|
+
*
|
72
|
+
* <note>Many applications don't need to explicitly use
|
73
|
+
* cogl_renderer_new() or cogl_display_new() and can just jump
|
74
|
+
* straight to cogl_context_new() and pass a %NULL display argument so
|
75
|
+
* Cogl will automatically connect and setup a renderer and
|
76
|
+
* display.</note>
|
77
|
+
*/
|
78
|
+
|
79
|
+
|
80
|
+
/**
|
81
|
+
* COGL_RENDERER_ERROR:
|
82
|
+
*
|
83
|
+
* An error domain for exceptions reported by Cogl
|
84
|
+
*/
|
85
|
+
#define COGL_RENDERER_ERROR cogl_renderer_error_quark ()
|
86
|
+
|
87
|
+
uint32_t
|
88
|
+
cogl_renderer_error_quark (void);
|
89
|
+
|
90
|
+
typedef struct _CoglRenderer CoglRenderer;
|
91
|
+
|
92
|
+
#ifdef COGL_HAS_GTYPE_SUPPORT
|
93
|
+
/**
|
94
|
+
* cogl_renderer_get_gtype:
|
95
|
+
*
|
96
|
+
* Returns: a #GType that can be used with the GLib type system.
|
97
|
+
*/
|
98
|
+
GType cogl_renderer_get_gtype (void);
|
99
|
+
#endif
|
100
|
+
|
101
|
+
/**
|
102
|
+
* cogl_is_renderer:
|
103
|
+
* @object: A #CoglObject pointer
|
104
|
+
*
|
105
|
+
* Determines if the given @object is a #CoglRenderer
|
106
|
+
*
|
107
|
+
* Return value: %TRUE if @object is a #CoglRenderer, else %FALSE.
|
108
|
+
* Since: 1.10
|
109
|
+
* Stability: unstable
|
110
|
+
*/
|
111
|
+
CoglBool
|
112
|
+
cogl_is_renderer (void *object);
|
113
|
+
|
114
|
+
/**
|
115
|
+
* cogl_renderer_new:
|
116
|
+
*
|
117
|
+
* Instantiates a new (unconnected) #CoglRenderer object. A
|
118
|
+
* #CoglRenderer represents a means to render. It encapsulates the
|
119
|
+
* selection of an underlying driver, such as OpenGL or OpenGL-ES and
|
120
|
+
* a selection of a window system binding API such as GLX, or EGL or
|
121
|
+
* WGL.
|
122
|
+
*
|
123
|
+
* While the renderer is unconnected it can be configured so that
|
124
|
+
* applications may specify backend constraints, such as "must use
|
125
|
+
* x11" for example via cogl_renderer_add_constraint().
|
126
|
+
*
|
127
|
+
* There are also some platform specific configuration apis such
|
128
|
+
* as cogl_xlib_renderer_set_foreign_display() that may also be
|
129
|
+
* used while the renderer is unconnected.
|
130
|
+
*
|
131
|
+
* Once the renderer has been configured, then it may (optionally) be
|
132
|
+
* explicitly connected using cogl_renderer_connect() which allows
|
133
|
+
* errors to be handled gracefully and potentially fallback
|
134
|
+
* configurations can be tried out if there are initial failures.
|
135
|
+
*
|
136
|
+
* If a renderer is not explicitly connected then cogl_display_new()
|
137
|
+
* will automatically connect the renderer for you. If you don't
|
138
|
+
* have any code to deal with error/fallback situations then its fine
|
139
|
+
* to just let Cogl do the connection for you.
|
140
|
+
*
|
141
|
+
* Once you have setup your renderer then the next step is to create a
|
142
|
+
* #CoglDisplay using cogl_display_new().
|
143
|
+
*
|
144
|
+
* <note>Many applications don't need to explicitly use
|
145
|
+
* cogl_renderer_new() or cogl_display_new() and can just jump
|
146
|
+
* straight to cogl_context_new() and pass a %NULL display argument
|
147
|
+
* so Cogl will automatically connect and setup a renderer and
|
148
|
+
* display.</note>
|
149
|
+
*
|
150
|
+
* Return value: (transfer full): A newly created #CoglRenderer.
|
151
|
+
*
|
152
|
+
* Since: 1.10
|
153
|
+
* Stability: unstable
|
154
|
+
*/
|
155
|
+
CoglRenderer *
|
156
|
+
cogl_renderer_new (void);
|
157
|
+
|
158
|
+
/* optional configuration APIs */
|
159
|
+
|
160
|
+
/**
|
161
|
+
* CoglWinsysID:
|
162
|
+
* @COGL_WINSYS_ID_ANY: Implies no preference for which backend is used
|
163
|
+
* @COGL_WINSYS_ID_STUB: Use the no-op stub backend
|
164
|
+
* @COGL_WINSYS_ID_GLX: Use the GLX window system binding API
|
165
|
+
* @COGL_WINSYS_ID_EGL_XLIB: Use EGL with the X window system via XLib
|
166
|
+
* @COGL_WINSYS_ID_EGL_NULL: Use EGL with the PowerVR NULL window system
|
167
|
+
* @COGL_WINSYS_ID_EGL_GDL: Use EGL with the GDL platform
|
168
|
+
* @COGL_WINSYS_ID_EGL_WAYLAND: Use EGL with the Wayland window system
|
169
|
+
* @COGL_WINSYS_ID_EGL_KMS: Use EGL with the KMS platform
|
170
|
+
* @COGL_WINSYS_ID_EGL_ANDROID: Use EGL with the Android platform
|
171
|
+
* @COGL_WINSYS_ID_WGL: Use the Microsoft Windows WGL binding API
|
172
|
+
* @COGL_WINSYS_ID_SDL: Use the SDL window system
|
173
|
+
*
|
174
|
+
* Identifies specific window system backends that Cogl supports.
|
175
|
+
*
|
176
|
+
* These can be used to query what backend Cogl is using or to try and
|
177
|
+
* explicitly select a backend to use.
|
178
|
+
*/
|
179
|
+
typedef enum
|
180
|
+
{
|
181
|
+
COGL_WINSYS_ID_ANY,
|
182
|
+
COGL_WINSYS_ID_STUB,
|
183
|
+
COGL_WINSYS_ID_GLX,
|
184
|
+
COGL_WINSYS_ID_EGL_XLIB,
|
185
|
+
COGL_WINSYS_ID_EGL_NULL,
|
186
|
+
COGL_WINSYS_ID_EGL_GDL,
|
187
|
+
COGL_WINSYS_ID_EGL_WAYLAND,
|
188
|
+
COGL_WINSYS_ID_EGL_KMS,
|
189
|
+
COGL_WINSYS_ID_EGL_ANDROID,
|
190
|
+
COGL_WINSYS_ID_WGL,
|
191
|
+
COGL_WINSYS_ID_SDL
|
192
|
+
} CoglWinsysID;
|
193
|
+
|
194
|
+
/**
|
195
|
+
* cogl_renderer_set_winsys_id:
|
196
|
+
* @renderer: A #CoglRenderer
|
197
|
+
* @winsys_id: An ID of the winsys you explicitly want to use.
|
198
|
+
*
|
199
|
+
* This allows you to explicitly select a winsys backend to use instead
|
200
|
+
* of letting Cogl automatically select a backend.
|
201
|
+
*
|
202
|
+
* if you select an unsupported backend then cogl_renderer_connect()
|
203
|
+
* will fail and report an error.
|
204
|
+
*
|
205
|
+
* This may only be called on an un-connected #CoglRenderer.
|
206
|
+
*/
|
207
|
+
void
|
208
|
+
cogl_renderer_set_winsys_id (CoglRenderer *renderer,
|
209
|
+
CoglWinsysID winsys_id);
|
210
|
+
|
211
|
+
/**
|
212
|
+
* cogl_renderer_get_winsys_id:
|
213
|
+
* @renderer: A #CoglRenderer
|
214
|
+
*
|
215
|
+
* Queries which window system backend Cogl has chosen to use.
|
216
|
+
*
|
217
|
+
* This may only be called on a connected #CoglRenderer.
|
218
|
+
*
|
219
|
+
* Returns: The #CoglWinsysID corresponding to the chosen window
|
220
|
+
* system backend.
|
221
|
+
*/
|
222
|
+
CoglWinsysID
|
223
|
+
cogl_renderer_get_winsys_id (CoglRenderer *renderer);
|
224
|
+
|
225
|
+
/**
|
226
|
+
* cogl_renderer_get_n_fragment_texture_units:
|
227
|
+
* @renderer: A #CoglRenderer
|
228
|
+
*
|
229
|
+
* Queries how many texture units can be used from fragment programs
|
230
|
+
*
|
231
|
+
* Returns: the number of texture image units.
|
232
|
+
*
|
233
|
+
* Since: 1.8
|
234
|
+
* Stability: Unstable
|
235
|
+
*/
|
236
|
+
int
|
237
|
+
cogl_renderer_get_n_fragment_texture_units (CoglRenderer *renderer);
|
238
|
+
|
239
|
+
/**
|
240
|
+
* cogl_renderer_check_onscreen_template:
|
241
|
+
* @renderer: A #CoglRenderer
|
242
|
+
* @onscreen_template: A #CoglOnscreenTemplate
|
243
|
+
* @error: A pointer to a #CoglError for reporting exceptions
|
244
|
+
*
|
245
|
+
* Tests if a given @onscreen_template can be supported with the given
|
246
|
+
* @renderer.
|
247
|
+
*
|
248
|
+
* Return value: %TRUE if the @onscreen_template can be supported,
|
249
|
+
* else %FALSE.
|
250
|
+
* Since: 1.10
|
251
|
+
* Stability: unstable
|
252
|
+
*/
|
253
|
+
CoglBool
|
254
|
+
cogl_renderer_check_onscreen_template (CoglRenderer *renderer,
|
255
|
+
CoglOnscreenTemplate *onscreen_template,
|
256
|
+
CoglError **error);
|
257
|
+
|
258
|
+
/* Final connection API */
|
259
|
+
|
260
|
+
/**
|
261
|
+
* cogl_renderer_connect:
|
262
|
+
* @renderer: An unconnected #CoglRenderer
|
263
|
+
* @error: a pointer to a #CoglError for reporting exceptions
|
264
|
+
*
|
265
|
+
* Connects the configured @renderer. Renderer connection isn't a
|
266
|
+
* very active process, it basically just means validating that
|
267
|
+
* any given constraint criteria can be satisfied and that a
|
268
|
+
* usable driver and window system backend can be found.
|
269
|
+
*
|
270
|
+
* Return value: %TRUE if there was no error while connecting the
|
271
|
+
* given @renderer. %FALSE if there was an error.
|
272
|
+
* Since: 1.10
|
273
|
+
* Stability: unstable
|
274
|
+
*/
|
275
|
+
CoglBool
|
276
|
+
cogl_renderer_connect (CoglRenderer *renderer, CoglError **error);
|
277
|
+
|
278
|
+
/**
|
279
|
+
* CoglRendererConstraint:
|
280
|
+
* @COGL_RENDERER_CONSTRAINT_USES_X11: Require the renderer to be X11 based
|
281
|
+
* @COGL_RENDERER_CONSTRAINT_USES_XLIB: Require the renderer to be X11
|
282
|
+
* based and use Xlib
|
283
|
+
* @COGL_RENDERER_CONSTRAINT_USES_EGL: Require the renderer to be EGL based
|
284
|
+
* @COGL_RENDERER_CONSTRAINT_SUPPORTS_COGL_GLES2: Require that the
|
285
|
+
* renderer supports creating a #CoglGLES2Context via
|
286
|
+
* cogl_gles2_context_new(). This can be used to integrate GLES 2.0
|
287
|
+
* code into Cogl based applications.
|
288
|
+
*
|
289
|
+
* These constraint flags are hard-coded features of the different renderer
|
290
|
+
* backends. Sometimes a platform may support multiple rendering options which
|
291
|
+
* Cogl will usually choose from automatically. Some of these features are
|
292
|
+
* important to higher level applications and frameworks though, such as
|
293
|
+
* whether a renderer is X11 based because an application might only support
|
294
|
+
* X11 based input handling. An application might also need to ensure EGL is
|
295
|
+
* used internally too if they depend on access to an EGLDisplay for some
|
296
|
+
* purpose.
|
297
|
+
*
|
298
|
+
* Applications should ideally minimize how many of these constraints
|
299
|
+
* they depend on to ensure maximum portability.
|
300
|
+
*
|
301
|
+
* Since: 1.10
|
302
|
+
* Stability: unstable
|
303
|
+
*/
|
304
|
+
typedef enum
|
305
|
+
{
|
306
|
+
COGL_RENDERER_CONSTRAINT_USES_X11 = (1 << 0),
|
307
|
+
COGL_RENDERER_CONSTRAINT_USES_XLIB = (1 << 1),
|
308
|
+
COGL_RENDERER_CONSTRAINT_USES_EGL = (1 << 2),
|
309
|
+
COGL_RENDERER_CONSTRAINT_SUPPORTS_COGL_GLES2 = (1 << 3)
|
310
|
+
} CoglRendererConstraint;
|
311
|
+
|
312
|
+
|
313
|
+
/**
|
314
|
+
* cogl_renderer_add_constraint:
|
315
|
+
* @renderer: An unconnected #CoglRenderer
|
316
|
+
* @constraint: A #CoglRendererConstraint to add
|
317
|
+
*
|
318
|
+
* This adds a renderer selection @constraint.
|
319
|
+
*
|
320
|
+
* Applications should ideally minimize how many of these constraints they
|
321
|
+
* depend on to ensure maximum portability.
|
322
|
+
*
|
323
|
+
* Since: 1.10
|
324
|
+
* Stability: unstable
|
325
|
+
*/
|
326
|
+
void
|
327
|
+
cogl_renderer_add_constraint (CoglRenderer *renderer,
|
328
|
+
CoglRendererConstraint constraint);
|
329
|
+
|
330
|
+
/**
|
331
|
+
* cogl_renderer_remove_constraint:
|
332
|
+
* @renderer: An unconnected #CoglRenderer
|
333
|
+
* @constraint: A #CoglRendererConstraint to remove
|
334
|
+
*
|
335
|
+
* This removes a renderer selection @constraint.
|
336
|
+
*
|
337
|
+
* Applications should ideally minimize how many of these constraints they
|
338
|
+
* depend on to ensure maximum portability.
|
339
|
+
*
|
340
|
+
* Since: 1.10
|
341
|
+
* Stability: unstable
|
342
|
+
*/
|
343
|
+
void
|
344
|
+
cogl_renderer_remove_constraint (CoglRenderer *renderer,
|
345
|
+
CoglRendererConstraint constraint);
|
346
|
+
|
347
|
+
/**
|
348
|
+
* CoglDriver:
|
349
|
+
* @COGL_DRIVER_ANY: Implies no preference for which driver is used
|
350
|
+
* @COGL_DRIVER_NOP: A No-Op driver.
|
351
|
+
* @COGL_DRIVER_GL: An OpenGL driver.
|
352
|
+
* @COGL_DRIVER_GL3: An OpenGL driver using the core GL 3.1 profile
|
353
|
+
* @COGL_DRIVER_GLES1: An OpenGL ES 1.1 driver.
|
354
|
+
* @COGL_DRIVER_GLES2: An OpenGL ES 2.0 driver.
|
355
|
+
* @COGL_DRIVER_WEBGL: A WebGL driver.
|
356
|
+
*
|
357
|
+
* Identifiers for underlying hardware drivers that may be used by
|
358
|
+
* Cogl for rendering.
|
359
|
+
*
|
360
|
+
* Since: 1.10
|
361
|
+
* Stability: unstable
|
362
|
+
*/
|
363
|
+
typedef enum
|
364
|
+
{
|
365
|
+
COGL_DRIVER_ANY,
|
366
|
+
COGL_DRIVER_NOP,
|
367
|
+
COGL_DRIVER_GL,
|
368
|
+
COGL_DRIVER_GL3,
|
369
|
+
COGL_DRIVER_GLES1,
|
370
|
+
COGL_DRIVER_GLES2,
|
371
|
+
COGL_DRIVER_WEBGL
|
372
|
+
} CoglDriver;
|
373
|
+
|
374
|
+
/**
|
375
|
+
* cogl_renderer_set_driver:
|
376
|
+
* @renderer: An unconnected #CoglRenderer
|
377
|
+
*
|
378
|
+
* Requests that Cogl should try to use a specific underlying driver
|
379
|
+
* for rendering.
|
380
|
+
*
|
381
|
+
* If you select an unsupported driver then cogl_renderer_connect()
|
382
|
+
* will fail and report an error. Most applications should not
|
383
|
+
* explicitly select a driver and should rely on Cogl automatically
|
384
|
+
* choosing the driver.
|
385
|
+
*
|
386
|
+
* This may only be called on an un-connected #CoglRenderer.
|
387
|
+
*
|
388
|
+
* Since: 1.10
|
389
|
+
* Stability: unstable
|
390
|
+
*/
|
391
|
+
void
|
392
|
+
cogl_renderer_set_driver (CoglRenderer *renderer,
|
393
|
+
CoglDriver driver);
|
394
|
+
|
395
|
+
/**
|
396
|
+
* cogl_renderer_get_driver:
|
397
|
+
* @renderer: A connected #CoglRenderer
|
398
|
+
*
|
399
|
+
* Queries what underlying driver is being used by Cogl.
|
400
|
+
*
|
401
|
+
* This may only be called on a connected #CoglRenderer.
|
402
|
+
*
|
403
|
+
* Since: 1.10
|
404
|
+
* Stability: unstable
|
405
|
+
*/
|
406
|
+
CoglDriver
|
407
|
+
cogl_renderer_get_driver (CoglRenderer *renderer);
|
408
|
+
|
409
|
+
/**
|
410
|
+
* CoglOutputCallback:
|
411
|
+
* @output: The current display output being iterated
|
412
|
+
* @user_data: The user pointer passed to
|
413
|
+
* cogl_renderer_foreach_output()
|
414
|
+
*
|
415
|
+
* A callback type that can be passed to
|
416
|
+
* cogl_renderer_foreach_output() for iterating display outputs for a
|
417
|
+
* given renderer.
|
418
|
+
*
|
419
|
+
* Since: 1.14
|
420
|
+
* Stability: Unstable
|
421
|
+
*/
|
422
|
+
typedef void (*CoglOutputCallback) (CoglOutput *output, void *user_data);
|
423
|
+
|
424
|
+
/**
|
425
|
+
* cogl_renderer_foreach_output:
|
426
|
+
* @renderer: A connected #CoglRenderer
|
427
|
+
* @callback: (scope call): A #CoglOutputCallback to be called for
|
428
|
+
* each display output
|
429
|
+
* @user_data: A user pointer to be passed to @callback
|
430
|
+
*
|
431
|
+
* Iterates all known display outputs for the given @renderer and
|
432
|
+
* passes a corresponding #CoglOutput pointer to the given @callback
|
433
|
+
* for each one, along with the given @user_data.
|
434
|
+
*
|
435
|
+
* Since: 1.14
|
436
|
+
* Stability: Unstable
|
437
|
+
*/
|
438
|
+
void
|
439
|
+
cogl_renderer_foreach_output (CoglRenderer *renderer,
|
440
|
+
CoglOutputCallback callback,
|
441
|
+
void *user_data);
|
442
|
+
|
443
|
+
COGL_END_DECLS
|
444
|
+
|
445
|
+
#endif /* __COGL_RENDERER_H__ */
|
446
|
+
|
@@ -0,0 +1,704 @@
|
|
1
|
+
/*
|
2
|
+
* Cogl
|
3
|
+
*
|
4
|
+
* A Low Level GPU Graphics and Utilities API
|
5
|
+
*
|
6
|
+
* Copyright (C) 2008,2009 Intel Corporation.
|
7
|
+
*
|
8
|
+
* Permission is hereby granted, free of charge, to any person
|
9
|
+
* obtaining a copy of this software and associated documentation
|
10
|
+
* files (the "Software"), to deal in the Software without
|
11
|
+
* restriction, including without limitation the rights to use, copy,
|
12
|
+
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
13
|
+
* of the Software, and to permit persons to whom the Software is
|
14
|
+
* furnished to do so, subject to the following conditions:
|
15
|
+
*
|
16
|
+
* The above copyright notice and this permission notice shall be
|
17
|
+
* included in all copies or substantial portions of the Software.
|
18
|
+
*
|
19
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
20
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
21
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
22
|
+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
23
|
+
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
24
|
+
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
25
|
+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
26
|
+
* SOFTWARE.
|
27
|
+
*
|
28
|
+
*
|
29
|
+
*/
|
30
|
+
|
31
|
+
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
|
32
|
+
#error "Only <cogl/cogl.h> can be included directly."
|
33
|
+
#endif
|
34
|
+
|
35
|
+
#ifndef __COGL_SHADER_H__
|
36
|
+
#define __COGL_SHADER_H__
|
37
|
+
|
38
|
+
#include <cogl/cogl-types.h>
|
39
|
+
#include <cogl/cogl-defines.h>
|
40
|
+
#include <cogl/cogl-macros.h>
|
41
|
+
|
42
|
+
COGL_BEGIN_DECLS
|
43
|
+
|
44
|
+
/**
|
45
|
+
* SECTION:cogl-shaders
|
46
|
+
* @short_description: Fuctions for accessing the programmable GL pipeline
|
47
|
+
*
|
48
|
+
* Cogl allows accessing the GL programmable pipeline in order to create
|
49
|
+
* vertex and fragment shaders.
|
50
|
+
*
|
51
|
+
* The shader source code can either be GLSL or ARBfp. If the source
|
52
|
+
* code is ARBfp, it must begin with the string “!!ARBfp1.0”. The
|
53
|
+
* application should check for the %COGL_FEATURE_SHADERS_GLSL or
|
54
|
+
* %COGL_FEATURE_SHADERS_ARBFP features before using shaders.
|
55
|
+
*
|
56
|
+
* When using GLSL Cogl provides replacement names for most of the
|
57
|
+
* builtin varyings and uniforms. It is recommended to use these names
|
58
|
+
* wherever possible to increase portability between OpenGL 2.0 and
|
59
|
+
* GLES 2.0. GLES 2.0 does not have most of the builtins under their
|
60
|
+
* original names so they will only work with the Cogl names.
|
61
|
+
*
|
62
|
+
* For use in all GLSL shaders, the Cogl builtins are as follows:
|
63
|
+
*
|
64
|
+
* <tip>
|
65
|
+
* <glosslist>
|
66
|
+
* <glossentry>
|
67
|
+
* <glossterm>uniform mat4
|
68
|
+
* <emphasis>cogl_modelview_matrix</emphasis></glossterm>
|
69
|
+
* <glossdef><para>
|
70
|
+
* The current modelview matrix. This is equivalent to
|
71
|
+
* #gl_ModelViewMatrix.
|
72
|
+
* </para></glossdef>
|
73
|
+
* </glossentry>
|
74
|
+
* <glossentry>
|
75
|
+
* <glossterm>uniform mat4
|
76
|
+
* <emphasis>cogl_projection_matrix</emphasis></glossterm>
|
77
|
+
* <glossdef><para>
|
78
|
+
* The current projection matrix. This is equivalent to
|
79
|
+
* #gl_ProjectionMatrix.
|
80
|
+
* </para></glossdef>
|
81
|
+
* </glossentry>
|
82
|
+
* <glossentry>
|
83
|
+
* <glossterm>uniform mat4
|
84
|
+
* <emphasis>cogl_modelview_projection_matrix</emphasis></glossterm>
|
85
|
+
* <glossdef><para>
|
86
|
+
* The combined modelview and projection matrix. A vertex shader
|
87
|
+
* would typically use this to transform the incoming vertex
|
88
|
+
* position. The separate modelview and projection matrices are
|
89
|
+
* usually only needed for lighting calculations. This is
|
90
|
+
* equivalent to #gl_ModelViewProjectionMatrix.
|
91
|
+
* </para></glossdef>
|
92
|
+
* </glossentry>
|
93
|
+
* <glossentry>
|
94
|
+
* <glossterm>uniform mat4
|
95
|
+
* <emphasis>cogl_texture_matrix</emphasis>[]</glossterm>
|
96
|
+
* <glossdef><para>
|
97
|
+
* An array of matrices for transforming the texture
|
98
|
+
* coordinates. This is equivalent to #gl_TextureMatrix.
|
99
|
+
* </para></glossdef>
|
100
|
+
* </glossentry>
|
101
|
+
* </glosslist>
|
102
|
+
* </tip>
|
103
|
+
*
|
104
|
+
* In a vertex shader, the following are also available:
|
105
|
+
*
|
106
|
+
* <tip>
|
107
|
+
* <glosslist>
|
108
|
+
* <glossentry>
|
109
|
+
* <glossterm>attribute vec4
|
110
|
+
* <emphasis>cogl_position_in</emphasis></glossterm>
|
111
|
+
* <glossdef><para>
|
112
|
+
* The incoming vertex position. This is equivalent to #gl_Vertex.
|
113
|
+
* </para></glossdef>
|
114
|
+
* </glossentry>
|
115
|
+
* <glossentry>
|
116
|
+
* <glossterm>attribute vec4
|
117
|
+
* <emphasis>cogl_color_in</emphasis></glossterm>
|
118
|
+
* <glossdef><para>
|
119
|
+
* The incoming vertex color. This is equivalent to #gl_Color.
|
120
|
+
* </para></glossdef>
|
121
|
+
* </glossentry>
|
122
|
+
* <glossentry>
|
123
|
+
* <glossterm>attribute vec4
|
124
|
+
* <emphasis>cogl_tex_coord_in</emphasis></glossterm>
|
125
|
+
* <glossdef><para>
|
126
|
+
* The texture coordinate for the first texture unit. This is
|
127
|
+
* equivalent to #gl_MultiTexCoord0.
|
128
|
+
* </para></glossdef>
|
129
|
+
* </glossentry>
|
130
|
+
* <glossentry>
|
131
|
+
* <glossterm>attribute vec4
|
132
|
+
* <emphasis>cogl_tex_coord0_in</emphasis></glossterm>
|
133
|
+
* <glossdef><para>
|
134
|
+
* The texture coordinate for the first texture unit. This is
|
135
|
+
* equivalent to #gl_MultiTexCoord0. There is also
|
136
|
+
* #cogl_tex_coord1_in and so on.
|
137
|
+
* </para></glossdef>
|
138
|
+
* </glossentry>
|
139
|
+
* <glossentry>
|
140
|
+
* <glossterm>attribute vec3
|
141
|
+
* <emphasis>cogl_normal_in</emphasis></glossterm>
|
142
|
+
* <glossdef><para>
|
143
|
+
* The normal of the vertex. This is equivalent to #gl_Normal.
|
144
|
+
* </para></glossdef>
|
145
|
+
* </glossentry>
|
146
|
+
* <glossentry>
|
147
|
+
* <glossterm>vec4
|
148
|
+
* <emphasis>cogl_position_out</emphasis></glossterm>
|
149
|
+
* <glossdef><para>
|
150
|
+
* The calculated position of the vertex. This must be written to
|
151
|
+
* in all vertex shaders. This is equivalent to #gl_Position.
|
152
|
+
* </para></glossdef>
|
153
|
+
* </glossentry>
|
154
|
+
* <glossentry>
|
155
|
+
* <glossterm>float
|
156
|
+
* <emphasis>cogl_point_size_out</emphasis></glossterm>
|
157
|
+
* <glossdef><para>
|
158
|
+
* The calculated size of a point. This is equivalent to #gl_PointSize.
|
159
|
+
* </para></glossdef>
|
160
|
+
* </glossentry>
|
161
|
+
* <glossentry>
|
162
|
+
* <glossterm>varying vec4
|
163
|
+
* <emphasis>cogl_color_out</emphasis></glossterm>
|
164
|
+
* <glossdef><para>
|
165
|
+
* The calculated color of a vertex. This is equivalent to #gl_FrontColor.
|
166
|
+
* </para></glossdef>
|
167
|
+
* </glossentry>
|
168
|
+
* <glossentry>
|
169
|
+
* <glossterm>varying vec4
|
170
|
+
* <emphasis>cogl_tex_coord_out</emphasis>[]</glossterm>
|
171
|
+
* <glossdef><para>
|
172
|
+
* An array of calculated texture coordinates for a vertex. This is
|
173
|
+
* equivalent to #gl_TexCoord.
|
174
|
+
* </para></glossdef>
|
175
|
+
* </glossentry>
|
176
|
+
* </glosslist>
|
177
|
+
* </tip>
|
178
|
+
*
|
179
|
+
* In a fragment shader, the following are also available:
|
180
|
+
*
|
181
|
+
* <tip>
|
182
|
+
* <glosslist>
|
183
|
+
* <glossentry>
|
184
|
+
* <glossterm>varying vec4 <emphasis>cogl_color_in</emphasis></glossterm>
|
185
|
+
* <glossdef><para>
|
186
|
+
* The calculated color of a vertex. This is equivalent to #gl_FrontColor.
|
187
|
+
* </para></glossdef>
|
188
|
+
* </glossentry>
|
189
|
+
* <glossentry>
|
190
|
+
* <glossterm>varying vec4
|
191
|
+
* <emphasis>cogl_tex_coord_in</emphasis>[]</glossterm>
|
192
|
+
* <glossdef><para>
|
193
|
+
* An array of calculated texture coordinates for a vertex. This is
|
194
|
+
* equivalent to #gl_TexCoord.
|
195
|
+
* </para></glossdef>
|
196
|
+
* </glossentry>
|
197
|
+
* <glossentry>
|
198
|
+
* <glossterm>vec4 <emphasis>cogl_color_out</emphasis></glossterm>
|
199
|
+
* <glossdef><para>
|
200
|
+
* The final calculated color of the fragment. All fragment shaders
|
201
|
+
* must write to this variable. This is equivalent to
|
202
|
+
* #gl_FrontColor.
|
203
|
+
* </para></glossdef>
|
204
|
+
* </glossentry>
|
205
|
+
* <glossentry>
|
206
|
+
* <glossterm>float <emphasis>cogl_depth_out</emphasis></glossterm>
|
207
|
+
* <glossdef><para>
|
208
|
+
* An optional output variable specifying the depth value to use
|
209
|
+
* for this fragment. This is equivalent to #gl_FragDepth.
|
210
|
+
* </para></glossdef>
|
211
|
+
* </glossentry>
|
212
|
+
* <glossentry>
|
213
|
+
* <glossterm>bool <emphasis>cogl_front_facing</emphasis></glossterm>
|
214
|
+
* <glossdef><para>
|
215
|
+
* A readonly variable that will be true if the current primitive
|
216
|
+
* is front facing. This can be used to implement two-sided
|
217
|
+
* coloring algorithms. This is equivalent to #gl_FrontFacing.
|
218
|
+
* </para></glossdef>
|
219
|
+
* </glossentry>
|
220
|
+
* </glosslist>
|
221
|
+
* </tip>
|
222
|
+
*
|
223
|
+
* It's worth nothing that this API isn't what Cogl would like to have
|
224
|
+
* in the long term and it may be removed in Cogl 2.0. The
|
225
|
+
* experimental #CoglShader API is the proposed replacement.
|
226
|
+
*/
|
227
|
+
|
228
|
+
/**
|
229
|
+
* CoglShaderType:
|
230
|
+
* @COGL_SHADER_TYPE_VERTEX: A program for proccessing vertices
|
231
|
+
* @COGL_SHADER_TYPE_FRAGMENT: A program for processing fragments
|
232
|
+
*
|
233
|
+
* Types of shaders
|
234
|
+
*
|
235
|
+
* Since: 1.0
|
236
|
+
*/
|
237
|
+
typedef enum {
|
238
|
+
COGL_SHADER_TYPE_VERTEX,
|
239
|
+
COGL_SHADER_TYPE_FRAGMENT
|
240
|
+
} CoglShaderType;
|
241
|
+
|
242
|
+
/**
|
243
|
+
* cogl_create_shader:
|
244
|
+
* @shader_type: COGL_SHADER_TYPE_VERTEX or COGL_SHADER_TYPE_FRAGMENT.
|
245
|
+
*
|
246
|
+
* Create a new shader handle, use cogl_shader_source() to set the
|
247
|
+
* source code to be used on it.
|
248
|
+
*
|
249
|
+
* Returns: a new shader handle.
|
250
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
251
|
+
*/
|
252
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
253
|
+
CoglHandle
|
254
|
+
cogl_create_shader (CoglShaderType shader_type);
|
255
|
+
|
256
|
+
/**
|
257
|
+
* cogl_shader_ref:
|
258
|
+
* @handle: A #CoglHandle to a shader.
|
259
|
+
*
|
260
|
+
* Add an extra reference to a shader.
|
261
|
+
*
|
262
|
+
* Returns: @handle
|
263
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
264
|
+
*/
|
265
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
266
|
+
CoglHandle
|
267
|
+
cogl_shader_ref (CoglHandle handle);
|
268
|
+
|
269
|
+
/**
|
270
|
+
* cogl_shader_unref:
|
271
|
+
* @handle: A #CoglHandle to a shader.
|
272
|
+
*
|
273
|
+
* Removes a reference to a shader. If it was the last reference the
|
274
|
+
* shader object will be destroyed.
|
275
|
+
*
|
276
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
277
|
+
*/
|
278
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
279
|
+
void
|
280
|
+
cogl_shader_unref (CoglHandle handle);
|
281
|
+
|
282
|
+
/**
|
283
|
+
* cogl_is_shader:
|
284
|
+
* @handle: A CoglHandle
|
285
|
+
*
|
286
|
+
* Gets whether the given handle references an existing shader object.
|
287
|
+
*
|
288
|
+
* Returns: %TRUE if the handle references a shader,
|
289
|
+
* %FALSE otherwise
|
290
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
291
|
+
*/
|
292
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
293
|
+
CoglBool
|
294
|
+
cogl_is_shader (CoglHandle handle);
|
295
|
+
|
296
|
+
/**
|
297
|
+
* cogl_shader_source:
|
298
|
+
* @shader: #CoglHandle for a shader.
|
299
|
+
* @source: Shader source.
|
300
|
+
*
|
301
|
+
* Replaces the current source associated with a shader with a new
|
302
|
+
* one.
|
303
|
+
*
|
304
|
+
* Please see <link
|
305
|
+
* linkend="cogl-Shaders-and-Programmable-Pipeline.description">above</link>
|
306
|
+
* for a description of the recommended format for the shader code.
|
307
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
308
|
+
*/
|
309
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
310
|
+
void
|
311
|
+
cogl_shader_source (CoglHandle shader,
|
312
|
+
const char *source);
|
313
|
+
|
314
|
+
/**
|
315
|
+
* cogl_shader_compile:
|
316
|
+
* @handle: #CoglHandle for a shader.
|
317
|
+
*
|
318
|
+
* Compiles the shader, no return value, but the shader is now ready
|
319
|
+
* for linking into a program. Note that calling this function is
|
320
|
+
* optional. If it is not called then the shader will be automatically
|
321
|
+
* compiled when it is linked.
|
322
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
323
|
+
*/
|
324
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
325
|
+
void
|
326
|
+
cogl_shader_compile (CoglHandle handle);
|
327
|
+
|
328
|
+
/**
|
329
|
+
* cogl_shader_get_info_log:
|
330
|
+
* @handle: #CoglHandle for a shader.
|
331
|
+
*
|
332
|
+
* Retrieves the information log for a coglobject, can be used in conjunction
|
333
|
+
* with cogl_shader_get_parameteriv() to retrieve the compiler warnings/error
|
334
|
+
* messages that caused a shader to not compile correctly, mainly useful for
|
335
|
+
* debugging purposes.
|
336
|
+
*
|
337
|
+
* Return value: a newly allocated string containing the info log. Use
|
338
|
+
* g_free() to free it
|
339
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
340
|
+
*/
|
341
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
342
|
+
char *
|
343
|
+
cogl_shader_get_info_log (CoglHandle handle);
|
344
|
+
|
345
|
+
/**
|
346
|
+
* cogl_shader_get_type:
|
347
|
+
* @handle: #CoglHandle for a shader.
|
348
|
+
*
|
349
|
+
* Retrieves the type of a shader #CoglHandle
|
350
|
+
*
|
351
|
+
* Return value: %COGL_SHADER_TYPE_VERTEX if the shader is a vertex processor
|
352
|
+
* or %COGL_SHADER_TYPE_FRAGMENT if the shader is a frament processor
|
353
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
354
|
+
*/
|
355
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
356
|
+
CoglShaderType
|
357
|
+
cogl_shader_get_type (CoglHandle handle);
|
358
|
+
|
359
|
+
/**
|
360
|
+
* cogl_shader_is_compiled:
|
361
|
+
* @handle: #CoglHandle for a shader.
|
362
|
+
*
|
363
|
+
* Retrieves whether a shader #CoglHandle has been compiled
|
364
|
+
*
|
365
|
+
* Return value: %TRUE if the shader object has sucessfully be compiled
|
366
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
367
|
+
*/
|
368
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
369
|
+
CoglBool
|
370
|
+
cogl_shader_is_compiled (CoglHandle handle);
|
371
|
+
|
372
|
+
/**
|
373
|
+
* cogl_create_program:
|
374
|
+
*
|
375
|
+
* Create a new cogl program object that can be used to replace parts of the GL
|
376
|
+
* rendering pipeline with custom code.
|
377
|
+
*
|
378
|
+
* Returns: a new cogl program.
|
379
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
380
|
+
*/
|
381
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
382
|
+
CoglHandle
|
383
|
+
cogl_create_program (void);
|
384
|
+
|
385
|
+
/**
|
386
|
+
* cogl_program_ref:
|
387
|
+
* @handle: A #CoglHandle to a program.
|
388
|
+
*
|
389
|
+
* Add an extra reference to a program.
|
390
|
+
*
|
391
|
+
* Deprecated: 1.0: Please use cogl_object_ref() instead.
|
392
|
+
*
|
393
|
+
* Returns: @handle
|
394
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
395
|
+
*/
|
396
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
397
|
+
CoglHandle
|
398
|
+
cogl_program_ref (CoglHandle handle);
|
399
|
+
|
400
|
+
/**
|
401
|
+
* cogl_program_unref:
|
402
|
+
* @handle: A #CoglHandle to a program.
|
403
|
+
*
|
404
|
+
* Removes a reference to a program. If it was the last reference the
|
405
|
+
* program object will be destroyed.
|
406
|
+
*
|
407
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
408
|
+
*/
|
409
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
410
|
+
void
|
411
|
+
cogl_program_unref (CoglHandle handle);
|
412
|
+
|
413
|
+
/**
|
414
|
+
* cogl_is_program:
|
415
|
+
* @handle: A CoglHandle
|
416
|
+
*
|
417
|
+
* Gets whether the given handle references an existing program object.
|
418
|
+
*
|
419
|
+
* Returns: %TRUE if the handle references a program,
|
420
|
+
* %FALSE otherwise
|
421
|
+
*
|
422
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
423
|
+
*/
|
424
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
425
|
+
CoglBool
|
426
|
+
cogl_is_program (CoglHandle handle);
|
427
|
+
|
428
|
+
/**
|
429
|
+
* cogl_program_attach_shader:
|
430
|
+
* @program_handle: a #CoglHandle for a shdaer program.
|
431
|
+
* @shader_handle: a #CoglHandle for a vertex of fragment shader.
|
432
|
+
*
|
433
|
+
* Attaches a shader to a program object. A program can have multiple
|
434
|
+
* vertex or fragment shaders but only one of them may provide a
|
435
|
+
* main() function. It is allowed to use a program with only a vertex
|
436
|
+
* shader or only a fragment shader.
|
437
|
+
*
|
438
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
439
|
+
*/
|
440
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
441
|
+
void
|
442
|
+
cogl_program_attach_shader (CoglHandle program_handle,
|
443
|
+
CoglHandle shader_handle);
|
444
|
+
|
445
|
+
/**
|
446
|
+
* cogl_program_link:
|
447
|
+
* @handle: a #CoglHandle for a shader program.
|
448
|
+
*
|
449
|
+
* Links a program making it ready for use. Note that calling this
|
450
|
+
* function is optional. If it is not called the program will
|
451
|
+
* automatically be linked the first time it is used.
|
452
|
+
*
|
453
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
454
|
+
*/
|
455
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
456
|
+
void
|
457
|
+
cogl_program_link (CoglHandle handle);
|
458
|
+
|
459
|
+
/**
|
460
|
+
* cogl_program_use:
|
461
|
+
* @handle: a #CoglHandle for a shader program or %COGL_INVALID_HANDLE.
|
462
|
+
*
|
463
|
+
* Activate a specific shader program replacing that part of the GL
|
464
|
+
* rendering pipeline, if passed in %COGL_INVALID_HANDLE the default
|
465
|
+
* behavior of GL is reinstated.
|
466
|
+
*
|
467
|
+
* This function affects the global state of the current Cogl
|
468
|
+
* context. It is much more efficient to attach the shader to a
|
469
|
+
* specific material used for rendering instead by calling
|
470
|
+
* cogl_material_set_user_program().
|
471
|
+
*
|
472
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
473
|
+
*/
|
474
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
475
|
+
void
|
476
|
+
cogl_program_use (CoglHandle handle);
|
477
|
+
|
478
|
+
/**
|
479
|
+
* cogl_program_get_uniform_location:
|
480
|
+
* @handle: a #CoglHandle for a shader program.
|
481
|
+
* @uniform_name: the name of a uniform.
|
482
|
+
*
|
483
|
+
* Retrieve the location (offset) of a uniform variable in a shader program,
|
484
|
+
* a uniform is a variable that is constant for all vertices/fragments for a
|
485
|
+
* shader object and is possible to modify as an external parameter.
|
486
|
+
*
|
487
|
+
* Return value: the offset of a uniform in a specified program.
|
488
|
+
* This uniform can be set using cogl_program_uniform_1f() when the
|
489
|
+
* program is in use.
|
490
|
+
* Deprecated: 1.16: Use #CoglSnippet api instead
|
491
|
+
*/
|
492
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
493
|
+
int
|
494
|
+
cogl_program_get_uniform_location (CoglHandle handle,
|
495
|
+
const char *uniform_name);
|
496
|
+
|
497
|
+
/**
|
498
|
+
* cogl_program_set_uniform_1f:
|
499
|
+
* @program: A #CoglHandle for a linked program
|
500
|
+
* @uniform_location: the uniform location retrieved from
|
501
|
+
* cogl_program_get_uniform_location().
|
502
|
+
* @value: the new value of the uniform.
|
503
|
+
*
|
504
|
+
* Changes the value of a floating point uniform for the given linked
|
505
|
+
* @program.
|
506
|
+
*
|
507
|
+
* Since: 1.4
|
508
|
+
* Deprecated: 1.16: Use #CoglSnippet api instead
|
509
|
+
*/
|
510
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
511
|
+
void
|
512
|
+
cogl_program_set_uniform_1f (CoglHandle program,
|
513
|
+
int uniform_location,
|
514
|
+
float value);
|
515
|
+
|
516
|
+
/**
|
517
|
+
* cogl_program_set_uniform_1i:
|
518
|
+
* @program: A #CoglHandle for a linked program
|
519
|
+
* @uniform_location: the uniform location retrieved from
|
520
|
+
* cogl_program_get_uniform_location().
|
521
|
+
* @value: the new value of the uniform.
|
522
|
+
*
|
523
|
+
* Changes the value of an integer uniform for the given linked
|
524
|
+
* @program.
|
525
|
+
*
|
526
|
+
* Since: 1.4
|
527
|
+
* Deprecated: 1.16: Use #CoglSnippet api instead
|
528
|
+
*/
|
529
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
530
|
+
void
|
531
|
+
cogl_program_set_uniform_1i (CoglHandle program,
|
532
|
+
int uniform_location,
|
533
|
+
int value);
|
534
|
+
|
535
|
+
/**
|
536
|
+
* cogl_program_set_uniform_float:
|
537
|
+
* @program: A #CoglHandle for a linked program
|
538
|
+
* @uniform_location: the uniform location retrieved from
|
539
|
+
* cogl_program_get_uniform_location().
|
540
|
+
* @n_components: The number of components for the uniform. For
|
541
|
+
* example with glsl you'd use 3 for a vec3 or 4 for a vec4.
|
542
|
+
* @count: For uniform arrays this is the array length otherwise just
|
543
|
+
* pass 1
|
544
|
+
* @value: (array length=count): the new value of the uniform[s].
|
545
|
+
*
|
546
|
+
* Changes the value of a float vector uniform, or uniform array for
|
547
|
+
* the given linked @program.
|
548
|
+
*
|
549
|
+
* Since: 1.4
|
550
|
+
* Deprecated: 1.16: Use #CoglSnippet api instead
|
551
|
+
*/
|
552
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
553
|
+
void
|
554
|
+
cogl_program_set_uniform_float (CoglHandle program,
|
555
|
+
int uniform_location,
|
556
|
+
int n_components,
|
557
|
+
int count,
|
558
|
+
const float *value);
|
559
|
+
|
560
|
+
/**
|
561
|
+
* cogl_program_set_uniform_int:
|
562
|
+
* @program: A #CoglHandle for a linked program
|
563
|
+
* @uniform_location: the uniform location retrieved from
|
564
|
+
* cogl_program_get_uniform_location().
|
565
|
+
* @n_components: The number of components for the uniform. For
|
566
|
+
* example with glsl you'd use 3 for a vec3 or 4 for a vec4.
|
567
|
+
* @count: For uniform arrays this is the array length otherwise just
|
568
|
+
* pass 1
|
569
|
+
* @value: (array length=count): the new value of the uniform[s].
|
570
|
+
*
|
571
|
+
* Changes the value of a int vector uniform, or uniform array for
|
572
|
+
* the given linked @program.
|
573
|
+
*
|
574
|
+
* Since: 1.4
|
575
|
+
* Deprecated: 1.16: Use #CoglSnippet api instead
|
576
|
+
*/
|
577
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
578
|
+
void
|
579
|
+
cogl_program_set_uniform_int (CoglHandle program,
|
580
|
+
int uniform_location,
|
581
|
+
int n_components,
|
582
|
+
int count,
|
583
|
+
const int *value);
|
584
|
+
|
585
|
+
/**
|
586
|
+
* cogl_program_set_uniform_matrix:
|
587
|
+
* @program: A #CoglHandle for a linked program
|
588
|
+
* @uniform_location: the uniform location retrieved from
|
589
|
+
* cogl_program_get_uniform_location().
|
590
|
+
* @dimensions: The dimensions of the matrix. So for for example pass
|
591
|
+
* 2 for a 2x2 matrix or 3 for 3x3.
|
592
|
+
* @count: For uniform arrays this is the array length otherwise just
|
593
|
+
* pass 1
|
594
|
+
* @transpose: Whether to transpose the matrix when setting the uniform.
|
595
|
+
* @value: (array length=count): the new value of the uniform.
|
596
|
+
*
|
597
|
+
* Changes the value of a matrix uniform, or uniform array in the
|
598
|
+
* given linked @program.
|
599
|
+
*
|
600
|
+
* Since: 1.4
|
601
|
+
* Deprecated: 1.16: Use #CoglSnippet api instead
|
602
|
+
*/
|
603
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
604
|
+
void
|
605
|
+
cogl_program_set_uniform_matrix (CoglHandle program,
|
606
|
+
int uniform_location,
|
607
|
+
int dimensions,
|
608
|
+
int count,
|
609
|
+
CoglBool transpose,
|
610
|
+
const float *value);
|
611
|
+
|
612
|
+
/**
|
613
|
+
* cogl_program_uniform_1f:
|
614
|
+
* @uniform_no: the uniform to set.
|
615
|
+
* @value: the new value of the uniform.
|
616
|
+
*
|
617
|
+
* Changes the value of a floating point uniform in the currently
|
618
|
+
* used (see cogl_program_use()) shader program.
|
619
|
+
*
|
620
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
621
|
+
*/
|
622
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
623
|
+
void
|
624
|
+
cogl_program_uniform_1f (int uniform_no,
|
625
|
+
float value);
|
626
|
+
|
627
|
+
/**
|
628
|
+
* cogl_program_uniform_1i:
|
629
|
+
* @uniform_no: the uniform to set.
|
630
|
+
* @value: the new value of the uniform.
|
631
|
+
*
|
632
|
+
* Changes the value of an integer uniform in the currently
|
633
|
+
* used (see cogl_program_use()) shader program.
|
634
|
+
*
|
635
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
636
|
+
*/
|
637
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
638
|
+
void
|
639
|
+
cogl_program_uniform_1i (int uniform_no,
|
640
|
+
int value);
|
641
|
+
|
642
|
+
/**
|
643
|
+
* cogl_program_uniform_float:
|
644
|
+
* @uniform_no: the uniform to set.
|
645
|
+
* @size: Size of float vector.
|
646
|
+
* @count: Size of array of uniforms.
|
647
|
+
* @value: (array length=count): the new value of the uniform.
|
648
|
+
*
|
649
|
+
* Changes the value of a float vector uniform, or uniform array in the
|
650
|
+
* currently used (see cogl_program_use()) shader program.
|
651
|
+
*
|
652
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
653
|
+
*/
|
654
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
655
|
+
void
|
656
|
+
cogl_program_uniform_float (int uniform_no,
|
657
|
+
int size,
|
658
|
+
int count,
|
659
|
+
const float *value);
|
660
|
+
|
661
|
+
/**
|
662
|
+
* cogl_program_uniform_int:
|
663
|
+
* @uniform_no: the uniform to set.
|
664
|
+
* @size: Size of int vector.
|
665
|
+
* @count: Size of array of uniforms.
|
666
|
+
* @value: (array length=count): the new value of the uniform.
|
667
|
+
*
|
668
|
+
* Changes the value of a int vector uniform, or uniform array in the
|
669
|
+
* currently used (see cogl_program_use()) shader program.
|
670
|
+
*
|
671
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
672
|
+
*/
|
673
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
674
|
+
void
|
675
|
+
cogl_program_uniform_int (int uniform_no,
|
676
|
+
int size,
|
677
|
+
int count,
|
678
|
+
const int *value);
|
679
|
+
|
680
|
+
/**
|
681
|
+
* cogl_program_uniform_matrix:
|
682
|
+
* @uniform_no: the uniform to set.
|
683
|
+
* @size: Size of matrix.
|
684
|
+
* @count: Size of array of uniforms.
|
685
|
+
* @transpose: Whether to transpose the matrix when setting the uniform.
|
686
|
+
* @value: (array length=count): the new value of the uniform.
|
687
|
+
*
|
688
|
+
* Changes the value of a matrix uniform, or uniform array in the
|
689
|
+
* currently used (see cogl_program_use()) shader program. The @size
|
690
|
+
* parameter is used to determine the square size of the matrix.
|
691
|
+
*
|
692
|
+
* Deprecated: 1.16: Use #CoglSnippet api
|
693
|
+
*/
|
694
|
+
COGL_DEPRECATED_IN_1_16_FOR (cogl_snippet_)
|
695
|
+
void
|
696
|
+
cogl_program_uniform_matrix (int uniform_no,
|
697
|
+
int size,
|
698
|
+
int count,
|
699
|
+
CoglBool transpose,
|
700
|
+
const float *value);
|
701
|
+
|
702
|
+
COGL_END_DECLS
|
703
|
+
|
704
|
+
#endif /* __COGL_SHADER_H__ */
|