"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "glamor/glamor_copy.c" between
xorg-server-1.20.7.tar.bz2 and xorg-server-1.20.8.tar.bz2

About: The X.Org X Server component of the X Window System architecture.

glamor_copy.c  (xorg-server-1.20.7.tar.bz2):glamor_copy.c  (xorg-server-1.20.8.tar.bz2)
skipping to change at line 224 skipping to change at line 224
PixmapPtr dst_pixmap = glamor_get_drawable_pixmap(dst); PixmapPtr dst_pixmap = glamor_get_drawable_pixmap(dst);
int dst_xoff, dst_yoff; int dst_xoff, dst_yoff;
if (gc && gc->alu != GXcopy) if (gc && gc->alu != GXcopy)
goto bail; goto bail;
if (gc && !glamor_pm_is_solid(gc->depth, gc->planemask)) if (gc && !glamor_pm_is_solid(gc->depth, gc->planemask))
goto bail; goto bail;
glamor_make_current(glamor_priv); glamor_make_current(glamor_priv);
glamor_prepare_access(src, GLAMOR_ACCESS_RO);
if (!glamor_prepare_access(src, GLAMOR_ACCESS_RO))
goto bail;
glamor_get_drawable_deltas(dst, dst_pixmap, &dst_xoff, &dst_yoff); glamor_get_drawable_deltas(dst, dst_pixmap, &dst_xoff, &dst_yoff);
if (bitplane) { if (bitplane) {
FbBits *tmp_bits; FbBits *tmp_bits;
FbStride tmp_stride; FbStride tmp_stride;
int tmp_bpp; int tmp_bpp;
int tmp_xoff, tmp_yoff; int tmp_xoff, tmp_yoff;
PixmapPtr tmp_pix = fbCreatePixmap(screen, dst_pixmap->drawable.width, PixmapPtr tmp_pix = fbCreatePixmap(screen, dst_pixmap->drawable.width,
skipping to change at line 312 skipping to change at line 314
int src_xoff, src_yoff; int src_xoff, src_yoff;
int dst_xoff, dst_yoff; int dst_xoff, dst_yoff;
if (gc && gc->alu != GXcopy) if (gc && gc->alu != GXcopy)
goto bail; goto bail;
if (gc && !glamor_pm_is_solid(gc->depth, gc->planemask)) if (gc && !glamor_pm_is_solid(gc->depth, gc->planemask))
goto bail; goto bail;
glamor_make_current(glamor_priv); glamor_make_current(glamor_priv);
glamor_prepare_access(dst, GLAMOR_ACCESS_RW);
if (!glamor_prepare_access(dst, GLAMOR_ACCESS_RW))
goto bail;
glamor_get_drawable_deltas(src, src_pixmap, &src_xoff, &src_yoff); glamor_get_drawable_deltas(src, src_pixmap, &src_xoff, &src_yoff);
fbGetDrawable(dst, dst_bits, dst_stride, dst_bpp, dst_xoff, dst_yoff); fbGetDrawable(dst, dst_bits, dst_stride, dst_bpp, dst_xoff, dst_yoff);
glamor_download_boxes(src_pixmap, box, nbox, src_xoff + dx, src_yoff + dy, glamor_download_boxes(src_pixmap, box, nbox, src_xoff + dx, src_yoff + dy,
dst_xoff, dst_yoff, dst_xoff, dst_yoff,
(uint8_t *) dst_bits, dst_stride * sizeof (FbBits)); (uint8_t *) dst_bits, dst_stride * sizeof (FbBits));
glamor_finish_access(dst); glamor_finish_access(dst);
 End of changes. 2 change blocks. 
2 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)