Use fb's depth-to-planemask computation, which doesn't suffer from getting
a 1 planemask at depth 32. Fixes Get/PutImage xtest tests.
This commit is contained in:
		
							parent
							
								
									5c0a2088e2
								
							
						
					
					
						commit
						c720ffe875
					
				| 
						 | 
					@ -1,3 +1,9 @@
 | 
				
			||||||
 | 
					2006-04-01  Eric Anholt  <anholt@FreeBSD.org>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* exa/exa_priv.h:
 | 
				
			||||||
 | 
						Use fb's depth-to-planemask computation, which doesn't suffer from
 | 
				
			||||||
 | 
						getting a 1 planemask at depth 32.  Fixes Get/PutImage xtest tests.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2006-04-01  Daniel Stone  <daniel@freedesktop.org>
 | 
					2006-04-01  Daniel Stone  <daniel@freedesktop.org>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	* configure.ac:
 | 
						* configure.ac:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -137,8 +137,8 @@ extern int exaPixmapPrivateIndex;
 | 
				
			||||||
 * pixel values for pDrawable.
 | 
					 * pixel values for pDrawable.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define EXA_PM_IS_SOLID(_pDrawable, _pm) \
 | 
					#define EXA_PM_IS_SOLID(_pDrawable, _pm) \
 | 
				
			||||||
	(((_pm) & ((1 << (_pDrawable)->bitsPerPixel) - 1)) == \
 | 
						(((_pm) & FbFullMask((_pDrawable)->depth)) == \
 | 
				
			||||||
	 ((1 << (_pDrawable)->bitsPerPixel) - 1))
 | 
						 FbFullMask((_pDrawable)->depth))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define EXA_PIXMAP_SCORE_MOVE_IN    10
 | 
					#define EXA_PIXMAP_SCORE_MOVE_IN    10
 | 
				
			||||||
#define EXA_PIXMAP_SCORE_MAX	    20
 | 
					#define EXA_PIXMAP_SCORE_MAX	    20
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue