aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorJan D2015-04-12 13:42:42 +0200
committerJan D2015-04-12 13:42:42 +0200
commitc744c8a8fc2ddea0f3e7d510f1a3c98876c51c05 (patch)
tree414429ce9272b43cdeb3b23e5aef41e39d538deb /src/ChangeLog
parentac00e0a0bf4aac5b2443a7651853f3812251047f (diff)
downloademacs-c744c8a8fc2ddea0f3e7d510f1a3c98876c51c05.tar.gz
emacs-c744c8a8fc2ddea0f3e7d510f1a3c98876c51c05.zip
Handle specified bg in images. Use generic libpng code for PNG:s.
* src/image.c (get_spec_bg_or_alpha_as_argb) (create_cairo_image_surface): New functions when USE_CAIRO. (xpm_load): Call the above functions. Handle XPM without mask when USE_CAIRO. (png_load_body): Handle USE_CAIRO case. (png_load): Remove USE_CAIRO specific fuction, modify png_load_body instead. (jpeg_load_body): Call create_cairo_image_surface. (gif_load, svg_load_image): Handle specified background, call create_cairo_image_surface. * src/xterm.c (x_draw_image_glyph_string): Added missing USE_CAIRO.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e5a8442c389..cc9ffa8fea7 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,18 @@
12015-04-12 Jan Djärv <jan.h.d@swipnet.se>
2
3 * xterm.c (x_draw_image_glyph_string): Added missing USE_CAIRO.
4
5 * image.c (get_spec_bg_or_alpha_as_argb)
6 (create_cairo_image_surface): New functions when USE_CAIRO.
7 (xpm_load): Call the above functions. Handle XPM without mask
8 when USE_CAIRO.
9 (png_load_body): Handle USE_CAIRO case.
10 (png_load): Remove USE_CAIRO specific fuction, modify png_load_body
11 instead.
12 (jpeg_load_body): Call create_cairo_image_surface.
13 (gif_load, svg_load_image): Handle specified background, call
14 create_cairo_image_surface.
15
12015-04-11 Jan Djärv <jan.h.d@swipnet.se> 162015-04-11 Jan Djärv <jan.h.d@swipnet.se>
2 17
3 * image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO. 18 * image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.