comparison src/device.h @ 70:131b0175ea99 r20-0b30

Import from CVS: tag r20-0b30
author cvs
date Mon, 13 Aug 2007 09:02:59 +0200
parents ac2d302a0011
children cca96a509cfe
comparison
equal deleted inserted replaced
69:804d1389bcd6 70:131b0175ea99
137 137
138 /* This is a simple key-weak hash table hashing font names to 138 /* This is a simple key-weak hash table hashing font names to
139 instances. */ 139 instances. */
140 Lisp_Object font_instance_cache; 140 Lisp_Object font_instance_cache;
141 141
142 #ifdef MULE
143 /* This is a bi-level cache, where the hash table in this slot here
144 indexes charset objects to key-weak hash tables, which in turn
145 index font names to more specific font names that match the
146 given charset's registry. This speeds up the horrendously
147 slow XListFonts() operation that needs to be done in order
148 to determine an appropriate font. */
149 Lisp_Object charset_font_cache;
150 #endif
151
142 /* This is a bi-level cache, where the hash table in this slot here 152 /* This is a bi-level cache, where the hash table in this slot here
143 indexes image-instance-type masks (there are currently 6 153 indexes image-instance-type masks (there are currently 6
144 image-instance types and thus 64 possible masks) to key-weak hash 154 image-instance types and thus 64 possible masks) to key-weak hash
145 tables like the one for colors. */ 155 tables like the one for colors. */
146 Lisp_Object image_instance_cache; 156 Lisp_Object image_instance_cache;