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,106 @@
|
|
1
|
+
/*
|
2
|
+
* Cogl
|
3
|
+
*
|
4
|
+
* An object oriented GL/GLES Abstraction/Utility Layer
|
5
|
+
*
|
6
|
+
* Copyright (C) 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
|
20
|
+
* <http://www.gnu.org/licenses/>.
|
21
|
+
*
|
22
|
+
* Authors:
|
23
|
+
* Robert Bragg <robert@linux.intel.com>
|
24
|
+
*
|
25
|
+
*/
|
26
|
+
|
27
|
+
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
|
28
|
+
#error "Only <cogl/cogl.h> can be included directly."
|
29
|
+
#endif
|
30
|
+
|
31
|
+
#ifndef __COGL_ONSCREEN_TEMPLATE_H__
|
32
|
+
#define __COGL_ONSCREEN_TEMPLATE_H__
|
33
|
+
|
34
|
+
#include <cogl/cogl-swap-chain.h>
|
35
|
+
|
36
|
+
COGL_BEGIN_DECLS
|
37
|
+
|
38
|
+
typedef struct _CoglOnscreenTemplate CoglOnscreenTemplate;
|
39
|
+
|
40
|
+
#define COGL_ONSCREEN_TEMPLATE(OBJECT) ((CoglOnscreenTemplate *)OBJECT)
|
41
|
+
|
42
|
+
CoglOnscreenTemplate *
|
43
|
+
cogl_onscreen_template_new (CoglSwapChain *swap_chain);
|
44
|
+
|
45
|
+
/**
|
46
|
+
* cogl_onscreen_template_set_samples_per_pixel:
|
47
|
+
* @onscreen: A #CoglOnscreenTemplate template framebuffer
|
48
|
+
* @n: The minimum number of samples per pixel
|
49
|
+
*
|
50
|
+
* Requires that any future CoglOnscreen framebuffers derived from
|
51
|
+
* this template must support making at least @n samples per pixel
|
52
|
+
* which will all contribute to the final resolved color for that
|
53
|
+
* pixel.
|
54
|
+
*
|
55
|
+
* By default this value is usually set to 0 and that is referred to
|
56
|
+
* as "single-sample" rendering. A value of 1 or greater is referred
|
57
|
+
* to as "multisample" rendering.
|
58
|
+
*
|
59
|
+
* <note>There are some semantic differences between single-sample
|
60
|
+
* rendering and multisampling with just 1 point sample such as it
|
61
|
+
* being redundant to use the cogl_framebuffer_resolve_samples() and
|
62
|
+
* cogl_framebuffer_resolve_samples_region() apis with single-sample
|
63
|
+
* rendering.</note>
|
64
|
+
*
|
65
|
+
* Since: 1.10
|
66
|
+
* Stability: unstable
|
67
|
+
*/
|
68
|
+
void
|
69
|
+
cogl_onscreen_template_set_samples_per_pixel (
|
70
|
+
CoglOnscreenTemplate *onscreen_template,
|
71
|
+
int n);
|
72
|
+
|
73
|
+
/**
|
74
|
+
* cogl_onscreen_template_set_swap_throttled:
|
75
|
+
* @onscreen_template: A #CoglOnscreenTemplate template framebuffer
|
76
|
+
* @throttled: Whether throttling should be enabled
|
77
|
+
*
|
78
|
+
* Requests that any future #CoglOnscreen framebuffers derived from this
|
79
|
+
* template should enable or disable swap throttling according to the given
|
80
|
+
* @throttled argument.
|
81
|
+
*
|
82
|
+
* Since: 1.10
|
83
|
+
* Stability: unstable
|
84
|
+
*/
|
85
|
+
void
|
86
|
+
cogl_onscreen_template_set_swap_throttled (
|
87
|
+
CoglOnscreenTemplate *onscreen_template,
|
88
|
+
CoglBool throttled);
|
89
|
+
|
90
|
+
/**
|
91
|
+
* cogl_is_onscreen_template:
|
92
|
+
* @object: A #CoglObject pointer
|
93
|
+
*
|
94
|
+
* Gets whether the given object references a #CoglOnscreenTemplate.
|
95
|
+
*
|
96
|
+
* Return value: %TRUE if the object references a #CoglOnscreenTemplate
|
97
|
+
* and %FALSE otherwise.
|
98
|
+
* Since: 1.10
|
99
|
+
* Stability: unstable
|
100
|
+
*/
|
101
|
+
CoglBool
|
102
|
+
cogl_is_onscreen_template (void *object);
|
103
|
+
|
104
|
+
COGL_END_DECLS
|
105
|
+
|
106
|
+
#endif /* __COGL_ONSCREEN_TEMPLATE_H__ */
|
@@ -0,0 +1,741 @@
|
|
1
|
+
/*
|
2
|
+
* Cogl
|
3
|
+
*
|
4
|
+
* An object oriented GL/GLES Abstraction/Utility Layer
|
5
|
+
*
|
6
|
+
* Copyright (C) 2011,2012 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
|
20
|
+
* <http://www.gnu.org/licenses/>.
|
21
|
+
*
|
22
|
+
*
|
23
|
+
*
|
24
|
+
* Authors:
|
25
|
+
* Robert Bragg <robert@linux.intel.com>
|
26
|
+
*/
|
27
|
+
|
28
|
+
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
|
29
|
+
#error "Only <cogl/cogl.h> can be included directly."
|
30
|
+
#endif
|
31
|
+
|
32
|
+
#ifndef __COGL_ONSCREEN_H
|
33
|
+
#define __COGL_ONSCREEN_H
|
34
|
+
|
35
|
+
#include <cogl/cogl-context.h>
|
36
|
+
#include <cogl/cogl-framebuffer.h>
|
37
|
+
#include <cogl/cogl-frame-info.h>
|
38
|
+
#include <cogl/cogl-object.h>
|
39
|
+
|
40
|
+
COGL_BEGIN_DECLS
|
41
|
+
|
42
|
+
typedef struct _CoglOnscreen CoglOnscreen;
|
43
|
+
#define COGL_ONSCREEN(X) ((CoglOnscreen *)(X))
|
44
|
+
|
45
|
+
/**
|
46
|
+
* cogl_onscreen_new:
|
47
|
+
* @context: A #CoglContext
|
48
|
+
* @width: The desired framebuffer width
|
49
|
+
* @height: The desired framebuffer height
|
50
|
+
*
|
51
|
+
* Instantiates an "unallocated" #CoglOnscreen framebuffer that may be
|
52
|
+
* configured before later being allocated, either implicitly when
|
53
|
+
* it is first used or explicitly via cogl_framebuffer_allocate().
|
54
|
+
*
|
55
|
+
* Return value: A newly instantiated #CoglOnscreen framebuffer
|
56
|
+
* Since: 1.8
|
57
|
+
* Stability: unstable
|
58
|
+
*/
|
59
|
+
CoglOnscreen *
|
60
|
+
cogl_onscreen_new (CoglContext *context, int width, int height);
|
61
|
+
|
62
|
+
#ifdef COGL_HAS_X11
|
63
|
+
typedef void (*CoglOnscreenX11MaskCallback) (CoglOnscreen *onscreen,
|
64
|
+
uint32_t event_mask,
|
65
|
+
void *user_data);
|
66
|
+
|
67
|
+
/**
|
68
|
+
* cogl_x11_onscreen_set_foreign_window_xid:
|
69
|
+
* @onscreen: The unallocated framebuffer to associated with an X
|
70
|
+
* window.
|
71
|
+
* @xid: The XID of an existing X window
|
72
|
+
* @update: A callback that notifies of updates to what Cogl requires
|
73
|
+
* to be in the core X protocol event mask.
|
74
|
+
* @user_data: user data passed to @update
|
75
|
+
*
|
76
|
+
* Ideally we would recommend that you let Cogl be responsible for
|
77
|
+
* creating any X window required to back an onscreen framebuffer but
|
78
|
+
* if you really need to target a window created manually this
|
79
|
+
* function can be called before @onscreen has been allocated to set a
|
80
|
+
* foreign XID for your existing X window.
|
81
|
+
*
|
82
|
+
* Since Cogl needs, for example, to track changes to the size of an X
|
83
|
+
* window it requires that certain events be selected for via the core
|
84
|
+
* X protocol. This requirement may also be changed asynchronously so
|
85
|
+
* you must pass in an @update callback to inform you of Cogl's
|
86
|
+
* required event mask.
|
87
|
+
*
|
88
|
+
* For example if you are using Xlib you could use this API roughly
|
89
|
+
* as follows:
|
90
|
+
* [{
|
91
|
+
* static void
|
92
|
+
* my_update_cogl_x11_event_mask (CoglOnscreen *onscreen,
|
93
|
+
* uint32_t event_mask,
|
94
|
+
* void *user_data)
|
95
|
+
* {
|
96
|
+
* XSetWindowAttributes attrs;
|
97
|
+
* MyData *data = user_data;
|
98
|
+
* attrs.event_mask = event_mask | data->my_event_mask;
|
99
|
+
* XChangeWindowAttributes (data->xdpy,
|
100
|
+
* data->xwin,
|
101
|
+
* CWEventMask,
|
102
|
+
* &attrs);
|
103
|
+
* }
|
104
|
+
*
|
105
|
+
* {
|
106
|
+
* *snip*
|
107
|
+
* cogl_x11_onscreen_set_foreign_window_xid (onscreen,
|
108
|
+
* data->xwin,
|
109
|
+
* my_update_cogl_x11_event_mask,
|
110
|
+
* data);
|
111
|
+
* *snip*
|
112
|
+
* }
|
113
|
+
* }]
|
114
|
+
*
|
115
|
+
* Since: 2.0
|
116
|
+
* Stability: Unstable
|
117
|
+
*/
|
118
|
+
void
|
119
|
+
cogl_x11_onscreen_set_foreign_window_xid (CoglOnscreen *onscreen,
|
120
|
+
uint32_t xid,
|
121
|
+
CoglOnscreenX11MaskCallback update,
|
122
|
+
void *user_data);
|
123
|
+
|
124
|
+
/**
|
125
|
+
* cogl_x11_onscreen_get_window_xid:
|
126
|
+
* @onscreen: A #CoglOnscreen framebuffer
|
127
|
+
*
|
128
|
+
* Assuming you know the given @onscreen framebuffer is based on an x11 window
|
129
|
+
* this queries the XID of that window. If
|
130
|
+
* cogl_x11_onscreen_set_foreign_window_xid() was previously called then it
|
131
|
+
* will return that same XID otherwise it will be the XID of a window Cogl
|
132
|
+
* created internally. If the window has not been allocated yet and a foreign
|
133
|
+
* xid has not been set then it's undefined what value will be returned.
|
134
|
+
*
|
135
|
+
* It's undefined what this function does if called when not using an x11 based
|
136
|
+
* renderer.
|
137
|
+
*
|
138
|
+
* Since: 1.10
|
139
|
+
* Stability: unstable
|
140
|
+
*/
|
141
|
+
uint32_t
|
142
|
+
cogl_x11_onscreen_get_window_xid (CoglOnscreen *onscreen);
|
143
|
+
|
144
|
+
/* XXX: we should maybe remove this, since nothing currently uses
|
145
|
+
* it and the current implementation looks dubious. */
|
146
|
+
uint32_t
|
147
|
+
cogl_x11_onscreen_get_visual_xid (CoglOnscreen *onscreen);
|
148
|
+
#endif /* COGL_HAS_X11 */
|
149
|
+
|
150
|
+
#ifdef COGL_HAS_WIN32_SUPPORT
|
151
|
+
/**
|
152
|
+
* cogl_win32_onscreen_set_foreign_window:
|
153
|
+
* @onscreen: A #CoglOnscreen framebuffer
|
154
|
+
* @hwnd: A win32 window handle
|
155
|
+
*
|
156
|
+
* Ideally we would recommend that you let Cogl be responsible for
|
157
|
+
* creating any window required to back an onscreen framebuffer but
|
158
|
+
* if you really need to target a window created manually this
|
159
|
+
* function can be called before @onscreen has been allocated to set a
|
160
|
+
* foreign XID for your existing X window.
|
161
|
+
*
|
162
|
+
* Since: 1.10
|
163
|
+
* Stability: unstable
|
164
|
+
*/
|
165
|
+
void
|
166
|
+
cogl_win32_onscreen_set_foreign_window (CoglOnscreen *onscreen,
|
167
|
+
HWND hwnd);
|
168
|
+
|
169
|
+
/**
|
170
|
+
* cogl_win32_onscreen_get_window:
|
171
|
+
* @onscreen: A #CoglOnscreen framebuffer
|
172
|
+
*
|
173
|
+
* Queries the internally created window HWND backing the given @onscreen
|
174
|
+
* framebuffer. If cogl_win32_onscreen_set_foreign_window() has been used then
|
175
|
+
* it will return the same handle set with that API.
|
176
|
+
*
|
177
|
+
* Since: 1.10
|
178
|
+
* Stability: unstable
|
179
|
+
*/
|
180
|
+
HWND
|
181
|
+
cogl_win32_onscreen_get_window (CoglOnscreen *onscreen);
|
182
|
+
#endif /* COGL_HAS_WIN32_SUPPORT */
|
183
|
+
|
184
|
+
#if defined (COGL_HAS_EGL_PLATFORM_WAYLAND_SUPPORT)
|
185
|
+
struct wl_surface *
|
186
|
+
cogl_wayland_onscreen_get_surface (CoglOnscreen *onscreen);
|
187
|
+
struct wl_shell_surface *
|
188
|
+
cogl_wayland_onscreen_get_shell_surface (CoglOnscreen *onscreen);
|
189
|
+
|
190
|
+
/**
|
191
|
+
* cogl_wayland_onscreen_resize:
|
192
|
+
* @onscreen: A #CoglOnscreen framebuffer
|
193
|
+
* @width: The desired width of the framebuffer
|
194
|
+
* @height: The desired height of the framebuffer
|
195
|
+
* @offset_x: A relative x offset for the new framebuffer
|
196
|
+
* @offset_y: A relative x offset for the new framebuffer
|
197
|
+
*
|
198
|
+
* Queues a resize of the given @onscreen framebuffer which will be applied
|
199
|
+
* during the next swap buffers request. Since a buffer is usually conceptually
|
200
|
+
* scaled with a center point the @offset_x and @offset_y arguments allow the
|
201
|
+
* newly allocated buffer to be positioned relative to the old buffer size.
|
202
|
+
*
|
203
|
+
* For example a buffer that is being resized by moving the bottom right
|
204
|
+
* corner, and the top left corner is remaining static would use x and y
|
205
|
+
* offsets of (0, 0) since the top-left of the new buffer should have the same
|
206
|
+
* position as the old buffer. If the center of the old buffer is being zoomed
|
207
|
+
* into then all the corners of the new buffer move out from the center and the x
|
208
|
+
* and y offsets would be (-half_x_size_increase, -half_y_size_increase) where
|
209
|
+
* x/y_size_increase is how many pixels bigger the buffer is on the x and y
|
210
|
+
* axis.
|
211
|
+
*
|
212
|
+
* If cogl_wayland_onscreen_resize() is called multiple times before the next
|
213
|
+
* swap buffers request then the relative x and y offsets accumulate instead of
|
214
|
+
* being replaced. The @width and @height values superseed the old values.
|
215
|
+
*
|
216
|
+
* Since: 1.10
|
217
|
+
* Stability: unstable
|
218
|
+
*/
|
219
|
+
void
|
220
|
+
cogl_wayland_onscreen_resize (CoglOnscreen *onscreen,
|
221
|
+
int width,
|
222
|
+
int height,
|
223
|
+
int offset_x,
|
224
|
+
int offset_y);
|
225
|
+
#endif /* COGL_HAS_EGL_PLATFORM_WAYLAND_SUPPORT */
|
226
|
+
|
227
|
+
/**
|
228
|
+
* cogl_onscreen_set_swap_throttled:
|
229
|
+
* @onscreen: A #CoglOnscreen framebuffer
|
230
|
+
* @throttled: Whether swap throttling is wanted or not.
|
231
|
+
*
|
232
|
+
* Requests that the given @onscreen framebuffer should have swap buffer
|
233
|
+
* requests (made using cogl_onscreen_swap_buffers()) throttled either by a
|
234
|
+
* displays vblank period or perhaps some other mechanism in a composited
|
235
|
+
* environment.
|
236
|
+
*
|
237
|
+
* Since: 1.8
|
238
|
+
* Stability: unstable
|
239
|
+
*/
|
240
|
+
void
|
241
|
+
cogl_onscreen_set_swap_throttled (CoglOnscreen *onscreen,
|
242
|
+
CoglBool throttled);
|
243
|
+
|
244
|
+
/**
|
245
|
+
* cogl_onscreen_show:
|
246
|
+
* @onscreen: The onscreen framebuffer to make visible
|
247
|
+
*
|
248
|
+
* This requests to make @onscreen visible to the user.
|
249
|
+
*
|
250
|
+
* Actually the precise semantics of this function depend on the
|
251
|
+
* window system currently in use, and if you don't have a
|
252
|
+
* multi-windowining system this function may in-fact do nothing.
|
253
|
+
*
|
254
|
+
* This function will implicitly allocate the given @onscreen
|
255
|
+
* framebuffer before showing it if it hasn't already been allocated.
|
256
|
+
*
|
257
|
+
* <note>Since Cogl doesn't explicitly track the visibility status of
|
258
|
+
* onscreen framebuffers it wont try to avoid redundant window system
|
259
|
+
* requests e.g. to show an already visible window. This also means
|
260
|
+
* that it's acceptable to alternatively use native APIs to show and
|
261
|
+
* hide windows without confusing Cogl.</note>
|
262
|
+
*
|
263
|
+
* Since: 2.0
|
264
|
+
* Stability: Unstable
|
265
|
+
*/
|
266
|
+
void
|
267
|
+
cogl_onscreen_show (CoglOnscreen *onscreen);
|
268
|
+
|
269
|
+
/**
|
270
|
+
* cogl_onscreen_hide:
|
271
|
+
* @onscreen: The onscreen framebuffer to make invisible
|
272
|
+
*
|
273
|
+
* This requests to make @onscreen invisible to the user.
|
274
|
+
*
|
275
|
+
* Actually the precise semantics of this function depend on the
|
276
|
+
* window system currently in use, and if you don't have a
|
277
|
+
* multi-windowining system this function may in-fact do nothing.
|
278
|
+
*
|
279
|
+
* This function does not implicitly allocate the given @onscreen
|
280
|
+
* framebuffer before hiding it.
|
281
|
+
*
|
282
|
+
* <note>Since Cogl doesn't explicitly track the visibility status of
|
283
|
+
* onscreen framebuffers it wont try to avoid redundant window system
|
284
|
+
* requests e.g. to show an already visible window. This also means
|
285
|
+
* that it's acceptable to alternatively use native APIs to show and
|
286
|
+
* hide windows without confusing Cogl.</note>
|
287
|
+
*
|
288
|
+
* Since: 2.0
|
289
|
+
* Stability: Unstable
|
290
|
+
*/
|
291
|
+
void
|
292
|
+
cogl_onscreen_hide (CoglOnscreen *onscreen);
|
293
|
+
|
294
|
+
/**
|
295
|
+
* cogl_onscreen_swap_buffers:
|
296
|
+
* @onscreen: A #CoglOnscreen framebuffer
|
297
|
+
*
|
298
|
+
* Swaps the current back buffer being rendered too, to the front for display.
|
299
|
+
*
|
300
|
+
* This function also implicitly discards the contents of the color, depth and
|
301
|
+
* stencil buffers as if cogl_framebuffer_discard_buffers() were used. The
|
302
|
+
* significance of the discard is that you should not expect to be able to
|
303
|
+
* start a new frame that incrementally builds on the contents of the previous
|
304
|
+
* frame.
|
305
|
+
*
|
306
|
+
* Since: 1.10
|
307
|
+
* Stability: unstable
|
308
|
+
*/
|
309
|
+
void
|
310
|
+
cogl_onscreen_swap_buffers (CoglOnscreen *onscreen);
|
311
|
+
|
312
|
+
|
313
|
+
/**
|
314
|
+
* cogl_onscreen_get_buffer_age:
|
315
|
+
* @onscreen: A #CoglOnscreen framebuffer
|
316
|
+
*
|
317
|
+
* Gets the current age of the buffer contents.
|
318
|
+
*
|
319
|
+
* This function allows applications to query the age of the current
|
320
|
+
* back buffer contents for a #CoglOnscreen as the number of frames
|
321
|
+
* elapsed since the contents were most recently defined.
|
322
|
+
*
|
323
|
+
* These age values exposes enough information to applications about
|
324
|
+
* how Cogl internally manages back buffers to allow applications to
|
325
|
+
* re-use the contents of old frames and minimize how much must be
|
326
|
+
* redrawn for the next frame.
|
327
|
+
*
|
328
|
+
* The back buffer contents can either be reported as invalid (has an
|
329
|
+
* age of 0) or it may be reported to be the same contents as from n
|
330
|
+
* frames prior to the current frame.
|
331
|
+
*
|
332
|
+
* The queried value remains valid until the next buffer swap.
|
333
|
+
*
|
334
|
+
* <note>One caveat is that under X11 the buffer age does not reflect
|
335
|
+
* changes to buffer contents caused by the window systems. X11
|
336
|
+
* applications must track Expose events to determine what buffer
|
337
|
+
* regions need to additionally be repaired each frame.</note>
|
338
|
+
*
|
339
|
+
* The recommended way to take advantage of this buffer age api is to
|
340
|
+
* build up a circular buffer of length 3 for tracking damage regions
|
341
|
+
* over the last 3 frames and when starting a new frame look at the
|
342
|
+
* age of the buffer and combine the damage regions for the current
|
343
|
+
* frame with the damage regions of previous @age frames so you know
|
344
|
+
* everything that must be redrawn to update the old contents for the
|
345
|
+
* new frame.
|
346
|
+
*
|
347
|
+
* <note>If the system doesn't not support being able to track the age
|
348
|
+
* of back buffers then this function will always return 0 which
|
349
|
+
* implies that the contents are undefined.</note>
|
350
|
+
*
|
351
|
+
* Return value: The age of the buffer contents or 0 when the buffer
|
352
|
+
* contents are undefined.
|
353
|
+
*
|
354
|
+
* Since: 1.14
|
355
|
+
* Stability: stable
|
356
|
+
*/
|
357
|
+
int
|
358
|
+
cogl_onscreen_get_buffer_age (CoglOnscreen *onscreen);
|
359
|
+
|
360
|
+
/**
|
361
|
+
* cogl_onscreen_swap_region:
|
362
|
+
* @onscreen: A #CoglOnscreen framebuffer
|
363
|
+
* @rectangles: An array of integer 4-tuples representing rectangles as
|
364
|
+
* (x, y, width, height) tuples.
|
365
|
+
* @n_rectangles: The number of 4-tuples to be read from @rectangles
|
366
|
+
*
|
367
|
+
* Swaps a region of the back buffer being rendered too, to the front for
|
368
|
+
* display. @rectangles represents the region as array of @n_rectangles each
|
369
|
+
* defined by 4 sequential (x, y, width, height) integers.
|
370
|
+
*
|
371
|
+
* This function also implicitly discards the contents of the color, depth and
|
372
|
+
* stencil buffers as if cogl_framebuffer_discard_buffers() were used. The
|
373
|
+
* significance of the discard is that you should not expect to be able to
|
374
|
+
* start a new frame that incrementally builds on the contents of the previous
|
375
|
+
* frame.
|
376
|
+
*
|
377
|
+
* Since: 1.10
|
378
|
+
* Stability: unstable
|
379
|
+
*/
|
380
|
+
void
|
381
|
+
cogl_onscreen_swap_region (CoglOnscreen *onscreen,
|
382
|
+
const int *rectangles,
|
383
|
+
int n_rectangles);
|
384
|
+
|
385
|
+
/**
|
386
|
+
* CoglFrameEvent:
|
387
|
+
* @COGL_FRAME_EVENT_SYNC: Notifies that the system compositor has
|
388
|
+
* acknowledged a frame and is ready for a
|
389
|
+
* new frame to be created.
|
390
|
+
* @COGL_FRAME_EVENT_COMPLETE: Notifies that a frame has ended. This
|
391
|
+
* is a good time for applications to
|
392
|
+
* collect statistics about the frame
|
393
|
+
* since the #CoglFrameInfo should hold
|
394
|
+
* the most data at this point. No other
|
395
|
+
* events should be expected after a
|
396
|
+
* @COGL_FRAME_EVENT_COMPLETE event.
|
397
|
+
*
|
398
|
+
* Identifiers that are passed to #CoglFrameCallback functions
|
399
|
+
* (registered using cogl_onscreen_add_frame_callback()) that
|
400
|
+
* mark the progression of a frame in some way which usually
|
401
|
+
* means that new information will have been accumulated in the
|
402
|
+
* frame's corresponding #CoglFrameInfo object.
|
403
|
+
*
|
404
|
+
* The last event that will be sent for a frame will be a
|
405
|
+
* @COGL_FRAME_EVENT_COMPLETE event and so these are a good
|
406
|
+
* opportunity to collect statistics about a frame since the
|
407
|
+
* #CoglFrameInfo should hold the most data at this point.
|
408
|
+
*
|
409
|
+
* <note>A frame may not be completed before the next frame can start
|
410
|
+
* so applications should avoid needing to collect all statistics for
|
411
|
+
* a particular frame before they can start a new frame.</note>
|
412
|
+
*
|
413
|
+
* Since: 1.14
|
414
|
+
* Stability: unstable
|
415
|
+
*/
|
416
|
+
typedef enum _CoglFrameEvent
|
417
|
+
{
|
418
|
+
COGL_FRAME_EVENT_SYNC = 1,
|
419
|
+
COGL_FRAME_EVENT_COMPLETE
|
420
|
+
} CoglFrameEvent;
|
421
|
+
|
422
|
+
/**
|
423
|
+
* CoglFrameCallback:
|
424
|
+
* @onscreen: The onscreen that the frame is associated with
|
425
|
+
* @event: A #CoglFrameEvent notifying how the frame has progressed
|
426
|
+
* @info: The meta information, such as timing information, about
|
427
|
+
* the frame that has progressed.
|
428
|
+
* @user_data: The user pointer passed to
|
429
|
+
* cogl_onscreen_add_frame_callback()
|
430
|
+
*
|
431
|
+
* Is a callback that can be registered via
|
432
|
+
* cogl_onscreen_add_frame_callback() to be called when a frame
|
433
|
+
* progresses in some notable way.
|
434
|
+
*
|
435
|
+
* Please see the documentation for #CoglFrameEvent and
|
436
|
+
* cogl_onscreen_add_frame_callback() for more details about what
|
437
|
+
* events can be notified.
|
438
|
+
*
|
439
|
+
* Since: 1.14
|
440
|
+
* Stability: unstable
|
441
|
+
*/
|
442
|
+
typedef void (*CoglFrameCallback) (CoglOnscreen *onscreen,
|
443
|
+
CoglFrameEvent event,
|
444
|
+
CoglFrameInfo *info,
|
445
|
+
void *user_data);
|
446
|
+
|
447
|
+
/**
|
448
|
+
* CoglFrameClosure:
|
449
|
+
*
|
450
|
+
* An opaque type that tracks a #CoglFrameCallback and associated user
|
451
|
+
* data. A #CoglFrameClosure pointer will be returned from
|
452
|
+
* cogl_onscreen_add_frame_callback() and it allows you to remove a
|
453
|
+
* callback later using cogl_onscreen_remove_frame_callback().
|
454
|
+
*
|
455
|
+
* Since: 1.14
|
456
|
+
* Stability: unstable
|
457
|
+
*/
|
458
|
+
typedef struct _CoglFrameClosure CoglFrameClosure;
|
459
|
+
|
460
|
+
/**
|
461
|
+
* cogl_onscreen_add_frame_callback:
|
462
|
+
* @onscreen: A #CoglOnscreen framebuffer
|
463
|
+
* @callback: A callback function to call for frame events
|
464
|
+
* @user_data: A private pointer to be passed to @callback
|
465
|
+
* @destroy: An optional callback to destroy @user_data when the
|
466
|
+
* @callback is removed or @onscreen is freed.
|
467
|
+
*
|
468
|
+
* Installs a @callback function that will be called for significant
|
469
|
+
* events relating to the given @onscreen framebuffer.
|
470
|
+
*
|
471
|
+
* The @callback will be used to notify when the system compositor is
|
472
|
+
* ready for this application to render a new frame. In this case
|
473
|
+
* %COGL_FRAME_EVENT_SYNC will be passed as the event argument to the
|
474
|
+
* given @callback in addition to the #CoglFrameInfo corresponding to
|
475
|
+
* the frame beeing acknowledged by the compositor.
|
476
|
+
*
|
477
|
+
* The @callback will also be called to notify when the frame has
|
478
|
+
* ended. In this case %COGL_FRAME_EVENT_COMPLETE will be passed as
|
479
|
+
* the event argument to the given @callback in addition to the
|
480
|
+
* #CoglFrameInfo corresponding to the newly presented frame. The
|
481
|
+
* meaning of "ended" here simply means that no more timing
|
482
|
+
* information will be collected within the corresponding
|
483
|
+
* #CoglFrameInfo and so this is a good opportunity to analyse the
|
484
|
+
* given info. It does not necessarily mean that the GPU has finished
|
485
|
+
* rendering the corresponding frame.
|
486
|
+
*
|
487
|
+
* We highly recommend throttling your application according to
|
488
|
+
* %COGL_FRAME_EVENT_SYNC events so that your application can avoid
|
489
|
+
* wasting resources, drawing more frames than your system compositor
|
490
|
+
* can display.
|
491
|
+
*
|
492
|
+
* Return value: a #CoglFrameClosure pointer that can be used to
|
493
|
+
* remove the callback and associated @user_data later.
|
494
|
+
* Since: 1.14
|
495
|
+
* Stability: unstable
|
496
|
+
*/
|
497
|
+
CoglFrameClosure *
|
498
|
+
cogl_onscreen_add_frame_callback (CoglOnscreen *onscreen,
|
499
|
+
CoglFrameCallback callback,
|
500
|
+
void *user_data,
|
501
|
+
CoglUserDataDestroyCallback destroy);
|
502
|
+
|
503
|
+
/**
|
504
|
+
* cogl_onscreen_remove_frame_callback:
|
505
|
+
* @onscreen: A #CoglOnscreen
|
506
|
+
* @closure: A #CoglFrameClosure returned from
|
507
|
+
* cogl_onscreen_add_frame_callback()
|
508
|
+
*
|
509
|
+
* Removes a callback and associated user data that were previously
|
510
|
+
* registered using cogl_onscreen_add_frame_callback().
|
511
|
+
*
|
512
|
+
* If a destroy callback was passed to
|
513
|
+
* cogl_onscreen_add_frame_callback() to destroy the user data then
|
514
|
+
* this will get called.
|
515
|
+
*
|
516
|
+
* Since: 1.14
|
517
|
+
* Stability: unstable
|
518
|
+
*/
|
519
|
+
void
|
520
|
+
cogl_onscreen_remove_frame_callback (CoglOnscreen *onscreen,
|
521
|
+
CoglFrameClosure *closure);
|
522
|
+
|
523
|
+
typedef void (*CoglSwapBuffersNotify) (CoglFramebuffer *framebuffer,
|
524
|
+
void *user_data);
|
525
|
+
|
526
|
+
/**
|
527
|
+
* cogl_onscreen_add_swap_buffers_callback:
|
528
|
+
* @onscreen: A #CoglOnscreen framebuffer
|
529
|
+
* @callback: A callback function to call when a swap has completed
|
530
|
+
* @user_data: A private pointer to be passed to @callback
|
531
|
+
*
|
532
|
+
* Installs a @callback function that should be called whenever a swap buffers
|
533
|
+
* request (made using cogl_onscreen_swap_buffers()) for the given
|
534
|
+
* @onscreen completes.
|
535
|
+
*
|
536
|
+
* <note>Applications should check for the %COGL_FEATURE_ID_SWAP_BUFFERS_EVENT
|
537
|
+
* feature before using this API. It's currently undefined when and if
|
538
|
+
* registered callbacks will be called if this feature is not supported.</note>
|
539
|
+
*
|
540
|
+
* We recommend using this mechanism when available to manually throttle your
|
541
|
+
* applications (in conjunction with cogl_onscreen_set_swap_throttled()) so
|
542
|
+
* your application will be able to avoid long blocks in the driver caused by
|
543
|
+
* throttling when you request to swap buffers too quickly.
|
544
|
+
*
|
545
|
+
* Return value: a unique identifier that can be used to remove to remove
|
546
|
+
* the callback later.
|
547
|
+
* Since: 1.10
|
548
|
+
* Stability: unstable
|
549
|
+
* Deprecated: 1.14: Use cogl_onscreen_add_swap_complete_callback
|
550
|
+
*/
|
551
|
+
unsigned int
|
552
|
+
cogl_onscreen_add_swap_buffers_callback (CoglOnscreen *onscreen,
|
553
|
+
CoglSwapBuffersNotify callback,
|
554
|
+
void *user_data);
|
555
|
+
|
556
|
+
/**
|
557
|
+
* cogl_onscreen_remove_swap_buffers_callback:
|
558
|
+
* @onscreen: A #CoglOnscreen framebuffer
|
559
|
+
* @id: An identifier returned from cogl_onscreen_add_swap_buffers_callback()
|
560
|
+
*
|
561
|
+
* Removes a callback that was previously registered
|
562
|
+
* using cogl_onscreen_add_swap_buffers_callback().
|
563
|
+
*
|
564
|
+
* Since: 1.10
|
565
|
+
* Stability: unstable
|
566
|
+
* Deprecated: 1.14: Use cogl_onscreen_remove_swap_complete_callback
|
567
|
+
*/
|
568
|
+
void
|
569
|
+
cogl_onscreen_remove_swap_buffers_callback (CoglOnscreen *onscreen,
|
570
|
+
unsigned int id);
|
571
|
+
|
572
|
+
/**
|
573
|
+
* cogl_onscreen_set_resizable:
|
574
|
+
* @onscreen: A #CoglOnscreen framebuffer
|
575
|
+
*
|
576
|
+
* Lets you request Cogl to mark an @onscreen framebuffer as
|
577
|
+
* resizable or not.
|
578
|
+
*
|
579
|
+
* By default, if possible, a @onscreen will be created by Cogl
|
580
|
+
* as non resizable, but it is not guaranteed that this is always
|
581
|
+
* possible for all window systems.
|
582
|
+
*
|
583
|
+
* <note>Cogl does not know whether marking the @onscreen framebuffer
|
584
|
+
* is truly meaningful for your current window system (consider
|
585
|
+
* applications being run fullscreen on a phone or TV) so this
|
586
|
+
* function may not have any useful effect. If you are running on a
|
587
|
+
* multi windowing system such as X11 or Win32 or OSX then Cogl will
|
588
|
+
* request to the window system that users be allowed to resize the
|
589
|
+
* @onscreen, although it's still possible that some other window
|
590
|
+
* management policy will block this possibility.</note>
|
591
|
+
*
|
592
|
+
* <note>Whenever an @onscreen framebuffer is resized the viewport
|
593
|
+
* will be automatically updated to match the new size of the
|
594
|
+
* framebuffer with an origin of (0,0). If your application needs more
|
595
|
+
* specialized control of the viewport it will need to register a
|
596
|
+
* resize handler using cogl_onscreen_add_resize_handler() so that it
|
597
|
+
* can track when the viewport has been changed automatically.</note>
|
598
|
+
*
|
599
|
+
* Since: 2.0
|
600
|
+
*/
|
601
|
+
void
|
602
|
+
cogl_onscreen_set_resizable (CoglOnscreen *onscreen,
|
603
|
+
CoglBool resizable);
|
604
|
+
|
605
|
+
/**
|
606
|
+
* cogl_onscreen_get_resizable:
|
607
|
+
* @onscreen: A #CoglOnscreen framebuffer
|
608
|
+
*
|
609
|
+
* Lets you query whether @onscreen has been marked as resizable via
|
610
|
+
* the cogl_onscreen_set_resizable() api.
|
611
|
+
*
|
612
|
+
* By default, if possible, a @onscreen will be created by Cogl
|
613
|
+
* as non resizable, but it is not guaranteed that this is always
|
614
|
+
* possible for all window systems.
|
615
|
+
*
|
616
|
+
* <note>If cogl_onscreen_set_resizable(@onscreen, %TRUE) has been
|
617
|
+
* previously called then this function will return %TRUE, but it's
|
618
|
+
* possible that the current windowing system being used does not
|
619
|
+
* support window resizing (consider fullscreen windows on a phone or
|
620
|
+
* a TV). This function is not aware of whether resizing is truly
|
621
|
+
* meaningful with your window system, only whether the @onscreen has
|
622
|
+
* been marked as resizable.</note>
|
623
|
+
*
|
624
|
+
* Return value: Returns whether @onscreen has been marked as
|
625
|
+
* resizable or not.
|
626
|
+
* Since: 2.0
|
627
|
+
*/
|
628
|
+
CoglBool
|
629
|
+
cogl_onscreen_get_resizable (CoglOnscreen *onscreen);
|
630
|
+
|
631
|
+
/**
|
632
|
+
* CoglOnscreenResizeCallback:
|
633
|
+
* @onscreen: A #CoglOnscreen framebuffer that was resized
|
634
|
+
* @width: The new width of @onscreen
|
635
|
+
* @height: The new height of @onscreen
|
636
|
+
* @user_data: The private passed to
|
637
|
+
* cogl_onscreen_add_resize_handler()
|
638
|
+
*
|
639
|
+
* Is a callback type used with the
|
640
|
+
* cogl_onscreen_add_resize_handler() allowing applications to be
|
641
|
+
* notified whenever an @onscreen framebuffer is resized.
|
642
|
+
*
|
643
|
+
* <note>Cogl automatically updates the viewport of an @onscreen
|
644
|
+
* framebuffer that is resized so this callback is also an indication
|
645
|
+
* that the viewport has been modified too</note>
|
646
|
+
*
|
647
|
+
* <note>A resize callback will only ever be called while dispatching
|
648
|
+
* Cogl events from the system mainloop; so for example during
|
649
|
+
* cogl_poll_dispatch(). This is so that callbacks shouldn't occur
|
650
|
+
* while an application might have arbitrary locks held for
|
651
|
+
* example.</note>
|
652
|
+
*
|
653
|
+
* Since: 2.0
|
654
|
+
*/
|
655
|
+
typedef void (*CoglOnscreenResizeCallback) (CoglOnscreen *onscreen,
|
656
|
+
int width,
|
657
|
+
int height,
|
658
|
+
void *user_data);
|
659
|
+
|
660
|
+
/**
|
661
|
+
* cogl_onscreen_add_resize_handler:
|
662
|
+
* @onscreen: A #CoglOnscreen framebuffer
|
663
|
+
* @callback: A #CoglOnscreenResizeCallback to call when the @onscreen
|
664
|
+
* changes size.
|
665
|
+
* @user_data: Private data to be passed to @callback.
|
666
|
+
*
|
667
|
+
* Registers a @callback with @onscreen that will be called whenever
|
668
|
+
* the @onscreen framebuffer changes size.
|
669
|
+
*
|
670
|
+
* The @callback can be removed using
|
671
|
+
* cogl_onscreen_remove_resize_handler() passing the same @callback
|
672
|
+
* and @user_data pair.
|
673
|
+
*
|
674
|
+
* <note>Since Cogl automatically updates the viewport of an @onscreen
|
675
|
+
* framebuffer that is resized, a resize callback can also be used to
|
676
|
+
* track when the viewport has been changed automatically by Cogl in
|
677
|
+
* case your application needs more specialized control over the
|
678
|
+
* viewport.</note>
|
679
|
+
*
|
680
|
+
* <note>A resize callback will only ever be called while dispatching
|
681
|
+
* Cogl events from the system mainloop; so for example during
|
682
|
+
* cogl_poll_dispatch(). This is so that callbacks shouldn't occur
|
683
|
+
* while an application might have arbitrary locks held for
|
684
|
+
* example.</note>
|
685
|
+
*
|
686
|
+
* Return value: a unique identifier that can be used to remove to remove
|
687
|
+
* the callback later.
|
688
|
+
*
|
689
|
+
* Since: 2.0
|
690
|
+
*/
|
691
|
+
unsigned int
|
692
|
+
cogl_onscreen_add_resize_handler (CoglOnscreen *onscreen,
|
693
|
+
CoglOnscreenResizeCallback callback,
|
694
|
+
void *user_data);
|
695
|
+
|
696
|
+
/**
|
697
|
+
* cogl_onscreen_remove_resize_handler:
|
698
|
+
* @onscreen: A #CoglOnscreen framebuffer
|
699
|
+
* @id: An identifier returned from cogl_onscreen_add_resize_handler()
|
700
|
+
*
|
701
|
+
* Removes a resize @callback and @user_data pair that were previously
|
702
|
+
* associated with @onscreen via cogl_onscreen_add_resize_handler().
|
703
|
+
*
|
704
|
+
* Since: 2.0
|
705
|
+
*/
|
706
|
+
void
|
707
|
+
cogl_onscreen_remove_resize_handler (CoglOnscreen *onscreen,
|
708
|
+
unsigned int id);
|
709
|
+
|
710
|
+
/**
|
711
|
+
* cogl_is_onscreen:
|
712
|
+
* @object: A #CoglObject pointer
|
713
|
+
*
|
714
|
+
* Gets whether the given object references a #CoglOnscreen.
|
715
|
+
*
|
716
|
+
* Return value: %TRUE if the object references a #CoglOnscreen
|
717
|
+
* and %FALSE otherwise.
|
718
|
+
* Since: 1.10
|
719
|
+
* Stability: unstable
|
720
|
+
*/
|
721
|
+
CoglBool
|
722
|
+
cogl_is_onscreen (void *object);
|
723
|
+
|
724
|
+
/**
|
725
|
+
* cogl_onscreen_get_frame_counter:
|
726
|
+
*
|
727
|
+
* Gets the value of the framebuffers frame counter. This is
|
728
|
+
* a counter that increases by one each time
|
729
|
+
* cogl_onscreen_swap_buffers() or cogl_onscreen_swap_region()
|
730
|
+
* is called.
|
731
|
+
*
|
732
|
+
* Return value: the current frame counter value
|
733
|
+
* Since: 1.14
|
734
|
+
* Stability: unstable
|
735
|
+
*/
|
736
|
+
int64_t
|
737
|
+
cogl_onscreen_get_frame_counter (CoglOnscreen *onscreen);
|
738
|
+
|
739
|
+
COGL_END_DECLS
|
740
|
+
|
741
|
+
#endif /* __COGL_ONSCREEN_H */
|