Revert "mi: Shortcut miDoCopy/miCopyArea based on clipList"
This reverts commit f665a9c9e6.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Acked-by: Martin Peres <martin.peres@mupuf.org>
Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1108
Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1128
			
			
This commit is contained in:
		
							parent
							
								
									3cdac5ba07
								
							
						
					
					
						commit
						5429791b1c
					
				|  | @ -96,9 +96,9 @@ miCopyArea(DrawablePtr pSrcDrawable, | ||||||
|     srcx = xIn + pSrcDrawable->x; |     srcx = xIn + pSrcDrawable->x; | ||||||
|     srcy = yIn + pSrcDrawable->y; |     srcy = yIn + pSrcDrawable->y; | ||||||
| 
 | 
 | ||||||
|     /* If the destination is clipped away, this is easy */ |     /* If the destination isn't realized, this is easy */ | ||||||
|     if (pDstDrawable->type == DRAWABLE_WINDOW && |     if (pDstDrawable->type == DRAWABLE_WINDOW && | ||||||
|         RegionNil(pGC->pCompositeClip)) |         !((WindowPtr) pDstDrawable)->realized) | ||||||
|         return NULL; |         return NULL; | ||||||
| 
 | 
 | ||||||
|     /* clip the source */ |     /* clip the source */ | ||||||
|  |  | ||||||
|  | @ -152,9 +152,10 @@ miDoCopy(DrawablePtr pSrcDrawable, | ||||||
|     Bool fastDst = FALSE;       /* for fast clipping with one rect dest */ |     Bool fastDst = FALSE;       /* for fast clipping with one rect dest */ | ||||||
|     Bool fastExpose = FALSE;    /* for fast exposures with pixmap source */ |     Bool fastExpose = FALSE;    /* for fast exposures with pixmap source */ | ||||||
| 
 | 
 | ||||||
|     /* Short cut for unmapped or fully clipped windows */ |     /* Short cut for unmapped windows */ | ||||||
|  | 
 | ||||||
|     if (pDstDrawable->type == DRAWABLE_WINDOW && |     if (pDstDrawable->type == DRAWABLE_WINDOW && | ||||||
|         RegionNil(pGC->pCompositeClip)) { |         !((WindowPtr) pDstDrawable)->realized) { | ||||||
|         return NULL; |         return NULL; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue