- Reserved
void*[2] Reserved;
- close
void function(GstGLWindow* window) close;
close the connection to the display
- controlsViewport
bool function(GstGLWindow* window) controlsViewport;
Whether the window takes care of glViewport setup.
and the user does not need to deal with viewports
- draw
void function(GstGLWindow* window) draw;
redraw the window with the specified dimensions
- getDisplay
size_t function(GstGLWindow* window) getDisplay;
Gets the current windowing system display connection
- getWindowHandle
size_t function(GstGLWindow* window) getWindowHandle;
Gets the current window handle that this #GstGLWindow is
rendering into. This may return a different value to
what is passed into @set_window_handle
- handleEvents
void function(GstGLWindow* window, bool handleEvents) handleEvents;
whether to handle 'extra' events from the windowing system.
Basic events like surface moves and resizes are still valid
things to listen for.
- hasOutputSurface
bool function(GstGLWindow* window) hasOutputSurface;
Whether the window has output surface or not. (Since: 1.18)
- open
bool function(GstGLWindow* window, GError** _err) open;
open the connection to the display
- parentClass
GstObjectClass parentClass;
- queueResize
void function(GstGLWindow* window) queueResize;
request a resize to occur when possible
- quit
void function(GstGLWindow* window) quit;
send a quit to the mainloop
- run
void function(GstGLWindow* window) run;
- sendMessage
void function(GstGLWindow* window, GstGLWindowCB callback, void* data) sendMessage;
invoke a function on the window thread. Required to be reentrant.
- sendMessageAsync
void function(GstGLWindow* window, GstGLWindowCB callback, void* data, GDestroyNotify destroy) sendMessageAsync;
invoke a function on the window thread. @run may or may
not have been called. Required to be reentrant.
- setPreferredSize
void function(GstGLWindow* window, int width, int height) setPreferredSize;
request that the window change surface size. The
implementation is free to ignore this information.
- setRenderRectangle
bool function(GstGLWindow* window, int x, int y, int width, int height) setRenderRectangle;
request a rectangle to render into. See #GstVideoOverlay
- setWindowHandle
void function(GstGLWindow* window, size_t handle) setWindowHandle;
Set a window handle to render into
- show
void function(GstGLWindow* window) show;
request that the window be shown to the user