all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: Jason Rumney <jasonr@gnu.org>
Cc: emacs-devel@gnu.org, rms@gnu.org, Miles Bader <miles@gnu.org>
Subject: Re: [sdl.web@gmail.com: Re: problem with transparent PNG	image	display]
Date: Thu, 02 Aug 2007 09:36:46 +0900	[thread overview]
Message-ID: <wlr6mm4vs1.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <46B0ACF2.7020908@gnu.org>

>>>>> On Wed, 01 Aug 2007 16:55:30 +0100, Jason Rumney <jasonr@gnu.org> said:

> Miles Bader wrote:
>> I thought it already did this (in image.c:search_image_cache):
>> 
>> 2007-06-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
>> 
>> * dispextern.h (struct image) [HAVE_WINDOW_SYSTEM]: New members
>> frame_foreground and frame_background.
>> 
>> * image.c (lookup_image): Save frame foreground and background colors.
>> (search_image_cache): Check if saved and current frame colors match.
>> 

> I think its the background on which the image is rendered that is
> important, not the frame background. The toolbar has its own background
> color, independent of the frame's. And that only covers caching, images
> still need to be drawn with the appropriate background from the face
> rather than the background color saved in the image file itself.

FWIW, that change was just for fixing excessive image cache miss (and
performance degradation caused by needless image regeneration) in the
trunk, without affecting its original intention.

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp

  reply	other threads:[~2007-08-02  0:36 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-23 18:07 [sdl.web@gmail.com: Re: problem with transparent PNG image display] Richard Stallman
2007-07-23 22:12 ` Jason Rumney
2007-07-24 16:45   ` Richard Stallman
2007-07-31 20:22   ` Richard Stallman
2007-07-31 21:30     ` Jason Rumney
2007-08-01 14:30       ` Richard Stallman
2007-08-01 14:30   ` Richard Stallman
2007-08-01 14:43     ` Miles Bader
2007-08-01 15:55       ` Jason Rumney
2007-08-02  0:36         ` YAMAMOTO Mitsuharu [this message]
2007-08-06 16:05     ` Chong Yidong
2007-08-06 16:41       ` Jason Rumney
2007-08-06 17:29         ` Chong Yidong
2007-08-06 20:14           ` Jason Rumney
2007-08-07 15:56             ` Chong Yidong
2007-08-07  1:21       ` Richard Stallman
2007-08-07 16:51         ` Chong Yidong
2007-08-26  0:50 ` Leo
  -- strict thread matches above, loose matches on Subject: below --
2007-06-24 23:47 Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wlr6mm4vs1.wl%mituharu@math.s.chiba-u.ac.jp \
    --to=mituharu@math.s.chiba-u.ac.jp \
    --cc=emacs-devel@gnu.org \
    --cc=jasonr@gnu.org \
    --cc=miles@gnu.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.