diff options
author | Emil Velikov <[email protected]> | 2017-05-02 17:53:17 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-05-19 19:46:41 +0100 |
commit | 369e5dd939b4af6c653d6cbbe9be257a9c2c950e (patch) | |
tree | c30ed65c3c5d4c56c245d333f06f1f5aadfcc0dd /src/gallium/auxiliary/Makefile.sources | |
parent | 05043e0e8e0bd5e3019f480557d452b4c165f8f2 (diff) |
auxiliary/vl: use vl_*_screen_create stubs when building w/o platform
Provide a dummy stub when the user has opted w/o said platform, thus
we can build the binaries without unnecessarily requiring X11/other
headers.
In order to avoid build and link-time issues, we remove the HAVE_DRI3
guards in the VA and VDPAU state-trackers.
With this change st/va will return VA_STATUS_ERROR_ALLOCATION_FAILED
instead of VA_STATUS_ERROR_UNIMPLEMENTED. That is fine since upstream
users of libva such as vlc and mpv do little error checking, let
alone distinguish between the two.
Cc: Leo Liu <[email protected]>
Cc: Guttula, Suresh <[email protected]>
Cc: [email protected]
Cc: Christian König <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/Makefile.sources')
-rw-r--r-- | src/gallium/auxiliary/Makefile.sources | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/Makefile.sources b/src/gallium/auxiliary/Makefile.sources index baebee67a60..0e450ab3d7e 100644 --- a/src/gallium/auxiliary/Makefile.sources +++ b/src/gallium/auxiliary/Makefile.sources @@ -346,18 +346,22 @@ VL_SOURCES := \ vl/vl_video_buffer.c \ vl/vl_video_buffer.h \ vl/vl_vlc.h \ - vl/vl_winsys.h \ vl/vl_zscan.c \ vl/vl_zscan.h # XXX: Nuke this as our dri targets no longer depend on VL. VL_WINSYS_SOURCES := \ - vl/vl_winsys_dri.c \ - vl/vl_winsys_drm.c + vl/vl_winsys.h + +VL_WINSYS_DRI2_SOURCES := \ + vl/vl_winsys_dri.c VL_WINSYS_DRI3_SOURCES := \ vl/vl_winsys_dri3.c +VL_WINSYS_DRM_SOURCES := \ + vl/vl_winsys_drm.c + VL_STUB_SOURCES := \ vl/vl_stubs.c |