mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
[045/906] * sys/glsink/Makefile.am: * sys/glsink/gltestsrc.c: * sys/glsink/gltestsrc.h: * sys/glsink/gstgldisplay.c: * sys/glsink/gstgldownload.c: * sys/glsink/gstglfilter.c: * sys/glsink/gstgltestsrc.c: * sys/glsink/gstgltestsrc.h: * sys/glsink/gstglupload.c: * sys/glsink/gstopengl.c: Add gltestsrc element, a duplicate of videotestsrc that uses GL rendering to create images. More cleanup.
This commit is contained in:
parent
f19f6cc1ab
commit
c46924bb35
1 changed files with 2 additions and 2 deletions
|
@ -267,7 +267,7 @@ gst_gl_display_init_tmp_window (GstGLDisplay * display)
|
||||||
Window root;
|
Window root;
|
||||||
Screen *screen;
|
Screen *screen;
|
||||||
|
|
||||||
GST_ERROR ("creating temp window");
|
GST_DEBUG ("creating temp window");
|
||||||
|
|
||||||
screen = XDefaultScreenOfDisplay (display->display);
|
screen = XDefaultScreenOfDisplay (display->display);
|
||||||
scrnum = XScreenNumberOfScreen (screen);
|
scrnum = XScreenNumberOfScreen (screen);
|
||||||
|
@ -290,7 +290,7 @@ gst_gl_display_init_tmp_window (GstGLDisplay * display)
|
||||||
root, 0, 0, 100, 100,
|
root, 0, 0, 100, 100,
|
||||||
0, display->visinfo->depth, InputOutput,
|
0, display->visinfo->depth, InputOutput,
|
||||||
display->visinfo->visual, mask, &attr);
|
display->visinfo->visual, mask, &attr);
|
||||||
XMapWindow (display->display, display->window);
|
//XMapWindow (display->display, display->window);
|
||||||
XSync (display->display, FALSE);
|
XSync (display->display, FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue