diff options
author | Alan Third <alan@idiocy.org> | 2020-04-14 22:56:06 +0100 |
---|---|---|
committer | Alan Third <alan@idiocy.org> | 2020-04-16 19:11:05 +0100 |
commit | e105d01c952aab93de1607ebcfed7860837288fb (patch) | |
tree | 2cd99422ab26545ba76215f95ce851a91d0115a2 /src/coding.c | |
parent | c019f03e38850b3ba3a2bcbcc84960d5b8d9663f (diff) | |
download | emacs-e105d01c952aab93de1607ebcfed7860837288fb.tar.gz |
Use native image API for NS
* configure.ac (NATIVE_IMAGE_API): Move above NS definitions.
(HAVE_NATIVE_IMAGE_API): Set for NS.
(HAVE_PNG, HAVE_JPEG, HAVE_GIF, HAVE_TIFF): Enable on NS builds.
* src/image.c (HAVE_NS): Fix a number of #if's so they no longer rely
on HAVE_NS.
(PIX_MASK_DRAW): Add for HAVE_NS so libpng support will compile.
(image_can_use_native_api):
(native_image_load): Add NS support.
(png_load):
(jpeg_load):
(tiff_load):
(gif_load): Remove NS specific definitions.
* src/nsimage.m (ns_can_use_native_image_api): New function.
* src/nsterm.h: (ns_can_use_native_image_api): New function.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions