emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: image-size


From: Eli Zaretskii
Subject: Re: image-size
Date: Fri, 21 Jun 2013 11:27:27 +0300

> From: Jan Djärv <address@hidden>
> Date: Fri, 21 Jun 2013 09:34:31 +0200
> Cc: address@hidden,
>  address@hidden
> 
> > Yes.  Thus my suggestion to have a flag in the 'load' method that
> > would cause it return right after computing the size.
> > 
> 
> YAMAMOTO Mitsuharu <address@hidden> writes:
> 
> > Right.  And as I mentioned in (*), a possible way to solve this
> > problem is to defer the creation of Pixmap (server side resource) from
> > XImage (client side resource) until the actual display happens (i.e.,
> > at prepare_image_for_display rather than lookup_image), so as to avoid
> > unnecessary round trip of image data between the X11 server and
> > client.
> 
> Only prepare_image_for_display have to set a different value for the 
> suggested flag, as it does load if the image is not loaded yet.

Right.  prepare_image_for_display is called by the display engine when
it is about to display the image.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]