[Bug 763021] glmemory: fix copy texture fail using glCopyTexImage2D()
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Mar 3 09:36:40 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=763021
--- Comment #5 from Matthew Waters (ystreet00) <ystreet00 at gmail.com> ---
The spec allows GL_RED/GL_RG as an internal format so your drivers are not
compliant.
>From the GLES 3.0.1 spec, section 3.8.3, page 125.
"If internalformat is specified as a base internal format, the GL stores the
resulting texture with internal component resolutions of its own choosing."
GLES 2.0 doesn't contain RG textures so we rely on the GL_EXT_texture_rg
extension from
https://www.khronos.org/registry/gles/extensions/EXT/EXT_texture_rg.txt which
states:
"Accepted by the <internalformat> parameter of TexImage2D and CopyTexImage2D,
and the <format> parameter of TexImage2D, TexSubImage2D, and ReadPixels:
RED_EXT 0x1903
RG_EXT 0x8227"
If by some weird reason there's GL_ARB_texture_rg support with your drivers,
they also contain the exact same statement as GL_EXT_texture_rg (albeit with
more formats).
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list