vo: move DR helper code to a separate source file

So it can be reused by vo_libmpv.c, which needs to use it in a slightly
different way.
This commit is contained in:
wm4
2018-04-20 17:48:44 +02:00
committed by Jan Ekström
parent 65f0825315
commit 76844c9c51
5 changed files with 184 additions and 91 deletions

View File

@@ -428,6 +428,7 @@ def build(ctx):
( "video/out/d3d11/hwdec_dxva2dxgi.c", "d3d11 && d3d9-hwaccel" ),
( "video/out/d3d11/ra_d3d11.c", "d3d11" ),
( "video/out/dither.c" ),
( "video/out/dr_helper.c" ),
( "video/out/drm_atomic.c", "drm" ),
( "video/out/drm_common.c", "drm" ),
( "video/out/drm_prime.c", "drm && drmprime" ),