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,187 @@
|
|
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, write to the
|
20
|
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
21
|
+
* Boston, MA 02111-1307, USA.
|
22
|
+
*
|
23
|
+
* Authors:
|
24
|
+
* Neil Roberts <neil@linux.intel.com>
|
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_TEXTURE_3D_H
|
32
|
+
#define __COGL_TEXTURE_3D_H
|
33
|
+
|
34
|
+
COGL_BEGIN_DECLS
|
35
|
+
|
36
|
+
/**
|
37
|
+
* SECTION:cogl-texture-3d
|
38
|
+
* @short_description: Functions for creating and manipulating 3D textures
|
39
|
+
*
|
40
|
+
* These functions allow 3D textures to be used. 3D textures can be
|
41
|
+
* thought of as layers of 2D images arranged into a cuboid
|
42
|
+
* shape. When choosing a texel from the texture, Cogl will take into
|
43
|
+
* account the 'r' texture coordinate to select one of the images.
|
44
|
+
*/
|
45
|
+
|
46
|
+
typedef struct _CoglTexture3D CoglTexture3D;
|
47
|
+
|
48
|
+
#define COGL_TEXTURE_3D(X) ((CoglTexture3D *)X)
|
49
|
+
|
50
|
+
/**
|
51
|
+
* cogl_texture_3d_new_with_size:
|
52
|
+
* @context: a #CoglContext
|
53
|
+
* @width: width of the texture in pixels.
|
54
|
+
* @height: height of the texture in pixels.
|
55
|
+
* @depth: depth of the texture in pixels.
|
56
|
+
* @internal_format: the #CoglPixelFormat to use for the GPU
|
57
|
+
* storage of the texture.
|
58
|
+
*
|
59
|
+
* Creates a new #CoglTexture3D texture with the specified dimensions
|
60
|
+
* and pixel format.
|
61
|
+
*
|
62
|
+
* The storage for the texture is not allocated before this function
|
63
|
+
* returns. You can call cogl_texture_allocate() to explicitly
|
64
|
+
* allocate the underlying storage or preferably let Cogl
|
65
|
+
* automatically allocate storage lazily when it may know more about
|
66
|
+
* how the texture is going to be used and can optimize how it is
|
67
|
+
* allocated.
|
68
|
+
*
|
69
|
+
* <note>This texture will fail to allocate later if
|
70
|
+
* %COGL_FEATURE_ID_TEXTURE_3D is not advertised. Allocation can also
|
71
|
+
* fail if the requested dimensions are not supported by the
|
72
|
+
* GPU.</note>
|
73
|
+
*
|
74
|
+
* Returns: A new #CoglTexture3D object with no storage yet allocated.
|
75
|
+
* Since: 1.10
|
76
|
+
* Stability: Unstable
|
77
|
+
*/
|
78
|
+
CoglTexture3D *
|
79
|
+
cogl_texture_3d_new_with_size (CoglContext *context,
|
80
|
+
int width,
|
81
|
+
int height,
|
82
|
+
int depth,
|
83
|
+
CoglPixelFormat internal_format);
|
84
|
+
|
85
|
+
/**
|
86
|
+
* cogl_texture_3d_new_from_data:
|
87
|
+
* @context: a #CoglContext
|
88
|
+
* @width: width of the texture in pixels.
|
89
|
+
* @height: height of the texture in pixels.
|
90
|
+
* @depth: depth of the texture in pixels.
|
91
|
+
* @format: the #CoglPixelFormat the buffer is stored in in RAM
|
92
|
+
* @internal_format: the #CoglPixelFormat that will be used for storing
|
93
|
+
* the buffer on the GPU. If %COGL_PIXEL_FORMAT_ANY is given then a
|
94
|
+
* premultiplied format similar to the format of the source data will
|
95
|
+
* be used. The default blending equations of Cogl expect premultiplied
|
96
|
+
* color data; the main use of passing a non-premultiplied format here
|
97
|
+
* is if you have non-premultiplied source data and are going to adjust
|
98
|
+
* the blend mode (see cogl_pipeline_set_blend()) or use the data for
|
99
|
+
* something other than straight blending.
|
100
|
+
* @rowstride: the memory offset in bytes between the starts of
|
101
|
+
* scanlines in @data or 0 to infer it from the width and format
|
102
|
+
* @image_stride: the number of bytes from one image to the next. This
|
103
|
+
* can be used to add padding between the images in a similar way
|
104
|
+
* that the rowstride can be used to add padding between
|
105
|
+
* rows. Alternatively 0 can be passed to infer the @image_stride
|
106
|
+
* from the @height.
|
107
|
+
* @data: pointer the memory region where the source buffer resides
|
108
|
+
* @error: A CoglError return location.
|
109
|
+
*
|
110
|
+
* Creates a new 3D texture and initializes it with @data. The data is
|
111
|
+
* assumed to be packed array of @depth images. There can be padding
|
112
|
+
* between the images using @image_stride.
|
113
|
+
*
|
114
|
+
* Note that this function will throw a #CoglError if
|
115
|
+
* %COGL_FEATURE_ID_TEXTURE_3D is not advertised. It can also fail if the
|
116
|
+
* requested dimensions are not supported by the GPU.
|
117
|
+
*
|
118
|
+
* Return value: the newly created #CoglTexture3D or %NULL if
|
119
|
+
* there was an error an an exception will be returned
|
120
|
+
* through @error.
|
121
|
+
* Since: 1.10
|
122
|
+
* Stability: Unstable
|
123
|
+
*/
|
124
|
+
CoglTexture3D *
|
125
|
+
cogl_texture_3d_new_from_data (CoglContext *context,
|
126
|
+
int width,
|
127
|
+
int height,
|
128
|
+
int depth,
|
129
|
+
CoglPixelFormat format,
|
130
|
+
CoglPixelFormat internal_format,
|
131
|
+
int rowstride,
|
132
|
+
int image_stride,
|
133
|
+
const uint8_t *data,
|
134
|
+
CoglError **error);
|
135
|
+
|
136
|
+
/**
|
137
|
+
* cogl_texture_3d_new_from_bitmap:
|
138
|
+
* @bitmap: A #CoglBitmap object.
|
139
|
+
* @height: height of the texture in pixels.
|
140
|
+
* @depth: depth of the texture in pixels.
|
141
|
+
* @internal_format: the #CoglPixelFormat that will be used for storing
|
142
|
+
* the buffer on the GPU. If %COGL_PIXEL_FORMAT_ANY is given then a
|
143
|
+
* premultiplied format similar to the format of the source data will
|
144
|
+
* be used. The default blending equations of Cogl expect premultiplied
|
145
|
+
* color data; the main use of passing a non-premultiplied format here
|
146
|
+
* is if you have non-premultiplied source data and are going to adjust
|
147
|
+
* the blend mode (see cogl_pipeline_set_blend()) or use the data for
|
148
|
+
* something other than straight blending.
|
149
|
+
* @error: A CoglError return location.
|
150
|
+
*
|
151
|
+
* Creates a new 3D texture and initializes it with the images in
|
152
|
+
* @bitmap. The images are assumed to be packed together after one
|
153
|
+
* another in the increasing y axis. The height of individual image is
|
154
|
+
* given as @height and the number of images is given in @depth. The
|
155
|
+
* actual height of the bitmap can be larger than @height × @depth. In
|
156
|
+
* this case it assumes there is padding between the images.
|
157
|
+
*
|
158
|
+
* Return value: the newly created texture or %NULL if
|
159
|
+
* there was an error.
|
160
|
+
* Since: 2.0
|
161
|
+
* Stability: unstable
|
162
|
+
*/
|
163
|
+
CoglTexture3D *
|
164
|
+
cogl_texture_3d_new_from_bitmap (CoglBitmap *bitmap,
|
165
|
+
unsigned int height,
|
166
|
+
unsigned int depth,
|
167
|
+
CoglPixelFormat internal_format,
|
168
|
+
CoglError **error);
|
169
|
+
|
170
|
+
/**
|
171
|
+
* cogl_is_texture_3d:
|
172
|
+
* @object: a #CoglObject
|
173
|
+
*
|
174
|
+
* Checks whether the given object references a #CoglTexture3D
|
175
|
+
*
|
176
|
+
* Return value: %TRUE if the passed object represents a 3D texture
|
177
|
+
* and %FALSE otherwise
|
178
|
+
*
|
179
|
+
* Since: 1.4
|
180
|
+
* Stability: Unstable
|
181
|
+
*/
|
182
|
+
CoglBool
|
183
|
+
cogl_is_texture_3d (void *object);
|
184
|
+
|
185
|
+
COGL_END_DECLS
|
186
|
+
|
187
|
+
#endif /* __COGL_TEXTURE_3D_H */
|
@@ -0,0 +1,204 @@
|
|
1
|
+
/*
|
2
|
+
* Cogl
|
3
|
+
*
|
4
|
+
* An object oriented GL/GLES Abstraction/Utility Layer
|
5
|
+
*
|
6
|
+
* Copyright (C) 2011 Intel Corporation.
|
7
|
+
*
|
8
|
+
* This library is free software; you can redistribute it and/or
|
9
|
+
* modify it under the terms of the GNU Lesser General Public
|
10
|
+
* License as published by the Free Software Foundation; either
|
11
|
+
* version 2 of the License, or (at your option) any later version.
|
12
|
+
*
|
13
|
+
* This library is distributed in the hope that it will be useful,
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
16
|
+
* Lesser General Public License for more details.
|
17
|
+
*
|
18
|
+
* You should have received a copy of the GNU Lesser General Public
|
19
|
+
* License along with this library. If not, see
|
20
|
+
* <http://www.gnu.org/licenses/>.
|
21
|
+
*
|
22
|
+
*
|
23
|
+
* Authors:
|
24
|
+
* Robert Bragg <robert@linux.intel.com>
|
25
|
+
*/
|
26
|
+
|
27
|
+
#ifndef __COGL_TEXURE_RECTANGLE_H
|
28
|
+
#define __COGL_TEXURE_RECTANGLE_H
|
29
|
+
|
30
|
+
#include "cogl-context.h"
|
31
|
+
|
32
|
+
COGL_BEGIN_DECLS
|
33
|
+
|
34
|
+
/**
|
35
|
+
* SECTION:cogl-texture-rectangle
|
36
|
+
* @short_description: Functions for creating and manipulating rectangle
|
37
|
+
* textures for use with non-normalized coordinates.
|
38
|
+
*
|
39
|
+
* These functions allow low-level "rectangle" textures to be allocated.
|
40
|
+
* These textures are never constrained to power-of-two sizes but they
|
41
|
+
* also don't support having a mipmap and can only be wrapped with
|
42
|
+
* %COGL_PIPELINE_WRAP_MODE_CLAMP_TO_EDGE.
|
43
|
+
*
|
44
|
+
* The most notable difference between rectangle textures and 2D
|
45
|
+
* textures is that rectangle textures are sampled using un-normalized
|
46
|
+
* texture coordinates, so instead of using coordinates (0,0) and
|
47
|
+
* (1,1) to map to the top-left and bottom right corners of the
|
48
|
+
* texture you would instead use (0,0) and (width,height).
|
49
|
+
*
|
50
|
+
* The use of non-normalized coordinates can be particularly
|
51
|
+
* convenient when writing glsl shaders that use a texture as a lookup
|
52
|
+
* table since you don't need to upload separate uniforms to map
|
53
|
+
* normalized coordinates to texels.
|
54
|
+
*
|
55
|
+
* If you want to sample from a rectangle texture from GLSL you should
|
56
|
+
* use the sampler2DRect sampler type.
|
57
|
+
*
|
58
|
+
* Applications wanting to use #CoglTextureRectangle should first check
|
59
|
+
* for the %COGL_FEATURE_ID_TEXTURE_RECTANGLE feature using
|
60
|
+
* cogl_has_feature().
|
61
|
+
*/
|
62
|
+
|
63
|
+
typedef struct _CoglTextureRectangle CoglTextureRectangle;
|
64
|
+
#define COGL_TEXTURE_RECTANGLE(X) ((CoglTextureRectangle *)X)
|
65
|
+
|
66
|
+
/**
|
67
|
+
* cogl_is_texture_rectangle:
|
68
|
+
* @object: A #CoglObject
|
69
|
+
*
|
70
|
+
* Gets whether the given object references an existing
|
71
|
+
* #CoglTextureRectangle object.
|
72
|
+
*
|
73
|
+
* Return value: %TRUE if the object references a
|
74
|
+
* #CoglTextureRectangle, %FALSE otherwise.
|
75
|
+
*/
|
76
|
+
CoglBool
|
77
|
+
cogl_is_texture_rectangle (void *object);
|
78
|
+
|
79
|
+
/**
|
80
|
+
* cogl_texture_rectangle_new_with_size:
|
81
|
+
* @ctx: A #CoglContext pointer
|
82
|
+
* @width: The texture width to allocate
|
83
|
+
* @height: The texture height to allocate
|
84
|
+
* @internal_format: The desired internal texture format
|
85
|
+
* @error: An optional CoglError pointer for reporting exceptions
|
86
|
+
*
|
87
|
+
* Allocates a new #CoglTextureRectangle texture with a given @width, @height
|
88
|
+
* and @internal_format. This texture is a low-level texture that
|
89
|
+
* the GPU can sample from directly unlike high-level textures such
|
90
|
+
* as #CoglTexture2DSliced and #CoglAtlasTexture.
|
91
|
+
*
|
92
|
+
* <note>Unlike for #CoglTexture2D textures, coordinates for
|
93
|
+
* #CoglTextureRectangle textures should not be normalized. So instead
|
94
|
+
* of using the coordinate (1, 1) to sample the bottom right corner of
|
95
|
+
* a rectangle texture you would use (@width, @height) where @width
|
96
|
+
* and @height are the width and height of the texture.</note>
|
97
|
+
*
|
98
|
+
* <note>If you want to sample from a rectangle texture from GLSL you
|
99
|
+
* should use the sampler2DRect sampler type.</note>
|
100
|
+
*
|
101
|
+
* <note>Applications wanting to use #CoglTextureRectangle should
|
102
|
+
* first check for the %COGL_FEATURE_ID_TEXTURE_RECTANGLE feature
|
103
|
+
* using cogl_has_feature().</note>
|
104
|
+
*
|
105
|
+
* Returns: A pointer to a newly allocated #CoglTextureRectangle texture
|
106
|
+
* or if the size was too large or there wasn't enough memory
|
107
|
+
* %NULL is returned and @error set.
|
108
|
+
*
|
109
|
+
* Since: 1.10
|
110
|
+
* Stability: unstable
|
111
|
+
*/
|
112
|
+
CoglTextureRectangle *
|
113
|
+
cogl_texture_rectangle_new_with_size (CoglContext *ctx,
|
114
|
+
int width,
|
115
|
+
int height,
|
116
|
+
CoglPixelFormat internal_format,
|
117
|
+
CoglError **error);
|
118
|
+
|
119
|
+
/**
|
120
|
+
* cogl_texture_rectangle_new_from_bitmap:
|
121
|
+
* @bitmap: A #CoglBitmap
|
122
|
+
* @internal_format: the #CoglPixelFormat to use for the GPU storage of the
|
123
|
+
* texture
|
124
|
+
* @error: A return location for a CoglError or %NULL
|
125
|
+
*
|
126
|
+
* Allocates a new #CoglTextureRectangle texture which will be
|
127
|
+
* initialized with the pixel data from @bitmap. Internally the data
|
128
|
+
* will be stored in the format given by @internal_format. This
|
129
|
+
* texture is a low-level texture that the GPU can sample from
|
130
|
+
* directly unlike high-level textures such as #CoglTexture2DSliced
|
131
|
+
* and #CoglAtlasTexture.
|
132
|
+
*
|
133
|
+
* <note>Unlike for #CoglTexture2D textures, coordinates for
|
134
|
+
* #CoglTextureRectangle textures should not be normalized. So instead
|
135
|
+
* of using the coordinate (1, 1) to sample the bottom right corner of
|
136
|
+
* a rectangle texture you would use (@width, @height) where @width
|
137
|
+
* and @height are the width and height of the texture.</note>
|
138
|
+
*
|
139
|
+
* <note>If you want to sample from a rectangle texture from GLSL you
|
140
|
+
* should use the sampler2DRect sampler type.</note>
|
141
|
+
*
|
142
|
+
* <note>Applications wanting to use #CoglTextureRectangle should
|
143
|
+
* first check for the %COGL_FEATURE_ID_TEXTURE_RECTANGLE feature
|
144
|
+
* using cogl_has_feature().</note>
|
145
|
+
*
|
146
|
+
* Returns: A pointer to a newly allocated #CoglTextureRectangle texture
|
147
|
+
* or if the size was too large or there wasn't enough memory
|
148
|
+
* %NULL is returned and @error set.
|
149
|
+
* Since: 2.0
|
150
|
+
* Stability: unstable
|
151
|
+
*/
|
152
|
+
CoglTextureRectangle *
|
153
|
+
cogl_texture_rectangle_new_from_bitmap (CoglBitmap *bitmap,
|
154
|
+
CoglPixelFormat internal_format,
|
155
|
+
CoglError **error);
|
156
|
+
|
157
|
+
/**
|
158
|
+
* cogl_texture_rectangle_new_from_foreign:
|
159
|
+
* @ctx: A #CoglContext
|
160
|
+
* @gl_handle: A GL handle for a GL_TEXTURE_RECTANGLE texture object
|
161
|
+
* @width: Width of the foreign GL texture
|
162
|
+
* @height: Height of the foreign GL texture
|
163
|
+
* @internal_format: The format of the texture
|
164
|
+
* @error: A #CoglError for exceptions
|
165
|
+
*
|
166
|
+
* Wraps an existing GL_TEXTURE_RECTANGLE texture object as a
|
167
|
+
* #CoglTextureRectangle. This can be used for integrating Cogl with
|
168
|
+
* software using OpenGL directly.
|
169
|
+
*
|
170
|
+
* <note>Unlike for #CoglTexture2D textures, coordinates for
|
171
|
+
* #CoglTextureRectangle textures should not be normalized. So instead
|
172
|
+
* of using the coordinate (1, 1) to sample the bottom right corner of
|
173
|
+
* a rectangle texture you would use (@width, @height) where @width
|
174
|
+
* and @height are the width and height of the texture.</note>
|
175
|
+
*
|
176
|
+
* <note>The results are undefined for passing an invalid @gl_handle
|
177
|
+
* or if @width or @height don't have the correct texture
|
178
|
+
* geometry.</note>
|
179
|
+
*
|
180
|
+
* <note>If you want to sample from a rectangle texture from GLSL you
|
181
|
+
* should use the sampler2DRect sampler type.</note>
|
182
|
+
*
|
183
|
+
* <note>Applications wanting to use #CoglTextureRectangle should
|
184
|
+
* first check for the %COGL_FEATURE_ID_TEXTURE_RECTANGLE feature
|
185
|
+
* using cogl_has_feature().</note>
|
186
|
+
|
187
|
+
* Returns: A newly allocated #CoglTextureRectangle, or if Cogl could
|
188
|
+
* not validate the @gl_handle in some way (perhaps because
|
189
|
+
* of an unsupported format) it will return %NULL and set
|
190
|
+
* @error.
|
191
|
+
*
|
192
|
+
|
193
|
+
*/
|
194
|
+
CoglTextureRectangle *
|
195
|
+
cogl_texture_rectangle_new_from_foreign (CoglContext *ctx,
|
196
|
+
unsigned int gl_handle,
|
197
|
+
int width,
|
198
|
+
int height,
|
199
|
+
CoglPixelFormat format,
|
200
|
+
CoglError **error);
|
201
|
+
|
202
|
+
COGL_END_DECLS
|
203
|
+
|
204
|
+
#endif /* __COGL_TEXURE_RECTANGLE_H */
|
@@ -0,0 +1,611 @@
|
|
1
|
+
/*
|
2
|
+
* Cogl
|
3
|
+
*
|
4
|
+
* An object oriented GL/GLES Abstraction/Utility Layer
|
5
|
+
*
|
6
|
+
* Copyright (C) 2007,2008,2009,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 <http://www.gnu.org/licenses/>.
|
20
|
+
*
|
21
|
+
*
|
22
|
+
*/
|
23
|
+
|
24
|
+
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
|
25
|
+
#error "Only <cogl/cogl.h> can be included directly."
|
26
|
+
#endif
|
27
|
+
|
28
|
+
#ifndef __COGL_TEXTURE_H__
|
29
|
+
#define __COGL_TEXTURE_H__
|
30
|
+
|
31
|
+
/* We forward declare the CoglTexture type here to avoid some circular
|
32
|
+
* dependency issues with the following headers.
|
33
|
+
*/
|
34
|
+
typedef struct _CoglTexture CoglTexture;
|
35
|
+
|
36
|
+
#include <cogl/cogl-types.h>
|
37
|
+
#include <cogl/cogl-defines.h>
|
38
|
+
#if defined (COGL_ENABLE_EXPERIMENTAL_API)
|
39
|
+
#include <cogl/cogl-pixel-buffer.h>
|
40
|
+
#endif
|
41
|
+
#include <cogl/cogl-bitmap.h>
|
42
|
+
|
43
|
+
COGL_BEGIN_DECLS
|
44
|
+
|
45
|
+
/**
|
46
|
+
* SECTION:cogl-texture
|
47
|
+
* @short_description: Functions for creating and manipulating textures
|
48
|
+
*
|
49
|
+
* Cogl allows creating and manipulating textures using a uniform
|
50
|
+
* API that tries to hide all the various complexities of creating,
|
51
|
+
* loading and manipulating textures.
|
52
|
+
*/
|
53
|
+
|
54
|
+
#define COGL_TEXTURE(X) ((CoglTexture *)X)
|
55
|
+
|
56
|
+
#define COGL_TEXTURE_MAX_WASTE 127
|
57
|
+
|
58
|
+
/**
|
59
|
+
* COGL_TEXTURE_ERROR:
|
60
|
+
*
|
61
|
+
* #CoglError domain for texture errors.
|
62
|
+
*
|
63
|
+
* Since: 2.0
|
64
|
+
* Stability: Unstable
|
65
|
+
*/
|
66
|
+
#define COGL_TEXTURE_ERROR (cogl_texture_error_quark ())
|
67
|
+
|
68
|
+
|
69
|
+
/**
|
70
|
+
* CoglTextureError:
|
71
|
+
* @COGL_TEXTURE_ERROR_SIZE: Unsupported size
|
72
|
+
*
|
73
|
+
* Error codes that can be thrown when allocating textures.
|
74
|
+
*
|
75
|
+
* Since: 2.0
|
76
|
+
* Stability: Unstable
|
77
|
+
*/
|
78
|
+
typedef enum {
|
79
|
+
COGL_TEXTURE_ERROR_SIZE,
|
80
|
+
COGL_TEXTURE_ERROR_FORMAT,
|
81
|
+
COGL_TEXTURE_ERROR_BAD_PARAMETER,
|
82
|
+
COGL_TEXTURE_ERROR_TYPE
|
83
|
+
} CoglTextureError;
|
84
|
+
|
85
|
+
/**
|
86
|
+
* CoglTextureType:
|
87
|
+
* @COGL_TEXTURE_TYPE_2D: A #CoglTexture2D
|
88
|
+
* @COGL_TEXTURE_TYPE_3D: A #CoglTexture3D
|
89
|
+
* @COGL_TEXTURE_TYPE_RECTANGLE: A #CoglTextureRectangle
|
90
|
+
*
|
91
|
+
* Constants representing the underlying hardware texture type of a
|
92
|
+
* #CoglTexture.
|
93
|
+
*
|
94
|
+
* Stability: unstable
|
95
|
+
* Since: 1.10
|
96
|
+
*/
|
97
|
+
typedef enum {
|
98
|
+
COGL_TEXTURE_TYPE_2D,
|
99
|
+
COGL_TEXTURE_TYPE_3D,
|
100
|
+
COGL_TEXTURE_TYPE_RECTANGLE
|
101
|
+
} CoglTextureType;
|
102
|
+
|
103
|
+
uint32_t cogl_texture_error_quark (void);
|
104
|
+
|
105
|
+
/**
|
106
|
+
* cogl_texture_new_with_size:
|
107
|
+
* @width: width of texture in pixels.
|
108
|
+
* @height: height of texture in pixels.
|
109
|
+
* @flags: Optional flags for the texture, or %COGL_TEXTURE_NONE
|
110
|
+
* @internal_format: the #CoglPixelFormat to use for the GPU storage of the
|
111
|
+
* texture.
|
112
|
+
*
|
113
|
+
* Creates a new #CoglTexture with the specified dimensions and pixel format.
|
114
|
+
*
|
115
|
+
* The storage for the texture is not necesarily created before this
|
116
|
+
* function returns. The storage can be explicitly allocated using
|
117
|
+
* cogl_texture_allocate() or preferably you can let Cogl
|
118
|
+
* automatically allocate the storage lazily when uploading data when
|
119
|
+
* Cogl may know more about how the texture will be used and can
|
120
|
+
* optimize how it is allocated.
|
121
|
+
*
|
122
|
+
* Return value: A newly created #CoglTexture
|
123
|
+
*
|
124
|
+
* Since: 0.8
|
125
|
+
*/
|
126
|
+
CoglTexture *
|
127
|
+
cogl_texture_new_with_size (unsigned int width,
|
128
|
+
unsigned int height,
|
129
|
+
CoglTextureFlags flags,
|
130
|
+
CoglPixelFormat internal_format);
|
131
|
+
|
132
|
+
/**
|
133
|
+
* cogl_texture_new_from_file:
|
134
|
+
* @filename: the file to load
|
135
|
+
* @flags: Optional flags for the texture, or %COGL_TEXTURE_NONE
|
136
|
+
* @internal_format: the #CoglPixelFormat to use for the GPU storage of the
|
137
|
+
* texture. If %COGL_PIXEL_FORMAT_ANY is given then a premultiplied
|
138
|
+
* format similar to the format of the source data will be used. The
|
139
|
+
* default blending equations of Cogl expect premultiplied color data;
|
140
|
+
* the main use of passing a non-premultiplied format here is if you
|
141
|
+
* have non-premultiplied source data and are going to adjust the blend
|
142
|
+
* mode (see cogl_material_set_blend()) or use the data for something
|
143
|
+
* other than straight blending.
|
144
|
+
* @error: return location for a #CoglError or %NULL
|
145
|
+
*
|
146
|
+
* Creates a #CoglTexture from an image file.
|
147
|
+
*
|
148
|
+
* Return value: A newly created #CoglTexture or %NULL on failure
|
149
|
+
*
|
150
|
+
* Since: 0.8
|
151
|
+
*/
|
152
|
+
CoglTexture *
|
153
|
+
cogl_texture_new_from_file (const char *filename,
|
154
|
+
CoglTextureFlags flags,
|
155
|
+
CoglPixelFormat internal_format,
|
156
|
+
CoglError **error);
|
157
|
+
|
158
|
+
/**
|
159
|
+
* cogl_texture_new_from_data:
|
160
|
+
* @width: width of texture in pixels
|
161
|
+
* @height: height of texture in pixels
|
162
|
+
* @flags: Optional flags for the texture, or %COGL_TEXTURE_NONE
|
163
|
+
* @format: the #CoglPixelFormat the buffer is stored in in RAM
|
164
|
+
* @internal_format: the #CoglPixelFormat that will be used for storing
|
165
|
+
* the buffer on the GPU. If COGL_PIXEL_FORMAT_ANY is given then a
|
166
|
+
* premultiplied format similar to the format of the source data will
|
167
|
+
* be used. The default blending equations of Cogl expect premultiplied
|
168
|
+
* color data; the main use of passing a non-premultiplied format here
|
169
|
+
* is if you have non-premultiplied source data and are going to adjust
|
170
|
+
* the blend mode (see cogl_material_set_blend()) or use the data for
|
171
|
+
* something other than straight blending.
|
172
|
+
* @rowstride: the memory offset in bytes between the starts of
|
173
|
+
* scanlines in @data
|
174
|
+
* @data: pointer the memory region where the source buffer resides
|
175
|
+
*
|
176
|
+
* Creates a new #CoglTexture based on data residing in memory.
|
177
|
+
*
|
178
|
+
* Return value: A newly created #CoglTexture or %NULL on failure
|
179
|
+
*
|
180
|
+
* Since: 0.8
|
181
|
+
*/
|
182
|
+
CoglTexture *
|
183
|
+
cogl_texture_new_from_data (int width,
|
184
|
+
int height,
|
185
|
+
CoglTextureFlags flags,
|
186
|
+
CoglPixelFormat format,
|
187
|
+
CoglPixelFormat internal_format,
|
188
|
+
int rowstride,
|
189
|
+
const uint8_t *data);
|
190
|
+
|
191
|
+
/**
|
192
|
+
* cogl_texture_new_from_foreign:
|
193
|
+
* @gl_handle: opengl handle of foreign texture.
|
194
|
+
* @gl_target: opengl target type of foreign texture
|
195
|
+
* @width: width of foreign texture
|
196
|
+
* @height: height of foreign texture.
|
197
|
+
* @x_pot_waste: horizontal waste on the right hand edge of the texture.
|
198
|
+
* @y_pot_waste: vertical waste on the bottom edge of the texture.
|
199
|
+
* @format: format of the foreign texture.
|
200
|
+
*
|
201
|
+
* Creates a #CoglTexture based on an existing OpenGL texture; the
|
202
|
+
* width, height and format are passed along since it is not always
|
203
|
+
* possible to query these from OpenGL.
|
204
|
+
*
|
205
|
+
* The waste arguments allow you to create a Cogl texture that maps to
|
206
|
+
* a region smaller than the real OpenGL texture. For instance if your
|
207
|
+
* hardware only supports power-of-two textures you may load a
|
208
|
+
* non-power-of-two image into a larger power-of-two texture and use
|
209
|
+
* the waste arguments to tell Cogl which region should be mapped to
|
210
|
+
* the texture coordinate range [0:1].
|
211
|
+
*
|
212
|
+
* Return value: A newly created #CoglTexture or %NULL on failure
|
213
|
+
*
|
214
|
+
* Since: 0.8
|
215
|
+
*/
|
216
|
+
CoglTexture *
|
217
|
+
cogl_texture_new_from_foreign (unsigned int gl_handle,
|
218
|
+
unsigned int gl_target,
|
219
|
+
unsigned int width,
|
220
|
+
unsigned int height,
|
221
|
+
unsigned int x_pot_waste,
|
222
|
+
unsigned int y_pot_waste,
|
223
|
+
CoglPixelFormat format);
|
224
|
+
|
225
|
+
/**
|
226
|
+
* cogl_texture_new_from_bitmap:
|
227
|
+
* @bitmap: A #CoglBitmap pointer
|
228
|
+
* @flags: Optional flags for the texture, or %COGL_TEXTURE_NONE
|
229
|
+
* @internal_format: the #CoglPixelFormat to use for the GPU storage of the
|
230
|
+
* texture
|
231
|
+
*
|
232
|
+
* Creates a #CoglTexture from a #CoglBitmap.
|
233
|
+
*
|
234
|
+
* Return value: A newly created #CoglTexture or %NULL on failure
|
235
|
+
*
|
236
|
+
* Since: 1.0
|
237
|
+
*/
|
238
|
+
CoglTexture *
|
239
|
+
cogl_texture_new_from_bitmap (CoglBitmap *bitmap,
|
240
|
+
CoglTextureFlags flags,
|
241
|
+
CoglPixelFormat internal_format);
|
242
|
+
|
243
|
+
/**
|
244
|
+
* cogl_is_texture:
|
245
|
+
* @object: A #CoglObject pointer
|
246
|
+
*
|
247
|
+
* Gets whether the given object references a texture object.
|
248
|
+
*
|
249
|
+
* Return value: %TRUE if the @object references a texture, and
|
250
|
+
* %FALSE otherwise
|
251
|
+
*/
|
252
|
+
CoglBool
|
253
|
+
cogl_is_texture (void *object);
|
254
|
+
|
255
|
+
/**
|
256
|
+
* cogl_texture_get_width:
|
257
|
+
* @texture: a #CoglTexture pointer.
|
258
|
+
*
|
259
|
+
* Queries the width of a cogl texture.
|
260
|
+
*
|
261
|
+
* Return value: the width of the GPU side texture in pixels
|
262
|
+
*/
|
263
|
+
unsigned int
|
264
|
+
cogl_texture_get_width (CoglTexture *texture);
|
265
|
+
|
266
|
+
/**
|
267
|
+
* cogl_texture_get_height:
|
268
|
+
* @texture: a #CoglTexture pointer.
|
269
|
+
*
|
270
|
+
* Queries the height of a cogl texture.
|
271
|
+
*
|
272
|
+
* Return value: the height of the GPU side texture in pixels
|
273
|
+
*/
|
274
|
+
unsigned int
|
275
|
+
cogl_texture_get_height (CoglTexture *texture);
|
276
|
+
|
277
|
+
/**
|
278
|
+
* cogl_texture_get_format:
|
279
|
+
* @texture: a #CoglTexture pointer.
|
280
|
+
*
|
281
|
+
* Queries the #CoglPixelFormat of a cogl texture.
|
282
|
+
*
|
283
|
+
* Return value: the #CoglPixelFormat of the GPU side texture
|
284
|
+
*/
|
285
|
+
CoglPixelFormat
|
286
|
+
cogl_texture_get_format (CoglTexture *texture);
|
287
|
+
|
288
|
+
|
289
|
+
/**
|
290
|
+
* cogl_texture_get_rowstride:
|
291
|
+
* @texture a #CoglTexture pointer.
|
292
|
+
*
|
293
|
+
* Determines the bytes-per-pixel for the #CoglPixelFormat retrieved
|
294
|
+
* from cogl_texture_get_format() and multiplies that by the texture's
|
295
|
+
* width.
|
296
|
+
*
|
297
|
+
* <note>It's very unlikely that anyone would need to use this API to
|
298
|
+
* query the internal rowstride of a #CoglTexture which can just be
|
299
|
+
* considered an implementation detail. Actually it's not even useful
|
300
|
+
* internally since underlying drivers are free to use a different
|
301
|
+
* format</note>
|
302
|
+
*
|
303
|
+
* <note>This API is only here for backwards compatibility and
|
304
|
+
* shouldn't be used in new code. In particular please don't be
|
305
|
+
* mislead to pass the returned value to cogl_texture_get_data() for
|
306
|
+
* the rowstride, since you should be passing the rowstride you desire
|
307
|
+
* for your destination buffer not the rowstride of the source
|
308
|
+
* texture.</note>
|
309
|
+
*
|
310
|
+
* Return value: The bytes-per-pixel for the current format
|
311
|
+
* multiplied by the texture's width
|
312
|
+
*
|
313
|
+
* Deprecated: 1.10: There's no replacement for the API but there's
|
314
|
+
* also no known need for API either. It was just
|
315
|
+
* a mistake that it was ever published.
|
316
|
+
*/
|
317
|
+
unsigned int
|
318
|
+
cogl_texture_get_rowstride (CoglTexture *texture);
|
319
|
+
|
320
|
+
/**
|
321
|
+
* cogl_texture_get_max_waste:
|
322
|
+
* @texture: a #CoglTexture pointer.
|
323
|
+
*
|
324
|
+
* Queries the maximum wasted (unused) pixels in one dimension of a GPU side
|
325
|
+
* texture.
|
326
|
+
*
|
327
|
+
* Return value: the maximum waste
|
328
|
+
*/
|
329
|
+
int
|
330
|
+
cogl_texture_get_max_waste (CoglTexture *texture);
|
331
|
+
|
332
|
+
/**
|
333
|
+
* cogl_texture_is_sliced:
|
334
|
+
* @texture: a #CoglTexture pointer.
|
335
|
+
*
|
336
|
+
* Queries if a texture is sliced (stored as multiple GPU side tecture
|
337
|
+
* objects).
|
338
|
+
*
|
339
|
+
* Return value: %TRUE if the texture is sliced, %FALSE if the texture
|
340
|
+
* is stored as a single GPU texture
|
341
|
+
*/
|
342
|
+
CoglBool
|
343
|
+
cogl_texture_is_sliced (CoglTexture *texture);
|
344
|
+
|
345
|
+
/**
|
346
|
+
* cogl_texture_get_gl_texture:
|
347
|
+
* @texture: a #CoglTexture pointer.
|
348
|
+
* @out_gl_handle: (out) (allow-none): pointer to return location for the
|
349
|
+
* textures GL handle, or %NULL.
|
350
|
+
* @out_gl_target: (out) (allow-none): pointer to return location for the
|
351
|
+
* GL target type, or %NULL.
|
352
|
+
*
|
353
|
+
* Queries the GL handles for a GPU side texture through its #CoglTexture.
|
354
|
+
*
|
355
|
+
* If the texture is spliced the data for the first sub texture will be
|
356
|
+
* queried.
|
357
|
+
*
|
358
|
+
* Return value: %TRUE if the handle was successfully retrieved, %FALSE
|
359
|
+
* if the handle was invalid
|
360
|
+
*/
|
361
|
+
CoglBool
|
362
|
+
cogl_texture_get_gl_texture (CoglTexture *texture,
|
363
|
+
unsigned int *out_gl_handle,
|
364
|
+
unsigned int *out_gl_target);
|
365
|
+
|
366
|
+
/**
|
367
|
+
* cogl_texture_get_data:
|
368
|
+
* @texture: a #CoglTexture pointer.
|
369
|
+
* @format: the #CoglPixelFormat to store the texture as.
|
370
|
+
* @rowstride: the rowstride of @data in bytes or pass 0 to calculate
|
371
|
+
* from the bytes-per-pixel of @format multiplied by the
|
372
|
+
* @texture width.
|
373
|
+
* @data: memory location to write the @texture's contents, or %NULL
|
374
|
+
* to only query the data size through the return value.
|
375
|
+
*
|
376
|
+
* Copies the pixel data from a cogl texture to system memory.
|
377
|
+
*
|
378
|
+
* <note>Don't pass the value of cogl_texture_get_rowstride() as the
|
379
|
+
* @rowstride argument, the rowstride should be the rowstride you
|
380
|
+
* want for the destination @data buffer not the rowstride of the
|
381
|
+
* source texture</note>
|
382
|
+
*
|
383
|
+
* Return value: the size of the texture data in bytes
|
384
|
+
*/
|
385
|
+
int
|
386
|
+
cogl_texture_get_data (CoglTexture *texture,
|
387
|
+
CoglPixelFormat format,
|
388
|
+
unsigned int rowstride,
|
389
|
+
uint8_t *data);
|
390
|
+
|
391
|
+
/**
|
392
|
+
* cogl_texture_set_region:
|
393
|
+
* @texture: a #CoglTexture.
|
394
|
+
* @src_x: upper left coordinate to use from source data.
|
395
|
+
* @src_y: upper left coordinate to use from source data.
|
396
|
+
* @dst_x: upper left destination horizontal coordinate.
|
397
|
+
* @dst_y: upper left destination vertical coordinate.
|
398
|
+
* @dst_width: width of destination region to write. (Must be less
|
399
|
+
* than or equal to @width)
|
400
|
+
* @dst_height: height of destination region to write. (Must be less
|
401
|
+
* than or equal to @height)
|
402
|
+
* @width: width of source data buffer.
|
403
|
+
* @height: height of source data buffer.
|
404
|
+
* @format: the #CoglPixelFormat used in the source buffer.
|
405
|
+
* @rowstride: rowstride of source buffer (computed from width if none
|
406
|
+
* specified)
|
407
|
+
* @data: the actual pixel data.
|
408
|
+
*
|
409
|
+
* Sets the pixels in a rectangular subregion of @texture from an in-memory
|
410
|
+
* buffer containing pixel data.
|
411
|
+
*
|
412
|
+
* <note>The region set can't be larger than the source @data</note>
|
413
|
+
*
|
414
|
+
* Return value: %TRUE if the subregion upload was successful, and
|
415
|
+
* %FALSE otherwise
|
416
|
+
*/
|
417
|
+
CoglBool
|
418
|
+
cogl_texture_set_region (CoglTexture *texture,
|
419
|
+
int src_x,
|
420
|
+
int src_y,
|
421
|
+
int dst_x,
|
422
|
+
int dst_y,
|
423
|
+
unsigned int dst_width,
|
424
|
+
unsigned int dst_height,
|
425
|
+
int width,
|
426
|
+
int height,
|
427
|
+
CoglPixelFormat format,
|
428
|
+
unsigned int rowstride,
|
429
|
+
const uint8_t *data);
|
430
|
+
|
431
|
+
#if defined (COGL_ENABLE_EXPERIMENTAL_API)
|
432
|
+
|
433
|
+
/**
|
434
|
+
* cogl_texture_set_data:
|
435
|
+
* @texture a #CoglTexture.
|
436
|
+
* @format: the #CoglPixelFormat used in the source @data buffer.
|
437
|
+
* @rowstride: rowstride of the source @data buffer (computed from
|
438
|
+
* the texture width and @format if it equals 0)
|
439
|
+
* @data: the source data, pointing to the first top-left pixel to set
|
440
|
+
* @level: The mipmap level to update (Normally 0 for the largest,
|
441
|
+
* base texture)
|
442
|
+
* @error: A #CoglError to return exceptional errors
|
443
|
+
*
|
444
|
+
* Sets all the pixels for a given mipmap @level by copying the pixel
|
445
|
+
* data pointed to by the @data argument into the given @texture.
|
446
|
+
*
|
447
|
+
* @data should point to the first pixel to copy corresponding
|
448
|
+
* to the top left of the mipmap @level being set.
|
449
|
+
*
|
450
|
+
* If @rowstride equals 0 then it will be automatically calculated
|
451
|
+
* from the width of the mipmap level and the bytes-per-pixel for the
|
452
|
+
* given @format.
|
453
|
+
*
|
454
|
+
* A mipmap @level of 0 corresponds to the largest, base image of a
|
455
|
+
* texture and @level 1 is half the width and height of level 0. If
|
456
|
+
* dividing any dimension of the previous level by two results in a
|
457
|
+
* fraction then round the number down (floor()), but clamp to 1
|
458
|
+
* something like this:
|
459
|
+
*
|
460
|
+
* |[
|
461
|
+
* next_width = MAX (1, floor (prev_width));
|
462
|
+
* ]|
|
463
|
+
*
|
464
|
+
* You can determine the number of mipmap levels for a given texture
|
465
|
+
* like this:
|
466
|
+
*
|
467
|
+
* |[
|
468
|
+
* n_levels = 1 + floor (log2 (max_dimension));
|
469
|
+
* ]|
|
470
|
+
*
|
471
|
+
* Where %max_dimension is the larger of cogl_texture_get_width() and
|
472
|
+
* cogl_texture_get_height().
|
473
|
+
*
|
474
|
+
* It is an error to pass a @level number >= the number of levels that
|
475
|
+
* @texture can have according to the above calculation.
|
476
|
+
*
|
477
|
+
* <note>Since the storage for a #CoglTexture is allocated lazily then
|
478
|
+
* if the given @texture has not previously been allocated then this
|
479
|
+
* api can return %FALSE and throw an exceptional @error if there is
|
480
|
+
* not enough memory to allocate storage for @texture.</note>
|
481
|
+
*
|
482
|
+
* Return value: %TRUE if the data upload was successful, and
|
483
|
+
* %FALSE otherwise
|
484
|
+
*/
|
485
|
+
CoglBool
|
486
|
+
cogl_texture_set_data (CoglTexture *texture,
|
487
|
+
CoglPixelFormat format,
|
488
|
+
int rowstride,
|
489
|
+
const uint8_t *data,
|
490
|
+
int level,
|
491
|
+
CoglError **error);
|
492
|
+
|
493
|
+
/**
|
494
|
+
* cogl_texture_set_region_from_bitmap:
|
495
|
+
* @texture: a #CoglTexture pointer
|
496
|
+
* @src_x: upper left coordinate to use from the source bitmap.
|
497
|
+
* @src_y: upper left coordinate to use from the source bitmap
|
498
|
+
* @dst_x: upper left destination horizontal coordinate.
|
499
|
+
* @dst_y: upper left destination vertical coordinate.
|
500
|
+
* @dst_width: width of destination region to write. (Must be less
|
501
|
+
* than or equal to the bitmap width)
|
502
|
+
* @dst_height: height of destination region to write. (Must be less
|
503
|
+
* than or equal to the bitmap height)
|
504
|
+
* @bitmap: The source bitmap to read from
|
505
|
+
*
|
506
|
+
* Copies a specified source region from @bitmap to the position
|
507
|
+
* (@src_x, @src_y) of the given destination texture @handle.
|
508
|
+
*
|
509
|
+
* <note>The region updated can't be larger than the source
|
510
|
+
* bitmap</note>
|
511
|
+
*
|
512
|
+
* Return value: %TRUE if the subregion upload was successful, and
|
513
|
+
* %FALSE otherwise
|
514
|
+
*
|
515
|
+
* Since: 1.8
|
516
|
+
* Stability: unstable
|
517
|
+
*/
|
518
|
+
CoglBool
|
519
|
+
cogl_texture_set_region_from_bitmap (CoglTexture *texture,
|
520
|
+
int src_x,
|
521
|
+
int src_y,
|
522
|
+
int dst_x,
|
523
|
+
int dst_y,
|
524
|
+
unsigned int dst_width,
|
525
|
+
unsigned int dst_height,
|
526
|
+
CoglBitmap *bitmap);
|
527
|
+
#endif
|
528
|
+
|
529
|
+
/**
|
530
|
+
* cogl_texture_new_from_sub_texture:
|
531
|
+
* @full_texture: a #CoglTexture pointer
|
532
|
+
* @sub_x: X coordinate of the top-left of the subregion
|
533
|
+
* @sub_y: Y coordinate of the top-left of the subregion
|
534
|
+
* @sub_width: Width in pixels of the subregion
|
535
|
+
* @sub_height: Height in pixels of the subregion
|
536
|
+
*
|
537
|
+
* Creates a new texture which represents a subregion of another
|
538
|
+
* texture. The GL resources will be shared so that no new texture
|
539
|
+
* data is actually allocated.
|
540
|
+
*
|
541
|
+
* Sub textures have undefined behaviour texture coordinates outside
|
542
|
+
* of the range [0,1] are used. They also do not work with
|
543
|
+
* CoglVertexBuffers.
|
544
|
+
*
|
545
|
+
* The sub texture will keep a reference to the full texture so you do
|
546
|
+
* not need to keep one separately if you only want to use the sub
|
547
|
+
* texture.
|
548
|
+
*
|
549
|
+
* Return value: A newly created #CoglTexture or %NULL on failure
|
550
|
+
* Since: 1.2
|
551
|
+
*/
|
552
|
+
CoglTexture *
|
553
|
+
cogl_texture_new_from_sub_texture (CoglTexture *full_texture,
|
554
|
+
int sub_x,
|
555
|
+
int sub_y,
|
556
|
+
int sub_width,
|
557
|
+
int sub_height);
|
558
|
+
|
559
|
+
#ifndef COGL_DISABLE_DEPRECATED
|
560
|
+
|
561
|
+
/**
|
562
|
+
* cogl_texture_ref:
|
563
|
+
* @texture: a #CoglTexture.
|
564
|
+
*
|
565
|
+
* Increment the reference count for a cogl texture.
|
566
|
+
*
|
567
|
+
* Deprecated: 1.2: Use cogl_object_ref() instead
|
568
|
+
*
|
569
|
+
* Return value: the @texture pointer.
|
570
|
+
*/
|
571
|
+
void *
|
572
|
+
cogl_texture_ref (void *texture) G_GNUC_DEPRECATED;
|
573
|
+
|
574
|
+
/**
|
575
|
+
* cogl_texture_unref:
|
576
|
+
* @texture: a #CoglTexture.
|
577
|
+
*
|
578
|
+
* Decrement the reference count for a cogl texture.
|
579
|
+
*
|
580
|
+
* Deprecated: 1.2: Use cogl_object_unref() instead
|
581
|
+
*/
|
582
|
+
void
|
583
|
+
cogl_texture_unref (void *texture) G_GNUC_DEPRECATED;
|
584
|
+
|
585
|
+
#endif /* COGL_DISABLE_DEPRECATED */
|
586
|
+
|
587
|
+
/**
|
588
|
+
* cogl_texture_allocate:
|
589
|
+
* @texture: A #CoglTexture
|
590
|
+
* @error: A #CoglError to return exceptional errors or %NULL
|
591
|
+
*
|
592
|
+
* Explicitly allocates the storage for the given @texture which
|
593
|
+
* allows you to be sure that there is enough memory for the
|
594
|
+
* texture and if not then the error can be handled gracefully.
|
595
|
+
*
|
596
|
+
* <note>Normally applications don't need to use this api directly
|
597
|
+
* since the texture will be implicitly allocated when data is set on
|
598
|
+
* the texture, or if the texture is attached to a #CoglOffscreen
|
599
|
+
* framebuffer and rendered too.</note>
|
600
|
+
*
|
601
|
+
* Return value: %TRUE if the texture was successfully allocated,
|
602
|
+
* otherwise %FALSE and @error will be updated if it
|
603
|
+
* wasn't %NULL.
|
604
|
+
*/
|
605
|
+
CoglBool
|
606
|
+
cogl_texture_allocate (CoglTexture *texture,
|
607
|
+
CoglError **error);
|
608
|
+
|
609
|
+
COGL_END_DECLS
|
610
|
+
|
611
|
+
#endif /* __COGL_TEXTURE_H__ */
|