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

Comparing rxvt-unicode/src/rxvtimg.C (file contents):
Revision 1.37 by root, Thu Jun 7 09:25:23 2012 UTC vs.
Revision 1.39 by root, Thu Jun 7 10:19:23 2012 UTC

426 if (w != width || h != height) 426 if (w != width || h != height)
427 { 427 {
428 img->w = width; 428 img->w = width;
429 img->h = height; 429 img->h = height;
430 430
431 img->reify (); 431 rxvt_img *img2 = img->reify ();
432 delete img;
433 img = img2;
432 } 434 }
433 435
434 return img; 436 return img;
435} 437}
436 438
527rxvt_img * 529rxvt_img *
528rxvt_img::blend (rxvt_img *img, double factor) 530rxvt_img::blend (rxvt_img *img, double factor)
529{ 531{
530 rxvt_img *img2 = clone (); 532 rxvt_img *img2 = clone ();
531 Display *dpy = s->display->dpy; 533 Display *dpy = s->display->dpy;
532 Picture src = src_picture (); 534 Picture src = img->src_picture ();
533 Picture dst = XRenderCreatePicture (dpy, img2->pm, img2->format, 0, 0); 535 Picture dst = XRenderCreatePicture (dpy, img2->pm, img2->format, 0, 0);
534 Picture mask = create_xrender_mask (dpy, img->pm, False); 536 Picture mask = create_xrender_mask (dpy, img->pm, False);
535 537
536 XRenderColor mask_c; 538 XRenderColor mask_c;
537 539

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines