emacs-devel
[Top][All Lists]
Advanced

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

Re: image-size


From: YAMAMOTO Mitsuharu
Subject: Re: image-size
Date: Wed, 26 Jun 2013 19:39:43 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Wed, 26 Jun 2013 17:25:06 +0900, YAMAMOTO Mitsuharu <address@hidden> 
>>>>> said:

> Could you try this?  It doesn't defer the allocation of Pixmap
> actually, but defers image data transfer by XPutImage (and also by
> XGetImage in the case of postprocessing) until the actual display
> happens.

Sorry.  I forgot to include the dispextern.h part.

                                     YAMAMOTO Mitsuharu
                                address@hidden

=== modified file 'src/dispextern.h'
*** src/dispextern.h    2013-06-17 06:03:19 +0000
--- src/dispextern.h    2013-06-26 10:35:52 +0000
***************
*** 2870,2875 ****
--- 2870,2883 ----
    /* Pixmaps of the image.  */
    Pixmap pixmap, mask;
  
+ #ifdef HAVE_X_WINDOWS
+   /* X images of the image, corresponding to the above Pixmaps.
+      Non-NULL means it and its Pixmap counterpart may be out of sync
+      and the latter is outdated.  NULL means the X image has been
+      synchronized to Pixmap.  */
+   XImagePtr ximg, mask_img;
+ #endif
+ 
    /* Colors allocated for this image, if any.  Allocated via xmalloc.  */
    unsigned long *colors;
    int ncolors;




reply via email to

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