diff options
author | Juan José García-Ripoll <juanjose.garciaripoll@gmail.com> | 2020-04-13 12:04:39 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2020-04-14 09:52:55 +0300 |
commit | df254a7445a86dc25d133f2d79be8096190a8b96 (patch) | |
tree | c6094f663793c61f4243483c0c6d310205005a83 /lisp/emacs-lisp/comp.el | |
parent | 7a9fb5d55c9bf612a38348d59e769ee915175e28 (diff) | |
download | emacs-df254a7445a86dc25d133f2d79be8096190a8b96.tar.gz emacs-df254a7445a86dc25d133f2d79be8096190a8b96.tar.bz2 emacs-df254a7445a86dc25d133f2d79be8096190a8b96.zip |
Initial version of native image API support for MS-Windows
* src/w32image.c: New file.
* src/w32term.h: Add prototypes of 'w32_load_image',
'w32_gdiplus_startup', 'w32_gdiplus_shutdown', and
'w32_query_frame_background_color'.
* src/w32term.c (w32_query_frame_background_color): No longer
static.
* src/w32.c (term_ntproc) [HAVE_GDIPLUS]: Call
'w32_gdiplus_shutdown'.
* src/image.c (struct image_type) <valid_p>: Accept an additional
argument, the image type. All implementations changed.
(init_native_image_functions, native_image_p, native_image_load)
[HAVE_NATIVE_IMAGE_API]: New methods for "native image type".
(initialize_image_type) [HAVE_NATIVE_IMAGE_API]: Call
'init_native_image_functions'.
(image_types) [HAVE_NATIVE_IMAGE_API]: Add settings for native
image API.
(lookup_image_type) [HAVE_NATIVE_IMAGE_API]: Initialize native
functions if needed.
* lisp/term/w32-win.el (dynamic-library-alist): Add gdiplus and
shlwapi.
* etc/NEWS: Announce the new feature.
* configure.ac (native-image-api): New option, OFF by default.
(HAVE_NATIVE_IMAGE_API): If native-image-api is selected, add
w32image.o to W32_OBJ.
Diffstat (limited to 'lisp/emacs-lisp/comp.el')
0 files changed, 0 insertions, 0 deletions