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