mirror of https://github.com/mpv-player/mpv
vo_opengl: prefix per-backend source files with context_
This commit is contained in:
parent
6154c1d06d
commit
4cc1861378
|
@ -70,11 +70,11 @@ SOURCES-$(GL) += video/out/opengl/common.c \
|
|||
SOURCES-$(ENCODING) += video/out/vo_lavc.c audio/out/ao_lavc.c \
|
||||
common/encode_lavc.c
|
||||
|
||||
SOURCES-$(GL_X11) += video/out/x11_common.c video/out/opengl/x11.c
|
||||
SOURCES-$(EGL_X11) += video/out/x11_common.c video/out/opengl/x11egl.c \
|
||||
SOURCES-$(GL_X11) += video/out/x11_common.c video/out/opengl/context_x11.c
|
||||
SOURCES-$(EGL_X11) += video/out/x11_common.c video/out/opengl/context_x11egl.c \
|
||||
video/out/opengl/egl_helpers.c
|
||||
SOURCES-$(GL_WAYLAND) += video/out/wayland_common.c \
|
||||
video/out/opengl/wayland.c
|
||||
video/out/opengl/context_wayland.c
|
||||
|
||||
SOURCES-$(JACK) += audio/out/ao_jack.c
|
||||
SOURCES-$(OPENAL) += audio/out/ao_openal.c
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
#include "sub/osd.h"
|
||||
|
||||
#include "opengl/osd.h"
|
||||
#include "opengl/rpi.h"
|
||||
#include "opengl/context_rpi.h"
|
||||
|
||||
struct priv {
|
||||
DISPMANX_DISPLAY_HANDLE_T display;
|
||||
|
|
|
@ -311,11 +311,18 @@ def build(ctx):
|
|||
( "video/out/cocoa_common.m", "cocoa" ),
|
||||
( "video/out/dither.c" ),
|
||||
( "video/out/filter_kernels.c" ),
|
||||
( "video/out/opengl/cocoa.c", "gl-cocoa" ),
|
||||
( "video/out/opengl/common.c", "gl" ),
|
||||
( "video/out/opengl/context.c", "gl" ),
|
||||
( "video/out/opengl/context_angle.c", "egl-angle" ),
|
||||
( "video/out/opengl/context_cocoa.c", "gl-cocoa" ),
|
||||
( "video/out/opengl/context_drm_egl.c", "egl-drm" ),
|
||||
( "video/out/opengl/context_dxinterop.c","gl-dxinterop" ),
|
||||
( "video/out/opengl/context_rpi.c", "rpi" ),
|
||||
( "video/out/opengl/context_wayland.c", "gl-wayland" ),
|
||||
( "video/out/opengl/context_w32.c", "gl-win32" ),
|
||||
( "video/out/opengl/context_x11.c", "gl-x11" ),
|
||||
( "video/out/opengl/context_x11egl.c", "egl-x11" ),
|
||||
( "video/out/opengl/egl_helpers.c", "egl-helpers" ),
|
||||
( "video/out/opengl/rpi.c", "rpi" ),
|
||||
( "video/out/opengl/hwdec.c", "gl" ),
|
||||
( "video/out/opengl/hwdec_dxva2.c", "gl-win32" ),
|
||||
( "video/out/opengl/hwdec_vaegl.c", "vaapi-egl" ),
|
||||
|
@ -329,13 +336,6 @@ def build(ctx):
|
|||
( "video/out/opengl/utils.c", "gl" ),
|
||||
( "video/out/opengl/video.c", "gl" ),
|
||||
( "video/out/opengl/video_shaders.c", "gl" ),
|
||||
( "video/out/opengl/w32.c", "gl-win32" ),
|
||||
( "video/out/opengl/angle.c", "egl-angle" ),
|
||||
( "video/out/opengl/dxinterop.c", "gl-dxinterop" ),
|
||||
( "video/out/opengl/wayland.c", "gl-wayland" ),
|
||||
( "video/out/opengl/x11.c", "gl-x11" ),
|
||||
( "video/out/opengl/x11egl.c", "egl-x11" ),
|
||||
( "video/out/opengl/drm_egl.c", "egl-drm" ),
|
||||
( "video/out/vo.c" ),
|
||||
( "video/out/vo_caca.c", "caca" ),
|
||||
( "video/out/vo_drm.c", "drm" ),
|
||||
|
|
Loading…
Reference in New Issue