ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/background.C
(Generate patch)

Comparing rxvt-unicode/src/background.C (file contents):
Revision 1.131 by sf-exg, Mon Jan 10 19:58:24 2011 UTC vs.
Revision 1.132 by sf-exg, Mon Jan 10 20:46:20 2011 UTC

175# endif 175# endif
176 176
177 return false; 177 return false;
178} 178}
179 179
180bool bgPixmap_t::need_client_side_rendering ()
181{
182# ifdef HAVE_AFTERIMAGE
183 if (original_asim)
184 return true;
185# endif
186 return false;
187}
188
189# ifdef BG_IMAGE_FROM_FILE 180# ifdef BG_IMAGE_FROM_FILE
190static inline bool 181static inline bool
191check_set_scale_value (int geom_flags, int flag, unsigned int &scale, unsigned int new_value) 182check_set_scale_value (int geom_flags, int flag, unsigned int &scale, unsigned int new_value)
192{ 183{
193 if (geom_flags & flag) 184 if (geom_flags & flag)
940 if (image) 931 if (image)
941 { 932 {
942 if (original_asim) 933 if (original_asim)
943 safe_asimage_destroy (original_asim); 934 safe_asimage_destroy (original_asim);
944 original_asim = image; 935 original_asim = image;
936 flags |= CLIENT_RENDER;
945 have_image = true; 937 have_image = true;
946 return true; 938 return true;
947 } 939 }
948# endif 940# endif
949 941
1363 { 1355 {
1364 XFillRectangle (dpy, tiled_root_pmap, gc, 0, 0, window_width, window_height); 1356 XFillRectangle (dpy, tiled_root_pmap, gc, 0, 0, window_width, window_height);
1365 result |= transpPmapTiled; 1357 result |= transpPmapTiled;
1366 XFreeGC (dpy, gc); 1358 XFreeGC (dpy, gc);
1367 1359
1368 if (!need_client_side_rendering ()) 1360 if (!(flags & CLIENT_RENDER))
1369 { 1361 {
1370 if ((flags & blurNeeded) 1362 if ((flags & blurNeeded)
1371 && (flags & HAS_RENDER_CONV)) 1363 && (flags & HAS_RENDER_CONV))
1372 { 1364 {
1373 if (blur_pixmap (tiled_root_pmap, target->visual, window_width, window_height)) 1365 if (blur_pixmap (tiled_root_pmap, target->visual, window_width, window_height))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines