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,98 @@
|
|
1
|
+
/*
|
2
|
+
* Cogl
|
3
|
+
*
|
4
|
+
* An object oriented GL/GLES Abstraction/Utility Layer
|
5
|
+
*
|
6
|
+
* Copyright (C) 2012 Intel Corporation.
|
7
|
+
*
|
8
|
+
* This library is free software; you can redistribute it and/or
|
9
|
+
* modify it under the terms of the GNU Lesser General Public
|
10
|
+
* License as published by the Free Software Foundation; either
|
11
|
+
* version 2 of the License, or (at your option) any later version.
|
12
|
+
*
|
13
|
+
* This library is distributed in the hope that it will be useful,
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
16
|
+
* Lesser General Public License for more details.
|
17
|
+
*
|
18
|
+
* You should have received a copy of the GNU Lesser General Public
|
19
|
+
* License along with this library. If not, see
|
20
|
+
* <http://www.gnu.org/licenses/>.
|
21
|
+
*
|
22
|
+
*
|
23
|
+
*/
|
24
|
+
|
25
|
+
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
|
26
|
+
#error "Only <cogl/cogl.h> can be included directly."
|
27
|
+
#endif
|
28
|
+
|
29
|
+
#ifndef __COGL_PRIMITIVE_TEXTURE_H__
|
30
|
+
#define __COGL_PRIMITIVE_TEXTURE_H__
|
31
|
+
|
32
|
+
#include "cogl-types.h"
|
33
|
+
|
34
|
+
COGL_BEGIN_DECLS
|
35
|
+
|
36
|
+
/**
|
37
|
+
* SECTION:cogl-primitive-texture
|
38
|
+
* @short_description: Interface for low-level textures like
|
39
|
+
* #CoglTexture2D and #CoglTexture3D.
|
40
|
+
*
|
41
|
+
* A #CoglPrimitiveTexture is a texture that is directly represented
|
42
|
+
* by a single texture on the GPU. For example these could be a
|
43
|
+
* #CoglTexture2D, #CoglTexture3D or #CoglTextureRectangle. This is
|
44
|
+
* opposed to high level meta textures which may be composed of
|
45
|
+
* multiple primitive textures or a sub-region of another texture such
|
46
|
+
* as #CoglAtlasTexture and #CoglTexture2DSliced.
|
47
|
+
*
|
48
|
+
* A texture that implements this interface can be directly used with
|
49
|
+
* the attributes API such as cogl_framebuffer_draw_attributes().
|
50
|
+
* Other types of textures need to be first resolved to primitive
|
51
|
+
* textures using the #CoglMetaTexture interface.
|
52
|
+
*
|
53
|
+
* <note>Most developers won't need to use this interface directly but
|
54
|
+
* still it is worth understanding the distinction between high-level
|
55
|
+
* and primitive textures because you may find other references in the
|
56
|
+
* documentation that detail limitations of using
|
57
|
+
* primitive textures.</note>
|
58
|
+
*/
|
59
|
+
|
60
|
+
typedef struct _CoglPrimitiveTexture CoglPrimitiveTexture;
|
61
|
+
#define COGL_PRIMITIVE_TEXTURE(X) ((CoglPrimitiveTexture *)X)
|
62
|
+
|
63
|
+
/**
|
64
|
+
* cogl_is_primitive_texture:
|
65
|
+
* @object: A #CoglObject pointer
|
66
|
+
*
|
67
|
+
* Gets whether the given object references a primitive texture object.
|
68
|
+
*
|
69
|
+
* Return value: %TRUE if the pointer references a primitive texture, and
|
70
|
+
* %FALSE otherwise
|
71
|
+
* Since: 2.0
|
72
|
+
* Stability: unstable
|
73
|
+
*/
|
74
|
+
CoglBool
|
75
|
+
cogl_is_primitive_texture (void *object);
|
76
|
+
|
77
|
+
/**
|
78
|
+
* cogl_primitive_texture_set_auto_mipmap:
|
79
|
+
* @primitive_texture: A #CoglPrimitiveTexture
|
80
|
+
* @value: The new value for whether to auto mipmap
|
81
|
+
*
|
82
|
+
* Sets whether the texture will automatically update the smaller
|
83
|
+
* mipmap levels after any part of level 0 is updated. The update will
|
84
|
+
* only occur whenever the texture is used for drawing with a texture
|
85
|
+
* filter that requires the lower mipmap levels. An application should
|
86
|
+
* disable this if it wants to upload its own data for the other
|
87
|
+
* levels. By default auto mipmapping is enabled.
|
88
|
+
*
|
89
|
+
* Since: 2.0
|
90
|
+
* Stability: unstable
|
91
|
+
*/
|
92
|
+
void
|
93
|
+
cogl_primitive_texture_set_auto_mipmap (CoglPrimitiveTexture *primitive_texture,
|
94
|
+
CoglBool value);
|
95
|
+
|
96
|
+
COGL_END_DECLS
|
97
|
+
|
98
|
+
#endif /* __COGL_PRIMITIVE_TEXTURE_H__ */
|
@@ -0,0 +1,866 @@
|
|
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 License
|
19
|
+
* along with this library. If not, see <http://www.gnu.org/licenses/>.
|
20
|
+
*
|
21
|
+
*
|
22
|
+
*
|
23
|
+
* Authors:
|
24
|
+
* Robert Bragg <robert@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_PRIMITIVE_H__
|
32
|
+
#define __COGL_PRIMITIVE_H__
|
33
|
+
|
34
|
+
/* We forward declare the CoglPrimitive type here to avoid some circular
|
35
|
+
* dependency issues with the following headers.
|
36
|
+
*/
|
37
|
+
typedef struct _CoglPrimitive CoglPrimitive;
|
38
|
+
|
39
|
+
#include <cogl/cogl-vertex-buffer.h> /* for CoglVerticesMode */
|
40
|
+
#include <cogl/cogl-attribute.h>
|
41
|
+
|
42
|
+
COGL_BEGIN_DECLS
|
43
|
+
|
44
|
+
/**
|
45
|
+
* SECTION:cogl-primitive
|
46
|
+
* @short_description: Functions for creating, manipulating and drawing
|
47
|
+
* primitives
|
48
|
+
*
|
49
|
+
* FIXME
|
50
|
+
*/
|
51
|
+
|
52
|
+
/**
|
53
|
+
* CoglVertexP2:
|
54
|
+
* @x: The x component of a position attribute
|
55
|
+
* @y: The y component of a position attribute
|
56
|
+
*
|
57
|
+
* A convenience vertex definition that can be used with
|
58
|
+
* cogl_primitive_new_p2().
|
59
|
+
*
|
60
|
+
* Since: 1.6
|
61
|
+
* Stability: Unstable
|
62
|
+
*/
|
63
|
+
typedef struct {
|
64
|
+
float x, y;
|
65
|
+
} CoglVertexP2;
|
66
|
+
|
67
|
+
/**
|
68
|
+
* CoglVertexP3:
|
69
|
+
* @x: The x component of a position attribute
|
70
|
+
* @y: The y component of a position attribute
|
71
|
+
* @z: The z component of a position attribute
|
72
|
+
*
|
73
|
+
* A convenience vertex definition that can be used with
|
74
|
+
* cogl_primitive_new_p3().
|
75
|
+
*
|
76
|
+
* Since: 1.6
|
77
|
+
* Stability: Unstable
|
78
|
+
*/
|
79
|
+
typedef struct {
|
80
|
+
float x, y, z;
|
81
|
+
} CoglVertexP3;
|
82
|
+
|
83
|
+
/**
|
84
|
+
* CoglVertexP2C4:
|
85
|
+
* @x: The x component of a position attribute
|
86
|
+
* @y: The y component of a position attribute
|
87
|
+
* @r: The red component of a color attribute
|
88
|
+
* @b: The green component of a color attribute
|
89
|
+
* @g: The blue component of a color attribute
|
90
|
+
* @a: The alpha component of a color attribute
|
91
|
+
*
|
92
|
+
* A convenience vertex definition that can be used with
|
93
|
+
* cogl_primitive_new_p2c4().
|
94
|
+
*
|
95
|
+
* Since: 1.6
|
96
|
+
* Stability: Unstable
|
97
|
+
*/
|
98
|
+
typedef struct {
|
99
|
+
float x, y;
|
100
|
+
uint8_t r, g, b, a;
|
101
|
+
} CoglVertexP2C4;
|
102
|
+
|
103
|
+
/**
|
104
|
+
* CoglVertexP3C4:
|
105
|
+
* @x: The x component of a position attribute
|
106
|
+
* @y: The y component of a position attribute
|
107
|
+
* @z: The z component of a position attribute
|
108
|
+
* @r: The red component of a color attribute
|
109
|
+
* @b: The green component of a color attribute
|
110
|
+
* @g: The blue component of a color attribute
|
111
|
+
* @a: The alpha component of a color attribute
|
112
|
+
*
|
113
|
+
* A convenience vertex definition that can be used with
|
114
|
+
* cogl_primitive_new_p3c4().
|
115
|
+
*
|
116
|
+
* Since: 1.6
|
117
|
+
* Stability: Unstable
|
118
|
+
*/
|
119
|
+
typedef struct {
|
120
|
+
float x, y, z;
|
121
|
+
uint8_t r, g, b, a;
|
122
|
+
} CoglVertexP3C4;
|
123
|
+
|
124
|
+
/**
|
125
|
+
* CoglVertexP2T2:
|
126
|
+
* @x: The x component of a position attribute
|
127
|
+
* @y: The y component of a position attribute
|
128
|
+
* @s: The s component of a texture coordinate attribute
|
129
|
+
* @t: The t component of a texture coordinate attribute
|
130
|
+
*
|
131
|
+
* A convenience vertex definition that can be used with
|
132
|
+
* cogl_primitive_new_p2t2().
|
133
|
+
*
|
134
|
+
* Since: 1.6
|
135
|
+
* Stability: Unstable
|
136
|
+
*/
|
137
|
+
typedef struct {
|
138
|
+
float x, y;
|
139
|
+
float s, t;
|
140
|
+
} CoglVertexP2T2;
|
141
|
+
|
142
|
+
/**
|
143
|
+
* CoglVertexP3T2:
|
144
|
+
* @x: The x component of a position attribute
|
145
|
+
* @y: The y component of a position attribute
|
146
|
+
* @z: The z component of a position attribute
|
147
|
+
* @s: The s component of a texture coordinate attribute
|
148
|
+
* @t: The t component of a texture coordinate attribute
|
149
|
+
*
|
150
|
+
* A convenience vertex definition that can be used with
|
151
|
+
* cogl_primitive_new_p3t2().
|
152
|
+
*
|
153
|
+
* Since: 1.6
|
154
|
+
* Stability: Unstable
|
155
|
+
*/
|
156
|
+
typedef struct {
|
157
|
+
float x, y, z;
|
158
|
+
float s, t;
|
159
|
+
} CoglVertexP3T2;
|
160
|
+
|
161
|
+
|
162
|
+
/**
|
163
|
+
* CoglVertexP2T2C4:
|
164
|
+
* @x: The x component of a position attribute
|
165
|
+
* @y: The y component of a position attribute
|
166
|
+
* @s: The s component of a texture coordinate attribute
|
167
|
+
* @t: The t component of a texture coordinate attribute
|
168
|
+
* @r: The red component of a color attribute
|
169
|
+
* @b: The green component of a color attribute
|
170
|
+
* @g: The blue component of a color attribute
|
171
|
+
* @a: The alpha component of a color attribute
|
172
|
+
*
|
173
|
+
* A convenience vertex definition that can be used with
|
174
|
+
* cogl_primitive_new_p3t2c4().
|
175
|
+
*
|
176
|
+
* Since: 1.6
|
177
|
+
* Stability: Unstable
|
178
|
+
*/
|
179
|
+
typedef struct {
|
180
|
+
float x, y;
|
181
|
+
float s, t;
|
182
|
+
uint8_t r, g, b, a;
|
183
|
+
} CoglVertexP2T2C4;
|
184
|
+
|
185
|
+
/**
|
186
|
+
* CoglVertexP3T2C4:
|
187
|
+
* @x: The x component of a position attribute
|
188
|
+
* @y: The y component of a position attribute
|
189
|
+
* @z: The z component of a position attribute
|
190
|
+
* @s: The s component of a texture coordinate attribute
|
191
|
+
* @t: The t component of a texture coordinate attribute
|
192
|
+
* @r: The red component of a color attribute
|
193
|
+
* @b: The green component of a color attribute
|
194
|
+
* @g: The blue component of a color attribute
|
195
|
+
* @a: The alpha component of a color attribute
|
196
|
+
*
|
197
|
+
* A convenience vertex definition that can be used with
|
198
|
+
* cogl_primitive_new_p3t2c4().
|
199
|
+
*
|
200
|
+
* Since: 1.6
|
201
|
+
* Stability: Unstable
|
202
|
+
*/
|
203
|
+
typedef struct {
|
204
|
+
float x, y, z;
|
205
|
+
float s, t;
|
206
|
+
uint8_t r, g, b, a;
|
207
|
+
} CoglVertexP3T2C4;
|
208
|
+
|
209
|
+
/**
|
210
|
+
* cogl_primitive_new:
|
211
|
+
* @mode: A #CoglVerticesMode defining how to draw the vertices
|
212
|
+
* @n_vertices: The number of vertices to process when drawing
|
213
|
+
* @...: A %NULL terminated list of attributes
|
214
|
+
*
|
215
|
+
* Combines a set of #CoglAttribute<!-- -->s with a specific draw @mode
|
216
|
+
* and defines a vertex count so a #CoglPrimitive object can be retained and
|
217
|
+
* drawn later with no addition information required.
|
218
|
+
*
|
219
|
+
* The value passed as @n_vertices will simply update the
|
220
|
+
* #CoglPrimitive <structfield>n_vertices</structfield> property as if
|
221
|
+
* cogl_primitive_set_n_vertices() were called. This property defines
|
222
|
+
* the number of vertices to read when drawing.
|
223
|
+
*
|
224
|
+
* Returns: A newly allocated #CoglPrimitive object
|
225
|
+
*
|
226
|
+
* Since: 1.6
|
227
|
+
* Stability: Unstable
|
228
|
+
*/
|
229
|
+
CoglPrimitive *
|
230
|
+
cogl_primitive_new (CoglVerticesMode mode,
|
231
|
+
int n_vertices,
|
232
|
+
...);
|
233
|
+
|
234
|
+
CoglPrimitive *
|
235
|
+
cogl_primitive_new_with_attributes (CoglVerticesMode mode,
|
236
|
+
int n_vertices,
|
237
|
+
CoglAttribute **attributes,
|
238
|
+
int n_attributes);
|
239
|
+
|
240
|
+
/**
|
241
|
+
* cogl_primitive_new_p2:
|
242
|
+
* @context: A #CoglContext
|
243
|
+
* @mode: A #CoglVerticesMode defining how to draw the vertices
|
244
|
+
* @n_vertices: The number of vertices to read from @data and also
|
245
|
+
* the number of vertices to read when later drawing.
|
246
|
+
* @data: An array of #CoglVertexP2 vertices
|
247
|
+
*
|
248
|
+
* Provides a convenient way to describe a primitive, such as a single
|
249
|
+
* triangle strip or a triangle fan, that will internally allocate the
|
250
|
+
* necessary #CoglAttributeBuffer storage, describe the position
|
251
|
+
* attribute with a #CoglAttribute and upload your data.
|
252
|
+
*
|
253
|
+
* For example to draw a convex polygon you can do:
|
254
|
+
* |[
|
255
|
+
* CoglVertexP2 triangle[] =
|
256
|
+
* {
|
257
|
+
* { 0, 300 },
|
258
|
+
* { 150, 0, },
|
259
|
+
* { 300, 300 }
|
260
|
+
* };
|
261
|
+
* prim = cogl_primitive_new_p2 (COGL_VERTICES_MODE_TRIANGLE_FAN,
|
262
|
+
* 3, triangle);
|
263
|
+
* cogl_primitive_draw (prim);
|
264
|
+
* ]|
|
265
|
+
*
|
266
|
+
* The value passed as @n_vertices is initially used to determine how
|
267
|
+
* much can be read from @data but it will also be used to update the
|
268
|
+
* #CoglPrimitive <structfield>n_vertices</structfield> property as if
|
269
|
+
* cogl_primitive_set_n_vertices() were called. This property defines
|
270
|
+
* the number of vertices to read when drawing.
|
271
|
+
|
272
|
+
* <note>The primitive API doesn't support drawing with sliced
|
273
|
+
* textures (since switching between slices implies changing state and
|
274
|
+
* so that implies multiple primitives need to be submitted). You
|
275
|
+
* should pass the %COGL_TEXTURE_NO_SLICING flag to all textures that
|
276
|
+
* might be used while drawing with this API. If your hardware doesn't
|
277
|
+
* support non-power of two textures (For example you are using GLES
|
278
|
+
* 1.1) then you will need to make sure your assets are resized to a
|
279
|
+
* power-of-two size (though they don't have to be square)</note>
|
280
|
+
*
|
281
|
+
* Return value: A newly allocated #CoglPrimitive with a reference of
|
282
|
+
* 1. This can be freed using cogl_object_unref().
|
283
|
+
*
|
284
|
+
* Since: 1.6
|
285
|
+
* Stability: Unstable
|
286
|
+
*/
|
287
|
+
CoglPrimitive *
|
288
|
+
cogl_primitive_new_p2 (CoglContext *context,
|
289
|
+
CoglVerticesMode mode,
|
290
|
+
int n_vertices,
|
291
|
+
const CoglVertexP2 *data);
|
292
|
+
|
293
|
+
/**
|
294
|
+
* cogl_primitive_new_p3:
|
295
|
+
* @context: A #CoglContext
|
296
|
+
* @mode: A #CoglVerticesMode defining how to draw the vertices
|
297
|
+
* @n_vertices: The number of vertices to read from @data and also
|
298
|
+
* the number of vertices to read when later drawing.
|
299
|
+
* @data: An array of #CoglVertexP3 vertices
|
300
|
+
*
|
301
|
+
* Provides a convenient way to describe a primitive, such as a single
|
302
|
+
* triangle strip or a triangle fan, that will internally allocate the
|
303
|
+
* necessary #CoglAttributeBuffer storage, describe the position
|
304
|
+
* attribute with a #CoglAttribute and upload your data.
|
305
|
+
*
|
306
|
+
* For example to draw a convex polygon you can do:
|
307
|
+
* |[
|
308
|
+
* CoglVertexP3 triangle[] =
|
309
|
+
* {
|
310
|
+
* { 0, 300, 0 },
|
311
|
+
* { 150, 0, 0 },
|
312
|
+
* { 300, 300, 0 }
|
313
|
+
* };
|
314
|
+
* prim = cogl_primitive_new_p3 (COGL_VERTICES_MODE_TRIANGLE_FAN,
|
315
|
+
* 3, triangle);
|
316
|
+
* cogl_primitive_draw (prim);
|
317
|
+
* ]|
|
318
|
+
*
|
319
|
+
* The value passed as @n_vertices is initially used to determine how
|
320
|
+
* much can be read from @data but it will also be used to update the
|
321
|
+
* #CoglPrimitive <structfield>n_vertices</structfield> property as if
|
322
|
+
* cogl_primitive_set_n_vertices() were called. This property defines
|
323
|
+
* the number of vertices to read when drawing.
|
324
|
+
|
325
|
+
* <note>The primitive API doesn't support drawing with sliced
|
326
|
+
* textures (since switching between slices implies changing state and
|
327
|
+
* so that implies multiple primitives need to be submitted). You
|
328
|
+
* should pass the %COGL_TEXTURE_NO_SLICING flag to all textures that
|
329
|
+
* might be used while drawing with this API. If your hardware doesn't
|
330
|
+
* support non-power of two textures (For example you are using GLES
|
331
|
+
* 1.1) then you will need to make sure your assets are resized to a
|
332
|
+
* power-of-two size (though they don't have to be square)</note>
|
333
|
+
*
|
334
|
+
* Return value: A newly allocated #CoglPrimitive with a reference of
|
335
|
+
* 1. This can be freed using cogl_object_unref().
|
336
|
+
*
|
337
|
+
* Since: 1.6
|
338
|
+
* Stability: Unstable
|
339
|
+
*/
|
340
|
+
CoglPrimitive *
|
341
|
+
cogl_primitive_new_p3 (CoglContext *context,
|
342
|
+
CoglVerticesMode mode,
|
343
|
+
int n_vertices,
|
344
|
+
const CoglVertexP3 *data);
|
345
|
+
|
346
|
+
/**
|
347
|
+
* cogl_primitive_new_p2c4:
|
348
|
+
* @context: A #CoglContext
|
349
|
+
* @mode: A #CoglVerticesMode defining how to draw the vertices
|
350
|
+
* @n_vertices: The number of vertices to read from @data and also
|
351
|
+
* the number of vertices to read when later drawing.
|
352
|
+
* @data: An array of #CoglVertexP2C4 vertices
|
353
|
+
*
|
354
|
+
* Provides a convenient way to describe a primitive, such as a single
|
355
|
+
* triangle strip or a triangle fan, that will internally allocate the
|
356
|
+
* necessary #CoglAttributeBuffer storage, describe the position
|
357
|
+
* and color attributes with #CoglAttribute<!-- -->s and upload
|
358
|
+
* your data.
|
359
|
+
*
|
360
|
+
* For example to draw a convex polygon with a linear gradient you
|
361
|
+
* can do:
|
362
|
+
* |[
|
363
|
+
* CoglVertexP2C4 triangle[] =
|
364
|
+
* {
|
365
|
+
* { 0, 300, 0xff, 0x00, 0x00, 0xff },
|
366
|
+
* { 150, 0, 0x00, 0xff, 0x00, 0xff },
|
367
|
+
* { 300, 300, 0xff, 0x00, 0x00, 0xff }
|
368
|
+
* };
|
369
|
+
* prim = cogl_primitive_new_p2c4 (COGL_VERTICES_MODE_TRIANGLE_FAN,
|
370
|
+
* 3, triangle);
|
371
|
+
* cogl_primitive_draw (prim);
|
372
|
+
* ]|
|
373
|
+
*
|
374
|
+
* The value passed as @n_vertices is initially used to determine how
|
375
|
+
* much can be read from @data but it will also be used to update the
|
376
|
+
* #CoglPrimitive <structfield>n_vertices</structfield> property as if
|
377
|
+
* cogl_primitive_set_n_vertices() were called. This property defines
|
378
|
+
* the number of vertices to read when drawing.
|
379
|
+
|
380
|
+
* <note>The primitive API doesn't support drawing with sliced
|
381
|
+
* textures (since switching between slices implies changing state and
|
382
|
+
* so that implies multiple primitives need to be submitted). You
|
383
|
+
* should pass the %COGL_TEXTURE_NO_SLICING flag to all textures that
|
384
|
+
* might be used while drawing with this API. If your hardware doesn't
|
385
|
+
* support non-power of two textures (For example you are using GLES
|
386
|
+
* 1.1) then you will need to make sure your assets are resized to a
|
387
|
+
* power-of-two size (though they don't have to be square)</note>
|
388
|
+
*
|
389
|
+
* Return value: A newly allocated #CoglPrimitive with a reference of
|
390
|
+
* 1. This can be freed using cogl_object_unref().
|
391
|
+
*
|
392
|
+
* Since: 1.6
|
393
|
+
* Stability: Unstable
|
394
|
+
*/
|
395
|
+
CoglPrimitive *
|
396
|
+
cogl_primitive_new_p2c4 (CoglContext *context,
|
397
|
+
CoglVerticesMode mode,
|
398
|
+
int n_vertices,
|
399
|
+
const CoglVertexP2C4 *data);
|
400
|
+
|
401
|
+
/**
|
402
|
+
* cogl_primitive_new_p3c4:
|
403
|
+
* @context: A #CoglContext
|
404
|
+
* @mode: A #CoglVerticesMode defining how to draw the vertices
|
405
|
+
* @n_vertices: The number of vertices to read from @data and also
|
406
|
+
* the number of vertices to read when later drawing.
|
407
|
+
* @data: An array of #CoglVertexP3C4 vertices
|
408
|
+
*
|
409
|
+
* Provides a convenient way to describe a primitive, such as a single
|
410
|
+
* triangle strip or a triangle fan, that will internally allocate the
|
411
|
+
* necessary #CoglAttributeBuffer storage, describe the position
|
412
|
+
* and color attributes with #CoglAttribute<!-- -->s and upload
|
413
|
+
* your data.
|
414
|
+
*
|
415
|
+
* For example to draw a convex polygon with a linear gradient you
|
416
|
+
* can do:
|
417
|
+
* |[
|
418
|
+
* CoglVertexP3C4 triangle[] =
|
419
|
+
* {
|
420
|
+
* { 0, 300, 0, 0xff, 0x00, 0x00, 0xff },
|
421
|
+
* { 150, 0, 0, 0x00, 0xff, 0x00, 0xff },
|
422
|
+
* { 300, 300, 0, 0xff, 0x00, 0x00, 0xff }
|
423
|
+
* };
|
424
|
+
* prim = cogl_primitive_new_p3c4 (COGL_VERTICES_MODE_TRIANGLE_FAN,
|
425
|
+
* 3, triangle);
|
426
|
+
* cogl_primitive_draw (prim);
|
427
|
+
* ]|
|
428
|
+
*
|
429
|
+
* The value passed as @n_vertices is initially used to determine how
|
430
|
+
* much can be read from @data but it will also be used to update the
|
431
|
+
* #CoglPrimitive <structfield>n_vertices</structfield> property as if
|
432
|
+
* cogl_primitive_set_n_vertices() were called. This property defines
|
433
|
+
* the number of vertices to read when drawing.
|
434
|
+
|
435
|
+
* <note>The primitive API doesn't support drawing with sliced
|
436
|
+
* textures (since switching between slices implies changing state and
|
437
|
+
* so that implies multiple primitives need to be submitted). You
|
438
|
+
* should pass the %COGL_TEXTURE_NO_SLICING flag to all textures that
|
439
|
+
* might be used while drawing with this API. If your hardware doesn't
|
440
|
+
* support non-power of two textures (For example you are using GLES
|
441
|
+
* 1.1) then you will need to make sure your assets are resized to a
|
442
|
+
* power-of-two size (though they don't have to be square)</note>
|
443
|
+
*
|
444
|
+
* Return value: A newly allocated #CoglPrimitive with a reference of
|
445
|
+
* 1. This can be freed using cogl_object_unref().
|
446
|
+
*
|
447
|
+
* Since: 1.6
|
448
|
+
* Stability: Unstable
|
449
|
+
*/
|
450
|
+
CoglPrimitive *
|
451
|
+
cogl_primitive_new_p3c4 (CoglContext *context,
|
452
|
+
CoglVerticesMode mode,
|
453
|
+
int n_vertices,
|
454
|
+
const CoglVertexP3C4 *data);
|
455
|
+
|
456
|
+
/**
|
457
|
+
* cogl_primitive_new_p2t2:
|
458
|
+
* @context: A #CoglContext
|
459
|
+
* @mode: A #CoglVerticesMode defining how to draw the vertices
|
460
|
+
* @n_vertices: The number of vertices to read from @data and also
|
461
|
+
* the number of vertices to read when later drawing.
|
462
|
+
* @data: An array of #CoglVertexP2T2 vertices
|
463
|
+
*
|
464
|
+
* Provides a convenient way to describe a primitive, such as a single
|
465
|
+
* triangle strip or a triangle fan, that will internally allocate the
|
466
|
+
* necessary #CoglAttributeBuffer storage, describe the position and
|
467
|
+
* texture coordinate attributes with #CoglAttribute<!-- -->s and
|
468
|
+
* upload your data.
|
469
|
+
*
|
470
|
+
* For example to draw a convex polygon with texture mapping you can
|
471
|
+
* do:
|
472
|
+
* |[
|
473
|
+
* CoglVertexP2T2 triangle[] =
|
474
|
+
* {
|
475
|
+
* { 0, 300, 0.0, 1.0},
|
476
|
+
* { 150, 0, 0.5, 0.0},
|
477
|
+
* { 300, 300, 1.0, 1.0}
|
478
|
+
* };
|
479
|
+
* prim = cogl_primitive_new_p2t2 (COGL_VERTICES_MODE_TRIANGLE_FAN,
|
480
|
+
* 3, triangle);
|
481
|
+
* cogl_primitive_draw (prim);
|
482
|
+
* ]|
|
483
|
+
*
|
484
|
+
* The value passed as @n_vertices is initially used to determine how
|
485
|
+
* much can be read from @data but it will also be used to update the
|
486
|
+
* #CoglPrimitive <structfield>n_vertices</structfield> property as if
|
487
|
+
* cogl_primitive_set_n_vertices() were called. This property defines
|
488
|
+
* the number of vertices to read when drawing.
|
489
|
+
|
490
|
+
* <note>The primitive API doesn't support drawing with sliced
|
491
|
+
* textures (since switching between slices implies changing state and
|
492
|
+
* so that implies multiple primitives need to be submitted). You
|
493
|
+
* should pass the %COGL_TEXTURE_NO_SLICING flag to all textures that
|
494
|
+
* might be used while drawing with this API. If your hardware doesn't
|
495
|
+
* support non-power of two textures (For example you are using GLES
|
496
|
+
* 1.1) then you will need to make sure your assets are resized to a
|
497
|
+
* power-of-two size (though they don't have to be square)</note>
|
498
|
+
*
|
499
|
+
* Return value: A newly allocated #CoglPrimitive with a reference of
|
500
|
+
* 1. This can be freed using cogl_object_unref().
|
501
|
+
*
|
502
|
+
* Since: 1.6
|
503
|
+
* Stability: Unstable
|
504
|
+
*/
|
505
|
+
CoglPrimitive *
|
506
|
+
cogl_primitive_new_p2t2 (CoglContext *context,
|
507
|
+
CoglVerticesMode mode,
|
508
|
+
int n_vertices,
|
509
|
+
const CoglVertexP2T2 *data);
|
510
|
+
|
511
|
+
/**
|
512
|
+
* cogl_primitive_new_p3t2:
|
513
|
+
* @context: A #CoglContext
|
514
|
+
* @mode: A #CoglVerticesMode defining how to draw the vertices
|
515
|
+
* @n_vertices: The number of vertices to read from @data and also
|
516
|
+
* the number of vertices to read when later drawing.
|
517
|
+
* @data: An array of #CoglVertexP3T2 vertices
|
518
|
+
*
|
519
|
+
* Provides a convenient way to describe a primitive, such as a single
|
520
|
+
* triangle strip or a triangle fan, that will internally allocate the
|
521
|
+
* necessary #CoglAttributeBuffer storage, describe the position and
|
522
|
+
* texture coordinate attributes with #CoglAttribute<!-- -->s and
|
523
|
+
* upload your data.
|
524
|
+
*
|
525
|
+
* For example to draw a convex polygon with texture mapping you can
|
526
|
+
* do:
|
527
|
+
* |[
|
528
|
+
* CoglVertexP3T2 triangle[] =
|
529
|
+
* {
|
530
|
+
* { 0, 300, 0, 0.0, 1.0},
|
531
|
+
* { 150, 0, 0, 0.5, 0.0},
|
532
|
+
* { 300, 300, 0, 1.0, 1.0}
|
533
|
+
* };
|
534
|
+
* prim = cogl_primitive_new_p3t2 (COGL_VERTICES_MODE_TRIANGLE_FAN,
|
535
|
+
* 3, triangle);
|
536
|
+
* cogl_primitive_draw (prim);
|
537
|
+
* ]|
|
538
|
+
*
|
539
|
+
* The value passed as @n_vertices is initially used to determine how
|
540
|
+
* much can be read from @data but it will also be used to update the
|
541
|
+
* #CoglPrimitive <structfield>n_vertices</structfield> property as if
|
542
|
+
* cogl_primitive_set_n_vertices() were called. This property defines
|
543
|
+
* the number of vertices to read when drawing.
|
544
|
+
|
545
|
+
* <note>The primitive API doesn't support drawing with sliced
|
546
|
+
* textures (since switching between slices implies changing state and
|
547
|
+
* so that implies multiple primitives need to be submitted). You
|
548
|
+
* should pass the %COGL_TEXTURE_NO_SLICING flag to all textures that
|
549
|
+
* might be used while drawing with this API. If your hardware doesn't
|
550
|
+
* support non-power of two textures (For example you are using GLES
|
551
|
+
* 1.1) then you will need to make sure your assets are resized to a
|
552
|
+
* power-of-two size (though they don't have to be square)</note>
|
553
|
+
*
|
554
|
+
* Return value: A newly allocated #CoglPrimitive with a reference of
|
555
|
+
* 1. This can be freed using cogl_object_unref().
|
556
|
+
*
|
557
|
+
* Since: 1.6
|
558
|
+
* Stability: Unstable
|
559
|
+
*/
|
560
|
+
CoglPrimitive *
|
561
|
+
cogl_primitive_new_p3t2 (CoglContext *context,
|
562
|
+
CoglVerticesMode mode,
|
563
|
+
int n_vertices,
|
564
|
+
const CoglVertexP3T2 *data);
|
565
|
+
|
566
|
+
/**
|
567
|
+
* cogl_primitive_new_p2t2c4:
|
568
|
+
* @context: A #CoglContext
|
569
|
+
* @mode: A #CoglVerticesMode defining how to draw the vertices
|
570
|
+
* @n_vertices: The number of vertices to read from @data and also
|
571
|
+
* the number of vertices to read when later drawing.
|
572
|
+
* @data: An array of #CoglVertexP2T2C4 vertices
|
573
|
+
*
|
574
|
+
* Provides a convenient way to describe a primitive, such as a single
|
575
|
+
* triangle strip or a triangle fan, that will internally allocate the
|
576
|
+
* necessary #CoglAttributeBuffer storage, describe the position, texture
|
577
|
+
* coordinate and color attributes with #CoglAttribute<!-- -->s and
|
578
|
+
* upload your data.
|
579
|
+
*
|
580
|
+
* For example to draw a convex polygon with texture mapping and a
|
581
|
+
* linear gradient you can do:
|
582
|
+
* |[
|
583
|
+
* CoglVertexP2T2C4 triangle[] =
|
584
|
+
* {
|
585
|
+
* { 0, 300, 0.0, 1.0, 0xff, 0x00, 0x00, 0xff},
|
586
|
+
* { 150, 0, 0.5, 0.0, 0x00, 0xff, 0x00, 0xff},
|
587
|
+
* { 300, 300, 1.0, 1.0, 0xff, 0x00, 0x00, 0xff}
|
588
|
+
* };
|
589
|
+
* prim = cogl_primitive_new_p2t2c4 (COGL_VERTICES_MODE_TRIANGLE_FAN,
|
590
|
+
* 3, triangle);
|
591
|
+
* cogl_primitive_draw (prim);
|
592
|
+
* ]|
|
593
|
+
*
|
594
|
+
* The value passed as @n_vertices is initially used to determine how
|
595
|
+
* much can be read from @data but it will also be used to update the
|
596
|
+
* #CoglPrimitive <structfield>n_vertices</structfield> property as if
|
597
|
+
* cogl_primitive_set_n_vertices() were called. This property defines
|
598
|
+
* the number of vertices to read when drawing.
|
599
|
+
|
600
|
+
* <note>The primitive API doesn't support drawing with sliced
|
601
|
+
* textures (since switching between slices implies changing state and
|
602
|
+
* so that implies multiple primitives need to be submitted). You
|
603
|
+
* should pass the %COGL_TEXTURE_NO_SLICING flag to all textures that
|
604
|
+
* might be used while drawing with this API. If your hardware doesn't
|
605
|
+
* support non-power of two textures (For example you are using GLES
|
606
|
+
* 1.1) then you will need to make sure your assets are resized to a
|
607
|
+
* power-of-two size (though they don't have to be square)</note>
|
608
|
+
*
|
609
|
+
* Return value: A newly allocated #CoglPrimitive with a reference of
|
610
|
+
* 1. This can be freed using cogl_object_unref().
|
611
|
+
*
|
612
|
+
* Since: 1.6
|
613
|
+
* Stability: Unstable
|
614
|
+
*/
|
615
|
+
CoglPrimitive *
|
616
|
+
cogl_primitive_new_p2t2c4 (CoglContext *context,
|
617
|
+
CoglVerticesMode mode,
|
618
|
+
int n_vertices,
|
619
|
+
const CoglVertexP2T2C4 *data);
|
620
|
+
|
621
|
+
/**
|
622
|
+
* cogl_primitive_new_p3t2c4:
|
623
|
+
* @context: A #CoglContext
|
624
|
+
* @mode: A #CoglVerticesMode defining how to draw the vertices
|
625
|
+
* @n_vertices: The number of vertices to read from @data and also
|
626
|
+
* the number of vertices to read when later drawing.
|
627
|
+
* @data: An array of #CoglVertexP3T2C4 vertices
|
628
|
+
*
|
629
|
+
* Provides a convenient way to describe a primitive, such as a single
|
630
|
+
* triangle strip or a triangle fan, that will internally allocate the
|
631
|
+
* necessary #CoglAttributeBuffer storage, describe the position, texture
|
632
|
+
* coordinate and color attributes with #CoglAttribute<!-- -->s and
|
633
|
+
* upload your data.
|
634
|
+
*
|
635
|
+
* For example to draw a convex polygon with texture mapping and a
|
636
|
+
* linear gradient you can do:
|
637
|
+
* |[
|
638
|
+
* CoglVertexP3T2C4 triangle[] =
|
639
|
+
* {
|
640
|
+
* { 0, 300, 0, 0.0, 1.0, 0xff, 0x00, 0x00, 0xff},
|
641
|
+
* { 150, 0, 0, 0.5, 0.0, 0x00, 0xff, 0x00, 0xff},
|
642
|
+
* { 300, 300, 0, 1.0, 1.0, 0xff, 0x00, 0x00, 0xff}
|
643
|
+
* };
|
644
|
+
* prim = cogl_primitive_new_p3t2c4 (COGL_VERTICES_MODE_TRIANGLE_FAN,
|
645
|
+
* 3, triangle);
|
646
|
+
* cogl_primitive_draw (prim);
|
647
|
+
* ]|
|
648
|
+
*
|
649
|
+
* The value passed as @n_vertices is initially used to determine how
|
650
|
+
* much can be read from @data but it will also be used to update the
|
651
|
+
* #CoglPrimitive <structfield>n_vertices</structfield> property as if
|
652
|
+
* cogl_primitive_set_n_vertices() were called. This property defines
|
653
|
+
* the number of vertices to read when drawing.
|
654
|
+
|
655
|
+
* <note>The primitive API doesn't support drawing with sliced
|
656
|
+
* textures (since switching between slices implies changing state and
|
657
|
+
* so that implies multiple primitives need to be submitted). You
|
658
|
+
* should pass the %COGL_TEXTURE_NO_SLICING flag to all textures that
|
659
|
+
* might be used while drawing with this API. If your hardware doesn't
|
660
|
+
* support non-power of two textures (For example you are using GLES
|
661
|
+
* 1.1) then you will need to make sure your assets are resized to a
|
662
|
+
* power-of-two size (though they don't have to be square)</note>
|
663
|
+
*
|
664
|
+
* Return value: A newly allocated #CoglPrimitive with a reference of
|
665
|
+
* 1. This can be freed using cogl_object_unref().
|
666
|
+
*
|
667
|
+
* Since: 1.6
|
668
|
+
* Stability: Unstable
|
669
|
+
*/
|
670
|
+
CoglPrimitive *
|
671
|
+
cogl_primitive_new_p3t2c4 (CoglContext *context,
|
672
|
+
CoglVerticesMode mode,
|
673
|
+
int n_vertices,
|
674
|
+
const CoglVertexP3T2C4 *data);
|
675
|
+
int
|
676
|
+
cogl_primitive_get_first_vertex (CoglPrimitive *primitive);
|
677
|
+
|
678
|
+
void
|
679
|
+
cogl_primitive_set_first_vertex (CoglPrimitive *primitive,
|
680
|
+
int first_vertex);
|
681
|
+
|
682
|
+
/**
|
683
|
+
* cogl_primitive_get_n_vertices:
|
684
|
+
* @primitive: A #CoglPrimitive object
|
685
|
+
*
|
686
|
+
* Queries the number of vertices to read when drawing the given
|
687
|
+
* @primitive. Usually this value is implicitly set when associating
|
688
|
+
* vertex data or indices with a #CoglPrimitive.
|
689
|
+
*
|
690
|
+
* If cogl_primitive_set_indices() has been used to associate a
|
691
|
+
* sequence of #CoglIndices with the given @primitive then the
|
692
|
+
* number of vertices to read can also be phrased as the number
|
693
|
+
* of indices to read.
|
694
|
+
*
|
695
|
+
* <note>To be clear; it doesn't refer to the number of vertices - in
|
696
|
+
* terms of data - associated with the primitive it's just the number
|
697
|
+
* of vertices to read and draw.</note>
|
698
|
+
*
|
699
|
+
* Returns: The number of vertices to read when drawing.
|
700
|
+
*
|
701
|
+
* Since: 1.8
|
702
|
+
* Stability: unstable
|
703
|
+
*/
|
704
|
+
int
|
705
|
+
cogl_primitive_get_n_vertices (CoglPrimitive *primitive);
|
706
|
+
|
707
|
+
/**
|
708
|
+
* cogl_primitive_set_n_vertices:
|
709
|
+
* @primitive: A #CoglPrimitive object
|
710
|
+
* @n_vertices: The number of vertices to read when drawing.
|
711
|
+
*
|
712
|
+
* Specifies how many vertices should be read when drawing the given
|
713
|
+
* @primitive.
|
714
|
+
*
|
715
|
+
* Usually this value is set implicitly when associating vertex data
|
716
|
+
* or indices with a #CoglPrimitive.
|
717
|
+
*
|
718
|
+
* <note>To be clear; it doesn't refer to the number of vertices - in
|
719
|
+
* terms of data - associated with the primitive it's just the number
|
720
|
+
* of vertices to read and draw.</note>
|
721
|
+
*
|
722
|
+
* Since: 1.8
|
723
|
+
* Stability: unstable
|
724
|
+
*/
|
725
|
+
void
|
726
|
+
cogl_primitive_set_n_vertices (CoglPrimitive *primitive,
|
727
|
+
int n_vertices);
|
728
|
+
|
729
|
+
CoglVerticesMode
|
730
|
+
cogl_primitive_get_mode (CoglPrimitive *primitive);
|
731
|
+
|
732
|
+
void
|
733
|
+
cogl_primitive_set_mode (CoglPrimitive *primitive,
|
734
|
+
CoglVerticesMode mode);
|
735
|
+
|
736
|
+
/**
|
737
|
+
* cogl_primitive_set_attributes:
|
738
|
+
* @primitive: A #CoglPrimitive object
|
739
|
+
* @attributes: an array of #CoglAttribute pointers
|
740
|
+
* @n_attributes: the number of elements in @attributes
|
741
|
+
*
|
742
|
+
* Replaces all the attributes of the given #CoglPrimitive object.
|
743
|
+
*
|
744
|
+
* Since: 1.6
|
745
|
+
* Stability: Unstable
|
746
|
+
*/
|
747
|
+
void
|
748
|
+
cogl_primitive_set_attributes (CoglPrimitive *primitive,
|
749
|
+
CoglAttribute **attributes,
|
750
|
+
int n_attributes);
|
751
|
+
|
752
|
+
/**
|
753
|
+
* cogl_primitive_set_indices:
|
754
|
+
* @primitive: A #CoglPrimitive
|
755
|
+
* @indices: A #CoglIndices array
|
756
|
+
* @n_indices: The number of indices to reference when drawing
|
757
|
+
*
|
758
|
+
* Associates a sequence of #CoglIndices with the given @primitive.
|
759
|
+
*
|
760
|
+
* #CoglIndices provide a way to virtualize your real vertex data by
|
761
|
+
* providing a sequence of indices that index into your real vertex
|
762
|
+
* data. The GPU will walk though the index values to indirectly
|
763
|
+
* lookup the data for each vertex instead of sequentially walking
|
764
|
+
* through the data directly. This lets you save memory by indexing
|
765
|
+
* shared data multiple times instead of duplicating the data.
|
766
|
+
*
|
767
|
+
* The value passed as @n_indices will simply update the
|
768
|
+
* #CoglPrimitive <structfield>n_vertices</structfield> property as if
|
769
|
+
* cogl_primitive_set_n_vertices() were called. This property defines
|
770
|
+
* the number of vertices to draw or, put another way, how many
|
771
|
+
* indices should be read from @indices when drawing.
|
772
|
+
*
|
773
|
+
* <note>The #CoglPrimitive <structfield>first_vertex</structfield> property
|
774
|
+
* also affects drawing with indices by defining the first entry of the
|
775
|
+
* indices to start drawing from.</note>
|
776
|
+
*
|
777
|
+
* Since: 1.10
|
778
|
+
* Stability: unstable
|
779
|
+
*/
|
780
|
+
void
|
781
|
+
cogl_primitive_set_indices (CoglPrimitive *primitive,
|
782
|
+
CoglIndices *indices,
|
783
|
+
int n_indices);
|
784
|
+
|
785
|
+
/**
|
786
|
+
* cogl_primitive_get_indices:
|
787
|
+
* @primitive: A #CoglPrimitive
|
788
|
+
*
|
789
|
+
* Return value: the indices that were set with
|
790
|
+
* cogl_primitive_set_indices() or %NULL if no indices were set.
|
791
|
+
*
|
792
|
+
* Since: 1.10
|
793
|
+
* Stability: unstable
|
794
|
+
*/
|
795
|
+
CoglIndices *
|
796
|
+
cogl_primitive_get_indices (CoglPrimitive *primitive);
|
797
|
+
|
798
|
+
/**
|
799
|
+
* cogl_primitive_copy:
|
800
|
+
* @primitive: A primitive copy
|
801
|
+
*
|
802
|
+
* Makes a copy of an existing #CoglPrimitive. Note that the primitive
|
803
|
+
* is a shallow copy which means it will use the same attributes and
|
804
|
+
* attribute buffers as the original primitive.
|
805
|
+
*
|
806
|
+
* Return value: the new primitive
|
807
|
+
* Since: 1.10
|
808
|
+
* Stability: unstable
|
809
|
+
*/
|
810
|
+
CoglPrimitive *
|
811
|
+
cogl_primitive_copy (CoglPrimitive *primitive);
|
812
|
+
|
813
|
+
/**
|
814
|
+
* cogl_is_primitive:
|
815
|
+
* @object: A #CoglObject
|
816
|
+
*
|
817
|
+
* Gets whether the given object references a #CoglPrimitive.
|
818
|
+
*
|
819
|
+
* Returns: %TRUE if the @object references a #CoglPrimitive,
|
820
|
+
* %FALSE otherwise
|
821
|
+
*
|
822
|
+
* Since: 1.6
|
823
|
+
* Stability: Unstable
|
824
|
+
*/
|
825
|
+
CoglBool
|
826
|
+
cogl_is_primitive (void *object);
|
827
|
+
|
828
|
+
/**
|
829
|
+
* CoglPrimitiveAttributeCallback:
|
830
|
+
* @primitive: The #CoglPrimitive whose attributes are being iterated
|
831
|
+
* @attribute: The #CoglAttribute
|
832
|
+
* @user_data: The private data passed to cogl_primitive_foreach_attribute()
|
833
|
+
*
|
834
|
+
* The callback prototype used with cogl_primitive_foreach_attribute()
|
835
|
+
* for iterating all the attributes of a #CoglPrimitive.
|
836
|
+
*
|
837
|
+
* The function should return TRUE to continue iteration or FALSE to
|
838
|
+
* stop.
|
839
|
+
*
|
840
|
+
* Since: 1.10
|
841
|
+
* Stability: Unstable
|
842
|
+
*/
|
843
|
+
typedef CoglBool (* CoglPrimitiveAttributeCallback) (CoglPrimitive *primitive,
|
844
|
+
CoglAttribute *attribute,
|
845
|
+
void *user_data);
|
846
|
+
|
847
|
+
/**
|
848
|
+
* cogl_primitive_foreach_attribute:
|
849
|
+
* @primitive: A #CoglPrimitive object
|
850
|
+
* @callback: A #CoglPrimitiveAttributeCallback to be called for each attribute
|
851
|
+
* @user_data: Private data that will be passed to the callback
|
852
|
+
*
|
853
|
+
* Iterates all the attributes of the given #CoglPrimitive.
|
854
|
+
*
|
855
|
+
* Since: 1.10
|
856
|
+
* Stability: Unstable
|
857
|
+
*/
|
858
|
+
void
|
859
|
+
cogl_primitive_foreach_attribute (CoglPrimitive *primitive,
|
860
|
+
CoglPrimitiveAttributeCallback callback,
|
861
|
+
void *user_data);
|
862
|
+
|
863
|
+
COGL_END_DECLS
|
864
|
+
|
865
|
+
#endif /* __COGL_PRIMITIVE_H__ */
|
866
|
+
|