[838/906] gl: Use GL_TEXTURE_2D instead of GL_TEXTURE_RECTANGLE
authorMatthew Waters <ystreet00@gmail.com>
Fri, 15 Nov 2013 07:28:49 +0000 (18:28 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:32 +0000 (19:31 +0000)
commitefa22442a9562aa6cd43bc71499ffd54113512c9
tree89371d81950911471e0aa691756eccaadf0631fb
parent32265d7e4ebac9b566610bb877a23890b8705804
[838/906] gl: Use GL_TEXTURE_2D instead of GL_TEXTURE_RECTANGLE

We create our textures (in Desktop GL) with GL_TEXTURE_RECTANGLE,
vaapi attempts to bind our texture to GL_TEXTURE_2D which throws a
GL_INVALID_OPERATION error and as thus, no video.

Also, by moving exclusively to GL_TEXTURE_2D and the npot extension
we also remove a difference between the Desktop GL and GLES2 code.

https://bugzilla.gnome.org/show_bug.cgi?id=712287
gst-libs/gst/gl/gstgldownload.c
gst-libs/gst/gl/gstgles2.h
gst-libs/gst/gl/gstglfilter.c
gst-libs/gst/gl/gstglframebuffer.c
gst-libs/gst/gl/gstglmemory.c
gst-libs/gst/gl/gstglupload.c
gst-libs/gst/gl/gstglutils.c
tests/check/libs/gstglcontext.c