summaryrefslogtreecommitdiff
path: root/gst-libs/gst/gl/gstgldisplay.h
diff options
context:
space:
mode:
authorJulien Isorce <julien.isorce@gmail.com>2009-09-19 14:31:28 +0200
committerMatthew Waters <ystreet00@gmail.com>2014-03-15 18:36:36 +0100
commit30631c462646b353b6a15abe83e3866bcebe4911 (patch)
treed7aa01e8df8e4f7011f0e6bd4ff6903fab966fb5 /gst-libs/gst/gl/gstgldisplay.h
parent192bf749ea7ec7713dcde8cf3224fc80e85df4ab (diff)
downloadgstreamer-plugins-bad-30631c462646b353b6a15abe83e3866bcebe4911.tar.gz
[378/906] gldisplay: avoid to request gl thread when deleting a texture
A texture is not destroyed when when we are done with it. This texture is just added to the texture pool in order to be re-used. In this case no OpenGL code is executed so we do not need to request gl thread.
Diffstat (limited to 'gst-libs/gst/gl/gstgldisplay.h')
-rw-r--r--gst-libs/gst/gl/gstgldisplay.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gst-libs/gst/gl/gstgldisplay.h b/gst-libs/gst/gl/gstgldisplay.h
index 738c6f3e7..146ddfb0f 100644
--- a/gst-libs/gst/gl/gstgldisplay.h
+++ b/gst-libs/gst/gl/gstgldisplay.h
@@ -113,9 +113,6 @@ struct _GstGLDisplay
GLuint gen_texture;
GLuint gen_texture_width;
GLuint gen_texture_height;
- GLuint del_texture;
- GLuint del_texture_width;
- GLuint del_texture_height;
//client callbacks
CRCB clientReshapeCallback;