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,151 @@
|
|
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
|
+
|
10
|
+
* modify it under the terms of the GNU Lesser General Public
|
11
|
+
* License as published by the Free Software Foundation; either
|
12
|
+
* version 2 of the License, or (at your option) any later version.
|
13
|
+
*
|
14
|
+
* This library is distributed in the hope that it will be useful,
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
17
|
+
* Lesser General Public License for more details.
|
18
|
+
*
|
19
|
+
* You should have received a copy of the GNU Lesser General Public
|
20
|
+
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
21
|
+
*
|
22
|
+
*
|
23
|
+
*/
|
24
|
+
|
25
|
+
#ifndef __COGL_H__
|
26
|
+
#define __COGL_H__
|
27
|
+
|
28
|
+
#define __COGL_H_INSIDE__
|
29
|
+
|
30
|
+
#ifdef COGL_ENABLE_EXPERIMENTAL_2_0_API
|
31
|
+
#ifndef COGL_ENABLE_EXPERIMENTAL_API
|
32
|
+
#define COGL_ENABLE_EXPERIMENTAL_API
|
33
|
+
#endif
|
34
|
+
#endif
|
35
|
+
|
36
|
+
/* We currently keep gtype integration delimited in case we eventually
|
37
|
+
* want to split it out into a separate utility library when Cogl
|
38
|
+
* becomes a standalone project. (like cairo-gobject.so)
|
39
|
+
*/
|
40
|
+
#define _COGL_SUPPORTS_GTYPE_INTEGRATION
|
41
|
+
|
42
|
+
/*
|
43
|
+
* API common to the 1.x and 2.0 api...
|
44
|
+
*/
|
45
|
+
|
46
|
+
#include <cogl/cogl-defines.h>
|
47
|
+
#include <cogl/cogl-error.h>
|
48
|
+
|
49
|
+
#include <cogl/cogl-object.h>
|
50
|
+
#include <cogl/cogl1-context.h>
|
51
|
+
#include <cogl/cogl-bitmap.h>
|
52
|
+
#include <cogl/cogl-color.h>
|
53
|
+
#include <cogl/cogl-matrix.h>
|
54
|
+
#include <cogl/cogl-matrix-stack.h>
|
55
|
+
#include <cogl/cogl-offscreen.h>
|
56
|
+
#include <cogl/cogl-primitives.h>
|
57
|
+
#include <cogl/cogl-texture.h>
|
58
|
+
#include <cogl/cogl-types.h>
|
59
|
+
#include <cogl/cogl-version.h>
|
60
|
+
|
61
|
+
/*
|
62
|
+
* 1.x only api...
|
63
|
+
*/
|
64
|
+
#ifndef COGL_ENABLE_EXPERIMENTAL_2_0_API
|
65
|
+
#include <cogl/cogl-path.h>
|
66
|
+
#include <cogl/cogl-clip-state.h>
|
67
|
+
#include <cogl/cogl-vertex-buffer.h>
|
68
|
+
#include <cogl/cogl-enum-types.h>
|
69
|
+
#include <cogl/cogl-fixed.h>
|
70
|
+
#include <cogl/cogl-material-compat.h>
|
71
|
+
#include <cogl/cogl-shader.h>
|
72
|
+
#endif
|
73
|
+
|
74
|
+
/*
|
75
|
+
* 2.0 api that's compatible with the 1.x api...
|
76
|
+
*/
|
77
|
+
#if defined (COGL_ENABLE_EXPERIMENTAL_API)
|
78
|
+
#include <cogl/cogl-swap-chain.h>
|
79
|
+
#include <cogl/cogl-renderer.h>
|
80
|
+
#include <cogl/cogl-output.h>
|
81
|
+
#include <cogl/cogl-display.h>
|
82
|
+
#include <cogl/cogl-context.h>
|
83
|
+
#include <cogl/cogl-buffer.h>
|
84
|
+
#include <cogl/cogl-pixel-buffer.h>
|
85
|
+
#include <cogl/cogl-vector.h>
|
86
|
+
#include <cogl/cogl-euler.h>
|
87
|
+
#include <cogl/cogl-quaternion.h>
|
88
|
+
#include <cogl/cogl-texture-2d.h>
|
89
|
+
#include <cogl/cogl-texture-2d-gl.h>
|
90
|
+
#include <cogl/cogl-texture-rectangle.h>
|
91
|
+
#include <cogl/cogl-texture-3d.h>
|
92
|
+
#include <cogl/cogl-texture-2d-sliced.h>
|
93
|
+
#include <cogl/cogl-sub-texture.h>
|
94
|
+
#include <cogl/cogl-meta-texture.h>
|
95
|
+
#include <cogl/cogl-primitive-texture.h>
|
96
|
+
#include <cogl/cogl-index-buffer.h>
|
97
|
+
#include <cogl/cogl-attribute-buffer.h>
|
98
|
+
#include <cogl/cogl-indices.h>
|
99
|
+
#include <cogl/cogl-attribute.h>
|
100
|
+
#include <cogl/cogl-primitive.h>
|
101
|
+
#include <cogl/cogl-depth-state.h>
|
102
|
+
#include <cogl/cogl-pipeline.h>
|
103
|
+
#include <cogl/cogl-pipeline-state.h>
|
104
|
+
#include <cogl/cogl-pipeline-layer-state.h>
|
105
|
+
#include <cogl/cogl-snippet.h>
|
106
|
+
#include <cogl/cogl-framebuffer.h>
|
107
|
+
#include <cogl/cogl-onscreen.h>
|
108
|
+
#include <cogl/cogl-frame-info.h>
|
109
|
+
#include <cogl/cogl-poll.h>
|
110
|
+
#if defined (COGL_HAS_EGL_PLATFORM_KMS_SUPPORT)
|
111
|
+
#include <cogl/cogl-kms-renderer.h>
|
112
|
+
#include <cogl/cogl-kms-display.h>
|
113
|
+
#endif
|
114
|
+
#ifdef COGL_HAS_WIN32_SUPPORT
|
115
|
+
#include <cogl/cogl-win32-renderer.h>
|
116
|
+
#endif
|
117
|
+
#ifdef COGL_HAS_GLIB_SUPPORT
|
118
|
+
#include <cogl/cogl-glib-source.h>
|
119
|
+
#endif
|
120
|
+
/* XXX: This will definitly go away once all the Clutter winsys
|
121
|
+
* code has been migrated down into Cogl! */
|
122
|
+
#include <cogl/cogl-clutter.h>
|
123
|
+
#endif
|
124
|
+
#ifdef COGL_HAS_SDL_SUPPORT
|
125
|
+
#include <cogl/cogl-sdl.h>
|
126
|
+
#endif
|
127
|
+
|
128
|
+
/*
|
129
|
+
* 2.0 only api...
|
130
|
+
*/
|
131
|
+
#ifdef COGL_ENABLE_EXPERIMENTAL_2_0_API
|
132
|
+
#include <cogl/cogl2-path.h>
|
133
|
+
/* This header will be removed in Cogl 1.12 */
|
134
|
+
#include <cogl/cogl2-compatibility.h>
|
135
|
+
#endif
|
136
|
+
|
137
|
+
/*
|
138
|
+
* API deprecations
|
139
|
+
*/
|
140
|
+
#include <cogl/cogl-deprecated.h>
|
141
|
+
|
142
|
+
/**
|
143
|
+
* SECTION:cogl
|
144
|
+
* @short_description: General purpose API
|
145
|
+
*
|
146
|
+
* General utility functions for COGL.
|
147
|
+
*/
|
148
|
+
|
149
|
+
#undef __COGL_H_INSIDE__
|
150
|
+
|
151
|
+
#endif /* __COGL_H__ */
|
@@ -0,0 +1,1169 @@
|
|
1
|
+
/*
|
2
|
+
* Cogl
|
3
|
+
*
|
4
|
+
* An object oriented GL/GLES Abstraction/Utility Layer
|
5
|
+
*
|
6
|
+
* Copyright (C) 2010 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_1_CONTEXT_H__
|
32
|
+
#define __COGL_1_CONTEXT_H__
|
33
|
+
|
34
|
+
#include <cogl/cogl-types.h>
|
35
|
+
#include <cogl/cogl-texture.h>
|
36
|
+
#include <cogl/cogl-framebuffer.h>
|
37
|
+
|
38
|
+
COGL_BEGIN_DECLS
|
39
|
+
|
40
|
+
/**
|
41
|
+
* cogl_get_option_group:
|
42
|
+
*
|
43
|
+
* Retrieves the #GOptionGroup used by Cogl to parse the command
|
44
|
+
* line options. Clutter uses this to handle the Cogl command line
|
45
|
+
* options during its initialization process.
|
46
|
+
*
|
47
|
+
* Return value: a #GOptionGroup
|
48
|
+
*
|
49
|
+
* Since: 1.0
|
50
|
+
*/
|
51
|
+
GOptionGroup *
|
52
|
+
cogl_get_option_group (void);
|
53
|
+
|
54
|
+
/* Misc */
|
55
|
+
/**
|
56
|
+
* cogl_get_features:
|
57
|
+
*
|
58
|
+
* Returns all of the features supported by COGL.
|
59
|
+
*
|
60
|
+
* Return value: A logical OR of all the supported COGL features.
|
61
|
+
*
|
62
|
+
* Since: 0.8
|
63
|
+
*/
|
64
|
+
CoglFeatureFlags
|
65
|
+
cogl_get_features (void);
|
66
|
+
|
67
|
+
/**
|
68
|
+
* cogl_features_available:
|
69
|
+
* @features: A bitmask of features to check for
|
70
|
+
*
|
71
|
+
* Checks whether the given COGL features are available. Multiple
|
72
|
+
* features can be checked for by or-ing them together with the '|'
|
73
|
+
* operator. %TRUE is only returned if all of the requested features
|
74
|
+
* are available.
|
75
|
+
*
|
76
|
+
* Return value: %TRUE if the features are available, %FALSE otherwise.
|
77
|
+
*/
|
78
|
+
CoglBool
|
79
|
+
cogl_features_available (CoglFeatureFlags features);
|
80
|
+
|
81
|
+
/**
|
82
|
+
* cogl_get_proc_address:
|
83
|
+
* @name: the name of the function.
|
84
|
+
*
|
85
|
+
* Gets a pointer to a given GL or GL ES extension function. This acts
|
86
|
+
* as a wrapper around glXGetProcAddress() or whatever is the
|
87
|
+
* appropriate function for the current backend.
|
88
|
+
*
|
89
|
+
* <note>This function should not be used to query core opengl API
|
90
|
+
* symbols since eglGetProcAddress for example doesn't allow this and
|
91
|
+
* and may return a junk pointer if you do.</note>
|
92
|
+
*
|
93
|
+
* Return value: a pointer to the requested function or %NULL if the
|
94
|
+
* function is not available.
|
95
|
+
*/
|
96
|
+
CoglFuncPtr
|
97
|
+
cogl_get_proc_address (const char *name);
|
98
|
+
|
99
|
+
#ifndef COGL_DISABLE_DEPRECATED
|
100
|
+
|
101
|
+
/**
|
102
|
+
* cogl_check_extension:
|
103
|
+
* @name: extension to check for
|
104
|
+
* @ext: list of extensions
|
105
|
+
*
|
106
|
+
* Check whether @name occurs in list of extensions in @ext.
|
107
|
+
*
|
108
|
+
* Return value: %TRUE if the extension occurs in the list, %FALSE otherwise.
|
109
|
+
*
|
110
|
+
* Deprecated: 1.2: OpenGL is an implementation detail for Cogl and so it's
|
111
|
+
* not appropriate to expose OpenGL extensions through the Cogl API. This
|
112
|
+
* function can be replaced by the following equivalent code:
|
113
|
+
* |[
|
114
|
+
* CoglBool retval = (strstr (ext, name) != NULL) ? TRUE : FALSE;
|
115
|
+
* ]|
|
116
|
+
*/
|
117
|
+
CoglBool
|
118
|
+
cogl_check_extension (const char *name,
|
119
|
+
const char *ext) G_GNUC_DEPRECATED;
|
120
|
+
|
121
|
+
#endif /* COGL_DISABLE_DEPRECATED */
|
122
|
+
|
123
|
+
/**
|
124
|
+
* cogl_get_bitmasks:
|
125
|
+
* @red: (out): Return location for the number of red bits or %NULL
|
126
|
+
* @green: (out): Return location for the number of green bits or %NULL
|
127
|
+
* @blue: (out): Return location for the number of blue bits or %NULL
|
128
|
+
* @alpha: (out): Return location for the number of alpha bits or %NULL
|
129
|
+
*
|
130
|
+
* Gets the number of bitplanes used for each of the color components
|
131
|
+
* in the color buffer. Pass %NULL for any of the arguments if the
|
132
|
+
* value is not required.
|
133
|
+
*/
|
134
|
+
void
|
135
|
+
cogl_get_bitmasks (int *red,
|
136
|
+
int *green,
|
137
|
+
int *blue,
|
138
|
+
int *alpha);
|
139
|
+
|
140
|
+
/**
|
141
|
+
* cogl_perspective:
|
142
|
+
* @fovy: Vertical field of view angle in degrees.
|
143
|
+
* @aspect: The (width over height) aspect ratio for display
|
144
|
+
* @z_near: The distance to the near clipping plane (Must be positive)
|
145
|
+
* @z_far: The distance to the far clipping plane (Must be positive)
|
146
|
+
*
|
147
|
+
* Replaces the current projection matrix with a perspective matrix
|
148
|
+
* based on the provided values.
|
149
|
+
*
|
150
|
+
* <note>You should be careful not to have to great a @z_far / @z_near
|
151
|
+
* ratio since that will reduce the effectiveness of depth testing
|
152
|
+
* since there wont be enough precision to identify the depth of
|
153
|
+
* objects near to each other.</note>
|
154
|
+
*/
|
155
|
+
void
|
156
|
+
cogl_perspective (float fovy,
|
157
|
+
float aspect,
|
158
|
+
float z_near,
|
159
|
+
float z_far);
|
160
|
+
|
161
|
+
/**
|
162
|
+
* cogl_frustum:
|
163
|
+
* @left: X position of the left clipping plane where it
|
164
|
+
* intersects the near clipping plane
|
165
|
+
* @right: X position of the right clipping plane where it
|
166
|
+
* intersects the near clipping plane
|
167
|
+
* @bottom: Y position of the bottom clipping plane where it
|
168
|
+
* intersects the near clipping plane
|
169
|
+
* @top: Y position of the top clipping plane where it intersects
|
170
|
+
* the near clipping plane
|
171
|
+
* @z_near: The distance to the near clipping plane (Must be positive)
|
172
|
+
* @z_far: The distance to the far clipping plane (Must be positive)
|
173
|
+
*
|
174
|
+
* Replaces the current projection matrix with a perspective matrix
|
175
|
+
* for a given viewing frustum defined by 4 side clip planes that
|
176
|
+
* all cross through the origin and 2 near and far clip planes.
|
177
|
+
*
|
178
|
+
* Since: 0.8.2
|
179
|
+
*/
|
180
|
+
void
|
181
|
+
cogl_frustum (float left,
|
182
|
+
float right,
|
183
|
+
float bottom,
|
184
|
+
float top,
|
185
|
+
float z_near,
|
186
|
+
float z_far);
|
187
|
+
|
188
|
+
/**
|
189
|
+
* cogl_ortho:
|
190
|
+
* @left: The coordinate for the left clipping plane
|
191
|
+
* @right: The coordinate for the right clipping plane
|
192
|
+
* @bottom: The coordinate for the bottom clipping plane
|
193
|
+
* @top: The coordinate for the top clipping plane
|
194
|
+
* @near: The <emphasis>distance</emphasis> to the near clipping
|
195
|
+
* plane (negative if the plane is behind the viewer)
|
196
|
+
* @far: The <emphasis>distance</emphasis> for the far clipping
|
197
|
+
* plane (negative if the plane is behind the viewer)
|
198
|
+
*
|
199
|
+
* Replaces the current projection matrix with an orthographic projection
|
200
|
+
* matrix. See <xref linkend="cogl-ortho-matrix"/> to see how the matrix is
|
201
|
+
* calculated.
|
202
|
+
*
|
203
|
+
* <figure id="cogl-ortho-matrix">
|
204
|
+
* <title></title>
|
205
|
+
* <graphic fileref="cogl_ortho.png" format="PNG"/>
|
206
|
+
* </figure>
|
207
|
+
*
|
208
|
+
* <note>This function copies the arguments from OpenGL's glOrtho() even
|
209
|
+
* though they are unnecessarily confusing due to the z near and z far
|
210
|
+
* arguments actually being a "distance" from the origin, where
|
211
|
+
* negative values are behind the viewer, instead of coordinates for
|
212
|
+
* the z clipping planes which would have been consistent with the
|
213
|
+
* left, right bottom and top arguments.</note>
|
214
|
+
*
|
215
|
+
* Since: 1.0
|
216
|
+
*/
|
217
|
+
void
|
218
|
+
cogl_ortho (float left,
|
219
|
+
float right,
|
220
|
+
float bottom,
|
221
|
+
float top,
|
222
|
+
float near,
|
223
|
+
float far);
|
224
|
+
|
225
|
+
#ifndef COGL_DISABLE_DEPRECATED
|
226
|
+
|
227
|
+
/**
|
228
|
+
* cogl_viewport:
|
229
|
+
* @width: Width of the viewport
|
230
|
+
* @height: Height of the viewport
|
231
|
+
*
|
232
|
+
* Replace the current viewport with the given values.
|
233
|
+
*
|
234
|
+
* Since: 0.8.2
|
235
|
+
*
|
236
|
+
* Deprecated: 1.2: Use cogl_set_viewport() instead
|
237
|
+
*/
|
238
|
+
void
|
239
|
+
cogl_viewport (unsigned int width,
|
240
|
+
unsigned int height) G_GNUC_DEPRECATED;
|
241
|
+
|
242
|
+
#endif /* COGL_DISABLE_DEPRECATED */
|
243
|
+
|
244
|
+
/**
|
245
|
+
* cogl_set_viewport:
|
246
|
+
* @x: X offset of the viewport
|
247
|
+
* @y: Y offset of the viewport
|
248
|
+
* @width: Width of the viewport
|
249
|
+
* @height: Height of the viewport
|
250
|
+
*
|
251
|
+
* Replaces the current viewport with the given values.
|
252
|
+
*
|
253
|
+
* Since: 1.2
|
254
|
+
*/
|
255
|
+
void
|
256
|
+
cogl_set_viewport (int x,
|
257
|
+
int y,
|
258
|
+
int width,
|
259
|
+
int height);
|
260
|
+
|
261
|
+
/**
|
262
|
+
* cogl_push_matrix:
|
263
|
+
*
|
264
|
+
* Stores the current model-view matrix on the matrix stack. The matrix
|
265
|
+
* can later be restored with cogl_pop_matrix().
|
266
|
+
*/
|
267
|
+
void
|
268
|
+
cogl_push_matrix (void);
|
269
|
+
|
270
|
+
/**
|
271
|
+
* cogl_pop_matrix:
|
272
|
+
*
|
273
|
+
* Restores the current model-view matrix from the matrix stack.
|
274
|
+
*/
|
275
|
+
void
|
276
|
+
cogl_pop_matrix (void);
|
277
|
+
|
278
|
+
/**
|
279
|
+
* cogl_scale:
|
280
|
+
* @x: Amount to scale along the x-axis
|
281
|
+
* @y: Amount to scale along the y-axis
|
282
|
+
* @z: Amount to scale along the z-axis
|
283
|
+
*
|
284
|
+
* Multiplies the current model-view matrix by one that scales the x,
|
285
|
+
* y and z axes by the given values.
|
286
|
+
*/
|
287
|
+
void
|
288
|
+
cogl_scale (float x,
|
289
|
+
float y,
|
290
|
+
float z);
|
291
|
+
|
292
|
+
/**
|
293
|
+
* cogl_translate:
|
294
|
+
* @x: Distance to translate along the x-axis
|
295
|
+
* @y: Distance to translate along the y-axis
|
296
|
+
* @z: Distance to translate along the z-axis
|
297
|
+
*
|
298
|
+
* Multiplies the current model-view matrix by one that translates the
|
299
|
+
* model along all three axes according to the given values.
|
300
|
+
*/
|
301
|
+
void
|
302
|
+
cogl_translate (float x,
|
303
|
+
float y,
|
304
|
+
float z);
|
305
|
+
|
306
|
+
/**
|
307
|
+
* cogl_rotate:
|
308
|
+
* @angle: Angle in degrees to rotate.
|
309
|
+
* @x: X-component of vertex to rotate around.
|
310
|
+
* @y: Y-component of vertex to rotate around.
|
311
|
+
* @z: Z-component of vertex to rotate around.
|
312
|
+
*
|
313
|
+
* Multiplies the current model-view matrix by one that rotates the
|
314
|
+
* model around the vertex specified by @x, @y and @z. The rotation
|
315
|
+
* follows the right-hand thumb rule so for example rotating by 10
|
316
|
+
* degrees about the vertex (0, 0, 1) causes a small counter-clockwise
|
317
|
+
* rotation.
|
318
|
+
*/
|
319
|
+
void
|
320
|
+
cogl_rotate (float angle,
|
321
|
+
float x,
|
322
|
+
float y,
|
323
|
+
float z);
|
324
|
+
|
325
|
+
/**
|
326
|
+
* cogl_transform:
|
327
|
+
* @matrix: the matrix to multiply with the current model-view
|
328
|
+
*
|
329
|
+
* Multiplies the current model-view matrix by the given matrix.
|
330
|
+
*
|
331
|
+
* Since: 1.4
|
332
|
+
*/
|
333
|
+
void
|
334
|
+
cogl_transform (const CoglMatrix *matrix);
|
335
|
+
|
336
|
+
/**
|
337
|
+
* cogl_get_modelview_matrix:
|
338
|
+
* @matrix: (out): return location for the model-view matrix
|
339
|
+
*
|
340
|
+
* Stores the current model-view matrix in @matrix.
|
341
|
+
*/
|
342
|
+
void
|
343
|
+
cogl_get_modelview_matrix (CoglMatrix *matrix);
|
344
|
+
|
345
|
+
/**
|
346
|
+
* cogl_set_modelview_matrix:
|
347
|
+
* @matrix: the new model-view matrix
|
348
|
+
*
|
349
|
+
* Loads @matrix as the new model-view matrix.
|
350
|
+
*/
|
351
|
+
void
|
352
|
+
cogl_set_modelview_matrix (CoglMatrix *matrix);
|
353
|
+
|
354
|
+
/**
|
355
|
+
* cogl_get_projection_matrix:
|
356
|
+
* @matrix: (out): return location for the projection matrix
|
357
|
+
*
|
358
|
+
* Stores the current projection matrix in @matrix.
|
359
|
+
*/
|
360
|
+
void
|
361
|
+
cogl_get_projection_matrix (CoglMatrix *matrix);
|
362
|
+
|
363
|
+
/**
|
364
|
+
* cogl_set_projection_matrix:
|
365
|
+
* @matrix: the new projection matrix
|
366
|
+
*
|
367
|
+
* Loads matrix as the new projection matrix.
|
368
|
+
*/
|
369
|
+
void
|
370
|
+
cogl_set_projection_matrix (CoglMatrix *matrix);
|
371
|
+
|
372
|
+
/**
|
373
|
+
* cogl_get_viewport:
|
374
|
+
* @v: (out) (array fixed-size=4): pointer to a 4 element array
|
375
|
+
* of #float<!-- -->s to receive the viewport dimensions.
|
376
|
+
*
|
377
|
+
* Stores the current viewport in @v. @v[0] and @v[1] get the x and y
|
378
|
+
* position of the viewport and @v[2] and @v[3] get the width and
|
379
|
+
* height.
|
380
|
+
*/
|
381
|
+
void
|
382
|
+
cogl_get_viewport (float v[4]);
|
383
|
+
|
384
|
+
/**
|
385
|
+
* cogl_set_depth_test_enabled:
|
386
|
+
* @setting: %TRUE to enable depth testing or %FALSE to disable.
|
387
|
+
*
|
388
|
+
* Sets whether depth testing is enabled. If it is disabled then the
|
389
|
+
* order that actors are layered on the screen depends solely on the
|
390
|
+
* order specified using clutter_actor_raise() and
|
391
|
+
* clutter_actor_lower(), otherwise it will also take into account the
|
392
|
+
* actor's depth. Depth testing is disabled by default.
|
393
|
+
*
|
394
|
+
* Deprecated: 1.4: Use cogl_material_set_depth_test_enabled()
|
395
|
+
* instead.
|
396
|
+
*/
|
397
|
+
void
|
398
|
+
cogl_set_depth_test_enabled (CoglBool setting);
|
399
|
+
|
400
|
+
/**
|
401
|
+
* cogl_get_depth_test_enabled:
|
402
|
+
*
|
403
|
+
* Queries if depth testing has been enabled via cogl_set_depth_test_enable()
|
404
|
+
*
|
405
|
+
* Return value: %TRUE if depth testing is enabled, and %FALSE otherwise
|
406
|
+
*
|
407
|
+
* Deprecated: 1.4: Use cogl_material_get_depth_test_enabled()
|
408
|
+
* instead.
|
409
|
+
*/
|
410
|
+
CoglBool
|
411
|
+
cogl_get_depth_test_enabled (void);
|
412
|
+
|
413
|
+
/**
|
414
|
+
* cogl_set_backface_culling_enabled:
|
415
|
+
* @setting: %TRUE to enable backface culling or %FALSE to disable.
|
416
|
+
*
|
417
|
+
* Sets whether textures positioned so that their backface is showing
|
418
|
+
* should be hidden. This can be used to efficiently draw two-sided
|
419
|
+
* textures or fully closed cubes without enabling depth testing. This
|
420
|
+
* only affects calls to the cogl_rectangle* family of functions and
|
421
|
+
* cogl_vertex_buffer_draw*. Backface culling is disabled by default.
|
422
|
+
*/
|
423
|
+
void
|
424
|
+
cogl_set_backface_culling_enabled (CoglBool setting);
|
425
|
+
|
426
|
+
/**
|
427
|
+
* cogl_get_backface_culling_enabled:
|
428
|
+
*
|
429
|
+
* Queries if backface culling has been enabled via
|
430
|
+
* cogl_set_backface_culling_enabled()
|
431
|
+
*
|
432
|
+
* Return value: %TRUE if backface culling is enabled, and %FALSE otherwise
|
433
|
+
*/
|
434
|
+
CoglBool
|
435
|
+
cogl_get_backface_culling_enabled (void);
|
436
|
+
|
437
|
+
/**
|
438
|
+
* cogl_set_fog:
|
439
|
+
* @fog_color: The color of the fog
|
440
|
+
* @mode: A #CoglFogMode that determines the equation used to calculate the
|
441
|
+
* fogging blend factor.
|
442
|
+
* @density: Used by %COGL_FOG_MODE_EXPONENTIAL and by
|
443
|
+
* %COGL_FOG_MODE_EXPONENTIAL_SQUARED equations.
|
444
|
+
* @z_near: Position along Z axis where no fogging should be applied
|
445
|
+
* @z_far: Position along Z axis where full fogging should be applied
|
446
|
+
*
|
447
|
+
* Enables fogging. Fogging causes vertices that are further away from the eye
|
448
|
+
* to be rendered with a different color. The color is determined according to
|
449
|
+
* the chosen fog mode; at it's simplest the color is linearly interpolated so
|
450
|
+
* that vertices at @z_near are drawn fully with their original color and
|
451
|
+
* vertices at @z_far are drawn fully with @fog_color. Fogging will remain
|
452
|
+
* enabled until you call cogl_disable_fog().
|
453
|
+
*
|
454
|
+
* <note>The fogging functions only work correctly when primitives use
|
455
|
+
* unmultiplied alpha colors. By default Cogl will premultiply textures
|
456
|
+
* and cogl_set_source_color() will premultiply colors, so unless you
|
457
|
+
* explicitly load your textures requesting an unmultiplied internal format
|
458
|
+
* and use cogl_material_set_color() you can only use fogging with fully
|
459
|
+
* opaque primitives. This might improve in the future when we can depend
|
460
|
+
* on fragment shaders.</note>
|
461
|
+
*/
|
462
|
+
void
|
463
|
+
cogl_set_fog (const CoglColor *fog_color,
|
464
|
+
CoglFogMode mode,
|
465
|
+
float density,
|
466
|
+
float z_near,
|
467
|
+
float z_far);
|
468
|
+
|
469
|
+
/**
|
470
|
+
* cogl_disable_fog:
|
471
|
+
*
|
472
|
+
* This function disables fogging, so primitives drawn afterwards will not be
|
473
|
+
* blended with any previously set fog color.
|
474
|
+
*/
|
475
|
+
void
|
476
|
+
cogl_disable_fog (void);
|
477
|
+
|
478
|
+
/**
|
479
|
+
* cogl_clear:
|
480
|
+
* @color: Background color to clear to
|
481
|
+
* @buffers: A mask of #CoglBufferBit<!-- -->'s identifying which auxiliary
|
482
|
+
* buffers to clear
|
483
|
+
*
|
484
|
+
* Clears all the auxiliary buffers identified in the @buffers mask, and if
|
485
|
+
* that includes the color buffer then the specified @color is used.
|
486
|
+
*/
|
487
|
+
void
|
488
|
+
cogl_clear (const CoglColor *color,
|
489
|
+
unsigned long buffers);
|
490
|
+
|
491
|
+
/**
|
492
|
+
* cogl_set_source:
|
493
|
+
* @material: A #CoglMaterial
|
494
|
+
*
|
495
|
+
* This function changes the material at the top of the source stack.
|
496
|
+
* The material at the top of this stack defines the GPU state used to
|
497
|
+
* process subsequent primitives, such as rectangles drawn with
|
498
|
+
* cogl_rectangle() or vertices drawn using cogl_vertex_buffer_draw().
|
499
|
+
*
|
500
|
+
* Since: 1.0
|
501
|
+
*/
|
502
|
+
void
|
503
|
+
cogl_set_source (void *material);
|
504
|
+
|
505
|
+
/**
|
506
|
+
* cogl_get_source:
|
507
|
+
*
|
508
|
+
* Returns the current source material as previously set using
|
509
|
+
* cogl_set_source().
|
510
|
+
*
|
511
|
+
* <note>You should typically consider the returned material immutable
|
512
|
+
* and not try to change any of its properties unless you own a
|
513
|
+
* reference to that material. At times you may be able to get a
|
514
|
+
* reference to an internally managed materials and the result of
|
515
|
+
* modifying such materials is undefined.</note>
|
516
|
+
*
|
517
|
+
* Return value: The current source material.
|
518
|
+
*
|
519
|
+
* Since: 1.6
|
520
|
+
*/
|
521
|
+
void *
|
522
|
+
cogl_get_source (void);
|
523
|
+
|
524
|
+
/**
|
525
|
+
* cogl_push_source:
|
526
|
+
* @material: A #CoglMaterial
|
527
|
+
*
|
528
|
+
* Pushes the given @material to the top of the source stack. The
|
529
|
+
* material at the top of this stack defines the GPU state used to
|
530
|
+
* process later primitives as defined by cogl_set_source().
|
531
|
+
*
|
532
|
+
* Since: 1.6
|
533
|
+
*/
|
534
|
+
void
|
535
|
+
cogl_push_source (void *material);
|
536
|
+
|
537
|
+
/**
|
538
|
+
* cogl_pop_source:
|
539
|
+
*
|
540
|
+
* Removes the material at the top of the source stack. The material
|
541
|
+
* at the top of this stack defines the GPU state used to process
|
542
|
+
* later primitives as defined by cogl_set_source().
|
543
|
+
*
|
544
|
+
* Since: 1.6
|
545
|
+
*/
|
546
|
+
void
|
547
|
+
cogl_pop_source (void);
|
548
|
+
|
549
|
+
/**
|
550
|
+
* cogl_set_source_color:
|
551
|
+
* @color: a #CoglColor
|
552
|
+
*
|
553
|
+
* This is a convenience function for creating a solid fill source material
|
554
|
+
* from the given color. This color will be used for any subsequent drawing
|
555
|
+
* operation.
|
556
|
+
*
|
557
|
+
* The color will be premultiplied by Cogl, so the color should be
|
558
|
+
* non-premultiplied. For example: use (1.0, 0.0, 0.0, 0.5) for
|
559
|
+
* semi-transparent red.
|
560
|
+
*
|
561
|
+
* See also cogl_set_source_color4ub() and cogl_set_source_color4f()
|
562
|
+
* if you already have the color components.
|
563
|
+
*
|
564
|
+
* Since: 1.0
|
565
|
+
*/
|
566
|
+
void
|
567
|
+
cogl_set_source_color (const CoglColor *color);
|
568
|
+
|
569
|
+
/**
|
570
|
+
* cogl_set_source_color4ub:
|
571
|
+
* @red: value of the red channel, between 0 and 255
|
572
|
+
* @green: value of the green channel, between 0 and 255
|
573
|
+
* @blue: value of the blue channel, between 0 and 255
|
574
|
+
* @alpha: value of the alpha channel, between 0 and 255
|
575
|
+
*
|
576
|
+
* This is a convenience function for creating a solid fill source material
|
577
|
+
* from the given color using unsigned bytes for each component. This
|
578
|
+
* color will be used for any subsequent drawing operation.
|
579
|
+
*
|
580
|
+
* The value for each component is an unsigned byte in the range
|
581
|
+
* between 0 and 255.
|
582
|
+
*
|
583
|
+
* Since: 1.0
|
584
|
+
*/
|
585
|
+
void
|
586
|
+
cogl_set_source_color4ub (uint8_t red,
|
587
|
+
uint8_t green,
|
588
|
+
uint8_t blue,
|
589
|
+
uint8_t alpha);
|
590
|
+
|
591
|
+
/**
|
592
|
+
* cogl_set_source_color4f:
|
593
|
+
* @red: value of the red channel, between 0 and %1.0
|
594
|
+
* @green: value of the green channel, between 0 and %1.0
|
595
|
+
* @blue: value of the blue channel, between 0 and %1.0
|
596
|
+
* @alpha: value of the alpha channel, between 0 and %1.0
|
597
|
+
*
|
598
|
+
* This is a convenience function for creating a solid fill source material
|
599
|
+
* from the given color using normalized values for each component. This color
|
600
|
+
* will be used for any subsequent drawing operation.
|
601
|
+
*
|
602
|
+
* The value for each component is a fixed point number in the range
|
603
|
+
* between 0 and %1.0. If the values passed in are outside that
|
604
|
+
* range, they will be clamped.
|
605
|
+
*
|
606
|
+
* Since: 1.0
|
607
|
+
*/
|
608
|
+
void
|
609
|
+
cogl_set_source_color4f (float red,
|
610
|
+
float green,
|
611
|
+
float blue,
|
612
|
+
float alpha);
|
613
|
+
|
614
|
+
/**
|
615
|
+
* cogl_set_source_texture:
|
616
|
+
* @texture: The #CoglTexture you want as your source
|
617
|
+
*
|
618
|
+
* This is a convenience function for creating a material with the first
|
619
|
+
* layer set to @texture and setting that material as the source with
|
620
|
+
* cogl_set_source.
|
621
|
+
*
|
622
|
+
* Note: There is no interaction between calls to cogl_set_source_color
|
623
|
+
* and cogl_set_source_texture. If you need to blend a texture with a color then
|
624
|
+
* you can create a simple material like this:
|
625
|
+
* <programlisting>
|
626
|
+
* material = cogl_material_new ();
|
627
|
+
* cogl_material_set_color4ub (material, 0xff, 0x00, 0x00, 0x80);
|
628
|
+
* cogl_material_set_layer (material, 0, tex_handle);
|
629
|
+
* cogl_set_source (material);
|
630
|
+
* </programlisting>
|
631
|
+
*
|
632
|
+
* Since: 1.0
|
633
|
+
*/
|
634
|
+
void
|
635
|
+
cogl_set_source_texture (CoglTexture *texture);
|
636
|
+
|
637
|
+
|
638
|
+
/**
|
639
|
+
* SECTION:cogl-clipping
|
640
|
+
* @short_description: Fuctions for manipulating a stack of clipping regions
|
641
|
+
*
|
642
|
+
* To support clipping your geometry to rectangles or paths Cogl exposes a
|
643
|
+
* stack based API whereby each clip region you push onto the stack is
|
644
|
+
* intersected with the previous region.
|
645
|
+
*/
|
646
|
+
|
647
|
+
#ifndef COGL_DISABLE_DEPRECATED
|
648
|
+
|
649
|
+
/**
|
650
|
+
* cogl_clip_push_window_rect:
|
651
|
+
* @x_offset: left edge of the clip rectangle in window coordinates
|
652
|
+
* @y_offset: top edge of the clip rectangle in window coordinates
|
653
|
+
* @width: width of the clip rectangle
|
654
|
+
* @height: height of the clip rectangle
|
655
|
+
*
|
656
|
+
* Specifies a rectangular clipping area for all subsequent drawing
|
657
|
+
* operations. Any drawing commands that extend outside the rectangle
|
658
|
+
* will be clipped so that only the portion inside the rectangle will
|
659
|
+
* be displayed. The rectangle dimensions are not transformed by the
|
660
|
+
* current model-view matrix.
|
661
|
+
*
|
662
|
+
* The rectangle is intersected with the current clip region. To undo
|
663
|
+
* the effect of this function, call cogl_clip_pop().
|
664
|
+
*
|
665
|
+
* Deprecated: 1.2: Use cogl_clip_push_window_rectangle() instead
|
666
|
+
*/
|
667
|
+
void
|
668
|
+
cogl_clip_push_window_rect (float x_offset,
|
669
|
+
float y_offset,
|
670
|
+
float width,
|
671
|
+
float height) G_GNUC_DEPRECATED;
|
672
|
+
|
673
|
+
#endif /* COGL_DISABLE_DEPRECATED */
|
674
|
+
|
675
|
+
/**
|
676
|
+
* cogl_clip_push_window_rectangle:
|
677
|
+
* @x_offset: left edge of the clip rectangle in window coordinates
|
678
|
+
* @y_offset: top edge of the clip rectangle in window coordinates
|
679
|
+
* @width: width of the clip rectangle
|
680
|
+
* @height: height of the clip rectangle
|
681
|
+
*
|
682
|
+
* Specifies a rectangular clipping area for all subsequent drawing
|
683
|
+
* operations. Any drawing commands that extend outside the rectangle
|
684
|
+
* will be clipped so that only the portion inside the rectangle will
|
685
|
+
* be displayed. The rectangle dimensions are not transformed by the
|
686
|
+
* current model-view matrix.
|
687
|
+
*
|
688
|
+
* The rectangle is intersected with the current clip region. To undo
|
689
|
+
* the effect of this function, call cogl_clip_pop().
|
690
|
+
*
|
691
|
+
* Since: 1.2
|
692
|
+
*/
|
693
|
+
void
|
694
|
+
cogl_clip_push_window_rectangle (int x_offset,
|
695
|
+
int y_offset,
|
696
|
+
int width,
|
697
|
+
int height);
|
698
|
+
|
699
|
+
#ifndef COGL_DISABLE_DEPRECATED
|
700
|
+
|
701
|
+
/**
|
702
|
+
* cogl_clip_push:
|
703
|
+
* @x_offset: left edge of the clip rectangle
|
704
|
+
* @y_offset: top edge of the clip rectangle
|
705
|
+
* @width: width of the clip rectangle
|
706
|
+
* @height: height of the clip rectangle
|
707
|
+
*
|
708
|
+
* Specifies a rectangular clipping area for all subsequent drawing
|
709
|
+
* operations. Any drawing commands that extend outside the rectangle
|
710
|
+
* will be clipped so that only the portion inside the rectangle will
|
711
|
+
* be displayed. The rectangle dimensions are transformed by the
|
712
|
+
* current model-view matrix.
|
713
|
+
*
|
714
|
+
* The rectangle is intersected with the current clip region. To undo
|
715
|
+
* the effect of this function, call cogl_clip_pop().
|
716
|
+
*
|
717
|
+
* Deprecated: 1.2: The x, y, width, height arguments are inconsistent
|
718
|
+
* with other API that specify rectangles in model space, and when used
|
719
|
+
* with a coordinate space that puts the origin at the center and y+
|
720
|
+
* extending up, it's awkward to use. Please use cogl_clip_push_rectangle()
|
721
|
+
* instead
|
722
|
+
*/
|
723
|
+
void
|
724
|
+
cogl_clip_push (float x_offset,
|
725
|
+
float y_offset,
|
726
|
+
float width,
|
727
|
+
float height) G_GNUC_DEPRECATED;
|
728
|
+
|
729
|
+
#endif /* COGL_DISABLE_DEPRECATED */
|
730
|
+
|
731
|
+
/**
|
732
|
+
* cogl_clip_push_rectangle:
|
733
|
+
* @x0: x coordinate for top left corner of the clip rectangle
|
734
|
+
* @y0: y coordinate for top left corner of the clip rectangle
|
735
|
+
* @x1: x coordinate for bottom right corner of the clip rectangle
|
736
|
+
* @y1: y coordinate for bottom right corner of the clip rectangle
|
737
|
+
*
|
738
|
+
* Specifies a rectangular clipping area for all subsequent drawing
|
739
|
+
* operations. Any drawing commands that extend outside the rectangle
|
740
|
+
* will be clipped so that only the portion inside the rectangle will
|
741
|
+
* be displayed. The rectangle dimensions are transformed by the
|
742
|
+
* current model-view matrix.
|
743
|
+
*
|
744
|
+
* The rectangle is intersected with the current clip region. To undo
|
745
|
+
* the effect of this function, call cogl_clip_pop().
|
746
|
+
*
|
747
|
+
* Since: 1.2
|
748
|
+
*/
|
749
|
+
void
|
750
|
+
cogl_clip_push_rectangle (float x0,
|
751
|
+
float y0,
|
752
|
+
float x1,
|
753
|
+
float y1);
|
754
|
+
|
755
|
+
/**
|
756
|
+
* cogl_clip_push_from_path_preserve:
|
757
|
+
*
|
758
|
+
* Sets a new clipping area using the current path. The current path
|
759
|
+
* is then cleared. The clipping area is intersected with the previous
|
760
|
+
* clipping area. To restore the previous clipping area, call
|
761
|
+
* cogl_clip_pop().
|
762
|
+
*
|
763
|
+
* Since: 1.0
|
764
|
+
*/
|
765
|
+
void
|
766
|
+
cogl_clip_push_from_path_preserve (void);
|
767
|
+
|
768
|
+
#ifdef COGL_ENABLE_EXPERIMENTAL_2_0_API
|
769
|
+
/**
|
770
|
+
* cogl_clip_push_primitive:
|
771
|
+
* @primitive: A #CoglPrimitive describing a flat 2D shape
|
772
|
+
* @bounds_x1: x coordinate for the top-left corner of the primitives
|
773
|
+
* bounds
|
774
|
+
* @bounds_y1: y coordinate for the top-left corner of the primitives
|
775
|
+
* bounds
|
776
|
+
* @bounds_x2: x coordinate for the top-left corner of the primitives
|
777
|
+
* bounds
|
778
|
+
* @bounds_y2: x coordinate for the bottom-right corner of the
|
779
|
+
* primitives bounds.
|
780
|
+
* @bounds_x1: y coordinate for the bottom-right corner of the
|
781
|
+
* primitives bounds.
|
782
|
+
*
|
783
|
+
* Sets a new clipping area using a 2D shaped described with a
|
784
|
+
* #CoglPrimitive. The shape must not contain self overlapping
|
785
|
+
* geometry and must lie on a single 2D plane. A bounding box of the
|
786
|
+
* 2D shape in local coordinates (the same coordinates used to
|
787
|
+
* describe the shape) must be given. It is acceptable for the bounds
|
788
|
+
* to be larger than the true bounds but behaviour is undefined if the
|
789
|
+
* bounds are smaller than the true bounds.
|
790
|
+
*
|
791
|
+
* The primitive is transformed by the current model-view matrix and
|
792
|
+
* the silhouette is intersected with the previous clipping area. To
|
793
|
+
* restore the previous clipping area, call
|
794
|
+
* cogl_clip_pop().
|
795
|
+
*
|
796
|
+
* Since: 1.10
|
797
|
+
* Stability: unstable
|
798
|
+
*/
|
799
|
+
void
|
800
|
+
cogl_clip_push_primitive (CoglPrimitive *primitive,
|
801
|
+
float bounds_x1,
|
802
|
+
float bounds_y1,
|
803
|
+
float bounds_x2,
|
804
|
+
float bounds_y2);
|
805
|
+
#endif
|
806
|
+
|
807
|
+
/**
|
808
|
+
* cogl_clip_pop:
|
809
|
+
*
|
810
|
+
* Reverts the clipping region to the state before the last call to
|
811
|
+
* cogl_clip_push().
|
812
|
+
*/
|
813
|
+
void
|
814
|
+
cogl_clip_pop (void);
|
815
|
+
|
816
|
+
#ifndef COGL_DISABLE_DEPRECATED
|
817
|
+
|
818
|
+
/**
|
819
|
+
* cogl_clip_ensure:
|
820
|
+
*
|
821
|
+
* Ensures that the current clipping region has been set in GL. This
|
822
|
+
* will automatically be called before any Cogl primitives but it
|
823
|
+
* maybe be neccessary to call if you are using raw GL calls with
|
824
|
+
* clipping.
|
825
|
+
*
|
826
|
+
* Deprecated: 1.2: Calling this function has no effect
|
827
|
+
*
|
828
|
+
* Since: 1.0
|
829
|
+
*/
|
830
|
+
void
|
831
|
+
cogl_clip_ensure (void) G_GNUC_DEPRECATED;
|
832
|
+
|
833
|
+
/**
|
834
|
+
* cogl_clip_stack_save:
|
835
|
+
*
|
836
|
+
* Save the entire state of the clipping stack and then clear all
|
837
|
+
* clipping. The previous state can be returned to with
|
838
|
+
* cogl_clip_stack_restore(). Each call to cogl_clip_push() after this
|
839
|
+
* must be matched by a call to cogl_clip_pop() before calling
|
840
|
+
* cogl_clip_stack_restore().
|
841
|
+
*
|
842
|
+
* Deprecated: 1.2: This was originally added to allow us to save the
|
843
|
+
* clip stack when switching to an offscreen framebuffer, but it's
|
844
|
+
* not necessary anymore given that framebuffers now own separate
|
845
|
+
* clip stacks which will be automatically switched between when a
|
846
|
+
* new buffer is set. Calling this function has no effect
|
847
|
+
*
|
848
|
+
* Since: 0.8.2
|
849
|
+
*/
|
850
|
+
void
|
851
|
+
cogl_clip_stack_save (void) G_GNUC_DEPRECATED;
|
852
|
+
|
853
|
+
/**
|
854
|
+
* cogl_clip_stack_restore:
|
855
|
+
*
|
856
|
+
* Restore the state of the clipping stack that was previously saved
|
857
|
+
* by cogl_clip_stack_save().
|
858
|
+
*
|
859
|
+
* Deprecated: 1.2: This was originally added to allow us to restore
|
860
|
+
* the clip stack when switching back from an offscreen framebuffer,
|
861
|
+
* but it's not necessary anymore given that framebuffers now own
|
862
|
+
* separate clip stacks which will be automatically switched between
|
863
|
+
* when a new buffer is set. Calling this function has no effect
|
864
|
+
*
|
865
|
+
* Since: 0.8.2
|
866
|
+
*/
|
867
|
+
void
|
868
|
+
cogl_clip_stack_restore (void) G_GNUC_DEPRECATED;
|
869
|
+
|
870
|
+
#endif /* COGL_DISABLE_DEPRECATED */
|
871
|
+
|
872
|
+
/**
|
873
|
+
* cogl_set_framebuffer:
|
874
|
+
* @buffer: A #CoglFramebuffer object, either onscreen or offscreen.
|
875
|
+
*
|
876
|
+
* This redirects all subsequent drawing to the specified framebuffer. This can
|
877
|
+
* either be an offscreen buffer created with cogl_offscreen_new_to_texture ()
|
878
|
+
* or in the future it may be an onscreen framebuffers too.
|
879
|
+
*
|
880
|
+
* Since: 1.2
|
881
|
+
*/
|
882
|
+
void
|
883
|
+
cogl_set_framebuffer (CoglFramebuffer *buffer);
|
884
|
+
|
885
|
+
/**
|
886
|
+
* cogl_push_framebuffer:
|
887
|
+
* @buffer: A #CoglFramebuffer object, either onscreen or offscreen.
|
888
|
+
*
|
889
|
+
* Redirects all subsequent drawing to the specified framebuffer. This can
|
890
|
+
* either be an offscreen buffer created with cogl_offscreen_new_to_texture ()
|
891
|
+
* or in the future it may be an onscreen framebuffer too.
|
892
|
+
*
|
893
|
+
* You should understand that a framebuffer owns the following state:
|
894
|
+
* <itemizedlist>
|
895
|
+
* <listitem><simpara>The projection matrix</simpara></listitem>
|
896
|
+
* <listitem><simpara>The modelview matrix stack</simpara></listitem>
|
897
|
+
* <listitem><simpara>The viewport</simpara></listitem>
|
898
|
+
* <listitem><simpara>The clip stack</simpara></listitem>
|
899
|
+
* </itemizedlist>
|
900
|
+
* So these items will automatically be saved and restored when you
|
901
|
+
* push and pop between different framebuffers.
|
902
|
+
*
|
903
|
+
* Also remember a newly allocated framebuffer will have an identity matrix for
|
904
|
+
* the projection and modelview matrices which gives you a coordinate space
|
905
|
+
* like OpenGL with (-1, -1) corresponding to the top left of the viewport,
|
906
|
+
* (1, 1) corresponding to the bottom right and +z coming out towards the
|
907
|
+
* viewer.
|
908
|
+
*
|
909
|
+
* If you want to set up a coordinate space like Clutter does with (0, 0)
|
910
|
+
* corresponding to the top left and (framebuffer_width, framebuffer_height)
|
911
|
+
* corresponding to the bottom right you can do so like this:
|
912
|
+
*
|
913
|
+
* |[
|
914
|
+
* static void
|
915
|
+
* setup_viewport (unsigned int width,
|
916
|
+
* unsigned int height,
|
917
|
+
* float fovy,
|
918
|
+
* float aspect,
|
919
|
+
* float z_near,
|
920
|
+
* float z_far)
|
921
|
+
* {
|
922
|
+
* float z_camera;
|
923
|
+
* CoglMatrix projection_matrix;
|
924
|
+
* CoglMatrix mv_matrix;
|
925
|
+
*
|
926
|
+
* cogl_set_viewport (0, 0, width, height);
|
927
|
+
* cogl_perspective (fovy, aspect, z_near, z_far);
|
928
|
+
*
|
929
|
+
* cogl_get_projection_matrix (&projection_matrix);
|
930
|
+
* z_camera = 0.5 * projection_matrix.xx;
|
931
|
+
*
|
932
|
+
* cogl_matrix_init_identity (&mv_matrix);
|
933
|
+
* cogl_matrix_translate (&mv_matrix, -0.5f, -0.5f, -z_camera);
|
934
|
+
* cogl_matrix_scale (&mv_matrix, 1.0f / width, -1.0f / height, 1.0f / width);
|
935
|
+
* cogl_matrix_translate (&mv_matrix, 0.0f, -1.0 * height, 0.0f);
|
936
|
+
* cogl_set_modelview_matrix (&mv_matrix);
|
937
|
+
* }
|
938
|
+
*
|
939
|
+
* static void
|
940
|
+
* my_init_framebuffer (ClutterStage *stage,
|
941
|
+
* CoglFramebuffer *framebuffer,
|
942
|
+
* unsigned int framebuffer_width,
|
943
|
+
* unsigned int framebuffer_height)
|
944
|
+
* {
|
945
|
+
* ClutterPerspective perspective;
|
946
|
+
*
|
947
|
+
* clutter_stage_get_perspective (stage, &perspective);
|
948
|
+
*
|
949
|
+
* cogl_push_framebuffer (framebuffer);
|
950
|
+
* setup_viewport (framebuffer_width,
|
951
|
+
* framebuffer_height,
|
952
|
+
* perspective.fovy,
|
953
|
+
* perspective.aspect,
|
954
|
+
* perspective.z_near,
|
955
|
+
* perspective.z_far);
|
956
|
+
* }
|
957
|
+
* ]|
|
958
|
+
*
|
959
|
+
* The previous framebuffer can be restored by calling cogl_pop_framebuffer()
|
960
|
+
*
|
961
|
+
* Since: 1.2
|
962
|
+
*/
|
963
|
+
void
|
964
|
+
cogl_push_framebuffer (CoglFramebuffer *buffer);
|
965
|
+
|
966
|
+
/**
|
967
|
+
* cogl_pop_framebuffer:
|
968
|
+
*
|
969
|
+
* Restores the framebuffer that was previously at the top of the stack.
|
970
|
+
* All subsequent drawing will be redirected to this framebuffer.
|
971
|
+
*
|
972
|
+
* Since: 1.2
|
973
|
+
*/
|
974
|
+
void
|
975
|
+
cogl_pop_framebuffer (void);
|
976
|
+
|
977
|
+
#ifndef COGL_DISABLE_DEPRECATED
|
978
|
+
|
979
|
+
/**
|
980
|
+
* cogl_set_draw_buffer:
|
981
|
+
* @target: A #CoglBufferTarget that specifies what kind of framebuffer you
|
982
|
+
* are setting as the render target.
|
983
|
+
* @offscreen: If you are setting a framebuffer of type COGL_OFFSCREEN_BUFFER
|
984
|
+
* then this is a CoglHandle for the offscreen buffer.
|
985
|
+
*
|
986
|
+
* Redirects all subsequent drawing to the specified framebuffer. This
|
987
|
+
* can either be an offscreen buffer created with
|
988
|
+
* cogl_offscreen_new_to_texture () or you can revert to your original
|
989
|
+
* on screen window buffer.
|
990
|
+
*
|
991
|
+
* Deprecated: 1.2: The target argument was redundant since we could look at
|
992
|
+
* the type of CoglHandle given instead.
|
993
|
+
*/
|
994
|
+
void
|
995
|
+
cogl_set_draw_buffer (CoglBufferTarget target,
|
996
|
+
CoglHandle offscreen) G_GNUC_DEPRECATED;
|
997
|
+
|
998
|
+
/**
|
999
|
+
* cogl_push_draw_buffer:
|
1000
|
+
*
|
1001
|
+
* Save cogl_set_draw_buffer() state.
|
1002
|
+
*
|
1003
|
+
* Deprecated: 1.2: The draw buffer API was replaced with a framebuffer API
|
1004
|
+
*/
|
1005
|
+
void
|
1006
|
+
cogl_push_draw_buffer (void) COGL_GNUC_DEPRECATED;
|
1007
|
+
|
1008
|
+
/**
|
1009
|
+
* cogl_pop_draw_buffer:
|
1010
|
+
*
|
1011
|
+
* Restore cogl_set_draw_buffer() state.
|
1012
|
+
*
|
1013
|
+
* Deprecated: 1.2: The draw buffer API was replaced with a framebuffer API
|
1014
|
+
*/
|
1015
|
+
void
|
1016
|
+
cogl_pop_draw_buffer (void) COGL_GNUC_DEPRECATED;
|
1017
|
+
|
1018
|
+
#endif /* COGL_DISABLE_DEPRECATED */
|
1019
|
+
|
1020
|
+
/**
|
1021
|
+
* cogl_read_pixels:
|
1022
|
+
* @x: The window x position to start reading from
|
1023
|
+
* @y: The window y position to start reading from
|
1024
|
+
* @width: The width of the rectangle you want to read
|
1025
|
+
* @height: The height of the rectangle you want to read
|
1026
|
+
* @source: Identifies which auxillary buffer you want to read
|
1027
|
+
* (only COGL_READ_PIXELS_COLOR_BUFFER supported currently)
|
1028
|
+
* @format: The pixel format you want the result in
|
1029
|
+
* (only COGL_PIXEL_FORMAT_RGBA_8888 supported currently)
|
1030
|
+
* @pixels: The location to write the pixel data.
|
1031
|
+
*
|
1032
|
+
* This reads a rectangle of pixels from the current framebuffer where
|
1033
|
+
* position (0, 0) is the top left. The pixel at (x, y) is the first
|
1034
|
+
* read, and the data is returned with a rowstride of (width * 4).
|
1035
|
+
*
|
1036
|
+
* Currently Cogl assumes that the framebuffer is in a premultiplied
|
1037
|
+
* format so if @format is non-premultiplied it will convert it. To
|
1038
|
+
* read the pixel values without any conversion you should either
|
1039
|
+
* specify a format that doesn't use an alpha channel or use one of
|
1040
|
+
* the formats ending in PRE.
|
1041
|
+
*/
|
1042
|
+
void
|
1043
|
+
cogl_read_pixels (int x,
|
1044
|
+
int y,
|
1045
|
+
int width,
|
1046
|
+
int height,
|
1047
|
+
CoglReadPixelsFlags source,
|
1048
|
+
CoglPixelFormat format,
|
1049
|
+
uint8_t *pixels);
|
1050
|
+
|
1051
|
+
/**
|
1052
|
+
* cogl_flush:
|
1053
|
+
*
|
1054
|
+
* This function should only need to be called in exceptional circumstances.
|
1055
|
+
*
|
1056
|
+
* As an optimization Cogl drawing functions may batch up primitives
|
1057
|
+
* internally, so if you are trying to use raw GL outside of Cogl you stand a
|
1058
|
+
* better chance of being successful if you ask Cogl to flush any batched
|
1059
|
+
* geometry before making your state changes.
|
1060
|
+
*
|
1061
|
+
* It only ensure that the underlying driver is issued all the commands
|
1062
|
+
* necessary to draw the batched primitives. It provides no guarantees about
|
1063
|
+
* when the driver will complete the rendering.
|
1064
|
+
*
|
1065
|
+
* This provides no guarantees about the GL state upon returning and to avoid
|
1066
|
+
* confusing Cogl you should aim to restore any changes you make before
|
1067
|
+
* resuming use of Cogl.
|
1068
|
+
*
|
1069
|
+
* If you are making state changes with the intention of affecting Cogl drawing
|
1070
|
+
* primitives you are 100% on your own since you stand a good chance of
|
1071
|
+
* conflicting with Cogl internals. For example clutter-gst which currently
|
1072
|
+
* uses direct GL calls to bind ARBfp programs will very likely break when Cogl
|
1073
|
+
* starts to use ARBfb programs itself for the material API.
|
1074
|
+
*
|
1075
|
+
* Since: 1.0
|
1076
|
+
*/
|
1077
|
+
void
|
1078
|
+
cogl_flush (void);
|
1079
|
+
|
1080
|
+
/**
|
1081
|
+
* cogl_begin_gl:
|
1082
|
+
*
|
1083
|
+
* We do not advise nor reliably support the interleaving of raw GL drawing and
|
1084
|
+
* Cogl drawing functions, but if you insist, cogl_begin_gl() and cogl_end_gl()
|
1085
|
+
* provide a simple mechanism that may at least give you a fighting chance of
|
1086
|
+
* succeeding.
|
1087
|
+
*
|
1088
|
+
* Note: this doesn't help you modify the behaviour of Cogl drawing functions
|
1089
|
+
* through the modification of GL state; that will never be reliably supported,
|
1090
|
+
* but if you are trying to do something like:
|
1091
|
+
*
|
1092
|
+
* |[
|
1093
|
+
* {
|
1094
|
+
* - setup some OpenGL state.
|
1095
|
+
* - draw using OpenGL (e.g. glDrawArrays() )
|
1096
|
+
* - reset modified OpenGL state.
|
1097
|
+
* - continue using Cogl to draw
|
1098
|
+
* }
|
1099
|
+
* ]|
|
1100
|
+
*
|
1101
|
+
* You should surround blocks of drawing using raw GL with cogl_begin_gl()
|
1102
|
+
* and cogl_end_gl():
|
1103
|
+
*
|
1104
|
+
* |[
|
1105
|
+
* {
|
1106
|
+
* cogl_begin_gl ();
|
1107
|
+
* - setup some OpenGL state.
|
1108
|
+
* - draw using OpenGL (e.g. glDrawArrays() )
|
1109
|
+
* - reset modified OpenGL state.
|
1110
|
+
* cogl_end_gl ();
|
1111
|
+
* - continue using Cogl to draw
|
1112
|
+
* }
|
1113
|
+
* ]|
|
1114
|
+
*
|
1115
|
+
* Don't ever try and do:
|
1116
|
+
*
|
1117
|
+
* |[
|
1118
|
+
* {
|
1119
|
+
* - setup some OpenGL state.
|
1120
|
+
* - use Cogl to draw
|
1121
|
+
* - reset modified OpenGL state.
|
1122
|
+
* }
|
1123
|
+
* ]|
|
1124
|
+
*
|
1125
|
+
* When the internals of Cogl evolves, this is very liable to break.
|
1126
|
+
*
|
1127
|
+
* This function will flush all batched primitives, and subsequently flush
|
1128
|
+
* all internal Cogl state to OpenGL as if it were going to draw something
|
1129
|
+
* itself.
|
1130
|
+
*
|
1131
|
+
* The result is that the OpenGL modelview matrix will be setup; the state
|
1132
|
+
* corresponding to the current source material will be set up and other world
|
1133
|
+
* state such as backface culling, depth and fogging enabledness will be sent
|
1134
|
+
* to OpenGL.
|
1135
|
+
*
|
1136
|
+
* <note>No special material state is flushed, so if you want Cogl to setup a
|
1137
|
+
* simplified material state it is your responsibility to set a simple source
|
1138
|
+
* material before calling cogl_begin_gl(). E.g. by calling
|
1139
|
+
* cogl_set_source_color4ub().</note>
|
1140
|
+
*
|
1141
|
+
* <note>It is your responsibility to restore any OpenGL state that you modify
|
1142
|
+
* to how it was after calling cogl_begin_gl() if you don't do this then the
|
1143
|
+
* result of further Cogl calls is undefined.</note>
|
1144
|
+
*
|
1145
|
+
* <note>You can not nest begin/end blocks.</note>
|
1146
|
+
*
|
1147
|
+
* Again we would like to stress, we do not advise the use of this API and if
|
1148
|
+
* possible we would prefer to improve Cogl than have developers require raw
|
1149
|
+
* OpenGL.
|
1150
|
+
*
|
1151
|
+
* Since: 1.0
|
1152
|
+
*/
|
1153
|
+
void
|
1154
|
+
cogl_begin_gl (void);
|
1155
|
+
|
1156
|
+
/**
|
1157
|
+
* cogl_end_gl:
|
1158
|
+
*
|
1159
|
+
* This is the counterpart to cogl_begin_gl() used to delimit blocks of drawing
|
1160
|
+
* code using raw OpenGL. Please refer to cogl_begin_gl() for full details.
|
1161
|
+
*
|
1162
|
+
* Since: 1.0
|
1163
|
+
*/
|
1164
|
+
void
|
1165
|
+
cogl_end_gl (void);
|
1166
|
+
|
1167
|
+
COGL_END_DECLS
|
1168
|
+
|
1169
|
+
#endif /* __COGL_1_CONTEXT_H__ */
|