diff options
author | Niklas Haas <git@haasn.dev> | 2022-10-05 16:35:14 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2022-10-05 16:35:14 +0200 |
commit | 7f5541fc3c440a4aa5fdec2899c02d1caf7fb227 (patch) | |
tree | 776fb64752cd96999e9faf054a55f17c70f7f857 | |
parent | a2de6524ff8802a927d90215e8bf8be8b3d282a8 (diff) | |
download | mpv-7f5541fc3c440a4aa5fdec2899c02d1caf7fb227.tar.bz2 mpv-7f5541fc3c440a4aa5fdec2899c02d1caf7fb227.tar.xz |
vulkan: remove --vulkan-disable-events
This has had no effect since libplacebo v4.192.0, and was deprecated
upstream a year ago. No deprecation period in mpv is justified by this
being a debug / work-around option.
-rw-r--r-- | DOCS/interface-changes.rst | 1 | ||||
-rw-r--r-- | DOCS/man/options.rst | 5 | ||||
-rw-r--r-- | video/out/vulkan/context.c | 4 |
3 files changed, 2 insertions, 8 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index ef499175cf..08641b046a 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -48,6 +48,7 @@ Interface changes - add `--wayland-configure-bounds` option - deprecate `--gamma-factor` - deprecate `--gamma-auto` + - remove `--vulkan-disable-events` --- mpv 0.34.0 --- - deprecate selecting by card number with `--drm-connector`, add `--drm-device` which can be used instead diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 0d18784b26..9fab9ce613 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -5471,11 +5471,6 @@ them. use of compute shaders over fragment shaders wherever possible. Enabled by default, although Nvidia users may want to disable it. -``--vulkan-disable-events`` - Disable the use of VkEvents, for debugging purposes or for compatibility - with some older drivers / vulkan portability layers that don't provide - working VkEvent support. - ``--vulkan-display-display=<n>`` The index of the display, on the selected Vulkan device, to present on when using the ``displayvk`` GPU context. Use ``--vulkan-display-display=help`` diff --git a/video/out/vulkan/context.c b/video/out/vulkan/context.c index 48b9306403..f9b20fd165 100644 --- a/video/out/vulkan/context.c +++ b/video/out/vulkan/context.c @@ -27,7 +27,6 @@ struct vulkan_opts { int queue_count; int async_transfer; int async_compute; - int disable_events; }; static int vk_validate_dev(struct mp_log *log, const struct m_option *opt, @@ -99,7 +98,7 @@ const struct m_sub_options vulkan_conf = { {"vulkan-queue-count", OPT_INT(queue_count), M_RANGE(1, 8)}, {"vulkan-async-transfer", OPT_FLAG(async_transfer)}, {"vulkan-async-compute", OPT_FLAG(async_compute)}, - {"vulkan-disable-events", OPT_FLAG(disable_events)}, + {"vulkan-disable-events", OPT_REMOVED("Unused")}, {0} }, .size = sizeof(struct vulkan_opts), @@ -172,7 +171,6 @@ bool ra_vk_ctx_init(struct ra_ctx *ctx, struct mpvk_ctx *vk, .async_compute = p->opts->async_compute, .queue_count = p->opts->queue_count, .device_name = p->opts->device, - .disable_events = p->opts->disable_events, }); if (!vk->vulkan) goto error; |