aboutsummaryrefslogtreecommitdiff
path: root/qapi/ui.json
diff options
context:
space:
mode:
authorCarwyn Ellis <carwynellis@gmail.com>2023-11-10 16:17:29 +0000
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-03-05 12:04:41 +0100
commite28a909a191f00645d101511e5e9e132662aa290 (patch)
treedb28cd33a9628fe58ca29c1278b7ecd4366af2f0 /qapi/ui.json
parent52e7db443bd8d233acc3977bd150bdadb62db86c (diff)
downloadqemu-e28a909a191f00645d101511e5e9e132662aa290.zip
qemu-e28a909a191f00645d101511e5e9e132662aa290.tar.gz
qemu-e28a909a191f00645d101511e5e9e132662aa290.tar.bz2
ui/cocoa: add zoom-interpolation display option
Provides a new display option, zoom-interpolation, that enables interpolation of the scaled display when zoom-to-fit is enabled. Also provides a corresponding view menu item to allow this to be toggled as required. Signed-off-by: Carwyn Ellis <carwynellis@gmail.com> Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com> Message-ID: <20231110161729.36822-2-carwynellis@gmail.com> [PMD: QAPI @zoom-interpolation since 9.0] Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'qapi/ui.json')
-rw-r--r--qapi/ui.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/qapi/ui.json b/qapi/ui.json
index e3999b7..096a2ad 100644
--- a/qapi/ui.json
+++ b/qapi/ui.json
@@ -1428,6 +1428,9 @@
# turned off the host window will be resized instead. Defaults to
# "off". (Since 8.2)
#
+# @zoom-interpolation: Apply interpolation to smooth output when
+# zoom-to-fit is enabled. Defaults to "off". (Since 9.0)
+#
# Since: 7.0
##
{ 'struct': 'DisplayCocoa',
@@ -1435,7 +1438,8 @@
'*left-command-key': 'bool',
'*full-grab': 'bool',
'*swap-opt-cmd': 'bool',
- '*zoom-to-fit': 'bool'
+ '*zoom-to-fit': 'bool',
+ '*zoom-interpolation': 'bool'
} }
##