Go to file
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
clutter clutter/evdev: Add support for BTN_STYLUS3 2018-01-30 19:28:02 +01:00
cogl cogl-texture: refuse downloading textures in cogl_texture_get_data() on GLES 2018-02-05 11:22:36 +00:00
data data: Don't expose window shading shortcut 2018-01-24 19:09:27 +01:00
doc Remove gtk-doc 2015-07-06 00:52:18 -07:00
po Update Indonesian translation 2018-02-04 12:28:55 +00:00
src wayland: send shortcut inhibit “active” event 2018-02-05 09:06:49 +00:00
tools Clean up the source tree 2014-03-18 20:37:35 -04:00
.gitignore wayland: Add Xwayland grab keyboard support 2017-12-18 13:15:20 +01:00
autogen.sh Fix bashism in autogen.sh 2017-05-11 13:45:44 +02:00
configure.ac screen-cast: Update to pipewire 0.1.8 API 2018-01-25 11:40:03 +08:00
COPYING Updated obsolete FSF postal address in COPYING 2014-01-13 11:35:48 -05:00
Makefile.am Fix the merged build 2016-04-27 20:37:47 +02:00
mutter.doap doap: add <programming-language> 2014-07-31 17:50:28 +02:00
NEWS Bump version to 3.27.1 2017-10-17 17:44:39 +02:00