diff options
author | Nicolas F <ovdev@fratti.ch> | 2020-03-30 22:31:50 +0200 |
---|---|---|
committer | wm4 <1387750+wm4@users.noreply.github.com> | 2020-04-02 12:06:53 +0200 |
commit | 5824ac7d36b84acb244729bad7cb0ef7ffcc09d2 (patch) | |
tree | 1f7c9a5ac64439336c58c8d74b6e3b81577e15f4 /LICENSE.LGPL | |
parent | c8e5a615e9099ac3e704936538c64284ee1477ff (diff) | |
download | mpv-5824ac7d36b84acb244729bad7cb0ef7ffcc09d2.tar.bz2 mpv-5824ac7d36b84acb244729bad7cb0ef7ffcc09d2.tar.xz |
build: only check for EGL pc in one build option
Previously, EGL as provided by a pkg-config was checked for independently
in several places. The effect this had is that --disable-egl would not
actually disable EGL from the build, as this only affected the "egl" option
relied upon by egl-x11. wayland-gl and egl-drm did their own EGL checks.
By making wayland-gl and drm-egl depend on egl instead, we fix this
behaviour and can simplify egl-helpers a bit, as we can now simply
check whether egl or one of the other features providing some non-pc egl
is enabled, instead of checking every single thing that might be pulling
in egl.
Future work could make the "egl" option just be a catchall for any
EGL implementation, so that brcmegl and angle and Android can piggyback
on the egl option as well.
Diffstat (limited to 'LICENSE.LGPL')
0 files changed, 0 insertions, 0 deletions