clutter 2.0.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +129 -0
- data/lib/clutter.rb +145 -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/cairo.rb +24 -0
- data/lib/clutter/color.rb +55 -0
- data/lib/clutter/event.rb +21 -0
- data/lib/clutter/point.rb +25 -0
- data/lib/clutter/text.rb +23 -0
- data/lib/clutter/threads.rb +38 -0
- data/sample/basic-actor.rb +125 -0
- data/sample/bin-layout.rb +215 -0
- data/sample/box-layout.rb +196 -0
- data/sample/canvas.rb +117 -0
- data/sample/constraints.rb +81 -0
- data/sample/drag-action.rb +177 -0
- data/sample/drop-action.rb +198 -0
- data/sample/easing-modes.rb +145 -0
- data/sample/flow-layout.rb +121 -0
- data/sample/grid-layout.rb +239 -0
- data/sample/image-content.rb +88 -0
- data/sample/pan-action.rb +100 -0
- data/sample/redhand.png +0 -0
- data/sample/rounded-rectangle.rb +90 -0
- data/sample/scroll-actor.rb +105 -0
- data/test/clutter-test-utils.rb +21 -0
- data/test/run-test.rb +50 -0
- data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
- data/vendor/local/bin/libcogl-12.dll +0 -0
- data/vendor/local/bin/libcogl-pango-12.dll +0 -0
- data/vendor/local/bin/libglut-0.dll +0 -0
- data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
- data/vendor/local/include/GL/freeglut.h +22 -0
- data/vendor/local/include/GL/freeglut_ext.h +239 -0
- data/vendor/local/include/GL/freeglut_std.h +636 -0
- data/vendor/local/include/GL/glut.h +21 -0
- data/vendor/local/include/clutter-1.0/cally/cally-actor.h +155 -0
- data/vendor/local/include/clutter-1.0/cally/cally-clone.h +82 -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 +85 -0
- data/vendor/local/include/clutter-1.0/cally/cally-main.h +39 -0
- data/vendor/local/include/clutter-1.0/cally/cally-rectangle.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-root.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-stage.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-text.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-texture.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-util.h +80 -0
- data/vendor/local/include/clutter-1.0/cally/cally.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-action.h +103 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor-meta.h +113 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +735 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-align-constraint.h +69 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-animatable.h +116 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +74 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-bin-layout.h +84 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-bind-constraint.h +69 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-binding-pool.h +122 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-blur-effect.h +57 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-box-layout.h +159 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-brightness-contrast-effect.h +80 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-cairo.h +59 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +100 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-child-meta.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-click-action.h +114 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-clone.h +90 -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 +175 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-colorize-effect.h +63 -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 +108 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-container.h +184 -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 +111 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-deprecated.h +43 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-desaturate-effect.h +61 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +104 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-drag-action.h +142 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-drop-action.h +113 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-effect.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +183 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-enums.h +1362 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +509 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-feature.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-fixed-layout.h +80 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +110 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-gesture-action.h +154 -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 +95 -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 +118 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-interval.h +141 -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 +215 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-meta.h +101 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-list-model.h +88 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +279 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-main.h +148 -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 +381 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +112 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-page-turn-effect.h +72 -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 +66 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-path.h +155 -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 +204 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scriptable.h +107 -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 +25 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-effect.h +114 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-types.h +95 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-snap-constraint.h +73 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage-manager.h +81 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +215 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-swipe-action.h +107 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-table-layout.h +157 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-tap-action.h +102 -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 +237 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-texture.h +128 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-timeline.h +201 -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 +715 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-units.h +166 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +302 -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 +118 -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 +97 -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-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 +58 -0
- data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +245 -0
- data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +131 -0
- data/vendor/local/include/cogl/cogl/cogl-attribute.h +532 -0
- data/vendor/local/include/cogl/cogl/cogl-bitmap.h +314 -0
- data/vendor/local/include/cogl/cogl/cogl-buffer.h +309 -0
- data/vendor/local/include/cogl/cogl/cogl-clip-state.h +50 -0
- data/vendor/local/include/cogl/cogl/cogl-clutter.h +47 -0
- data/vendor/local/include/cogl/cogl/cogl-color.h +543 -0
- data/vendor/local/include/cogl/cogl/cogl-context.h +350 -0
- data/vendor/local/include/cogl/cogl/cogl-defines.h +50 -0
- data/vendor/local/include/cogl/cogl/cogl-deprecated.h +36 -0
- data/vendor/local/include/cogl/cogl/cogl-depth-state.h +264 -0
- data/vendor/local/include/cogl/cogl/cogl-display.h +192 -0
- data/vendor/local/include/cogl/cogl/cogl-enum-types.h +100 -0
- data/vendor/local/include/cogl/cogl/cogl-error.h +176 -0
- data/vendor/local/include/cogl/cogl/cogl-euler.h +251 -0
- data/vendor/local/include/cogl/cogl/cogl-fixed.h +804 -0
- data/vendor/local/include/cogl/cogl/cogl-frame-info.h +129 -0
- data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +1829 -0
- data/vendor/local/include/cogl/cogl/cogl-gles2-types.h +474 -0
- data/vendor/local/include/cogl/cogl/cogl-gles2.h +374 -0
- data/vendor/local/include/cogl/cogl/cogl-glib-source.h +59 -0
- data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +85 -0
- data/vendor/local/include/cogl/cogl/cogl-indices.h +145 -0
- data/vendor/local/include/cogl/cogl/cogl-material-compat.h +1276 -0
- data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +620 -0
- data/vendor/local/include/cogl/cogl/cogl-matrix.h +798 -0
- data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +181 -0
- data/vendor/local/include/cogl/cogl/cogl-object.h +219 -0
- data/vendor/local/include/cogl/cogl/cogl-offscreen.h +117 -0
- data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +106 -0
- data/vendor/local/include/cogl/cogl/cogl-onscreen.h +741 -0
- data/vendor/local/include/cogl/cogl/cogl-output.h +242 -0
- data/vendor/local/include/cogl/cogl/cogl-pango.h +33 -0
- data/vendor/local/include/cogl/cogl/cogl-path-functions.h +430 -0
- data/vendor/local/include/cogl/cogl/cogl-path.h +102 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +613 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +924 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline.h +173 -0
- data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +114 -0
- data/vendor/local/include/cogl/cogl/cogl-poll.h +174 -0
- data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +98 -0
- data/vendor/local/include/cogl/cogl/cogl-primitive.h +866 -0
- data/vendor/local/include/cogl/cogl/cogl-primitives.h +190 -0
- data/vendor/local/include/cogl/cogl/cogl-quaternion.h +545 -0
- data/vendor/local/include/cogl/cogl/cogl-renderer.h +423 -0
- data/vendor/local/include/cogl/cogl/cogl-shader.h +654 -0
- data/vendor/local/include/cogl/cogl/cogl-snippet.h +786 -0
- data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +122 -0
- data/vendor/local/include/cogl/cogl/cogl-swap-chain.h +51 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +73 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +130 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +191 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +187 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +204 -0
- data/vendor/local/include/cogl/cogl/cogl-texture.h +611 -0
- data/vendor/local/include/cogl/cogl/cogl-types.h +912 -0
- data/vendor/local/include/cogl/cogl/cogl-vector.h +351 -0
- data/vendor/local/include/cogl/cogl/cogl-version.h +185 -0
- data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +409 -0
- data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +99 -0
- data/vendor/local/include/cogl/cogl/cogl.h +151 -0
- data/vendor/local/include/cogl/cogl/cogl1-context.h +1169 -0
- data/vendor/local/include/cogl/cogl/cogl2-compatibility.h +55 -0
- data/vendor/local/include/cogl/cogl/cogl2-experimental.h +31 -0
- data/vendor/local/include/cogl/cogl/cogl2-path.h +506 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-core-functions.h +191 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h +36 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h +279 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h +141 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h +179 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-builder.h +106 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +36 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +107 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-glib.h +46 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +182 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gvariant.h +46 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +173 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-path.h +97 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-reader.h +150 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +334 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +100 -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/CoglPango-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Json-1.0.typelib +0 -0
- data/vendor/local/lib/libclutter-1.0.dll.a +0 -0
- data/vendor/local/lib/libclutter-1.0.la +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.dll.a +0 -0
- data/vendor/local/lib/libcogl.la +41 -0
- data/vendor/local/lib/libglut.a +0 -0
- data/vendor/local/lib/libglut.dll.a +0 -0
- data/vendor/local/lib/libglut.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/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 +679 -0
- data/vendor/local/share/gir-1.0/Clutter-1.0.gir +67473 -0
- data/vendor/local/share/gir-1.0/Cogl-1.0.gir +8383 -0
- data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +306 -0
- data/vendor/local/share/gir-1.0/Json-1.0.gir +4333 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +415 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +136 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +139 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +135 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +123 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +140 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyText.html +133 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +135 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +100 -0
- data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +167 -0
- data/vendor/local/share/gtk-doc/html/cally/cally.devhelp2 +73 -0
- data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +43 -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 +103 -0
- data/vendor/local/share/gtk-doc/html/cally/ix01.html +198 -0
- data/vendor/local/share/gtk-doc/html/cally/ix02.html +31 -0
- data/vendor/local/share/gtk-doc/html/cally/ix03.html +190 -0
- data/vendor/local/share/gtk-doc/html/cally/ix04.html +42 -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.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/cally/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +110 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +13714 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +322 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +404 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +747 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +432 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +1218 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +684 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +697 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +278 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +844 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +283 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +450 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +608 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +432 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +1056 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +780 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +109 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +657 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1232 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +410 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +1018 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +469 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +253 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +587 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +219 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +193 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +336 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1346 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +309 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +353 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +200 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +408 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +1224 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +965 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +386 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +115 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +1016 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +867 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +808 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +231 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +674 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1488 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +525 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +1376 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +161 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +211 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +900 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +1715 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +644 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +350 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +333 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +534 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +785 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1327 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +321 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +216 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +369 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +183 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +881 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +1365 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +311 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +731 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +301 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +595 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +421 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +2252 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1558 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +280 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +1146 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +192 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +3058 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +736 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +1829 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +2441 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +574 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +227 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +400 -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 +111 -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 +47 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch03.html +51 -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 +3471 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +225 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +314 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +361 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1363 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +129 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +2653 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +200 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +249 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +2550 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +2571 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +181 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +890 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +351 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +1004 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +341 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +843 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +549 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +1023 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +525 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +83 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +201 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +806 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +77 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +2715 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +65 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +71 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +202 -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 +86 -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 +114 -0
- data/vendor/local/share/gtk-doc/html/clutter/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/index.html +451 -0
- data/vendor/local/share/gtk-doc/html/clutter/index.sgml +3272 -0
- data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +56 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix01.html +8815 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix02.html +1961 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix03.html +454 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix04.html +583 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix05.html +957 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix06.html +642 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix07.html +1530 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix08.html +820 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix09.html +1005 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix10.html +369 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix11.html +366 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix12.html +1078 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix13.html +984 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix14.html +99 -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 +156 -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.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +373 -0
- data/vendor/local/share/gtk-doc/html/clutter/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/clutter/table-layout.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 +513 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +492 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +871 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +464 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +898 -0
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +87 -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/ch04.html +38 -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 +125 -0
- data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +308 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +926 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +54 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +61 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +54 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +186 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +121 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +161 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +137 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +47 -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-glib-Boxed-Types-Serialization.html +382 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +310 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +850 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +272 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +942 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +993 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +476 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +148 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +281 -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 +39 -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.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/style.css +266 -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 +502 -0
- data/vendor/local/share/license/freeglut/AUTHORS +39 -0
- data/vendor/local/share/license/freeglut/COPYING +27 -0
- data/vendor/local/share/license/json-glib/COPYING +504 -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/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/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@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/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/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/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/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/eu/LC_MESSAGES/cogl.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/gl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/cogl.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/km/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/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/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/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/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/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_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/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@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/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/tg/LC_MESSAGES/clutter-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/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/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_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_TW/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/cogl.mo +0 -0
- metadata +747 -0
@@ -0,0 +1,924 @@
|
|
1
|
+
/*
|
2
|
+
* Cogl
|
3
|
+
*
|
4
|
+
* An object oriented GL/GLES Abstraction/Utility Layer
|
5
|
+
*
|
6
|
+
* Copyright (C) 2007,2008,2009,2011 Intel Corporation.
|
7
|
+
*
|
8
|
+
* This library is free software; you can redistribute it and/or
|
9
|
+
* modify it under the terms of the GNU Lesser General Public
|
10
|
+
* License as published by the Free Software Foundation; either
|
11
|
+
* version 2 of the License, or (at your option) any later version.
|
12
|
+
*
|
13
|
+
* This library is distributed in the hope that it will be useful,
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
16
|
+
* Lesser General Public License for more details.
|
17
|
+
*
|
18
|
+
* You should have received a copy of the GNU Lesser General Public
|
19
|
+
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
20
|
+
*
|
21
|
+
*
|
22
|
+
*/
|
23
|
+
|
24
|
+
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
|
25
|
+
#error "Only <cogl/cogl.h> can be included directly."
|
26
|
+
#endif
|
27
|
+
|
28
|
+
#ifndef __COGL_PIPELINE_STATE_H__
|
29
|
+
#define __COGL_PIPELINE_STATE_H__
|
30
|
+
|
31
|
+
#include <cogl/cogl-pipeline.h>
|
32
|
+
#include <cogl/cogl-color.h>
|
33
|
+
#include <cogl/cogl-depth-state.h>
|
34
|
+
|
35
|
+
COGL_BEGIN_DECLS
|
36
|
+
|
37
|
+
#ifdef COGL_ENABLE_EXPERIMENTAL_API
|
38
|
+
|
39
|
+
/**
|
40
|
+
* cogl_pipeline_set_color:
|
41
|
+
* @pipeline: A #CoglPipeline object
|
42
|
+
* @color: The components of the color
|
43
|
+
*
|
44
|
+
* Sets the basic color of the pipeline, used when no lighting is enabled.
|
45
|
+
*
|
46
|
+
* Note that if you don't add any layers to the pipeline then the color
|
47
|
+
* will be blended unmodified with the destination; the default blend
|
48
|
+
* expects premultiplied colors: for example, use (0.5, 0.0, 0.0, 0.5) for
|
49
|
+
* semi-transparent red. See cogl_color_premultiply().
|
50
|
+
*
|
51
|
+
* The default value is (1.0, 1.0, 1.0, 1.0)
|
52
|
+
*
|
53
|
+
* Since: 2.0
|
54
|
+
* Stability: Unstable
|
55
|
+
*/
|
56
|
+
void
|
57
|
+
cogl_pipeline_set_color (CoglPipeline *pipeline,
|
58
|
+
const CoglColor *color);
|
59
|
+
|
60
|
+
/**
|
61
|
+
* cogl_pipeline_set_color4ub:
|
62
|
+
* @pipeline: A #CoglPipeline object
|
63
|
+
* @red: The red component
|
64
|
+
* @green: The green component
|
65
|
+
* @blue: The blue component
|
66
|
+
* @alpha: The alpha component
|
67
|
+
*
|
68
|
+
* Sets the basic color of the pipeline, used when no lighting is enabled.
|
69
|
+
*
|
70
|
+
* The default value is (0xff, 0xff, 0xff, 0xff)
|
71
|
+
*
|
72
|
+
* Since: 2.0
|
73
|
+
* Stability: Unstable
|
74
|
+
*/
|
75
|
+
void
|
76
|
+
cogl_pipeline_set_color4ub (CoglPipeline *pipeline,
|
77
|
+
uint8_t red,
|
78
|
+
uint8_t green,
|
79
|
+
uint8_t blue,
|
80
|
+
uint8_t alpha);
|
81
|
+
|
82
|
+
/**
|
83
|
+
* cogl_pipeline_set_color4f:
|
84
|
+
* @pipeline: A #CoglPipeline object
|
85
|
+
* @red: The red component
|
86
|
+
* @green: The green component
|
87
|
+
* @blue: The blue component
|
88
|
+
* @alpha: The alpha component
|
89
|
+
*
|
90
|
+
* Sets the basic color of the pipeline, used when no lighting is enabled.
|
91
|
+
*
|
92
|
+
* The default value is (1.0, 1.0, 1.0, 1.0)
|
93
|
+
*
|
94
|
+
* Since: 2.0
|
95
|
+
* Stability: Unstable
|
96
|
+
*/
|
97
|
+
void
|
98
|
+
cogl_pipeline_set_color4f (CoglPipeline *pipeline,
|
99
|
+
float red,
|
100
|
+
float green,
|
101
|
+
float blue,
|
102
|
+
float alpha);
|
103
|
+
|
104
|
+
/**
|
105
|
+
* cogl_pipeline_get_color:
|
106
|
+
* @pipeline: A #CoglPipeline object
|
107
|
+
* @color: (out): The location to store the color
|
108
|
+
*
|
109
|
+
* Retrieves the current pipeline color.
|
110
|
+
*
|
111
|
+
* Since: 2.0
|
112
|
+
* Stability: Unstable
|
113
|
+
*/
|
114
|
+
void
|
115
|
+
cogl_pipeline_get_color (CoglPipeline *pipeline,
|
116
|
+
CoglColor *color);
|
117
|
+
|
118
|
+
/**
|
119
|
+
* cogl_pipeline_set_ambient:
|
120
|
+
* @pipeline: A #CoglPipeline object
|
121
|
+
* @ambient: The components of the desired ambient color
|
122
|
+
*
|
123
|
+
* Sets the pipeline's ambient color, in the standard OpenGL lighting
|
124
|
+
* model. The ambient color affects the overall color of the object.
|
125
|
+
*
|
126
|
+
* Since the diffuse color will be intense when the light hits the surface
|
127
|
+
* directly, the ambient will be most apparent where the light hits at a
|
128
|
+
* slant.
|
129
|
+
*
|
130
|
+
* The default value is (0.2, 0.2, 0.2, 1.0)
|
131
|
+
*
|
132
|
+
* Since: 2.0
|
133
|
+
* Stability: Unstable
|
134
|
+
*/
|
135
|
+
void
|
136
|
+
cogl_pipeline_set_ambient (CoglPipeline *pipeline,
|
137
|
+
const CoglColor *ambient);
|
138
|
+
|
139
|
+
/**
|
140
|
+
* cogl_pipeline_get_ambient:
|
141
|
+
* @pipeline: A #CoglPipeline object
|
142
|
+
* @ambient: The location to store the ambient color
|
143
|
+
*
|
144
|
+
* Retrieves the current ambient color for @pipeline
|
145
|
+
*
|
146
|
+
* Since: 2.0
|
147
|
+
* Stability: Unstable
|
148
|
+
*/
|
149
|
+
void
|
150
|
+
cogl_pipeline_get_ambient (CoglPipeline *pipeline,
|
151
|
+
CoglColor *ambient);
|
152
|
+
|
153
|
+
/**
|
154
|
+
* cogl_pipeline_set_diffuse:
|
155
|
+
* @pipeline: A #CoglPipeline object
|
156
|
+
* @diffuse: The components of the desired diffuse color
|
157
|
+
*
|
158
|
+
* Sets the pipeline's diffuse color, in the standard OpenGL lighting
|
159
|
+
* model. The diffuse color is most intense where the light hits the
|
160
|
+
* surface directly - perpendicular to the surface.
|
161
|
+
*
|
162
|
+
* The default value is (0.8, 0.8, 0.8, 1.0)
|
163
|
+
*
|
164
|
+
* Since: 2.0
|
165
|
+
* Stability: Unstable
|
166
|
+
*/
|
167
|
+
void
|
168
|
+
cogl_pipeline_set_diffuse (CoglPipeline *pipeline,
|
169
|
+
const CoglColor *diffuse);
|
170
|
+
|
171
|
+
/**
|
172
|
+
* cogl_pipeline_get_diffuse:
|
173
|
+
* @pipeline: A #CoglPipeline object
|
174
|
+
* @diffuse: The location to store the diffuse color
|
175
|
+
*
|
176
|
+
* Retrieves the current diffuse color for @pipeline
|
177
|
+
*
|
178
|
+
* Since: 2.0
|
179
|
+
* Stability: Unstable
|
180
|
+
*/
|
181
|
+
void
|
182
|
+
cogl_pipeline_get_diffuse (CoglPipeline *pipeline,
|
183
|
+
CoglColor *diffuse);
|
184
|
+
|
185
|
+
/**
|
186
|
+
* cogl_pipeline_set_ambient_and_diffuse:
|
187
|
+
* @pipeline: A #CoglPipeline object
|
188
|
+
* @color: The components of the desired ambient and diffuse colors
|
189
|
+
*
|
190
|
+
* Conveniently sets the diffuse and ambient color of @pipeline at the same
|
191
|
+
* time. See cogl_pipeline_set_ambient() and cogl_pipeline_set_diffuse().
|
192
|
+
*
|
193
|
+
* The default ambient color is (0.2, 0.2, 0.2, 1.0)
|
194
|
+
*
|
195
|
+
* The default diffuse color is (0.8, 0.8, 0.8, 1.0)
|
196
|
+
*
|
197
|
+
* Since: 2.0
|
198
|
+
* Stability: Unstable
|
199
|
+
*/
|
200
|
+
void
|
201
|
+
cogl_pipeline_set_ambient_and_diffuse (CoglPipeline *pipeline,
|
202
|
+
const CoglColor *color);
|
203
|
+
|
204
|
+
/**
|
205
|
+
* cogl_pipeline_set_specular:
|
206
|
+
* @pipeline: A #CoglPipeline object
|
207
|
+
* @specular: The components of the desired specular color
|
208
|
+
*
|
209
|
+
* Sets the pipeline's specular color, in the standard OpenGL lighting
|
210
|
+
* model. The intensity of the specular color depends on the viewport
|
211
|
+
* position, and is brightest along the lines of reflection.
|
212
|
+
*
|
213
|
+
* The default value is (0.0, 0.0, 0.0, 1.0)
|
214
|
+
*
|
215
|
+
* Since: 2.0
|
216
|
+
* Stability: Unstable
|
217
|
+
*/
|
218
|
+
void
|
219
|
+
cogl_pipeline_set_specular (CoglPipeline *pipeline,
|
220
|
+
const CoglColor *specular);
|
221
|
+
|
222
|
+
/**
|
223
|
+
* cogl_pipeline_get_specular:
|
224
|
+
* @pipeline: A #CoglPipeline object
|
225
|
+
* @specular: The location to store the specular color
|
226
|
+
*
|
227
|
+
* Retrieves the pipelines current specular color.
|
228
|
+
*
|
229
|
+
* Since: 2.0
|
230
|
+
* Stability: Unstable
|
231
|
+
*/
|
232
|
+
void
|
233
|
+
cogl_pipeline_get_specular (CoglPipeline *pipeline,
|
234
|
+
CoglColor *specular);
|
235
|
+
|
236
|
+
/**
|
237
|
+
* cogl_pipeline_set_shininess:
|
238
|
+
* @pipeline: A #CoglPipeline object
|
239
|
+
* @shininess: The desired shininess; must be >= 0.0
|
240
|
+
*
|
241
|
+
* Sets the shininess of the pipeline, in the standard OpenGL lighting
|
242
|
+
* model, which determines the size of the specular highlights. A
|
243
|
+
* higher @shininess will produce smaller highlights which makes the
|
244
|
+
* object appear more shiny.
|
245
|
+
*
|
246
|
+
* The default value is 0.0
|
247
|
+
*
|
248
|
+
* Since: 2.0
|
249
|
+
* Stability: Unstable
|
250
|
+
*/
|
251
|
+
void
|
252
|
+
cogl_pipeline_set_shininess (CoglPipeline *pipeline,
|
253
|
+
float shininess);
|
254
|
+
|
255
|
+
/**
|
256
|
+
* cogl_pipeline_get_shininess:
|
257
|
+
* @pipeline: A #CoglPipeline object
|
258
|
+
*
|
259
|
+
* Retrieves the pipelines current emission color.
|
260
|
+
*
|
261
|
+
* Return value: The pipelines current shininess value
|
262
|
+
*
|
263
|
+
* Since: 2.0
|
264
|
+
* Stability: Unstable
|
265
|
+
*/
|
266
|
+
float
|
267
|
+
cogl_pipeline_get_shininess (CoglPipeline *pipeline);
|
268
|
+
|
269
|
+
/**
|
270
|
+
* cogl_pipeline_set_emission:
|
271
|
+
* @pipeline: A #CoglPipeline object
|
272
|
+
* @emission: The components of the desired emissive color
|
273
|
+
*
|
274
|
+
* Sets the pipeline's emissive color, in the standard OpenGL lighting
|
275
|
+
* model. It will look like the surface is a light source emitting this
|
276
|
+
* color.
|
277
|
+
*
|
278
|
+
* The default value is (0.0, 0.0, 0.0, 1.0)
|
279
|
+
*
|
280
|
+
* Since: 2.0
|
281
|
+
* Stability: Unstable
|
282
|
+
*/
|
283
|
+
void
|
284
|
+
cogl_pipeline_set_emission (CoglPipeline *pipeline,
|
285
|
+
const CoglColor *emission);
|
286
|
+
|
287
|
+
/**
|
288
|
+
* cogl_pipeline_get_emission:
|
289
|
+
* @pipeline: A #CoglPipeline object
|
290
|
+
* @emission: The location to store the emission color
|
291
|
+
*
|
292
|
+
* Retrieves the pipelines current emission color.
|
293
|
+
*
|
294
|
+
* Since: 2.0
|
295
|
+
* Stability: Unstable
|
296
|
+
*/
|
297
|
+
void
|
298
|
+
cogl_pipeline_get_emission (CoglPipeline *pipeline,
|
299
|
+
CoglColor *emission);
|
300
|
+
|
301
|
+
/**
|
302
|
+
* CoglPipelineAlphaFunc:
|
303
|
+
* @COGL_PIPELINE_ALPHA_FUNC_NEVER: Never let the fragment through.
|
304
|
+
* @COGL_PIPELINE_ALPHA_FUNC_LESS: Let the fragment through if the incoming
|
305
|
+
* alpha value is less than the reference alpha value
|
306
|
+
* @COGL_PIPELINE_ALPHA_FUNC_EQUAL: Let the fragment through if the incoming
|
307
|
+
* alpha value equals the reference alpha value
|
308
|
+
* @COGL_PIPELINE_ALPHA_FUNC_LEQUAL: Let the fragment through if the incoming
|
309
|
+
* alpha value is less than or equal to the reference alpha value
|
310
|
+
* @COGL_PIPELINE_ALPHA_FUNC_GREATER: Let the fragment through if the incoming
|
311
|
+
* alpha value is greater than the reference alpha value
|
312
|
+
* @COGL_PIPELINE_ALPHA_FUNC_NOTEQUAL: Let the fragment through if the incoming
|
313
|
+
* alpha value does not equal the reference alpha value
|
314
|
+
* @COGL_PIPELINE_ALPHA_FUNC_GEQUAL: Let the fragment through if the incoming
|
315
|
+
* alpha value is greater than or equal to the reference alpha value.
|
316
|
+
* @COGL_PIPELINE_ALPHA_FUNC_ALWAYS: Always let the fragment through.
|
317
|
+
*
|
318
|
+
* Alpha testing happens before blending primitives with the framebuffer and
|
319
|
+
* gives an opportunity to discard fragments based on a comparison with the
|
320
|
+
* incoming alpha value and a reference alpha value. The #CoglPipelineAlphaFunc
|
321
|
+
* determines how the comparison is done.
|
322
|
+
*/
|
323
|
+
typedef enum {
|
324
|
+
COGL_PIPELINE_ALPHA_FUNC_NEVER = 0x0200,
|
325
|
+
COGL_PIPELINE_ALPHA_FUNC_LESS = 0x0201,
|
326
|
+
COGL_PIPELINE_ALPHA_FUNC_EQUAL = 0x0202,
|
327
|
+
COGL_PIPELINE_ALPHA_FUNC_LEQUAL = 0x0203,
|
328
|
+
COGL_PIPELINE_ALPHA_FUNC_GREATER = 0x0204,
|
329
|
+
COGL_PIPELINE_ALPHA_FUNC_NOTEQUAL = 0x0205,
|
330
|
+
COGL_PIPELINE_ALPHA_FUNC_GEQUAL = 0x0206,
|
331
|
+
COGL_PIPELINE_ALPHA_FUNC_ALWAYS = 0x0207
|
332
|
+
} CoglPipelineAlphaFunc;
|
333
|
+
/* NB: these values come from the equivalents in gl.h */
|
334
|
+
|
335
|
+
/**
|
336
|
+
* cogl_pipeline_set_alpha_test_function:
|
337
|
+
* @pipeline: A #CoglPipeline object
|
338
|
+
* @alpha_func: A @CoglPipelineAlphaFunc constant
|
339
|
+
* @alpha_reference: A reference point that the chosen alpha function uses
|
340
|
+
* to compare incoming fragments to.
|
341
|
+
*
|
342
|
+
* Before a primitive is blended with the framebuffer, it goes through an
|
343
|
+
* alpha test stage which lets you discard fragments based on the current
|
344
|
+
* alpha value. This function lets you change the function used to evaluate
|
345
|
+
* the alpha channel, and thus determine which fragments are discarded
|
346
|
+
* and which continue on to the blending stage.
|
347
|
+
*
|
348
|
+
* The default is %COGL_PIPELINE_ALPHA_FUNC_ALWAYS
|
349
|
+
*
|
350
|
+
* Since: 2.0
|
351
|
+
* Stability: Unstable
|
352
|
+
*/
|
353
|
+
void
|
354
|
+
cogl_pipeline_set_alpha_test_function (CoglPipeline *pipeline,
|
355
|
+
CoglPipelineAlphaFunc alpha_func,
|
356
|
+
float alpha_reference);
|
357
|
+
|
358
|
+
/**
|
359
|
+
* cogl_pipeline_get_alpha_test_function:
|
360
|
+
* @pipeline: A #CoglPipeline object
|
361
|
+
*
|
362
|
+
* Return value: The alpha test function of @pipeline.
|
363
|
+
*
|
364
|
+
* Since: 2.0
|
365
|
+
* Stability: Unstable
|
366
|
+
*/
|
367
|
+
CoglPipelineAlphaFunc
|
368
|
+
cogl_pipeline_get_alpha_test_function (CoglPipeline *pipeline);
|
369
|
+
|
370
|
+
/**
|
371
|
+
* cogl_pipeline_get_alpha_test_reference:
|
372
|
+
* @pipeline: A #CoglPipeline object
|
373
|
+
*
|
374
|
+
* Return value: The alpha test reference value of @pipeline.
|
375
|
+
*
|
376
|
+
* Since: 2.0
|
377
|
+
* Stability: Unstable
|
378
|
+
*/
|
379
|
+
float
|
380
|
+
cogl_pipeline_get_alpha_test_reference (CoglPipeline *pipeline);
|
381
|
+
|
382
|
+
/**
|
383
|
+
* cogl_pipeline_set_blend:
|
384
|
+
* @pipeline: A #CoglPipeline object
|
385
|
+
* @blend_string: A <link linkend="cogl-Blend-Strings">Cogl blend string</link>
|
386
|
+
* describing the desired blend function.
|
387
|
+
* @error: return location for a #CoglError that may report lack of driver
|
388
|
+
* support if you give separate blend string statements for the alpha
|
389
|
+
* channel and RGB channels since some drivers, or backends such as
|
390
|
+
* GLES 1.1, don't support this feature. May be %NULL, in which case a
|
391
|
+
* warning will be printed out using GLib's logging facilities if an
|
392
|
+
* error is encountered.
|
393
|
+
*
|
394
|
+
* If not already familiar; please refer <link linkend="cogl-Blend-Strings">here</link>
|
395
|
+
* for an overview of what blend strings are, and their syntax.
|
396
|
+
*
|
397
|
+
* Blending occurs after the alpha test function, and combines fragments with
|
398
|
+
* the framebuffer.
|
399
|
+
|
400
|
+
* Currently the only blend function Cogl exposes is ADD(). So any valid
|
401
|
+
* blend statements will be of the form:
|
402
|
+
*
|
403
|
+
* |[
|
404
|
+
* <channel-mask>=ADD(SRC_COLOR*(<factor>), DST_COLOR*(<factor>))
|
405
|
+
* ]|
|
406
|
+
*
|
407
|
+
* This is the list of source-names usable as blend factors:
|
408
|
+
* <itemizedlist>
|
409
|
+
* <listitem><para>SRC_COLOR: The color of the in comming fragment</para></listitem>
|
410
|
+
* <listitem><para>DST_COLOR: The color of the framebuffer</para></listitem>
|
411
|
+
* <listitem><para>CONSTANT: The constant set via cogl_pipeline_set_blend_constant()</para></listitem>
|
412
|
+
* </itemizedlist>
|
413
|
+
*
|
414
|
+
* The source names can be used according to the
|
415
|
+
* <link linkend="cogl-Blend-String-syntax">color-source and factor syntax</link>,
|
416
|
+
* so for example "(1-SRC_COLOR[A])" would be a valid factor, as would
|
417
|
+
* "(CONSTANT[RGB])"
|
418
|
+
*
|
419
|
+
* These can also be used as factors:
|
420
|
+
* <itemizedlist>
|
421
|
+
* <listitem>0: (0, 0, 0, 0)</listitem>
|
422
|
+
* <listitem>1: (1, 1, 1, 1)</listitem>
|
423
|
+
* <listitem>SRC_ALPHA_SATURATE_FACTOR: (f,f,f,1) where f = MIN(SRC_COLOR[A],1-DST_COLOR[A])</listitem>
|
424
|
+
* </itemizedlist>
|
425
|
+
*
|
426
|
+
* <note>Remember; all color components are normalized to the range [0, 1]
|
427
|
+
* before computing the result of blending.</note>
|
428
|
+
*
|
429
|
+
* <example id="cogl-Blend-Strings-blend-unpremul">
|
430
|
+
* <title>Blend Strings/1</title>
|
431
|
+
* <para>Blend a non-premultiplied source over a destination with
|
432
|
+
* premultiplied alpha:</para>
|
433
|
+
* <programlisting>
|
434
|
+
* "RGB = ADD(SRC_COLOR*(SRC_COLOR[A]), DST_COLOR*(1-SRC_COLOR[A]))"
|
435
|
+
* "A = ADD(SRC_COLOR, DST_COLOR*(1-SRC_COLOR[A]))"
|
436
|
+
* </programlisting>
|
437
|
+
* </example>
|
438
|
+
*
|
439
|
+
* <example id="cogl-Blend-Strings-blend-premul">
|
440
|
+
* <title>Blend Strings/2</title>
|
441
|
+
* <para>Blend a premultiplied source over a destination with
|
442
|
+
* premultiplied alpha</para>
|
443
|
+
* <programlisting>
|
444
|
+
* "RGBA = ADD(SRC_COLOR, DST_COLOR*(1-SRC_COLOR[A]))"
|
445
|
+
* </programlisting>
|
446
|
+
* </example>
|
447
|
+
*
|
448
|
+
* The default blend string is:
|
449
|
+
* |[
|
450
|
+
* RGBA = ADD (SRC_COLOR, DST_COLOR*(1-SRC_COLOR[A]))
|
451
|
+
* ]|
|
452
|
+
*
|
453
|
+
* That gives normal alpha-blending when the calculated color for the pipeline
|
454
|
+
* is in premultiplied form.
|
455
|
+
*
|
456
|
+
* Return value: %TRUE if the blend string was successfully parsed, and the
|
457
|
+
* described blending is supported by the underlying driver/hardware. If
|
458
|
+
* there was an error, %FALSE is returned and @error is set accordingly (if
|
459
|
+
* present).
|
460
|
+
*
|
461
|
+
* Since: 2.0
|
462
|
+
* Stability: Unstable
|
463
|
+
*/
|
464
|
+
CoglBool
|
465
|
+
cogl_pipeline_set_blend (CoglPipeline *pipeline,
|
466
|
+
const char *blend_string,
|
467
|
+
CoglError **error);
|
468
|
+
|
469
|
+
/**
|
470
|
+
* cogl_pipeline_set_blend_constant:
|
471
|
+
* @pipeline: A #CoglPipeline object
|
472
|
+
* @constant_color: The constant color you want
|
473
|
+
*
|
474
|
+
* When blending is setup to reference a CONSTANT blend factor then
|
475
|
+
* blending will depend on the constant set with this function.
|
476
|
+
*
|
477
|
+
* Since: 2.0
|
478
|
+
* Stability: Unstable
|
479
|
+
*/
|
480
|
+
void
|
481
|
+
cogl_pipeline_set_blend_constant (CoglPipeline *pipeline,
|
482
|
+
const CoglColor *constant_color);
|
483
|
+
|
484
|
+
/**
|
485
|
+
* cogl_pipeline_set_point_size:
|
486
|
+
* @pipeline: a #CoglPipeline pointer
|
487
|
+
* @point_size: the new point size.
|
488
|
+
*
|
489
|
+
* Changes the size of points drawn when %COGL_VERTICES_MODE_POINTS is
|
490
|
+
* used with the vertex buffer API. Note that typically the GPU will
|
491
|
+
* only support a limited minimum and maximum range of point sizes. If
|
492
|
+
* the chosen point size is outside that range then the nearest value
|
493
|
+
* within that range will be used instead. The size of a point is in
|
494
|
+
* screen space so it will be the same regardless of any
|
495
|
+
* transformations. The default point size is 1.0.
|
496
|
+
*
|
497
|
+
* Since: 2.0
|
498
|
+
* Stability: Unstable
|
499
|
+
*/
|
500
|
+
void
|
501
|
+
cogl_pipeline_set_point_size (CoglPipeline *pipeline,
|
502
|
+
float point_size);
|
503
|
+
|
504
|
+
/**
|
505
|
+
* cogl_pipeline_get_point_size:
|
506
|
+
* @pipeline: a #CoglPipeline pointer
|
507
|
+
*
|
508
|
+
* Get the size of points drawn when %COGL_VERTICES_MODE_POINTS is
|
509
|
+
* used with the vertex buffer API.
|
510
|
+
*
|
511
|
+
* Return value: the point size of the @pipeline.
|
512
|
+
*
|
513
|
+
* Since: 2.0
|
514
|
+
* Stability: Unstable
|
515
|
+
*/
|
516
|
+
float
|
517
|
+
cogl_pipeline_get_point_size (CoglPipeline *pipeline);
|
518
|
+
|
519
|
+
/**
|
520
|
+
* cogl_pipeline_get_color_mask:
|
521
|
+
* @pipeline: a #CoglPipeline object.
|
522
|
+
*
|
523
|
+
* Gets the current #CoglColorMask of which channels would be written to the
|
524
|
+
* current framebuffer. Each bit set in the mask means that the
|
525
|
+
* corresponding color would be written.
|
526
|
+
*
|
527
|
+
* Returns: A #CoglColorMask
|
528
|
+
* Since: 1.8
|
529
|
+
* Stability: unstable
|
530
|
+
*/
|
531
|
+
CoglColorMask
|
532
|
+
cogl_pipeline_get_color_mask (CoglPipeline *pipeline);
|
533
|
+
|
534
|
+
/**
|
535
|
+
* cogl_pipeline_set_color_mask:
|
536
|
+
* @pipeline: a #CoglPipeline object.
|
537
|
+
* @color_mask: A #CoglColorMask of which color channels to write to
|
538
|
+
* the current framebuffer.
|
539
|
+
*
|
540
|
+
* Defines a bit mask of which color channels should be written to the
|
541
|
+
* current framebuffer. If a bit is set in @color_mask that means that
|
542
|
+
* color will be written.
|
543
|
+
*
|
544
|
+
* Since: 1.8
|
545
|
+
* Stability: unstable
|
546
|
+
*/
|
547
|
+
void
|
548
|
+
cogl_pipeline_set_color_mask (CoglPipeline *pipeline,
|
549
|
+
CoglColorMask color_mask);
|
550
|
+
|
551
|
+
/**
|
552
|
+
* cogl_pipeline_get_user_program:
|
553
|
+
* @pipeline: a #CoglPipeline object.
|
554
|
+
*
|
555
|
+
* Queries what user program has been associated with the given
|
556
|
+
* @pipeline using cogl_pipeline_set_user_program().
|
557
|
+
*
|
558
|
+
* Return value: The current user program or %COGL_INVALID_HANDLE.
|
559
|
+
*
|
560
|
+
* Since: 2.0
|
561
|
+
* Stability: Unstable
|
562
|
+
*/
|
563
|
+
CoglHandle
|
564
|
+
cogl_pipeline_get_user_program (CoglPipeline *pipeline);
|
565
|
+
|
566
|
+
/**
|
567
|
+
* cogl_pipeline_set_user_program:
|
568
|
+
* @pipeline: a #CoglPipeline object.
|
569
|
+
* @program: A #CoglHandle to a linked CoglProgram
|
570
|
+
*
|
571
|
+
* Associates a linked CoglProgram with the given pipeline so that the
|
572
|
+
* program can take full control of vertex and/or fragment processing.
|
573
|
+
*
|
574
|
+
* This is an example of how it can be used to associate an ARBfp
|
575
|
+
* program with a #CoglPipeline:
|
576
|
+
* |[
|
577
|
+
* CoglHandle shader;
|
578
|
+
* CoglHandle program;
|
579
|
+
* CoglPipeline *pipeline;
|
580
|
+
*
|
581
|
+
* shader = cogl_create_shader (COGL_SHADER_TYPE_FRAGMENT);
|
582
|
+
* cogl_shader_source (shader,
|
583
|
+
* "!!ARBfp1.0\n"
|
584
|
+
* "MOV result.color,fragment.color;\n"
|
585
|
+
* "END\n");
|
586
|
+
* cogl_shader_compile (shader);
|
587
|
+
*
|
588
|
+
* program = cogl_create_program ();
|
589
|
+
* cogl_program_attach_shader (program, shader);
|
590
|
+
* cogl_program_link (program);
|
591
|
+
*
|
592
|
+
* pipeline = cogl_pipeline_new ();
|
593
|
+
* cogl_pipeline_set_user_program (pipeline, program);
|
594
|
+
*
|
595
|
+
* cogl_set_source_color4ub (0xff, 0x00, 0x00, 0xff);
|
596
|
+
* cogl_rectangle (0, 0, 100, 100);
|
597
|
+
* ]|
|
598
|
+
*
|
599
|
+
* It is possibly worth keeping in mind that this API is not part of
|
600
|
+
* the long term design for how we want to expose shaders to Cogl
|
601
|
+
* developers (We are planning on deprecating the cogl_program and
|
602
|
+
* cogl_shader APIs in favour of a "snippet" framework) but in the
|
603
|
+
* meantime we hope this will handle most practical GLSL and ARBfp
|
604
|
+
* requirements.
|
605
|
+
*
|
606
|
+
* Also remember you need to check for either the
|
607
|
+
* %COGL_FEATURE_SHADERS_GLSL or %COGL_FEATURE_SHADERS_ARBFP before
|
608
|
+
* using the cogl_program or cogl_shader API.
|
609
|
+
*
|
610
|
+
* Since: 2.0
|
611
|
+
* Stability: Unstable
|
612
|
+
*/
|
613
|
+
void
|
614
|
+
cogl_pipeline_set_user_program (CoglPipeline *pipeline,
|
615
|
+
CoglHandle program);
|
616
|
+
|
617
|
+
/**
|
618
|
+
* cogl_pipeline_set_depth_state:
|
619
|
+
* @pipeline: A #CoglPipeline object
|
620
|
+
* @state: A #CoglDepthState struct
|
621
|
+
* @error: A #CoglError to report failures to setup the given @state.
|
622
|
+
*
|
623
|
+
* This commits all the depth state configured in @state struct to the
|
624
|
+
* given @pipeline. The configuration values are copied into the
|
625
|
+
* pipeline so there is no requirement to keep the #CoglDepthState
|
626
|
+
* struct around if you don't need it any more.
|
627
|
+
*
|
628
|
+
* Note: Since some platforms do not support the depth range feature
|
629
|
+
* it is possible for this function to fail and report an @error.
|
630
|
+
*
|
631
|
+
* Returns: TRUE if the GPU supports all the given @state else %FALSE
|
632
|
+
* and returns an @error.
|
633
|
+
*
|
634
|
+
* Since: 2.0
|
635
|
+
* Stability: Unstable
|
636
|
+
*/
|
637
|
+
CoglBool
|
638
|
+
cogl_pipeline_set_depth_state (CoglPipeline *pipeline,
|
639
|
+
const CoglDepthState *state,
|
640
|
+
CoglError **error);
|
641
|
+
|
642
|
+
/**
|
643
|
+
* cogl_pipeline_get_depth_state
|
644
|
+
* @pipeline: A #CoglPipeline object
|
645
|
+
* @state_out: (out): A destination #CoglDepthState struct
|
646
|
+
*
|
647
|
+
* Retrieves the current depth state configuration for the given
|
648
|
+
* @pipeline as previously set using cogl_pipeline_set_depth_state().
|
649
|
+
*
|
650
|
+
* Since: 2.0
|
651
|
+
* Stability: Unstable
|
652
|
+
*/
|
653
|
+
void
|
654
|
+
cogl_pipeline_get_depth_state (CoglPipeline *pipeline,
|
655
|
+
CoglDepthState *state_out);
|
656
|
+
|
657
|
+
/**
|
658
|
+
* CoglPipelineCullFaceMode:
|
659
|
+
* @COGL_PIPELINE_CULL_FACE_MODE_NONE: Neither face will be
|
660
|
+
* culled. This is the default.
|
661
|
+
* @COGL_PIPELINE_CULL_FACE_MODE_FRONT: Front faces will be culled.
|
662
|
+
* @COGL_PIPELINE_CULL_FACE_MODE_BACK: Back faces will be culled.
|
663
|
+
* @COGL_PIPELINE_CULL_FACE_MODE_BOTH: All faces will be culled.
|
664
|
+
*
|
665
|
+
* Specifies which faces should be culled. This can be set on a
|
666
|
+
* pipeline using cogl_pipeline_set_cull_face_mode().
|
667
|
+
*/
|
668
|
+
typedef enum
|
669
|
+
{
|
670
|
+
COGL_PIPELINE_CULL_FACE_MODE_NONE,
|
671
|
+
COGL_PIPELINE_CULL_FACE_MODE_FRONT,
|
672
|
+
COGL_PIPELINE_CULL_FACE_MODE_BACK,
|
673
|
+
COGL_PIPELINE_CULL_FACE_MODE_BOTH
|
674
|
+
} CoglPipelineCullFaceMode;
|
675
|
+
|
676
|
+
/**
|
677
|
+
* cogl_pipeline_set_cull_face_mode:
|
678
|
+
* @pipeline: A #CoglPipeline
|
679
|
+
* @cull_face_mode: The new mode to set
|
680
|
+
*
|
681
|
+
* Sets which faces will be culled when drawing. Face culling can be
|
682
|
+
* used to increase efficiency by avoiding drawing faces that would
|
683
|
+
* get overridden. For example, if a model has gaps so that it is
|
684
|
+
* impossible to see the inside then faces which are facing away from
|
685
|
+
* the screen will never be seen so there is no point in drawing
|
686
|
+
* them. This can be acheived by setting the cull face mode to
|
687
|
+
* %COGL_PIPELINE_CULL_FACE_MODE_BACK.
|
688
|
+
*
|
689
|
+
* Face culling relies on the primitives being drawn with a specific
|
690
|
+
* order to represent which faces are facing inside and outside the
|
691
|
+
* model. This order can be specified by calling
|
692
|
+
* cogl_pipeline_set_front_face_winding().
|
693
|
+
*
|
694
|
+
* Status: Unstable
|
695
|
+
* Since: 2.0
|
696
|
+
*/
|
697
|
+
void
|
698
|
+
cogl_pipeline_set_cull_face_mode (CoglPipeline *pipeline,
|
699
|
+
CoglPipelineCullFaceMode cull_face_mode);
|
700
|
+
|
701
|
+
/**
|
702
|
+
* cogl_pipeline_get_cull_face_mode:
|
703
|
+
*
|
704
|
+
* Return value: the cull face mode that was previously set with
|
705
|
+
* cogl_pipeline_set_cull_face_mode().
|
706
|
+
*
|
707
|
+
* Status: Unstable
|
708
|
+
* Since: 2.0
|
709
|
+
*/
|
710
|
+
CoglPipelineCullFaceMode
|
711
|
+
cogl_pipeline_get_cull_face_mode (CoglPipeline *pipeline);
|
712
|
+
|
713
|
+
/**
|
714
|
+
* cogl_pipeline_set_front_face_winding:
|
715
|
+
* @pipeline: a #CoglPipeline
|
716
|
+
* @front_winding: the winding order
|
717
|
+
*
|
718
|
+
* The order of the vertices within a primitive specifies whether it
|
719
|
+
* is considered to be front or back facing. This function specifies
|
720
|
+
* which order is considered to be the front
|
721
|
+
* faces. %COGL_WINDING_COUNTER_CLOCKWISE sets the front faces to
|
722
|
+
* primitives with vertices in a counter-clockwise order and
|
723
|
+
* %COGL_WINDING_CLOCKWISE sets them to be clockwise. The default is
|
724
|
+
* %COGL_WINDING_COUNTER_CLOCKWISE.
|
725
|
+
*
|
726
|
+
* Status: Unstable
|
727
|
+
* Since: 2.0
|
728
|
+
*/
|
729
|
+
void
|
730
|
+
cogl_pipeline_set_front_face_winding (CoglPipeline *pipeline,
|
731
|
+
CoglWinding front_winding);
|
732
|
+
|
733
|
+
/**
|
734
|
+
* cogl_pipeline_get_front_face_winding:
|
735
|
+
* @pipeline: a #CoglPipeline
|
736
|
+
*
|
737
|
+
* The order of the vertices within a primitive specifies whether it
|
738
|
+
* is considered to be front or back facing. This function specifies
|
739
|
+
* which order is considered to be the front
|
740
|
+
* faces. %COGL_WINDING_COUNTER_CLOCKWISE sets the front faces to
|
741
|
+
* primitives with vertices in a counter-clockwise order and
|
742
|
+
* %COGL_WINDING_CLOCKWISE sets them to be clockwise. The default is
|
743
|
+
* %COGL_WINDING_COUNTER_CLOCKWISE.
|
744
|
+
*
|
745
|
+
* Returns: The @pipeline front face winding
|
746
|
+
*
|
747
|
+
* Status: Unstable
|
748
|
+
* Since: 2.0
|
749
|
+
*/
|
750
|
+
CoglWinding
|
751
|
+
cogl_pipeline_get_front_face_winding (CoglPipeline *pipeline);
|
752
|
+
|
753
|
+
/**
|
754
|
+
* cogl_pipeline_set_uniform_1f:
|
755
|
+
* @pipeline: A #CoglPipeline object
|
756
|
+
* @uniform_location: The uniform's location identifier
|
757
|
+
* @value: The new value for the uniform
|
758
|
+
*
|
759
|
+
* Sets a new value for the uniform at @uniform_location. If this
|
760
|
+
* pipeline has a user program attached and is later used as a source
|
761
|
+
* for drawing, the given value will be assigned to the uniform which
|
762
|
+
* can be accessed from the shader's source. The value for
|
763
|
+
* @uniform_location should be retrieved from the string name of the
|
764
|
+
* uniform by calling cogl_pipeline_get_uniform_location().
|
765
|
+
*
|
766
|
+
* This function should be used to set uniforms that are of type
|
767
|
+
* float. It can also be used to set a single member of a float array
|
768
|
+
* uniform.
|
769
|
+
*
|
770
|
+
* Since: 2.0
|
771
|
+
* Stability: Unstable
|
772
|
+
*/
|
773
|
+
void
|
774
|
+
cogl_pipeline_set_uniform_1f (CoglPipeline *pipeline,
|
775
|
+
int uniform_location,
|
776
|
+
float value);
|
777
|
+
|
778
|
+
/**
|
779
|
+
* cogl_pipeline_set_uniform_1i:
|
780
|
+
* @pipeline: A #CoglPipeline object
|
781
|
+
* @uniform_location: The uniform's location identifier
|
782
|
+
* @value: The new value for the uniform
|
783
|
+
*
|
784
|
+
* Sets a new value for the uniform at @uniform_location. If this
|
785
|
+
* pipeline has a user program attached and is later used as a source
|
786
|
+
* for drawing, the given value will be assigned to the uniform which
|
787
|
+
* can be accessed from the shader's source. The value for
|
788
|
+
* @uniform_location should be retrieved from the string name of the
|
789
|
+
* uniform by calling cogl_pipeline_get_uniform_location().
|
790
|
+
*
|
791
|
+
* This function should be used to set uniforms that are of type
|
792
|
+
* int. It can also be used to set a single member of a int array
|
793
|
+
* uniform or a sampler uniform.
|
794
|
+
*
|
795
|
+
* Since: 2.0
|
796
|
+
* Stability: Unstable
|
797
|
+
*/
|
798
|
+
void
|
799
|
+
cogl_pipeline_set_uniform_1i (CoglPipeline *pipeline,
|
800
|
+
int uniform_location,
|
801
|
+
int value);
|
802
|
+
|
803
|
+
/**
|
804
|
+
* cogl_pipeline_set_uniform_float:
|
805
|
+
* @pipeline: A #CoglPipeline object
|
806
|
+
* @uniform_location: The uniform's location identifier
|
807
|
+
* @n_components: The number of components in the corresponding uniform's type
|
808
|
+
* @count: The number of values to set
|
809
|
+
* @value: Pointer to the new values to set
|
810
|
+
*
|
811
|
+
* Sets new values for the uniform at @uniform_location. If this
|
812
|
+
* pipeline has a user program attached and is later used as a source
|
813
|
+
* for drawing, the given values will be assigned to the uniform which
|
814
|
+
* can be accessed from the shader's source. The value for
|
815
|
+
* @uniform_location should be retrieved from the string name of the
|
816
|
+
* uniform by calling cogl_pipeline_get_uniform_location().
|
817
|
+
*
|
818
|
+
* This function can be used to set any floating point type uniform,
|
819
|
+
* including float arrays and float vectors. For example, to set a
|
820
|
+
* single vec4 uniform you would use 4 for @n_components and 1 for
|
821
|
+
* @count. To set an array of 8 float values, you could use 1 for
|
822
|
+
* @n_components and 8 for @count.
|
823
|
+
*
|
824
|
+
* Since: 2.0
|
825
|
+
* Stability: Unstable
|
826
|
+
*/
|
827
|
+
void
|
828
|
+
cogl_pipeline_set_uniform_float (CoglPipeline *pipeline,
|
829
|
+
int uniform_location,
|
830
|
+
int n_components,
|
831
|
+
int count,
|
832
|
+
const float *value);
|
833
|
+
|
834
|
+
/**
|
835
|
+
* cogl_pipeline_set_uniform_int:
|
836
|
+
* @pipeline: A #CoglPipeline object
|
837
|
+
* @uniform_location: The uniform's location identifier
|
838
|
+
* @n_components: The number of components in the corresponding uniform's type
|
839
|
+
* @count: The number of values to set
|
840
|
+
* @value: Pointer to the new values to set
|
841
|
+
*
|
842
|
+
* Sets new values for the uniform at @uniform_location. If this
|
843
|
+
* pipeline has a user program attached and is later used as a source
|
844
|
+
* for drawing, the given values will be assigned to the uniform which
|
845
|
+
* can be accessed from the shader's source. The value for
|
846
|
+
* @uniform_location should be retrieved from the string name of the
|
847
|
+
* uniform by calling cogl_pipeline_get_uniform_location().
|
848
|
+
*
|
849
|
+
* This function can be used to set any integer type uniform,
|
850
|
+
* including int arrays and int vectors. For example, to set a single
|
851
|
+
* ivec4 uniform you would use 4 for @n_components and 1 for
|
852
|
+
* @count. To set an array of 8 int values, you could use 1 for
|
853
|
+
* @n_components and 8 for @count.
|
854
|
+
*
|
855
|
+
* Since: 2.0
|
856
|
+
* Stability: Unstable
|
857
|
+
*/
|
858
|
+
void
|
859
|
+
cogl_pipeline_set_uniform_int (CoglPipeline *pipeline,
|
860
|
+
int uniform_location,
|
861
|
+
int n_components,
|
862
|
+
int count,
|
863
|
+
const int *value);
|
864
|
+
|
865
|
+
/**
|
866
|
+
* cogl_pipeline_set_uniform_matrix:
|
867
|
+
* @pipeline: A #CoglPipeline object
|
868
|
+
* @uniform_location: The uniform's location identifier
|
869
|
+
* @dimensions: The size of the matrix
|
870
|
+
* @count: The number of values to set
|
871
|
+
* @transpose: Whether to transpose the matrix
|
872
|
+
* @value: Pointer to the new values to set
|
873
|
+
*
|
874
|
+
* Sets new values for the uniform at @uniform_location. If this
|
875
|
+
* pipeline has a user program attached and is later used as a source
|
876
|
+
* for drawing, the given values will be assigned to the uniform which
|
877
|
+
* can be accessed from the shader's source. The value for
|
878
|
+
* @uniform_location should be retrieved from the string name of the
|
879
|
+
* uniform by calling cogl_pipeline_get_uniform_location().
|
880
|
+
*
|
881
|
+
* This function can be used to set any matrix type uniform, including
|
882
|
+
* matrix arrays. For example, to set a single mat4 uniform you would
|
883
|
+
* use 4 for @dimensions and 1 for @count. To set an array of 8
|
884
|
+
* mat3 values, you could use 3 for @dimensions and 8 for @count.
|
885
|
+
*
|
886
|
+
* If @transpose is %FALSE then the matrix is expected to be in
|
887
|
+
* column-major order or if it is %TRUE then the matrix is in
|
888
|
+
* row-major order. You can pass a #CoglMatrix by calling by passing
|
889
|
+
* the result of cogl_matrix_get_array() in @value and setting
|
890
|
+
* @transpose to %FALSE.
|
891
|
+
*
|
892
|
+
* Since: 2.0
|
893
|
+
* Stability: Unstable
|
894
|
+
*/
|
895
|
+
void
|
896
|
+
cogl_pipeline_set_uniform_matrix (CoglPipeline *pipeline,
|
897
|
+
int uniform_location,
|
898
|
+
int dimensions,
|
899
|
+
int count,
|
900
|
+
CoglBool transpose,
|
901
|
+
const float *value);
|
902
|
+
|
903
|
+
/**
|
904
|
+
* cogl_pipeline_add_snippet:
|
905
|
+
* @pipeline: A #CoglPipeline
|
906
|
+
* @snippet: The #CoglSnippet to add to the vertex processing hook
|
907
|
+
*
|
908
|
+
* Adds a shader snippet to @pipeline. The snippet will wrap around or
|
909
|
+
* replace some part of the pipeline as defined by the hook point in
|
910
|
+
* @snippet. Note that some hook points are specific to a layer and
|
911
|
+
* must be added with cogl_pipeline_add_layer_snippet() instead.
|
912
|
+
*
|
913
|
+
* Since: 1.10
|
914
|
+
* Stability: Unstable
|
915
|
+
*/
|
916
|
+
void
|
917
|
+
cogl_pipeline_add_snippet (CoglPipeline *pipeline,
|
918
|
+
CoglSnippet *snippet);
|
919
|
+
|
920
|
+
#endif /* COGL_ENABLE_EXPERIMENTAL_API */
|
921
|
+
|
922
|
+
COGL_END_DECLS
|
923
|
+
|
924
|
+
#endif /* __COGL_PIPELINE_STATE_H__ */
|