| Top |
| GstVaapiDisplay * | gst_vaapi_display_egl_new () |
| GstVaapiDisplay * | gst_vaapi_display_egl_new_with_native_display () |
| EGLDisplay | gst_vaapi_display_egl_get_gl_display () |
| gboolean | gst_vaapi_display_egl_set_gl_context () |
| EGLContext | gst_vaapi_display_egl_get_gl_context () |
GstVaapiDisplay * gst_vaapi_display_egl_new (GstVaapiDisplay *display,guint gles_version);
Creates a new GstVaapiDisplay object suitable in EGL context. If
the native display
is NULL, then any type of display is picked,
i.e. one that can be successfully opened. The gles_version
will
further ensure the OpenGL ES API to use, or zero to indicate
"desktop" OpenGL.
display |
a GstVaapiDisplay, or |
|
gles_version |
the OpenGL ES version API to use |
GstVaapiDisplay * gst_vaapi_display_egl_new_with_native_display (gpointer native_display,GstVaapiDisplayType display_type,guint gles_version);
Creates a GstVaapiDisplay based on the native display supplied in
as native_display
. The caller still owns the display and must call
native display close function when all GstVaapiDisplay references
are released. Doing so too early can yield undefined behaviour.
The gles_version
will further ensure the OpenGL ES API to use, or
zero to indicate "desktop" OpenGL.
EGLDisplay
gst_vaapi_display_egl_get_gl_display (GstVaapiDisplayEGL *display);
gboolean gst_vaapi_display_egl_set_gl_context (GstVaapiDisplayEGL *display,EGLContext gl_context);
EGLContext
gst_vaapi_display_egl_get_gl_context (GstVaapiDisplayEGL *display);