]> git.eshelyaron.com Git - emacs.git/commit
Add native WebP support on macOS (Bug#59242)
authorStefan Kangas <stefankangas@gmail.com>
Mon, 14 Aug 2023 19:34:34 +0000 (21:34 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Mon, 14 Aug 2023 19:34:34 +0000 (21:34 +0200)
commit17d3b70fbfcbb392b9a3e64f1ca05168cd16d3e8
treec073835cc6563d23adf834b314c68d116f9dedbe
parent279e3723b10a8aa8323f9094f7f1e7d52820bcec
Add native WebP support on macOS (Bug#59242)

* src/image.c (syms_of_image)
[HAVE_NATIVE_IMAGE_API && HAVE_NS && NS_IMPL_COCOA]:
Add webp as an image type.
* src/nsimage.m (ns_can_use_native_image_api)
[NS_IMPL_COCOA && !HAVE_WEBP]: Add webp to list of possible image
types in the native image support lookup.
src/image.c
src/nsimage.m