mutter/cogl
George Kiagiadakis d8f2f583e6 cogl-texture: refuse downloading textures in cogl_texture_get_data() on GLES
On drivers that do not support glGetTexImage2D (i.e. on GLES),
cogl_texture_get_data() has a "feature" that allows it to download
texture data by rendering the texture on an intermediate framebuffer
object and then reading back the data from there. However, this
feature requires the user to have previously set an "active"
framebuffer object in the context, which makes this very tricky
because it is not clear to the developer that he needs to do that
in order for some code to work on GLES (of course it works on
desktop GL, so nobody notices...) and additionally the code actually
crashes if an active fbo is not set!

This patch basically removes this feature in order to prevent
the crash and is in line with how this code has evolved in cogl-2.0:
https://git.gnome.org/browse/cogl/commit/?id=6d6a277b8e9a63a8268046e5258877ba94a1da5b

https://bugzilla.gnome.org/show_bug.cgi?id=789961
2018-02-05 11:22:36 +00:00
..
build/autotools move everything into a cogl/ directory 2016-04-22 16:44:31 +02:00
cogl cogl-texture: refuse downloading textures in cogl_texture_get_data() on GLES 2018-02-05 11:22:36 +00:00
cogl-gles2 build: Clean up .pc files 2017-02-15 23:54:07 +01:00
cogl-pango Make libmutter and friends parallel installable 2017-02-14 11:16:45 +08:00
cogl-path Make libmutter and friends parallel installable 2017-02-14 11:16:45 +08:00
test-fixtures Don't use config.h in clutter and cogl 2016-07-20 14:23:48 +08:00
tests Make libmutter and friends parallel installable 2017-02-14 11:16:45 +08:00
.gitignore Make it possible to include private cogl API from mutter 2016-07-20 14:23:48 +08:00
cogl-mutter-config.h.in Make it possible to include private cogl API from mutter 2016-07-20 14:23:48 +08:00
config-custom.h move everything into a cogl/ directory 2016-04-22 16:44:31 +02:00
configure.ac Make libmutter and friends parallel installable 2017-02-14 11:16:45 +08:00
Makefile.am move everything into a cogl/ directory 2016-04-22 16:44:31 +02:00