diff options
author | David Schleef <ds@schleef.org> | 2008-01-06 03:01:39 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2008-01-06 03:01:39 +0000 |
commit | b37e08cb29ddca72161a8098690ba52e5594153d (patch) | |
tree | a1323d58d34e815589e88792662d80e6f6ff2da3 /sys/glsink/gstgldisplay.h | |
parent | 540c7d46c5627d7c8f229756c4885dac90f77311 (diff) | |
download | gst-plugins-bad-b37e08cb29ddca72161a8098690ba52e5594153d.tar.gz gst-plugins-bad-b37e08cb29ddca72161a8098690ba52e5594153d.tar.bz2 gst-plugins-bad-b37e08cb29ddca72161a8098690ba52e5594153d.zip |
sys/glsink/: Handle xoverlay exposes correctly. This means glimagesink works correctly most of the time in totem (fu...
Original commit message from CVS:
* sys/glsink/glimagesink.c:
* sys/glsink/glimagesink.h:
* sys/glsink/gstglbuffer.h:
* sys/glsink/gstgldisplay.c:
* sys/glsink/gstgldisplay.h:
* sys/glsink/gstglupload.c:
Handle xoverlay exposes correctly. This means glimagesink works
correctly most of the time in totem (fullscreening being an
execption). Doesn't handle expose events directly to the GL
window.
Diffstat (limited to 'sys/glsink/gstgldisplay.h')
-rw-r--r-- | sys/glsink/gstgldisplay.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/glsink/gstgldisplay.h b/sys/glsink/gstgldisplay.h index 5886884d..1b2c9df5 100644 --- a/sys/glsink/gstgldisplay.h +++ b/sys/glsink/gstgldisplay.h @@ -71,16 +71,15 @@ void gst_gl_display_unlock (GstGLDisplay *display); void gst_gl_display_set_window (GstGLDisplay *display, Window window); void gst_gl_display_update_attributes (GstGLDisplay *display); void gst_gl_display_clear (GstGLDisplay *display); -void gst_gl_display_draw_image (GstGLDisplay * display, GstVideoFormat type, - void *data, int width, int height); -void gst_gl_display_draw_rbo (GstGLDisplay * display, GLuint rbo, - int width, int height); void gst_gl_display_draw_texture (GstGLDisplay * display, GLuint texture, - int width, int height); + int width, int height, gboolean sync); void gst_gl_display_check_error (GstGLDisplay *display, int line); GLuint gst_gl_display_upload_texture_rectangle (GstGLDisplay *display, GstVideoFormat type, void *data, int width, int height); void gst_gl_display_set_visible (GstGLDisplay *display, gboolean visible); +void gst_gl_display_set_window_size (GstGLDisplay *display, int width, + int height); +void gst_gl_display_update_window (GstGLDisplay * display); #endif |