[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.
- Re: image-size, (continued)
- Re: image-size, Lars Magne Ingebrigtsen, 2013/06/20
- Re: image-size, Eli Zaretskii, 2013/06/20
- Re: image-size, Lars Magne Ingebrigtsen, 2013/06/20
- Re: image-size, Lars Magne Ingebrigtsen, 2013/06/20
- Re: image-size, Eli Zaretskii, 2013/06/21
- Re: image-size, Jan Djärv, 2013/06/20
- Re: image-size, YAMAMOTO Mitsuharu, 2013/06/20
- Re: image-size, Lars Magne Ingebrigtsen, 2013/06/21
- Re: image-size, Eli Zaretskii, 2013/06/21
- Re: image-size, Jan Djärv, 2013/06/21
- Re: image-size,
Eli Zaretskii <=
- Re: image-size, Jan Djärv, 2013/06/21
- Re: image-size, Lars Magne Ingebrigtsen, 2013/06/21
- Re: image-size, Eli Zaretskii, 2013/06/21
- Re: image-size, Eli Zaretskii, 2013/06/21
- Re: image-size, Eli Zaretskii, 2013/06/21
- Re: image-size, Willem Rein Oudshoorn, 2013/06/21