clutter 2.2.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +147 -0
- data/lib/clutter.rb +169 -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/brightness-contrast-effect.rb +44 -0
- data/lib/clutter/cairo.rb +24 -0
- data/lib/clutter/clutter.rb +25 -0
- data/lib/clutter/color.rb +83 -0
- data/lib/clutter/event.rb +21 -0
- data/lib/clutter/point.rb +25 -0
- data/lib/clutter/text-buffer.rb +36 -0
- data/lib/clutter/text.rb +23 -0
- data/lib/clutter/threads.rb +38 -0
- data/sample/basic-actor.rb +123 -0
- data/sample/bin-layout.rb +213 -0
- data/sample/box-layout.rb +194 -0
- data/sample/canvas.rb +115 -0
- data/sample/constraints.rb +79 -0
- data/sample/drag-action.rb +175 -0
- data/sample/drop-action.rb +196 -0
- data/sample/easing-modes.rb +141 -0
- data/sample/flow-layout.rb +119 -0
- data/sample/grid-layout.rb +237 -0
- data/sample/image-content.rb +86 -0
- data/sample/pan-action.rb +98 -0
- data/sample/redhand.png +0 -0
- data/sample/rounded-rectangle.rb +88 -0
- data/sample/scroll-actor.rb +103 -0
- data/test/clutter-test-utils.rb +38 -0
- data/test/run-test.rb +59 -0
- data/test/test-clutter-actor.rb +242 -0
- data/test/test-clutter-blur-effect.rb +27 -0
- data/test/test-clutter-brightness-contrast-effect.rb +56 -0
- data/test/test-clutter-canvas.rb +43 -0
- data/test/test-clutter-color.rb +50 -0
- data/test/test-clutter-colorize-effect.rb +31 -0
- data/test/test-clutter-desaturate-effect.rb +30 -0
- data/test/test-clutter-feature.rb +34 -0
- data/test/test-clutter-flow-layout.rb +83 -0
- data/test/test-clutter-page-turn-effect.rb +46 -0
- data/test/test-clutter-property-transiton.rb +30 -0
- data/test/test-clutter-shader-effect.rb +65 -0
- data/test/test-clutter-text-buffer.rb +72 -0
- data/test/test-clutter-timeline.rb +59 -0
- data/vendor/local/bin/json-glib-format.exe +0 -0
- data/vendor/local/bin/json-glib-validate.exe +0 -0
- data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
- data/vendor/local/bin/libcogl-20.dll +0 -0
- data/vendor/local/bin/libcogl-pango-20.dll +0 -0
- data/vendor/local/bin/libcogl-path-20.dll +0 -0
- data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
- data/vendor/local/include/clutter-1.0/cally/cally-actor.h +160 -0
- data/vendor/local/include/clutter-1.0/cally/cally-clone.h +84 -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 +87 -0
- data/vendor/local/include/clutter-1.0/cally/cally-main.h +44 -0
- data/vendor/local/include/clutter-1.0/cally/cally-rectangle.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-root.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-stage.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-text.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-texture.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-util.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-action.h +111 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor-meta.h +119 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +836 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-align-constraint.h +77 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-animatable.h +121 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +83 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-bin-layout.h +86 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-bind-constraint.h +77 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-binding-pool.h +135 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-blur-effect.h +59 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-box-layout.h +168 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-brightness-contrast-effect.h +88 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-cairo.h +61 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +106 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-child-meta.h +122 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-click-action.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-clone.h +94 -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 +200 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-colorize-effect.h +67 -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 +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-container.h +196 -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 +117 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-deprecated.h +44 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-desaturate-effect.h +65 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +110 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-drag-action.h +152 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-drop-action.h +115 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-effect.h +130 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +190 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-enums.h +1385 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +588 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-feature.h +42 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-fixed-layout.h +82 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +129 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-gesture-action.h +179 -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 +96 -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 +140 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-interval.h +159 -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 +227 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-meta.h +103 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-list-model.h +91 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +327 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-main.h +184 -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 +422 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +122 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-page-turn-effect.h +80 -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 +72 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-path.h +181 -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 +220 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scriptable.h +112 -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 +27 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-effect.h +121 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-types.h +104 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-snap-constraint.h +81 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage-manager.h +86 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +250 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-swipe-action.h +109 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-tap-action.h +102 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-test-utils.h +164 -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 +307 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-texture.h +130 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-timeline.h +226 -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 +773 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-units.h +184 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +329 -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 +117 -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 +98 -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-table-layout.h +172 -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 +63 -0
- data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +298 -0
- data/vendor/local/include/cogl/cogl-path/cogl-path-enum-types.h +20 -0
- data/vendor/local/include/cogl/cogl-path/cogl-path-types.h +85 -0
- data/vendor/local/include/cogl/cogl-path/cogl-path.h +68 -0
- data/vendor/local/include/cogl/cogl-path/cogl1-path-functions.h +467 -0
- data/vendor/local/include/cogl/cogl-path/cogl2-path-functions.h +545 -0
- data/vendor/local/include/cogl/cogl/cogl-atlas-texture.h +258 -0
- data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +152 -0
- data/vendor/local/include/cogl/cogl/cogl-attribute.h +558 -0
- data/vendor/local/include/cogl/cogl/cogl-auto-texture.h +221 -0
- data/vendor/local/include/cogl/cogl/cogl-bitmap.h +336 -0
- data/vendor/local/include/cogl/cogl/cogl-buffer.h +324 -0
- data/vendor/local/include/cogl/cogl/cogl-clip-state.h +266 -0
- data/vendor/local/include/cogl/cogl/cogl-clutter.h +54 -0
- data/vendor/local/include/cogl/cogl/cogl-color.h +604 -0
- data/vendor/local/include/cogl/cogl/cogl-context.h +401 -0
- data/vendor/local/include/cogl/cogl/cogl-defines.h +58 -0
- data/vendor/local/include/cogl/cogl/cogl-deprecated.h +43 -0
- data/vendor/local/include/cogl/cogl/cogl-depth-state.h +270 -0
- data/vendor/local/include/cogl/cogl/cogl-display.h +234 -0
- data/vendor/local/include/cogl/cogl/cogl-enum-types.h +99 -0
- data/vendor/local/include/cogl/cogl/cogl-error.h +185 -0
- data/vendor/local/include/cogl/cogl/cogl-euler.h +269 -0
- data/vendor/local/include/cogl/cogl/cogl-fence.h +143 -0
- data/vendor/local/include/cogl/cogl/cogl-fixed.h +811 -0
- data/vendor/local/include/cogl/cogl/cogl-frame-info.h +148 -0
- data/vendor/local/include/cogl/cogl/cogl-framebuffer-deprecated.h +264 -0
- data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +1818 -0
- data/vendor/local/include/cogl/cogl/cogl-gles2-types.h +474 -0
- data/vendor/local/include/cogl/cogl/cogl-gles2.h +420 -0
- data/vendor/local/include/cogl/cogl/cogl-glib-source.h +97 -0
- data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +107 -0
- data/vendor/local/include/cogl/cogl/cogl-indices.h +165 -0
- data/vendor/local/include/cogl/cogl/cogl-macros.h +273 -0
- data/vendor/local/include/cogl/cogl/cogl-material-compat.h +1391 -0
- data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +645 -0
- data/vendor/local/include/cogl/cogl/cogl-matrix.h +821 -0
- data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +194 -0
- data/vendor/local/include/cogl/cogl/cogl-object.h +251 -0
- data/vendor/local/include/cogl/cogl/cogl-offscreen.h +172 -0
- data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +125 -0
- data/vendor/local/include/cogl/cogl/cogl-onscreen.h +1012 -0
- data/vendor/local/include/cogl/cogl/cogl-output.h +261 -0
- data/vendor/local/include/cogl/cogl/cogl-pango.h +40 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +620 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +980 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline.h +194 -0
- data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +138 -0
- data/vendor/local/include/cogl/cogl/cogl-poll.h +200 -0
- data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +111 -0
- data/vendor/local/include/cogl/cogl/cogl-primitive.h +942 -0
- data/vendor/local/include/cogl/cogl/cogl-primitives.h +197 -0
- data/vendor/local/include/cogl/cogl/cogl-quaternion.h +564 -0
- data/vendor/local/include/cogl/cogl/cogl-renderer.h +446 -0
- data/vendor/local/include/cogl/cogl/cogl-shader.h +704 -0
- data/vendor/local/include/cogl/cogl/cogl-snippet.h +866 -0
- data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +136 -0
- data/vendor/local/include/cogl/cogl/cogl-swap-chain.h +71 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +78 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +301 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +234 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +204 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-deprecated.h +105 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +218 -0
- data/vendor/local/include/cogl/cogl/cogl-texture.h +524 -0
- data/vendor/local/include/cogl/cogl/cogl-type-casts.h +53 -0
- data/vendor/local/include/cogl/cogl/cogl-types.h +925 -0
- data/vendor/local/include/cogl/cogl/cogl-vector.h +356 -0
- data/vendor/local/include/cogl/cogl/cogl-version.h +348 -0
- data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +451 -0
- data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +123 -0
- data/vendor/local/include/cogl/cogl/cogl.h +194 -0
- data/vendor/local/include/cogl/cogl/cogl1-context.h +862 -0
- data/vendor/local/include/cogl/cogl/cogl2-experimental.h +37 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-auto-texture.h +221 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-clip-state.h +266 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-clutter.h +54 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-fixed.h +811 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-framebuffer-deprecated.h +264 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-material-compat.h +1391 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-shader.h +704 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-texture-deprecated.h +105 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-type-casts.h +53 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-vertex-buffer.h +451 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-core-functions.h +198 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h +43 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h +286 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h +148 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h +186 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-builder.h +120 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +41 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +120 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-glib.h +47 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +199 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gvariant.h +53 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +188 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-path.h +102 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-reader.h +171 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +445 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-version-macros.h +135 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +102 -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/Cogl-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-2.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-path.dll.a +0 -0
- data/vendor/local/lib/libcogl-path.la +41 -0
- data/vendor/local/lib/libcogl.dll.a +0 -0
- data/vendor/local/lib/libcogl.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/cogl-path-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-path-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 +681 -0
- data/vendor/local/share/gir-1.0/Clutter-1.0.gir +70493 -0
- data/vendor/local/share/gir-1.0/Cogl-1.0.gir +8197 -0
- data/vendor/local/share/gir-1.0/Cogl-2.0.gir +20369 -0
- data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +333 -0
- data/vendor/local/share/gir-1.0/CoglPango-2.0.gir +331 -0
- data/vendor/local/share/gir-1.0/Json-1.0.gir +4742 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +509 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +155 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +154 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +154 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +133 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +159 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyText.html +154 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +154 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +102 -0
- data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +187 -0
- data/vendor/local/share/gtk-doc/html/cally/cally.devhelp2 +73 -0
- data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +41 -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 +121 -0
- data/vendor/local/share/gtk-doc/html/cally/ix01.html +193 -0
- data/vendor/local/share/gtk-doc/html/cally/ix02.html +31 -0
- data/vendor/local/share/gtk-doc/html/cally/ix03.html +185 -0
- data/vendor/local/share/gtk-doc/html/cally/ix04.html +39 -0
- data/vendor/local/share/gtk-doc/html/cally/left-insensitive.png +0 -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-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/cally/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +109 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +15797 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +396 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +494 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +816 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +497 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +1406 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +855 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +802 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +313 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +1041 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +319 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +502 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +744 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +476 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +481 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +598 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +116 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +726 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1471 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +480 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +873 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +488 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +287 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +667 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +258 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +239 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +208 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1611 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +367 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +418 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +242 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +492 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +1120 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +498 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +469 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +125 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +928 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +1321 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +1020 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +272 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +527 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1805 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +616 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +1280 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +189 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +222 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +1053 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +2052 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +779 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +452 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +428 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +671 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +946 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1576 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +407 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +261 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +484 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +216 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +1018 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +1421 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +364 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +385 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +376 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +693 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +526 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +2751 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1823 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +333 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +1393 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +219 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +3871 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +906 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +2085 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +2864 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +684 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +264 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +474 -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 +95 -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 +44 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch03.html +47 -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 +4244 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +268 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +454 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +442 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1644 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +211 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +3454 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +232 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +297 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +2112 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +2213 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +200 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +992 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +411 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +1236 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +418 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +1006 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +661 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +1221 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +578 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +106 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-specific-support.html +289 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +241 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +916 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +77 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +2403 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +65 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +74 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +195 -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 +93 -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 +126 -0
- data/vendor/local/share/gtk-doc/html/clutter/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/index.html +454 -0
- data/vendor/local/share/gtk-doc/html/clutter/index.sgml +3165 -0
- data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +56 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix01.html +8982 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix02.html +2198 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix03.html +457 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix04.html +578 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix05.html +952 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix06.html +637 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix07.html +1525 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix08.html +815 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix09.html +1000 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix10.html +364 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix11.html +361 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix12.html +1085 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix13.html +979 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix14.html +101 -0
- data/vendor/local/share/gtk-doc/html/clutter/left-insensitive.png +0 -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 +155 -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-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +378 -0
- data/vendor/local/share/gtk-doc/html/clutter/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/clutter/table-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/up-insensitive.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 +676 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +660 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +1144 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +512 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +1140 -0
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +66 -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/ch05.html +40 -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 +134 -0
- data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +327 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +965 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +49 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +56 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +49 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +181 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +116 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +156 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +132 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +50 -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-format-tool.html +84 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +491 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +385 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +1188 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +318 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +1803 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +1369 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +582 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +215 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +277 -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 +45 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-validate-tool.html +72 -0
- data/vendor/local/share/gtk-doc/html/json-glib/left-insensitive.png +0 -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-insensitive.png +0 -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 +476 -0
- data/vendor/local/share/gtk-doc/html/json-glib/tools.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/up-insensitive.png +0 -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 +107 -0
- data/vendor/local/share/license/json-glib/COPYING +504 -0
- data/vendor/local/share/locale/an/LC_MESSAGES/clutter-1.0.mo +0 -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/as/LC_MESSAGES/json-glib-1.0.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/bg/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/json-glib-1.0.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/LC_MESSAGES/json-glib-1.0.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/ca@valencia/LC_MESSAGES/json-glib-1.0.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/da/LC_MESSAGES/json-glib-1.0.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/en_GB/LC_MESSAGES/json-glib-1.0.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/eo/LC_MESSAGES/json-glib-1.0.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/et/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/json-glib-1.0.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/fr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/json-glib-1.0.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/he/LC_MESSAGES/json-glib-1.0.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/hi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/json-glib-1.0.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/ja/LC_MESSAGES/json-glib-1.0.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/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ky/LC_MESSAGES/json-glib-1.0.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/lt/LC_MESSAGES/json-glib-1.0.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/lv/LC_MESSAGES/json-glib-1.0.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/ml/LC_MESSAGES/json-glib-1.0.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/or/LC_MESSAGES/json-glib-1.0.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/LC_MESSAGES/json-glib-1.0.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/sk/LC_MESSAGES/json-glib-1.0.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/LC_MESSAGES/json-glib-1.0.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/sr@latin/LC_MESSAGES/json-glib-1.0.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/te/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/json-glib-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/ug/LC_MESSAGES/json-glib-1.0.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/uk/LC_MESSAGES/json-glib-1.0.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_CN/LC_MESSAGES/json-glib-1.0.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_HK/LC_MESSAGES/json-glib-1.0.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
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/json-glib-1.0.mo +0 -0
- metadata +869 -0
@@ -0,0 +1,111 @@
|
|
1
|
+
/*
|
2
|
+
* Cogl
|
3
|
+
*
|
4
|
+
* A Low Level GPU Graphics and Utilities API
|
5
|
+
*
|
6
|
+
* Copyright (C) 2012 Intel Corporation.
|
7
|
+
*
|
8
|
+
* Permission is hereby granted, free of charge, to any person
|
9
|
+
* obtaining a copy of this software and associated documentation
|
10
|
+
* files (the "Software"), to deal in the Software without
|
11
|
+
* restriction, including without limitation the rights to use, copy,
|
12
|
+
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
13
|
+
* of the Software, and to permit persons to whom the Software is
|
14
|
+
* furnished to do so, subject to the following conditions:
|
15
|
+
*
|
16
|
+
* The above copyright notice and this permission notice shall be
|
17
|
+
* included in all copies or substantial portions of the Software.
|
18
|
+
*
|
19
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
20
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
21
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
22
|
+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
23
|
+
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
24
|
+
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
25
|
+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
26
|
+
* SOFTWARE.
|
27
|
+
*
|
28
|
+
*
|
29
|
+
*/
|
30
|
+
|
31
|
+
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
|
32
|
+
#error "Only <cogl/cogl.h> can be included directly."
|
33
|
+
#endif
|
34
|
+
|
35
|
+
#ifndef __COGL_PRIMITIVE_TEXTURE_H__
|
36
|
+
#define __COGL_PRIMITIVE_TEXTURE_H__
|
37
|
+
|
38
|
+
#include "cogl-types.h"
|
39
|
+
|
40
|
+
COGL_BEGIN_DECLS
|
41
|
+
|
42
|
+
/**
|
43
|
+
* SECTION:cogl-primitive-texture
|
44
|
+
* @short_description: Interface for low-level textures like
|
45
|
+
* #CoglTexture2D and #CoglTexture3D.
|
46
|
+
*
|
47
|
+
* A #CoglPrimitiveTexture is a texture that is directly represented
|
48
|
+
* by a single texture on the GPU. For example these could be a
|
49
|
+
* #CoglTexture2D, #CoglTexture3D or #CoglTextureRectangle. This is
|
50
|
+
* opposed to high level meta textures which may be composed of
|
51
|
+
* multiple primitive textures or a sub-region of another texture such
|
52
|
+
* as #CoglAtlasTexture and #CoglTexture2DSliced.
|
53
|
+
*
|
54
|
+
* A texture that implements this interface can be directly used with
|
55
|
+
* the low level cogl_primitive_draw() API. Other types of textures
|
56
|
+
* need to be first resolved to primitive textures using the
|
57
|
+
* #CoglMetaTexture interface.
|
58
|
+
*
|
59
|
+
* <note>Most developers won't need to use this interface directly but
|
60
|
+
* still it is worth understanding the distinction between high-level
|
61
|
+
* and primitive textures because you may find other references in the
|
62
|
+
* documentation that detail limitations of using
|
63
|
+
* primitive textures.</note>
|
64
|
+
*/
|
65
|
+
|
66
|
+
#ifdef __COGL_H_INSIDE__
|
67
|
+
/* For the public C api we typedef interface types as void to avoid needing
|
68
|
+
* lots of casting in code and instead we will rely on runtime type checking
|
69
|
+
* for these objects. */
|
70
|
+
typedef void CoglPrimitiveTexture;
|
71
|
+
#else
|
72
|
+
typedef struct _CoglPrimitiveTexture CoglPrimitiveTexture;
|
73
|
+
#define COGL_PRIMITIVE_TEXTURE(X) ((CoglPrimitiveTexture *)X)
|
74
|
+
#endif
|
75
|
+
|
76
|
+
/**
|
77
|
+
* cogl_is_primitive_texture:
|
78
|
+
* @object: A #CoglObject pointer
|
79
|
+
*
|
80
|
+
* Gets whether the given object references a primitive texture object.
|
81
|
+
*
|
82
|
+
* Return value: %TRUE if the pointer references a primitive texture, and
|
83
|
+
* %FALSE otherwise
|
84
|
+
* Since: 2.0
|
85
|
+
* Stability: unstable
|
86
|
+
*/
|
87
|
+
CoglBool
|
88
|
+
cogl_is_primitive_texture (void *object);
|
89
|
+
|
90
|
+
/**
|
91
|
+
* cogl_primitive_texture_set_auto_mipmap:
|
92
|
+
* @primitive_texture: A #CoglPrimitiveTexture
|
93
|
+
* @value: The new value for whether to auto mipmap
|
94
|
+
*
|
95
|
+
* Sets whether the texture will automatically update the smaller
|
96
|
+
* mipmap levels after any part of level 0 is updated. The update will
|
97
|
+
* only occur whenever the texture is used for drawing with a texture
|
98
|
+
* filter that requires the lower mipmap levels. An application should
|
99
|
+
* disable this if it wants to upload its own data for the other
|
100
|
+
* levels. By default auto mipmapping is enabled.
|
101
|
+
*
|
102
|
+
* Since: 2.0
|
103
|
+
* Stability: unstable
|
104
|
+
*/
|
105
|
+
void
|
106
|
+
cogl_primitive_texture_set_auto_mipmap (CoglPrimitiveTexture *primitive_texture,
|
107
|
+
CoglBool value);
|
108
|
+
|
109
|
+
COGL_END_DECLS
|
110
|
+
|
111
|
+
#endif /* __COGL_PRIMITIVE_TEXTURE_H__ */
|
@@ -0,0 +1,942 @@
|
|
1
|
+
/*
|
2
|
+
* Cogl
|
3
|
+
*
|
4
|
+
* A Low Level GPU Graphics and Utilities API
|
5
|
+
*
|
6
|
+
* Copyright (C) 2010 Intel Corporation.
|
7
|
+
*
|
8
|
+
* Permission is hereby granted, free of charge, to any person
|
9
|
+
* obtaining a copy of this software and associated documentation
|
10
|
+
* files (the "Software"), to deal in the Software without
|
11
|
+
* restriction, including without limitation the rights to use, copy,
|
12
|
+
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
13
|
+
* of the Software, and to permit persons to whom the Software is
|
14
|
+
* furnished to do so, subject to the following conditions:
|
15
|
+
*
|
16
|
+
* The above copyright notice and this permission notice shall be
|
17
|
+
* included in all copies or substantial portions of the Software.
|
18
|
+
*
|
19
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
20
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
21
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
22
|
+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
23
|
+
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
24
|
+
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
25
|
+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
26
|
+
* SOFTWARE.
|
27
|
+
*
|
28
|
+
*
|
29
|
+
*
|
30
|
+
* Authors:
|
31
|
+
* Robert Bragg <robert@linux.intel.com>
|
32
|
+
*/
|
33
|
+
|
34
|
+
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
|
35
|
+
#error "Only <cogl/cogl.h> can be included directly."
|
36
|
+
#endif
|
37
|
+
|
38
|
+
#ifndef __COGL_PRIMITIVE_H__
|
39
|
+
#define __COGL_PRIMITIVE_H__
|
40
|
+
|
41
|
+
/* We forward declare the CoglPrimitive type here to avoid some circular
|
42
|
+
* dependency issues with the following headers.
|
43
|
+
*/
|
44
|
+
typedef struct _CoglPrimitive CoglPrimitive;
|
45
|
+
|
46
|
+
#include <cogl/cogl-types.h> /* for CoglVerticesMode */
|
47
|
+
#include <cogl/cogl-attribute.h>
|
48
|
+
#include <cogl/cogl-framebuffer.h>
|
49
|
+
|
50
|
+
#ifdef COGL_HAS_GTYPE_SUPPORT
|
51
|
+
#include <glib-object.h>
|
52
|
+
#endif
|
53
|
+
|
54
|
+
COGL_BEGIN_DECLS
|
55
|
+
|
56
|
+
/**
|
57
|
+
* SECTION:cogl-primitive
|
58
|
+
* @short_description: Functions for creating, manipulating and drawing
|
59
|
+
* primitives
|
60
|
+
*
|
61
|
+
* FIXME
|
62
|
+
*/
|
63
|
+
|
64
|
+
#ifdef COGL_HAS_GTYPE_SUPPORT
|
65
|
+
/**
|
66
|
+
* cogl_primitive_get_gtype:
|
67
|
+
*
|
68
|
+
* Returns: a #GType that can be used with the GLib type system.
|
69
|
+
*/
|
70
|
+
GType cogl_primitive_get_gtype (void);
|
71
|
+
#endif
|
72
|
+
|
73
|
+
/**
|
74
|
+
* CoglVertexP2:
|
75
|
+
* @x: The x component of a position attribute
|
76
|
+
* @y: The y component of a position attribute
|
77
|
+
*
|
78
|
+
* A convenience vertex definition that can be used with
|
79
|
+
* cogl_primitive_new_p2().
|
80
|
+
*
|
81
|
+
* Since: 1.6
|
82
|
+
* Stability: Unstable
|
83
|
+
*/
|
84
|
+
typedef struct {
|
85
|
+
float x, y;
|
86
|
+
} CoglVertexP2;
|
87
|
+
|
88
|
+
/**
|
89
|
+
* CoglVertexP3:
|
90
|
+
* @x: The x component of a position attribute
|
91
|
+
* @y: The y component of a position attribute
|
92
|
+
* @z: The z component of a position attribute
|
93
|
+
*
|
94
|
+
* A convenience vertex definition that can be used with
|
95
|
+
* cogl_primitive_new_p3().
|
96
|
+
*
|
97
|
+
* Since: 1.6
|
98
|
+
* Stability: Unstable
|
99
|
+
*/
|
100
|
+
typedef struct {
|
101
|
+
float x, y, z;
|
102
|
+
} CoglVertexP3;
|
103
|
+
|
104
|
+
/**
|
105
|
+
* CoglVertexP2C4:
|
106
|
+
* @x: The x component of a position attribute
|
107
|
+
* @y: The y 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_p2c4().
|
115
|
+
*
|
116
|
+
* Since: 1.6
|
117
|
+
* Stability: Unstable
|
118
|
+
*/
|
119
|
+
typedef struct {
|
120
|
+
float x, y;
|
121
|
+
uint8_t r, g, b, a;
|
122
|
+
} CoglVertexP2C4;
|
123
|
+
|
124
|
+
/**
|
125
|
+
* CoglVertexP3C4:
|
126
|
+
* @x: The x component of a position attribute
|
127
|
+
* @y: The y component of a position attribute
|
128
|
+
* @z: The z component of a position attribute
|
129
|
+
* @r: The red component of a color attribute
|
130
|
+
* @b: The green component of a color attribute
|
131
|
+
* @g: The blue component of a color attribute
|
132
|
+
* @a: The alpha component of a color attribute
|
133
|
+
*
|
134
|
+
* A convenience vertex definition that can be used with
|
135
|
+
* cogl_primitive_new_p3c4().
|
136
|
+
*
|
137
|
+
* Since: 1.6
|
138
|
+
* Stability: Unstable
|
139
|
+
*/
|
140
|
+
typedef struct {
|
141
|
+
float x, y, z;
|
142
|
+
uint8_t r, g, b, a;
|
143
|
+
} CoglVertexP3C4;
|
144
|
+
|
145
|
+
/**
|
146
|
+
* CoglVertexP2T2:
|
147
|
+
* @x: The x component of a position attribute
|
148
|
+
* @y: The y component of a position attribute
|
149
|
+
* @s: The s component of a texture coordinate attribute
|
150
|
+
* @t: The t component of a texture coordinate attribute
|
151
|
+
*
|
152
|
+
* A convenience vertex definition that can be used with
|
153
|
+
* cogl_primitive_new_p2t2().
|
154
|
+
*
|
155
|
+
* Since: 1.6
|
156
|
+
* Stability: Unstable
|
157
|
+
*/
|
158
|
+
typedef struct {
|
159
|
+
float x, y;
|
160
|
+
float s, t;
|
161
|
+
} CoglVertexP2T2;
|
162
|
+
|
163
|
+
/**
|
164
|
+
* CoglVertexP3T2:
|
165
|
+
* @x: The x component of a position attribute
|
166
|
+
* @y: The y component of a position attribute
|
167
|
+
* @z: The z component of a position attribute
|
168
|
+
* @s: The s component of a texture coordinate attribute
|
169
|
+
* @t: The t component of a texture coordinate attribute
|
170
|
+
*
|
171
|
+
* A convenience vertex definition that can be used with
|
172
|
+
* cogl_primitive_new_p3t2().
|
173
|
+
*
|
174
|
+
* Since: 1.6
|
175
|
+
* Stability: Unstable
|
176
|
+
*/
|
177
|
+
typedef struct {
|
178
|
+
float x, y, z;
|
179
|
+
float s, t;
|
180
|
+
} CoglVertexP3T2;
|
181
|
+
|
182
|
+
|
183
|
+
/**
|
184
|
+
* CoglVertexP2T2C4:
|
185
|
+
* @x: The x component of a position attribute
|
186
|
+
* @y: The y component of a position attribute
|
187
|
+
* @s: The s component of a texture coordinate attribute
|
188
|
+
* @t: The t component of a texture coordinate attribute
|
189
|
+
* @r: The red component of a color attribute
|
190
|
+
* @b: The green component of a color attribute
|
191
|
+
* @g: The blue component of a color attribute
|
192
|
+
* @a: The alpha component of a color attribute
|
193
|
+
*
|
194
|
+
* A convenience vertex definition that can be used with
|
195
|
+
* cogl_primitive_new_p3t2c4().
|
196
|
+
*
|
197
|
+
* Since: 1.6
|
198
|
+
* Stability: Unstable
|
199
|
+
*/
|
200
|
+
typedef struct {
|
201
|
+
float x, y;
|
202
|
+
float s, t;
|
203
|
+
uint8_t r, g, b, a;
|
204
|
+
} CoglVertexP2T2C4;
|
205
|
+
|
206
|
+
/**
|
207
|
+
* CoglVertexP3T2C4:
|
208
|
+
* @x: The x component of a position attribute
|
209
|
+
* @y: The y component of a position attribute
|
210
|
+
* @z: The z component of a position attribute
|
211
|
+
* @s: The s component of a texture coordinate attribute
|
212
|
+
* @t: The t component of a texture coordinate attribute
|
213
|
+
* @r: The red component of a color attribute
|
214
|
+
* @b: The green component of a color attribute
|
215
|
+
* @g: The blue component of a color attribute
|
216
|
+
* @a: The alpha component of a color attribute
|
217
|
+
*
|
218
|
+
* A convenience vertex definition that can be used with
|
219
|
+
* cogl_primitive_new_p3t2c4().
|
220
|
+
*
|
221
|
+
* Since: 1.6
|
222
|
+
* Stability: Unstable
|
223
|
+
*/
|
224
|
+
typedef struct {
|
225
|
+
float x, y, z;
|
226
|
+
float s, t;
|
227
|
+
uint8_t r, g, b, a;
|
228
|
+
} CoglVertexP3T2C4;
|
229
|
+
|
230
|
+
/**
|
231
|
+
* cogl_primitive_new:
|
232
|
+
* @mode: A #CoglVerticesMode defining how to draw the vertices
|
233
|
+
* @n_vertices: The number of vertices to process when drawing
|
234
|
+
* @...: A %NULL terminated list of attributes
|
235
|
+
*
|
236
|
+
* Combines a set of #CoglAttribute<!-- -->s with a specific draw @mode
|
237
|
+
* and defines a vertex count so a #CoglPrimitive object can be retained and
|
238
|
+
* drawn later with no addition information required.
|
239
|
+
*
|
240
|
+
* The value passed as @n_vertices will simply update the
|
241
|
+
* #CoglPrimitive <structfield>n_vertices</structfield> property as if
|
242
|
+
* cogl_primitive_set_n_vertices() were called. This property defines
|
243
|
+
* the number of vertices to read when drawing.
|
244
|
+
*
|
245
|
+
* Return value: (transfer full): A newly allocated #CoglPrimitive object
|
246
|
+
*
|
247
|
+
* Since: 1.6
|
248
|
+
* Stability: Unstable
|
249
|
+
*/
|
250
|
+
CoglPrimitive *
|
251
|
+
cogl_primitive_new (CoglVerticesMode mode,
|
252
|
+
int n_vertices,
|
253
|
+
...);
|
254
|
+
|
255
|
+
/**
|
256
|
+
* cogl_primitive_new_with_attributes:
|
257
|
+
* @mode: A #CoglVerticesMode defining how to draw the vertices
|
258
|
+
* @n_vertices: The number of vertices to process when drawing
|
259
|
+
* @attributes: An array of CoglAttribute
|
260
|
+
* @n_attributes: The number of attributes
|
261
|
+
*
|
262
|
+
* Combines a set of #CoglAttribute<!-- -->s with a specific draw @mode
|
263
|
+
* and defines a vertex count so a #CoglPrimitive object can be retained and
|
264
|
+
* drawn later with no addition information required.
|
265
|
+
*
|
266
|
+
* The value passed as @n_vertices will simply update the
|
267
|
+
* #CoglPrimitive <structfield>n_vertices</structfield> property as if
|
268
|
+
* cogl_primitive_set_n_vertices() were called. This property defines
|
269
|
+
* the number of vertices to read when drawing.
|
270
|
+
*
|
271
|
+
* Return value: (transfer full): A newly allocated #CoglPrimitive object
|
272
|
+
*
|
273
|
+
* Since: 1.6
|
274
|
+
* Stability: Unstable
|
275
|
+
*/
|
276
|
+
CoglPrimitive *
|
277
|
+
cogl_primitive_new_with_attributes (CoglVerticesMode mode,
|
278
|
+
int n_vertices,
|
279
|
+
CoglAttribute **attributes,
|
280
|
+
int n_attributes);
|
281
|
+
|
282
|
+
/**
|
283
|
+
* cogl_primitive_new_p2:
|
284
|
+
* @context: A #CoglContext
|
285
|
+
* @mode: A #CoglVerticesMode defining how to draw the vertices
|
286
|
+
* @n_vertices: The number of vertices to read from @data and also
|
287
|
+
* the number of vertices to read when later drawing.
|
288
|
+
* @data: (array length=n_vertices): (type Cogl.VertexP2): An array
|
289
|
+
* of #CoglVertexP2 vertices
|
290
|
+
*
|
291
|
+
* Provides a convenient way to describe a primitive, such as a single
|
292
|
+
* triangle strip or a triangle fan, that will internally allocate the
|
293
|
+
* necessary #CoglAttributeBuffer storage, describe the position
|
294
|
+
* attribute with a #CoglAttribute and upload your data.
|
295
|
+
*
|
296
|
+
* For example to draw a convex polygon you can do:
|
297
|
+
* |[
|
298
|
+
* CoglVertexP2 triangle[] =
|
299
|
+
* {
|
300
|
+
* { 0, 300 },
|
301
|
+
* { 150, 0, },
|
302
|
+
* { 300, 300 }
|
303
|
+
* };
|
304
|
+
* prim = cogl_primitive_new_p2 (COGL_VERTICES_MODE_TRIANGLE_FAN,
|
305
|
+
* 3, triangle);
|
306
|
+
* cogl_primitive_draw (prim);
|
307
|
+
* ]|
|
308
|
+
*
|
309
|
+
* The value passed as @n_vertices is initially used to determine how
|
310
|
+
* much can be read from @data but it will also be used to update the
|
311
|
+
* #CoglPrimitive <structfield>n_vertices</structfield> property as if
|
312
|
+
* cogl_primitive_set_n_vertices() were called. This property defines
|
313
|
+
* the number of vertices to read when drawing.
|
314
|
+
|
315
|
+
* <note>The primitive API doesn't support drawing with sliced
|
316
|
+
* textures (since switching between slices implies changing state and
|
317
|
+
* so that implies multiple primitives need to be submitted). You
|
318
|
+
* should pass the %COGL_TEXTURE_NO_SLICING flag to all textures that
|
319
|
+
* might be used while drawing with this API. If your hardware doesn't
|
320
|
+
* support non-power of two textures (For example you are using GLES
|
321
|
+
* 1.1) then you will need to make sure your assets are resized to a
|
322
|
+
* power-of-two size (though they don't have to be square)</note>
|
323
|
+
*
|
324
|
+
* Return value: (transfer full): A newly allocated #CoglPrimitive
|
325
|
+
* with a reference of 1. This can be freed using cogl_object_unref().
|
326
|
+
*
|
327
|
+
* Since: 1.6
|
328
|
+
* Stability: Unstable
|
329
|
+
*/
|
330
|
+
CoglPrimitive *
|
331
|
+
cogl_primitive_new_p2 (CoglContext *context,
|
332
|
+
CoglVerticesMode mode,
|
333
|
+
int n_vertices,
|
334
|
+
const CoglVertexP2 *data);
|
335
|
+
|
336
|
+
/**
|
337
|
+
* cogl_primitive_new_p3:
|
338
|
+
* @context: A #CoglContext
|
339
|
+
* @mode: A #CoglVerticesMode defining how to draw the vertices
|
340
|
+
* @n_vertices: The number of vertices to read from @data and also
|
341
|
+
* the number of vertices to read when later drawing.
|
342
|
+
* @data: (array length=n_vertices): (type Cogl.VertexP3): An array of
|
343
|
+
* #CoglVertexP3 vertices
|
344
|
+
*
|
345
|
+
* Provides a convenient way to describe a primitive, such as a single
|
346
|
+
* triangle strip or a triangle fan, that will internally allocate the
|
347
|
+
* necessary #CoglAttributeBuffer storage, describe the position
|
348
|
+
* attribute with a #CoglAttribute and upload your data.
|
349
|
+
*
|
350
|
+
* For example to draw a convex polygon you can do:
|
351
|
+
* |[
|
352
|
+
* CoglVertexP3 triangle[] =
|
353
|
+
* {
|
354
|
+
* { 0, 300, 0 },
|
355
|
+
* { 150, 0, 0 },
|
356
|
+
* { 300, 300, 0 }
|
357
|
+
* };
|
358
|
+
* prim = cogl_primitive_new_p3 (COGL_VERTICES_MODE_TRIANGLE_FAN,
|
359
|
+
* 3, triangle);
|
360
|
+
* cogl_primitive_draw (prim);
|
361
|
+
* ]|
|
362
|
+
*
|
363
|
+
* The value passed as @n_vertices is initially used to determine how
|
364
|
+
* much can be read from @data but it will also be used to update the
|
365
|
+
* #CoglPrimitive <structfield>n_vertices</structfield> property as if
|
366
|
+
* cogl_primitive_set_n_vertices() were called. This property defines
|
367
|
+
* the number of vertices to read when drawing.
|
368
|
+
|
369
|
+
* <note>The primitive API doesn't support drawing with sliced
|
370
|
+
* textures (since switching between slices implies changing state and
|
371
|
+
* so that implies multiple primitives need to be submitted). You
|
372
|
+
* should pass the %COGL_TEXTURE_NO_SLICING flag to all textures that
|
373
|
+
* might be used while drawing with this API. If your hardware doesn't
|
374
|
+
* support non-power of two textures (For example you are using GLES
|
375
|
+
* 1.1) then you will need to make sure your assets are resized to a
|
376
|
+
* power-of-two size (though they don't have to be square)</note>
|
377
|
+
*
|
378
|
+
* Return value: (transfer full): A newly allocated #CoglPrimitive
|
379
|
+
* with a reference of 1. This can be freed using cogl_object_unref().
|
380
|
+
*
|
381
|
+
* Since: 1.6
|
382
|
+
* Stability: Unstable
|
383
|
+
*/
|
384
|
+
CoglPrimitive *
|
385
|
+
cogl_primitive_new_p3 (CoglContext *context,
|
386
|
+
CoglVerticesMode mode,
|
387
|
+
int n_vertices,
|
388
|
+
const CoglVertexP3 *data);
|
389
|
+
|
390
|
+
/**
|
391
|
+
* cogl_primitive_new_p2c4:
|
392
|
+
* @context: A #CoglContext
|
393
|
+
* @mode: A #CoglVerticesMode defining how to draw the vertices
|
394
|
+
* @n_vertices: The number of vertices to read from @data and also
|
395
|
+
* the number of vertices to read when later drawing.
|
396
|
+
* @data: (array length=n_vertices): (type Cogl.VertexP2C4): An array
|
397
|
+
* of #CoglVertexP2C4 vertices
|
398
|
+
*
|
399
|
+
* Provides a convenient way to describe a primitive, such as a single
|
400
|
+
* triangle strip or a triangle fan, that will internally allocate the
|
401
|
+
* necessary #CoglAttributeBuffer storage, describe the position
|
402
|
+
* and color attributes with #CoglAttribute<!-- -->s and upload
|
403
|
+
* your data.
|
404
|
+
*
|
405
|
+
* For example to draw a convex polygon with a linear gradient you
|
406
|
+
* can do:
|
407
|
+
* |[
|
408
|
+
* CoglVertexP2C4 triangle[] =
|
409
|
+
* {
|
410
|
+
* { 0, 300, 0xff, 0x00, 0x00, 0xff },
|
411
|
+
* { 150, 0, 0x00, 0xff, 0x00, 0xff },
|
412
|
+
* { 300, 300, 0xff, 0x00, 0x00, 0xff }
|
413
|
+
* };
|
414
|
+
* prim = cogl_primitive_new_p2c4 (COGL_VERTICES_MODE_TRIANGLE_FAN,
|
415
|
+
* 3, triangle);
|
416
|
+
* cogl_primitive_draw (prim);
|
417
|
+
* ]|
|
418
|
+
*
|
419
|
+
* The value passed as @n_vertices is initially used to determine how
|
420
|
+
* much can be read from @data but it will also be used to update the
|
421
|
+
* #CoglPrimitive <structfield>n_vertices</structfield> property as if
|
422
|
+
* cogl_primitive_set_n_vertices() were called. This property defines
|
423
|
+
* the number of vertices to read when drawing.
|
424
|
+
|
425
|
+
* <note>The primitive API doesn't support drawing with sliced
|
426
|
+
* textures (since switching between slices implies changing state and
|
427
|
+
* so that implies multiple primitives need to be submitted). You
|
428
|
+
* should pass the %COGL_TEXTURE_NO_SLICING flag to all textures that
|
429
|
+
* might be used while drawing with this API. If your hardware doesn't
|
430
|
+
* support non-power of two textures (For example you are using GLES
|
431
|
+
* 1.1) then you will need to make sure your assets are resized to a
|
432
|
+
* power-of-two size (though they don't have to be square)</note>
|
433
|
+
*
|
434
|
+
* Return value: (transfer full): A newly allocated #CoglPrimitive
|
435
|
+
* with a reference of 1. This can be freed using cogl_object_unref().
|
436
|
+
*
|
437
|
+
* Since: 1.6
|
438
|
+
* Stability: Unstable
|
439
|
+
*/
|
440
|
+
CoglPrimitive *
|
441
|
+
cogl_primitive_new_p2c4 (CoglContext *context,
|
442
|
+
CoglVerticesMode mode,
|
443
|
+
int n_vertices,
|
444
|
+
const CoglVertexP2C4 *data);
|
445
|
+
|
446
|
+
/**
|
447
|
+
* cogl_primitive_new_p3c4:
|
448
|
+
* @context: A #CoglContext
|
449
|
+
* @mode: A #CoglVerticesMode defining how to draw the vertices
|
450
|
+
* @n_vertices: The number of vertices to read from @data and also
|
451
|
+
* the number of vertices to read when later drawing.
|
452
|
+
* @data: (array length=n_vertices): (type Cogl.VertexP3C4): An array
|
453
|
+
* of #CoglVertexP3C4 vertices
|
454
|
+
*
|
455
|
+
* Provides a convenient way to describe a primitive, such as a single
|
456
|
+
* triangle strip or a triangle fan, that will internally allocate the
|
457
|
+
* necessary #CoglAttributeBuffer storage, describe the position
|
458
|
+
* and color attributes with #CoglAttribute<!-- -->s and upload
|
459
|
+
* your data.
|
460
|
+
*
|
461
|
+
* For example to draw a convex polygon with a linear gradient you
|
462
|
+
* can do:
|
463
|
+
* |[
|
464
|
+
* CoglVertexP3C4 triangle[] =
|
465
|
+
* {
|
466
|
+
* { 0, 300, 0, 0xff, 0x00, 0x00, 0xff },
|
467
|
+
* { 150, 0, 0, 0x00, 0xff, 0x00, 0xff },
|
468
|
+
* { 300, 300, 0, 0xff, 0x00, 0x00, 0xff }
|
469
|
+
* };
|
470
|
+
* prim = cogl_primitive_new_p3c4 (COGL_VERTICES_MODE_TRIANGLE_FAN,
|
471
|
+
* 3, triangle);
|
472
|
+
* cogl_primitive_draw (prim);
|
473
|
+
* ]|
|
474
|
+
*
|
475
|
+
* The value passed as @n_vertices is initially used to determine how
|
476
|
+
* much can be read from @data but it will also be used to update the
|
477
|
+
* #CoglPrimitive <structfield>n_vertices</structfield> property as if
|
478
|
+
* cogl_primitive_set_n_vertices() were called. This property defines
|
479
|
+
* the number of vertices to read when drawing.
|
480
|
+
|
481
|
+
* <note>The primitive API doesn't support drawing with sliced
|
482
|
+
* textures (since switching between slices implies changing state and
|
483
|
+
* so that implies multiple primitives need to be submitted). You
|
484
|
+
* should pass the %COGL_TEXTURE_NO_SLICING flag to all textures that
|
485
|
+
* might be used while drawing with this API. If your hardware doesn't
|
486
|
+
* support non-power of two textures (For example you are using GLES
|
487
|
+
* 1.1) then you will need to make sure your assets are resized to a
|
488
|
+
* power-of-two size (though they don't have to be square)</note>
|
489
|
+
*
|
490
|
+
* Return value: (transfer full): A newly allocated #CoglPrimitive
|
491
|
+
* with a reference of 1. This can be freed using cogl_object_unref().
|
492
|
+
*
|
493
|
+
* Since: 1.6
|
494
|
+
* Stability: Unstable
|
495
|
+
*/
|
496
|
+
CoglPrimitive *
|
497
|
+
cogl_primitive_new_p3c4 (CoglContext *context,
|
498
|
+
CoglVerticesMode mode,
|
499
|
+
int n_vertices,
|
500
|
+
const CoglVertexP3C4 *data);
|
501
|
+
|
502
|
+
/**
|
503
|
+
* cogl_primitive_new_p2t2:
|
504
|
+
* @context: A #CoglContext
|
505
|
+
* @mode: A #CoglVerticesMode defining how to draw the vertices
|
506
|
+
* @n_vertices: The number of vertices to read from @data and also
|
507
|
+
* the number of vertices to read when later drawing.
|
508
|
+
* @data: (array length=n_vertices): (type Cogl.VertexP2T2): An array
|
509
|
+
* of #CoglVertexP2T2 vertices
|
510
|
+
*
|
511
|
+
* Provides a convenient way to describe a primitive, such as a single
|
512
|
+
* triangle strip or a triangle fan, that will internally allocate the
|
513
|
+
* necessary #CoglAttributeBuffer storage, describe the position and
|
514
|
+
* texture coordinate attributes with #CoglAttribute<!-- -->s and
|
515
|
+
* upload your data.
|
516
|
+
*
|
517
|
+
* For example to draw a convex polygon with texture mapping you can
|
518
|
+
* do:
|
519
|
+
* |[
|
520
|
+
* CoglVertexP2T2 triangle[] =
|
521
|
+
* {
|
522
|
+
* { 0, 300, 0.0, 1.0},
|
523
|
+
* { 150, 0, 0.5, 0.0},
|
524
|
+
* { 300, 300, 1.0, 1.0}
|
525
|
+
* };
|
526
|
+
* prim = cogl_primitive_new_p2t2 (COGL_VERTICES_MODE_TRIANGLE_FAN,
|
527
|
+
* 3, triangle);
|
528
|
+
* cogl_primitive_draw (prim);
|
529
|
+
* ]|
|
530
|
+
*
|
531
|
+
* The value passed as @n_vertices is initially used to determine how
|
532
|
+
* much can be read from @data but it will also be used to update the
|
533
|
+
* #CoglPrimitive <structfield>n_vertices</structfield> property as if
|
534
|
+
* cogl_primitive_set_n_vertices() were called. This property defines
|
535
|
+
* the number of vertices to read when drawing.
|
536
|
+
|
537
|
+
* <note>The primitive API doesn't support drawing with sliced
|
538
|
+
* textures (since switching between slices implies changing state and
|
539
|
+
* so that implies multiple primitives need to be submitted). You
|
540
|
+
* should pass the %COGL_TEXTURE_NO_SLICING flag to all textures that
|
541
|
+
* might be used while drawing with this API. If your hardware doesn't
|
542
|
+
* support non-power of two textures (For example you are using GLES
|
543
|
+
* 1.1) then you will need to make sure your assets are resized to a
|
544
|
+
* power-of-two size (though they don't have to be square)</note>
|
545
|
+
*
|
546
|
+
* Return value: (transfer full): A newly allocated #CoglPrimitive
|
547
|
+
* with a reference of 1. This can be freed using cogl_object_unref().
|
548
|
+
*
|
549
|
+
* Since: 1.6
|
550
|
+
* Stability: Unstable
|
551
|
+
*/
|
552
|
+
CoglPrimitive *
|
553
|
+
cogl_primitive_new_p2t2 (CoglContext *context,
|
554
|
+
CoglVerticesMode mode,
|
555
|
+
int n_vertices,
|
556
|
+
const CoglVertexP2T2 *data);
|
557
|
+
|
558
|
+
/**
|
559
|
+
* cogl_primitive_new_p3t2:
|
560
|
+
* @context: A #CoglContext
|
561
|
+
* @mode: A #CoglVerticesMode defining how to draw the vertices
|
562
|
+
* @n_vertices: The number of vertices to read from @data and also
|
563
|
+
* the number of vertices to read when later drawing.
|
564
|
+
* @data: (array length=n_vertices): (type Cogl.VertexP3T2): An array
|
565
|
+
* of #CoglVertexP3T2 vertices
|
566
|
+
*
|
567
|
+
* Provides a convenient way to describe a primitive, such as a single
|
568
|
+
* triangle strip or a triangle fan, that will internally allocate the
|
569
|
+
* necessary #CoglAttributeBuffer storage, describe the position and
|
570
|
+
* texture coordinate attributes with #CoglAttribute<!-- -->s and
|
571
|
+
* upload your data.
|
572
|
+
*
|
573
|
+
* For example to draw a convex polygon with texture mapping you can
|
574
|
+
* do:
|
575
|
+
* |[
|
576
|
+
* CoglVertexP3T2 triangle[] =
|
577
|
+
* {
|
578
|
+
* { 0, 300, 0, 0.0, 1.0},
|
579
|
+
* { 150, 0, 0, 0.5, 0.0},
|
580
|
+
* { 300, 300, 0, 1.0, 1.0}
|
581
|
+
* };
|
582
|
+
* prim = cogl_primitive_new_p3t2 (COGL_VERTICES_MODE_TRIANGLE_FAN,
|
583
|
+
* 3, triangle);
|
584
|
+
* cogl_primitive_draw (prim);
|
585
|
+
* ]|
|
586
|
+
*
|
587
|
+
* The value passed as @n_vertices is initially used to determine how
|
588
|
+
* much can be read from @data but it will also be used to update the
|
589
|
+
* #CoglPrimitive <structfield>n_vertices</structfield> property as if
|
590
|
+
* cogl_primitive_set_n_vertices() were called. This property defines
|
591
|
+
* the number of vertices to read when drawing.
|
592
|
+
|
593
|
+
* <note>The primitive API doesn't support drawing with sliced
|
594
|
+
* textures (since switching between slices implies changing state and
|
595
|
+
* so that implies multiple primitives need to be submitted). You
|
596
|
+
* should pass the %COGL_TEXTURE_NO_SLICING flag to all textures that
|
597
|
+
* might be used while drawing with this API. If your hardware doesn't
|
598
|
+
* support non-power of two textures (For example you are using GLES
|
599
|
+
* 1.1) then you will need to make sure your assets are resized to a
|
600
|
+
* power-of-two size (though they don't have to be square)</note>
|
601
|
+
*
|
602
|
+
* Return value: (transfer full): A newly allocated #CoglPrimitive
|
603
|
+
* with a reference of 1. This can be freed using cogl_object_unref().
|
604
|
+
*
|
605
|
+
* Since: 1.6
|
606
|
+
* Stability: Unstable
|
607
|
+
*/
|
608
|
+
CoglPrimitive *
|
609
|
+
cogl_primitive_new_p3t2 (CoglContext *context,
|
610
|
+
CoglVerticesMode mode,
|
611
|
+
int n_vertices,
|
612
|
+
const CoglVertexP3T2 *data);
|
613
|
+
|
614
|
+
/**
|
615
|
+
* cogl_primitive_new_p2t2c4:
|
616
|
+
* @context: A #CoglContext
|
617
|
+
* @mode: A #CoglVerticesMode defining how to draw the vertices
|
618
|
+
* @n_vertices: The number of vertices to read from @data and also
|
619
|
+
* the number of vertices to read when later drawing.
|
620
|
+
* @data: (array length=n_vertices): (type Cogl.VertexP2T2C4): An
|
621
|
+
* array of #CoglVertexP2T2C4 vertices
|
622
|
+
*
|
623
|
+
* Provides a convenient way to describe a primitive, such as a single
|
624
|
+
* triangle strip or a triangle fan, that will internally allocate the
|
625
|
+
* necessary #CoglAttributeBuffer storage, describe the position, texture
|
626
|
+
* coordinate and color attributes with #CoglAttribute<!-- -->s and
|
627
|
+
* upload your data.
|
628
|
+
*
|
629
|
+
* For example to draw a convex polygon with texture mapping and a
|
630
|
+
* linear gradient you can do:
|
631
|
+
* |[
|
632
|
+
* CoglVertexP2T2C4 triangle[] =
|
633
|
+
* {
|
634
|
+
* { 0, 300, 0.0, 1.0, 0xff, 0x00, 0x00, 0xff},
|
635
|
+
* { 150, 0, 0.5, 0.0, 0x00, 0xff, 0x00, 0xff},
|
636
|
+
* { 300, 300, 1.0, 1.0, 0xff, 0x00, 0x00, 0xff}
|
637
|
+
* };
|
638
|
+
* prim = cogl_primitive_new_p2t2c4 (COGL_VERTICES_MODE_TRIANGLE_FAN,
|
639
|
+
* 3, triangle);
|
640
|
+
* cogl_primitive_draw (prim);
|
641
|
+
* ]|
|
642
|
+
*
|
643
|
+
* The value passed as @n_vertices is initially used to determine how
|
644
|
+
* much can be read from @data but it will also be used to update the
|
645
|
+
* #CoglPrimitive <structfield>n_vertices</structfield> property as if
|
646
|
+
* cogl_primitive_set_n_vertices() were called. This property defines
|
647
|
+
* the number of vertices to read when drawing.
|
648
|
+
|
649
|
+
* <note>The primitive API doesn't support drawing with sliced
|
650
|
+
* textures (since switching between slices implies changing state and
|
651
|
+
* so that implies multiple primitives need to be submitted). You
|
652
|
+
* should pass the %COGL_TEXTURE_NO_SLICING flag to all textures that
|
653
|
+
* might be used while drawing with this API. If your hardware doesn't
|
654
|
+
* support non-power of two textures (For example you are using GLES
|
655
|
+
* 1.1) then you will need to make sure your assets are resized to a
|
656
|
+
* power-of-two size (though they don't have to be square)</note>
|
657
|
+
*
|
658
|
+
* Return value: (transfer full): A newly allocated #CoglPrimitive
|
659
|
+
* with a reference of 1. This can be freed using cogl_object_unref().
|
660
|
+
*
|
661
|
+
* Since: 1.6
|
662
|
+
* Stability: Unstable
|
663
|
+
*/
|
664
|
+
CoglPrimitive *
|
665
|
+
cogl_primitive_new_p2t2c4 (CoglContext *context,
|
666
|
+
CoglVerticesMode mode,
|
667
|
+
int n_vertices,
|
668
|
+
const CoglVertexP2T2C4 *data);
|
669
|
+
|
670
|
+
/**
|
671
|
+
* cogl_primitive_new_p3t2c4:
|
672
|
+
* @context: A #CoglContext
|
673
|
+
* @mode: A #CoglVerticesMode defining how to draw the vertices
|
674
|
+
* @n_vertices: The number of vertices to read from @data and also
|
675
|
+
* the number of vertices to read when later drawing.
|
676
|
+
* @data: (array length=n_vertices): (type Cogl.VertexP3T2C4): An
|
677
|
+
* array of #CoglVertexP3T2C4 vertices
|
678
|
+
*
|
679
|
+
* Provides a convenient way to describe a primitive, such as a single
|
680
|
+
* triangle strip or a triangle fan, that will internally allocate the
|
681
|
+
* necessary #CoglAttributeBuffer storage, describe the position, texture
|
682
|
+
* coordinate and color attributes with #CoglAttribute<!-- -->s and
|
683
|
+
* upload your data.
|
684
|
+
*
|
685
|
+
* For example to draw a convex polygon with texture mapping and a
|
686
|
+
* linear gradient you can do:
|
687
|
+
* |[
|
688
|
+
* CoglVertexP3T2C4 triangle[] =
|
689
|
+
* {
|
690
|
+
* { 0, 300, 0, 0.0, 1.0, 0xff, 0x00, 0x00, 0xff},
|
691
|
+
* { 150, 0, 0, 0.5, 0.0, 0x00, 0xff, 0x00, 0xff},
|
692
|
+
* { 300, 300, 0, 1.0, 1.0, 0xff, 0x00, 0x00, 0xff}
|
693
|
+
* };
|
694
|
+
* prim = cogl_primitive_new_p3t2c4 (COGL_VERTICES_MODE_TRIANGLE_FAN,
|
695
|
+
* 3, triangle);
|
696
|
+
* cogl_primitive_draw (prim);
|
697
|
+
* ]|
|
698
|
+
*
|
699
|
+
* The value passed as @n_vertices is initially used to determine how
|
700
|
+
* much can be read from @data but it will also be used to update the
|
701
|
+
* #CoglPrimitive <structfield>n_vertices</structfield> property as if
|
702
|
+
* cogl_primitive_set_n_vertices() were called. This property defines
|
703
|
+
* the number of vertices to read when drawing.
|
704
|
+
|
705
|
+
* <note>The primitive API doesn't support drawing with sliced
|
706
|
+
* textures (since switching between slices implies changing state and
|
707
|
+
* so that implies multiple primitives need to be submitted). You
|
708
|
+
* should pass the %COGL_TEXTURE_NO_SLICING flag to all textures that
|
709
|
+
* might be used while drawing with this API. If your hardware doesn't
|
710
|
+
* support non-power of two textures (For example you are using GLES
|
711
|
+
* 1.1) then you will need to make sure your assets are resized to a
|
712
|
+
* power-of-two size (though they don't have to be square)</note>
|
713
|
+
*
|
714
|
+
* Return value: (transfer full): A newly allocated #CoglPrimitive
|
715
|
+
* with a reference of 1. This can be freed using cogl_object_unref().
|
716
|
+
*
|
717
|
+
* Since: 1.6
|
718
|
+
* Stability: Unstable
|
719
|
+
*/
|
720
|
+
CoglPrimitive *
|
721
|
+
cogl_primitive_new_p3t2c4 (CoglContext *context,
|
722
|
+
CoglVerticesMode mode,
|
723
|
+
int n_vertices,
|
724
|
+
const CoglVertexP3T2C4 *data);
|
725
|
+
int
|
726
|
+
cogl_primitive_get_first_vertex (CoglPrimitive *primitive);
|
727
|
+
|
728
|
+
void
|
729
|
+
cogl_primitive_set_first_vertex (CoglPrimitive *primitive,
|
730
|
+
int first_vertex);
|
731
|
+
|
732
|
+
/**
|
733
|
+
* cogl_primitive_get_n_vertices:
|
734
|
+
* @primitive: A #CoglPrimitive object
|
735
|
+
*
|
736
|
+
* Queries the number of vertices to read when drawing the given
|
737
|
+
* @primitive. Usually this value is implicitly set when associating
|
738
|
+
* vertex data or indices with a #CoglPrimitive.
|
739
|
+
*
|
740
|
+
* If cogl_primitive_set_indices() has been used to associate a
|
741
|
+
* sequence of #CoglIndices with the given @primitive then the
|
742
|
+
* number of vertices to read can also be phrased as the number
|
743
|
+
* of indices to read.
|
744
|
+
*
|
745
|
+
* <note>To be clear; it doesn't refer to the number of vertices - in
|
746
|
+
* terms of data - associated with the primitive it's just the number
|
747
|
+
* of vertices to read and draw.</note>
|
748
|
+
*
|
749
|
+
* Returns: The number of vertices to read when drawing.
|
750
|
+
*
|
751
|
+
* Since: 1.8
|
752
|
+
* Stability: unstable
|
753
|
+
*/
|
754
|
+
int
|
755
|
+
cogl_primitive_get_n_vertices (CoglPrimitive *primitive);
|
756
|
+
|
757
|
+
/**
|
758
|
+
* cogl_primitive_set_n_vertices:
|
759
|
+
* @primitive: A #CoglPrimitive object
|
760
|
+
* @n_vertices: The number of vertices to read when drawing.
|
761
|
+
*
|
762
|
+
* Specifies how many vertices should be read when drawing the given
|
763
|
+
* @primitive.
|
764
|
+
*
|
765
|
+
* Usually this value is set implicitly when associating vertex data
|
766
|
+
* or indices with a #CoglPrimitive.
|
767
|
+
*
|
768
|
+
* <note>To be clear; it doesn't refer to the number of vertices - in
|
769
|
+
* terms of data - associated with the primitive it's just the number
|
770
|
+
* of vertices to read and draw.</note>
|
771
|
+
*
|
772
|
+
* Since: 1.8
|
773
|
+
* Stability: unstable
|
774
|
+
*/
|
775
|
+
void
|
776
|
+
cogl_primitive_set_n_vertices (CoglPrimitive *primitive,
|
777
|
+
int n_vertices);
|
778
|
+
|
779
|
+
CoglVerticesMode
|
780
|
+
cogl_primitive_get_mode (CoglPrimitive *primitive);
|
781
|
+
|
782
|
+
void
|
783
|
+
cogl_primitive_set_mode (CoglPrimitive *primitive,
|
784
|
+
CoglVerticesMode mode);
|
785
|
+
|
786
|
+
/**
|
787
|
+
* cogl_primitive_set_attributes:
|
788
|
+
* @primitive: A #CoglPrimitive object
|
789
|
+
* @attributes: an array of #CoglAttribute pointers
|
790
|
+
* @n_attributes: the number of elements in @attributes
|
791
|
+
*
|
792
|
+
* Replaces all the attributes of the given #CoglPrimitive object.
|
793
|
+
*
|
794
|
+
* Since: 1.6
|
795
|
+
* Stability: Unstable
|
796
|
+
*/
|
797
|
+
void
|
798
|
+
cogl_primitive_set_attributes (CoglPrimitive *primitive,
|
799
|
+
CoglAttribute **attributes,
|
800
|
+
int n_attributes);
|
801
|
+
|
802
|
+
/**
|
803
|
+
* cogl_primitive_set_indices:
|
804
|
+
* @primitive: A #CoglPrimitive
|
805
|
+
* @indices: A #CoglIndices array
|
806
|
+
* @n_indices: The number of indices to reference when drawing
|
807
|
+
*
|
808
|
+
* Associates a sequence of #CoglIndices with the given @primitive.
|
809
|
+
*
|
810
|
+
* #CoglIndices provide a way to virtualize your real vertex data by
|
811
|
+
* providing a sequence of indices that index into your real vertex
|
812
|
+
* data. The GPU will walk though the index values to indirectly
|
813
|
+
* lookup the data for each vertex instead of sequentially walking
|
814
|
+
* through the data directly. This lets you save memory by indexing
|
815
|
+
* shared data multiple times instead of duplicating the data.
|
816
|
+
*
|
817
|
+
* The value passed as @n_indices will simply update the
|
818
|
+
* #CoglPrimitive <structfield>n_vertices</structfield> property as if
|
819
|
+
* cogl_primitive_set_n_vertices() were called. This property defines
|
820
|
+
* the number of vertices to draw or, put another way, how many
|
821
|
+
* indices should be read from @indices when drawing.
|
822
|
+
*
|
823
|
+
* <note>The #CoglPrimitive <structfield>first_vertex</structfield> property
|
824
|
+
* also affects drawing with indices by defining the first entry of the
|
825
|
+
* indices to start drawing from.</note>
|
826
|
+
*
|
827
|
+
* Since: 1.10
|
828
|
+
* Stability: unstable
|
829
|
+
*/
|
830
|
+
void
|
831
|
+
cogl_primitive_set_indices (CoglPrimitive *primitive,
|
832
|
+
CoglIndices *indices,
|
833
|
+
int n_indices);
|
834
|
+
|
835
|
+
/**
|
836
|
+
* cogl_primitive_get_indices:
|
837
|
+
* @primitive: A #CoglPrimitive
|
838
|
+
*
|
839
|
+
* Return value: (transfer none): the indices that were set with
|
840
|
+
* cogl_primitive_set_indices() or %NULL if no indices were set.
|
841
|
+
*
|
842
|
+
* Since: 1.10
|
843
|
+
* Stability: unstable
|
844
|
+
*/
|
845
|
+
CoglIndices *
|
846
|
+
cogl_primitive_get_indices (CoglPrimitive *primitive);
|
847
|
+
|
848
|
+
/**
|
849
|
+
* cogl_primitive_copy:
|
850
|
+
* @primitive: A primitive copy
|
851
|
+
*
|
852
|
+
* Makes a copy of an existing #CoglPrimitive. Note that the primitive
|
853
|
+
* is a shallow copy which means it will use the same attributes and
|
854
|
+
* attribute buffers as the original primitive.
|
855
|
+
*
|
856
|
+
* Return value: (transfer full): the new primitive
|
857
|
+
* Since: 1.10
|
858
|
+
* Stability: unstable
|
859
|
+
*/
|
860
|
+
CoglPrimitive *
|
861
|
+
cogl_primitive_copy (CoglPrimitive *primitive);
|
862
|
+
|
863
|
+
/**
|
864
|
+
* cogl_is_primitive:
|
865
|
+
* @object: A #CoglObject
|
866
|
+
*
|
867
|
+
* Gets whether the given object references a #CoglPrimitive.
|
868
|
+
*
|
869
|
+
* Returns: %TRUE if the @object references a #CoglPrimitive,
|
870
|
+
* %FALSE otherwise
|
871
|
+
*
|
872
|
+
* Since: 1.6
|
873
|
+
* Stability: Unstable
|
874
|
+
*/
|
875
|
+
CoglBool
|
876
|
+
cogl_is_primitive (void *object);
|
877
|
+
|
878
|
+
/**
|
879
|
+
* CoglPrimitiveAttributeCallback:
|
880
|
+
* @primitive: The #CoglPrimitive whose attributes are being iterated
|
881
|
+
* @attribute: The #CoglAttribute
|
882
|
+
* @user_data: The private data passed to cogl_primitive_foreach_attribute()
|
883
|
+
*
|
884
|
+
* The callback prototype used with cogl_primitive_foreach_attribute()
|
885
|
+
* for iterating all the attributes of a #CoglPrimitive.
|
886
|
+
*
|
887
|
+
* The function should return TRUE to continue iteration or FALSE to
|
888
|
+
* stop.
|
889
|
+
*
|
890
|
+
* Since: 1.10
|
891
|
+
* Stability: Unstable
|
892
|
+
*/
|
893
|
+
typedef CoglBool (* CoglPrimitiveAttributeCallback) (CoglPrimitive *primitive,
|
894
|
+
CoglAttribute *attribute,
|
895
|
+
void *user_data);
|
896
|
+
|
897
|
+
/**
|
898
|
+
* cogl_primitive_foreach_attribute:
|
899
|
+
* @primitive: A #CoglPrimitive object
|
900
|
+
* @callback: (scope call): A #CoglPrimitiveAttributeCallback to be
|
901
|
+
* called for each attribute
|
902
|
+
* @user_data: (closure): Private data that will be passed to the
|
903
|
+
* callback
|
904
|
+
*
|
905
|
+
* Iterates all the attributes of the given #CoglPrimitive.
|
906
|
+
*
|
907
|
+
* Since: 1.10
|
908
|
+
* Stability: Unstable
|
909
|
+
*/
|
910
|
+
void
|
911
|
+
cogl_primitive_foreach_attribute (CoglPrimitive *primitive,
|
912
|
+
CoglPrimitiveAttributeCallback callback,
|
913
|
+
void *user_data);
|
914
|
+
|
915
|
+
/**
|
916
|
+
* cogl_primitive_draw:
|
917
|
+
* @primitive: A #CoglPrimitive geometry object
|
918
|
+
* @framebuffer: A destination #CoglFramebuffer
|
919
|
+
* @pipeline: A #CoglPipeline state object
|
920
|
+
*
|
921
|
+
* Draws the given @primitive geometry to the specified destination
|
922
|
+
* @framebuffer using the graphics processing state described by @pipeline.
|
923
|
+
*
|
924
|
+
* This drawing api doesn't support high-level meta texture types such
|
925
|
+
* as #CoglTexture2DSliced so it is the user's responsibility to
|
926
|
+
* ensure that only low-level textures that can be directly sampled by
|
927
|
+
* a GPU such as #CoglTexture2D, #CoglTextureRectangle or #CoglTexture3D
|
928
|
+
* are associated with layers of the given @pipeline.
|
929
|
+
*
|
930
|
+
* Stability: unstable
|
931
|
+
* Since: 1.16
|
932
|
+
*/
|
933
|
+
void
|
934
|
+
cogl_primitive_draw (CoglPrimitive *primitive,
|
935
|
+
CoglFramebuffer *framebuffer,
|
936
|
+
CoglPipeline *pipeline);
|
937
|
+
|
938
|
+
|
939
|
+
COGL_END_DECLS
|
940
|
+
|
941
|
+
#endif /* __COGL_PRIMITIVE_H__ */
|
942
|
+
|