mutter/cogl/cogl
Jonas Ådahl 9bd2c5c6f2 cogl/context: Report error if allocating fallback texture failed
Error out if we fail to allocate the 1x1 all white fallback texture. If
we don't do this, and instead continue, any future (likely) allocation
failure will end up in obscure places that assumes the fallback texture
exists.

Related: https://bugzilla.redhat.com/show_bug.cgi?id=1989726
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1994>
2021-09-20 16:37:37 +00:00
..
deprecated cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
driver cogl: Add XRGB_FP_16161616 and XBGR_FP_16161616 formats 2021-09-20 14:39:20 +00:00
gl-prototypes cogl: Fix GL_EXT_discard_framebuffer extension check 2021-08-24 18:33:09 +02:00
winsys cogl: Store CPU and GPU rendering timestamps in frame info 2021-07-13 08:09:42 +00:00
cogl1-context.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-atlas-texture-private.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-atlas-texture.c *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-atlas-texture.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-atlas.c
cogl-atlas.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-attribute-buffer-private.h
cogl-attribute-buffer.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-attribute-buffer.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-attribute-private.h
cogl-attribute.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-attribute.h *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-bitmap-conversion.c cogl: Add XRGB_FP_16161616 and XBGR_FP_16161616 formats 2021-09-20 14:39:20 +00:00
cogl-bitmap-packing.h cogl: Add XRGB_FP_16161616 and XBGR_FP_16161616 formats 2021-09-20 14:39:20 +00:00
cogl-bitmap-pixbuf.c *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-bitmap-private.h
cogl-bitmap.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-bitmap.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-bitmask.c *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-bitmask.h
cogl-blend-string.c
cogl-blend-string.h
cogl-blit.c cogl: Turn CoglFramebuffer, CoglOffscreen and CoglOnscreen into GObjects 2020-10-16 16:17:38 +00:00
cogl-blit.h
cogl-boxed-value.c Change all g_memdup() to g_memdup2() 2021-02-04 19:16:28 +01:00
cogl-boxed-value.h
cogl-buffer-private.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-buffer.c *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-buffer.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-clip-stack.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-clip-stack.h Remove CoglMatrix 2020-10-06 15:34:48 +00:00
cogl-closure-list-private.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-closure-list.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-color-private.h
cogl-color.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-color.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-context-private.h cogl: Add GPU timestamp querying utilities 2021-07-13 08:09:42 +00:00
cogl-context.c cogl/context: Report error if allocating fallback texture failed 2021-09-20 16:37:37 +00:00
cogl-context.h cogl: Add GPU timestamp querying utilities 2021-07-13 08:09:42 +00:00
cogl-debug-options.h cogl: Add new option COGL_DEBUG=stencilling to disable optimizations 2021-06-01 15:42:52 +08:00
cogl-debug.c cogl: Add new option COGL_DEBUG=stencilling to disable optimizations 2021-06-01 15:42:52 +08:00
cogl-debug.h cogl: Add new option COGL_DEBUG=stencilling to disable optimizations 2021-06-01 15:42:52 +08:00
cogl-defines.h.in
cogl-defines.h.meson cogl: Install cogl-trace.h and include from cogl.h 2020-03-26 09:05:38 +01:00
cogl-depth-state-private.h
cogl-depth-state.c
cogl-depth-state.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-display-private.h cogl: Remove ability to bind Wayland EGL display 2021-05-18 14:03:22 +00:00
cogl-display.c cogl: Remove ability to bind Wayland EGL display 2021-05-18 14:03:22 +00:00
cogl-display.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-dma-buf-handle.c cogl: Turn CoglFramebuffer, CoglOffscreen and CoglOnscreen into GObjects 2020-10-16 16:17:38 +00:00
cogl-dma-buf-handle.h cogl/dma-buf: Add mmap/munmap helpers 2020-05-26 13:54:28 +00:00
cogl-driver.h cogl: Add GPU timestamp querying utilities 2021-07-13 08:09:42 +00:00
cogl-egl-defines.h.in move everything into a cogl/ directory 2016-04-22 16:44:31 +02:00
cogl-egl-private.h
cogl-egl.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-feature-private.c
cogl-feature-private.h
cogl-fence-private.h
cogl-fence.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-fence.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-flags.h
cogl-frame-info-private.h cogl: Add CPU swap time and GPU rendering query to CoglFrameInfo 2021-07-13 08:09:42 +00:00
cogl-frame-info.c cogl: Store CPU and GPU rendering timestamps in frame info 2021-07-13 08:09:42 +00:00
cogl-frame-info.h cogl: Add CPU swap time and GPU rendering query to CoglFrameInfo 2021-07-13 08:09:42 +00:00
cogl-framebuffer-driver.c cogl/framebuffer: Move read_pixels_into_bitmap() to driver class 2021-01-30 09:11:46 +00:00
cogl-framebuffer-driver.h cogl/framebuffer: Move read_pixels_into_bitmap() to driver class 2021-01-30 09:11:46 +00:00
cogl-framebuffer-private.h cogl/journal: Don't sometimes hold a ref on the framebuffer 2021-02-18 16:59:00 +00:00
cogl-framebuffer.c cogl: Add GPU timestamp querying utilities 2021-07-13 08:09:42 +00:00
cogl-framebuffer.h cogl: Add GPU timestamp querying utilities 2021-07-13 08:09:42 +00:00
cogl-gl-header.h.in
cogl-glib-source.c
cogl-glib-source.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-glsl-shader-boilerplate.h
cogl-graphene.c cogl/graphene: Fix license header 2021-01-28 20:33:01 +00:00
cogl-graphene.h cogl/graphene: Fix license header 2021-01-28 20:33:01 +00:00
cogl-gtype-private.h cogl: Drop "volatile" from static GTypes in manual registration 2021-03-22 10:47:51 +00:00
cogl-gtype.c
cogl-i18n-private.h
cogl-index-buffer-private.h
cogl-index-buffer.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-index-buffer.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-indices-private.h
cogl-indices.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-indices.h *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-journal-private.h
cogl-journal.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-list.c
cogl-list.h
cogl-macros.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-magazine-private.h
cogl-magazine.c
cogl-matrix-stack-private.h cogl/matrix-stack: Embed graphene matrices in entry structs 2020-10-06 15:34:48 +00:00
cogl-matrix-stack.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-matrix-stack.h Remove CoglMatrix 2020-10-06 15:34:48 +00:00
cogl-memory-stack-private.h
cogl-memory-stack.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-meta-texture.c Remove CoglMatrix 2020-10-06 15:34:48 +00:00
cogl-meta-texture.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-mutter.h cogl: Add CoglX11Onscreen interface 2021-01-30 09:11:46 +00:00
cogl-node-private.h *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-node.c
cogl-object-private.h *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-object.c *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-object.h *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-offscreen-private.h cogl/offscreen: Move struct to C file 2021-01-30 09:11:46 +00:00
cogl-offscreen.c cogl/gl-framebuffer: Split up into FBO and back drivers 2021-01-30 09:11:46 +00:00
cogl-offscreen.h cogl: Turn CoglFramebuffer, CoglOffscreen and CoglOnscreen into GObjects 2020-10-16 16:17:38 +00:00
cogl-onscreen-private.h cogl/onscreen: Remove explicit 'resizable':ness 2021-01-30 09:11:46 +00:00
cogl-onscreen-template-private.h
cogl-onscreen-template.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-onscreen-template.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-onscreen.c cogl/frame-info: Add ZERO_COPY flag 2021-03-08 09:48:11 +00:00
cogl-onscreen.h cogl/onscreen: Move buffer age getter vfunc to class 2021-01-30 09:11:46 +00:00
cogl-output-private.h
cogl-output.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-output.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-pipeline-cache.c cogl: Use autopointers to free structs on return 2020-04-12 21:40:20 +00:00
cogl-pipeline-cache.h
cogl-pipeline-debug.c
cogl-pipeline-hash-table.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-pipeline-hash-table.h
cogl-pipeline-layer-private.h Remove CoglMatrix 2020-10-06 15:34:48 +00:00
cogl-pipeline-layer-state-private.h
cogl-pipeline-layer-state.c Remove CoglMatrix 2020-10-06 15:34:48 +00:00
cogl-pipeline-layer-state.h Remove CoglMatrix 2020-10-06 15:34:48 +00:00
cogl-pipeline-layer.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-pipeline-private.h cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-pipeline-snippet-private.h
cogl-pipeline-snippet.c
cogl-pipeline-state-private.h
cogl-pipeline-state.c
cogl-pipeline-state.h cogl: Use graphene APIs 2020-10-06 15:34:48 +00:00
cogl-pipeline.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-pipeline.h *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-pixel-buffer-private.h
cogl-pixel-buffer.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-pixel-buffer.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-pixel-format.c cogl: Add XRGB_FP_16161616 and XBGR_FP_16161616 formats 2021-09-20 14:39:20 +00:00
cogl-pixel-format.h cogl: Add XRGB_FP_16161616 and XBGR_FP_16161616 formats 2021-09-20 14:39:20 +00:00
cogl-point-in-poly-private.h
cogl-point-in-poly.c
cogl-poll-private.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-poll.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-poll.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-primitive-private.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-primitive-texture.c
cogl-primitive-texture.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-primitive.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-primitive.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-primitives-private.h
cogl-primitives.c cogl/framebuffer: Move public struct fields to private struct 2020-10-16 16:17:38 +00:00
cogl-private.h Replace the CoglMatrix type by graphene_matrix_t 2020-10-06 15:34:47 +00:00
cogl-profile.c
cogl-profile.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-rectangle-map.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-rectangle-map.h cogl: Remove CoglBool, use gboolean instead 2019-02-15 16:35:46 +01:00
cogl-renderer-private.h
cogl-renderer.c cogl/renderer: Add API to bind the right EGL API 2021-07-07 21:03:26 +02:00
cogl-renderer.h cogl/renderer: Add API to bind the right EGL API 2021-07-07 21:03:26 +02:00
cogl-sampler-cache-private.h
cogl-sampler-cache.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-scanout.c cogl: Fix license header in cogl-scanout and cogl-trace 2021-01-28 20:33:01 +00:00
cogl-scanout.h cogl: Fix license header in cogl-scanout and cogl-trace 2021-01-28 20:33:01 +00:00
cogl-snippet-private.h
cogl-snippet.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-snippet.h *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-spans.c
cogl-spans.h
cogl-sub-texture-private.h
cogl-sub-texture.c
cogl-sub-texture.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-swap-chain-private.h clutter: Remove support for transparent windows 2020-08-13 14:45:10 +02:00
cogl-swap-chain.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-swap-chain.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-texture-2d-private.h
cogl-texture-2d-sliced-private.h
cogl-texture-2d-sliced.c cogl/texture-2d-sliced: Don't double-free slice array when alloc failed 2020-12-18 16:19:05 +00:00
cogl-texture-2d-sliced.h *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-texture-2d.c cogl-texture-2d: Flush the journal before mipmapping 2020-07-07 16:15:24 +08:00
cogl-texture-2d.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-texture-driver.h cogl: Add API to check whether a format is supported by the driver 2020-08-07 09:02:49 +00:00
cogl-texture-private.h cogl: Add new function cogl_pipeline_set_layer_max_mipmap_level() 2020-05-13 09:37:31 +00:00
cogl-texture.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-texture.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-trace.c cogl/trace: Add way to add a description to trace 2021-07-29 15:16:48 +02:00
cogl-trace.h cogl/trace: Add getter for trace enabled state 2021-07-29 15:16:48 +02:00
cogl-types.h cogl: Export cogl_blend_string_error_quark 2021-07-05 23:01:37 +01:00
cogl-util.c cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-util.h
cogl-version.h
cogl-wayland-server.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-x11-onscreen.c cogl: Add CoglX11Onscreen interface 2021-01-30 09:11:46 +00:00
cogl-x11-onscreen.h cogl: Add CoglX11Onscreen interface 2021-01-30 09:11:46 +00:00
cogl-x11-renderer-private.h
cogl-xlib-private.h
cogl-xlib-renderer-private.h
cogl-xlib-renderer.c cogl: Stop using GSlice 2021-02-22 13:51:30 +01:00
cogl-xlib-renderer.h cogl: Mark exported cogl symbols using COGL_EXPORT 2020-03-26 09:05:38 +01:00
cogl-xlib.h
cogl.c cogl: Remove conditional g_type_init() call 2021-08-22 17:32:12 +00:00
cogl.h Remove CoglMatrix 2020-10-06 15:34:48 +00:00
meson.build cogl/framebuffer: Move read_pixels_into_bitmap() to driver class 2021-01-30 09:11:46 +00:00
mutter-cogl.pc.in