gst_gl_display_lock (display);
display->gl_window =
- gst_gl_window_new (GST_GL_RENDERER_API_OPENGL,
- display->external_gl_context);
+ gst_gl_window_new (GST_GL_RENDERER_API_ANY, display->external_gl_context);
if (!display->gl_window) {
gst_gl_display_set_error (display, "Failed to create gl window");
#include <gst/video/video.h>
#include "gstglwindow.h"
+#include "gstglrenderer.h"
#include "gstglshader.h"
#include "gstglupload.h"
#include "gstgldownload.h"
const gchar * shader_fragment_source, GstGLShader ** shader);
void gst_gl_display_del_shader (GstGLDisplay * display, GstGLShader * shader);
-void gst_gl_display_set_window_id (GstGLDisplay * display, gulong window_id);
+void gst_gl_display_set_window_id (GstGLDisplay * display, guintptr window_id);
void gst_gl_display_set_client_reshape_callback (GstGLDisplay * display,
CRCB cb);
void gst_gl_display_set_client_draw_callback (GstGLDisplay * display, CDCB cb);
GST_GL_RENDERER_API_GLES2 = 41,
GST_GL_RENDERER_API_GLES3 = 42,
+ GST_GL_RENDERER_API_ANY = 254,
GST_GL_RENDERER_API_LAST = 255
} GstGLRendererAPI;