GstGLContextEGL

GstGLContextEGL

Synopsis

struct              GstGLContextEGL;
GstGLContextEGL *   gst_gl_context_egl_new              (GstGLDisplay *display);
guintptr            gst_gl_context_egl_get_current_context
                                                        (void);
gpointer            gst_gl_context_egl_get_proc_address (GstGLAPI gl_api,
                                                         const gchar *name);

Description

Details

struct GstGLContextEGL

struct GstGLContextEGL {
  GstGLContext context;

  EGLContext egl_context;
  EGLDisplay egl_display;
  EGLSurface egl_surface;
  EGLConfig  egl_config;

  GstGLAPI gl_api;

  const gchar *egl_exts;

  EGLImageKHR (*eglCreateImage) (EGLDisplay dpy, EGLContext ctx, EGLenum target,
      EGLClientBuffer buffer, const EGLint *attrib_list);
  EGLBoolean (*eglDestroyImage) (EGLDisplay dpy, EGLImageKHR image);

  /* Cached handle */
  EGLNativeWindowType window_handle;
};

gst_gl_context_egl_new ()

GstGLContextEGL *   gst_gl_context_egl_new              (GstGLDisplay *display);

gst_gl_context_egl_get_current_context ()

guintptr            gst_gl_context_egl_get_current_context
                                                        (void);

gst_gl_context_egl_get_proc_address ()

gpointer            gst_gl_context_egl_get_proc_address (GstGLAPI gl_api,
                                                         const gchar *name);