mutter/cogl
Neil Roberts ec1bb4ce39 When internally using an FBO, check for allocation errors
Both the cogl_texture_get_data and _cogl_blit_begin implementations
will internally try to create an FBO for a texture and have fallbacks
if the FBO fails. However neither of them were catching errors when
allocating the framebuffer so the fallback wouldn't work properly.
This patch just adds an explicit call to cogl_framebuffer_allocate for
these uses and causes it to use the next fallback if it fails.

Based on a patch by Adel Gadllah.

https://bugzilla.gnome.org/show_bug.cgi?id=669368

Reviewed-by: Robert Bragg <robert@linux.intel.com>
2012-02-07 15:13:11 +00:00
..
driver
gl-prototypes
tesselator
winsys object: Remove the type member of CoglObjectClass 2012-01-27 17:18:32 +00:00
cogl2-clip-state.c
cogl2-clip-state.h docs: make cogl2-clip-state.h docs consistent 2011-12-06 18:51:56 +00:00
cogl2-experimental.h
cogl2-path.c
cogl2-path.h
cogl-1.0.pc.in
cogl-2.0-experimental.pc.in
cogl-atlas-texture-private.h
cogl-atlas-texture.c texture: Make CoglSubTexture experimental public api 2011-11-01 12:03:03 +00:00
cogl-atlas.c
cogl-atlas.h
cogl-attribute-buffer-private.h
cogl-attribute-buffer.c
cogl-attribute-buffer.h
cogl-attribute-private.h
cogl-attribute.c
cogl-attribute.h
cogl-bitmap-fallback.c
cogl-bitmap-pixbuf.c
cogl-bitmap-private.h
cogl-bitmap.c
cogl-bitmap.h
cogl-bitmask.c
cogl-bitmask.h
cogl-blend-string.c
cogl-blend-string.h
cogl-blit.c
cogl-blit.h
cogl-boxed-value.c
cogl-boxed-value.h cogl-boxed-value: Add _cogl_boxed_value_copy 2011-11-16 16:32:11 +00:00
cogl-buffer-private.h
cogl-buffer.c
cogl-buffer.h
cogl-clip-stack.c
cogl-clip-stack.h
cogl-clip-state-private.h
cogl-clip-state.c
cogl-clip-state.h
cogl-clutter-xlib.h
cogl-clutter.c
cogl-clutter.h
cogl-color-private.h
cogl-color.c
cogl-color.h
cogl-config-private.h
cogl-config.c
cogl-context-private.h
cogl-context.c
cogl-context.h
cogl-debug-options.h
cogl-debug.c
cogl-debug.h
cogl-defines.h.in
cogl-defines.h.win32
cogl-defines.h.win32_SDL
cogl-deprecated.h
cogl-depth-state-private.h
cogl-depth-state.c
cogl-depth-state.h
cogl-display-private.h
cogl-display.c
cogl-display.h
cogl-enum-types.c.in
cogl-enum-types.h.in
cogl-euler.c
cogl-euler.h
cogl-feature-private.c
cogl-feature-private.h Don't use the 'NULL' GModule to resolve GL symbols 2011-07-27 16:10:02 +01:00
cogl-fixed.c
cogl-fixed.h
cogl-flags.h
cogl-framebuffer-private.h
cogl-framebuffer.c
cogl-framebuffer.h
cogl-glib-source.c
cogl-glib-source.h
cogl-glx-display-private.h Remove CoglXlibDisplay 2011-12-12 16:14:18 +00:00
cogl-glx-renderer-private.h
cogl-gtype-private.h
cogl-handle.h
cogl-index-buffer-private.h
cogl-index-buffer.c
cogl-index-buffer.h
cogl-indices-private.h
cogl-indices.c
cogl-indices.h
cogl-internal.h
cogl-journal-private.h
cogl-journal.c
cogl-material-compat.c
cogl-material-compat.h Remove G_CONST_RETURN 2011-06-09 16:21:15 +01:00
cogl-matrix-private.h
cogl-matrix-stack.c Flush matrices in the progend and flip with a vector 2011-12-06 19:02:06 +00:00
cogl-matrix-stack.h
cogl-matrix.c
cogl-matrix.h matrix: Remove _EXP symbol mangling and add gtk-doc 2012-01-16 18:27:20 +00:00
cogl-meta-texture.c
cogl-meta-texture.h
cogl-node-private.h
cogl-node.c
cogl-object-private.h
cogl-object.c
cogl-object.h
cogl-offscreen.h
cogl-onscreen-private.h
cogl-onscreen-template-private.h
cogl-onscreen-template.c
cogl-onscreen-template.h
cogl-onscreen.c
cogl-onscreen.h
cogl-pango.h
cogl-path-private.h
cogl-path.c
cogl-path.h
cogl-pipeline-cache.c
cogl-pipeline-cache.h
cogl-pipeline-debug.c
cogl-pipeline-fragend-arbfp-private.h
cogl-pipeline-fragend-arbfp.c
cogl-pipeline-fragend-fixed-private.h
cogl-pipeline-fragend-fixed.c
cogl-pipeline-fragend-glsl-private.h
cogl-pipeline-fragend-glsl.c
cogl-pipeline-layer-private.h
cogl-pipeline-layer-state-private.h
cogl-pipeline-layer-state.c snippet: Add a hook for the layer texture coordinate transformation 2011-12-06 19:02:06 +00:00
cogl-pipeline-layer-state.h
cogl-pipeline-layer.c
cogl-pipeline-opengl-private.h
cogl-pipeline-opengl.c
cogl-pipeline-private.h Flush matrices in the progend and flip with a vector 2011-12-06 19:02:06 +00:00
cogl-pipeline-progend-fixed-private.h
cogl-pipeline-progend-fixed.c Flush matrices in the progend and flip with a vector 2011-12-06 19:02:06 +00:00
cogl-pipeline-progend-glsl-private.h
cogl-pipeline-progend-glsl.c
cogl-pipeline-snippet-private.h
cogl-pipeline-snippet.c
cogl-pipeline-state-private.h
cogl-pipeline-state.c
cogl-pipeline-state.h
cogl-pipeline-vertend-fixed-private.h
cogl-pipeline-vertend-fixed.c
cogl-pipeline-vertend-glsl-private.h
cogl-pipeline-vertend-glsl.c
cogl-pipeline.c
cogl-pipeline.h
cogl-pixel-buffer-private.h
cogl-pixel-buffer.c
cogl-pixel-buffer.h
cogl-point-in-poly-private.h
cogl-point-in-poly.c util: tune point_in_poly test for polys in screen coords 2011-03-07 13:26:19 +00:00
cogl-poll.c Add support for main loop integration 2012-01-05 13:40:10 +00:00
cogl-poll.h
cogl-primitive-private.h
cogl-primitive.c
cogl-primitive.h
cogl-primitives-private.h
cogl-primitives.c
cogl-primitives.h
cogl-private.h
cogl-profile.c
cogl-profile.h
cogl-program-private.h
cogl-program.c
cogl-quaternion-private.h
cogl-quaternion.c
cogl-quaternion.h
cogl-queue.h
cogl-rectangle-map.c
cogl-rectangle-map.h
cogl-renderer-private.h
cogl-renderer.c
cogl-renderer.h
cogl-shader-boilerplate.h Dynamically load the GL or GLES library 2011-07-11 12:57:38 +01:00
cogl-shader-private.h
cogl-shader.c Use the same number for n_tex_coord_attribs in all linked shaders 2011-11-02 13:50:28 +00:00
cogl-shader.h
cogl-snippet-private.h
cogl-snippet.c
cogl-snippet.h
cogl-spans.c
cogl-spans.h Adds support for a mirrored repeat wrap mode 2011-11-01 12:03:02 +00:00
cogl-sub-texture-private.h
cogl-sub-texture.c
cogl-sub-texture.h
cogl-swap-chain-private.h EGL: Updates GDL platform support 2011-05-05 14:46:02 +01:00
cogl-swap-chain.c
cogl-swap-chain.h
cogl-texture-2d-private.h
cogl-texture-2d-sliced-private.h
cogl-texture-2d-sliced.c
cogl-texture-2d-sliced.h
cogl-texture-2d.c
cogl-texture-2d.h
cogl-texture-3d-private.h
cogl-texture-3d.c
cogl-texture-3d.h
cogl-texture-driver.h
cogl-texture-private.h
cogl-texture-rectangle-private.h
cogl-texture-rectangle.c
cogl-texture-rectangle.h
cogl-texture.c
cogl-texture.h
cogl-types.h
cogl-util.c
cogl-util.h
cogl-vector.c
cogl-vector.h
cogl-vertex-buffer-private.h
cogl-vertex-buffer.c
cogl-vertex-buffer.h
cogl-wayland-renderer.h
cogl-win32-renderer.c
cogl-win32-renderer.h
cogl-x11-renderer-private.h
cogl-xlib-private.h
cogl-xlib-renderer-private.h
cogl-xlib-renderer.c
cogl-xlib-renderer.h
cogl-xlib.c
cogl-xlib.h
cogl.c
cogl.h
cogl.rc.in
cogl.symbols
Makefile.am
stb_image.c