mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 12:41:05 +00:00
gl: Decouple win32 window and wgl context
With ANGLE, win32 window can be used with gles and egl
This commit is contained in:
parent
4a006d6951
commit
e78c5ffb1b
4 changed files with 3 additions and 3 deletions
|
@ -66,7 +66,7 @@
|
||||||
#include "cocoa/gstglcontext_cocoa.h"
|
#include "cocoa/gstglcontext_cocoa.h"
|
||||||
#endif
|
#endif
|
||||||
#if GST_GL_HAVE_PLATFORM_WGL
|
#if GST_GL_HAVE_PLATFORM_WGL
|
||||||
#include "win32/gstglcontext_wgl.h"
|
#include "wgl/gstglcontext_wgl.h"
|
||||||
#endif
|
#endif
|
||||||
#if GST_GL_HAVE_PLATFORM_EAGL
|
#if GST_GL_HAVE_PLATFORM_EAGL
|
||||||
#include "eagl/gstglcontext_eagl.h"
|
#include "eagl/gstglcontext_eagl.h"
|
||||||
|
|
|
@ -671,7 +671,7 @@ if need_platform_wgl != 'no' and need_win_win32 != 'no'
|
||||||
gl_sources += [
|
gl_sources += [
|
||||||
'win32/gstglwindow_win32.c',
|
'win32/gstglwindow_win32.c',
|
||||||
'win32/gstglwindow_win32.c',
|
'win32/gstglwindow_win32.c',
|
||||||
'win32/gstglcontext_wgl.c',
|
'wgl/gstglcontext_wgl.c',
|
||||||
]
|
]
|
||||||
enabled_gl_winsys += 'win32'
|
enabled_gl_winsys += 'win32'
|
||||||
gl_winsys_deps += gdi_dep
|
gl_winsys_deps += gdi_dep
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef __GST_GL_CONTEXT_WGL_H__
|
#ifndef __GST_GL_CONTEXT_WGL_H__
|
||||||
#define __GST_GL_CONTEXT_WGL_H__
|
#define __GST_GL_CONTEXT_WGL_H__
|
||||||
|
|
||||||
#include "gstglwindow_win32.h"
|
#include "../win32/gstglwindow_win32.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
Loading…
Reference in a new issue