commit | bfdbdb7eb6d3211960cfdc8b63cdae14d92b5970 | [log] [tgz] |
---|---|---|
author | Sebastian Dröge <sebastian@centricular.com> | Wed Feb 22 14:09:45 2017 +0200 |
committer | Sebastian Dröge <sebastian@centricular.com> | Thu Feb 23 21:57:33 2017 +0200 |
tree | 6bab8605991e007ce5e61efef256439d069015fe | |
parent | fa47edf84698ffd8a62e5c72ff2ef918f3fe30f0 [diff] |
glmemory: Use glBlitFramebuffer() instead of glCopyTexImage2D() if available glBlitFramebuffer() is new GLES3/GL3 API. They are probably often implemented in terms of each other, and glBlitFramebuffer() can potentially be implemented more flexible. Let's use it if available. Also it actually works on imx6 with DirectVIV textures. Based on a patch by Haihua Hu <jared.hu@nxp.com> from https://github.com/Freescale/meta-freescale/blob/master/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/ https://bugzilla.gnome.org/show_bug.cgi?id=779070