mi: Unexport span group implementation details
Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
		
							parent
							
								
									c15c886ee7
								
							
						
					
					
						commit
						a085ba82bd
					
				|  | @ -3,7 +3,7 @@ noinst_LTLIBRARIES = libmi.la | ||||||
| if XORG | if XORG | ||||||
| sdk_HEADERS = micmap.h miline.h mipointer.h mi.h \
 | sdk_HEADERS = micmap.h miline.h mipointer.h mi.h \
 | ||||||
|               migc.h mipointrst.h mizerarc.h micoord.h mifillarc.h \
 |               migc.h mipointrst.h mizerarc.h micoord.h mifillarc.h \
 | ||||||
|               mispans.h mistruct.h mifpoly.h mioverlay.h |               mistruct.h mifpoly.h mioverlay.h | ||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
| AM_CFLAGS = $(DIX_CFLAGS) | AM_CFLAGS = $(DIX_CFLAGS) | ||||||
|  |  | ||||||
							
								
								
									
										20
									
								
								mi/mispans.h
								
								
								
								
							
							
						
						
									
										20
									
								
								mi/mispans.h
								
								
								
								
							|  | @ -61,24 +61,20 @@ typedef struct { | ||||||
| } SpanGroup; | } SpanGroup; | ||||||
| 
 | 
 | ||||||
| /* Initialize SpanGroup.  MUST BE DONE before use. */ | /* Initialize SpanGroup.  MUST BE DONE before use. */ | ||||||
| extern _X_EXPORT void miInitSpanGroup(SpanGroup *       /*spanGroup */ | extern void miInitSpanGroup(SpanGroup *       /*spanGroup */); | ||||||
|     ); |  | ||||||
| 
 | 
 | ||||||
| /* Add a Spans to a SpanGroup. The spans MUST BE in y-sorted order */ | /* Add a Spans to a SpanGroup. The spans MUST BE in y-sorted order */ | ||||||
| extern _X_EXPORT void miAppendSpans(SpanGroup * /*spanGroup */ , | extern void miAppendSpans(SpanGroup * /*spanGroup */ , | ||||||
|                                     SpanGroup * /*otherGroup */ , |                           SpanGroup * /*otherGroup */ , | ||||||
|                                     Spans *     /*spans */ |                           Spans *     /*spans */); | ||||||
|     ); |  | ||||||
| 
 | 
 | ||||||
| /* Paint a span group, insuring that each pixel is painted at most once */ | /* Paint a span group, insuring that each pixel is painted at most once */ | ||||||
| extern _X_EXPORT void miFillUniqueSpanGroup(DrawablePtr /*pDraw */ , | extern void miFillUniqueSpanGroup(DrawablePtr /*pDraw */ , | ||||||
|                                             GCPtr /*pGC */ , |                                   GCPtr /*pGC */ , | ||||||
|                                             SpanGroup * /*spanGroup */ |                                   SpanGroup * /*spanGroup */); | ||||||
|     ); |  | ||||||
| 
 | 
 | ||||||
| /* Free up data in a span group.  MUST BE DONE or you'll suffer memory leaks */ | /* Free up data in a span group.  MUST BE DONE or you'll suffer memory leaks */ | ||||||
| extern _X_EXPORT void miFreeSpanGroup(SpanGroup *       /*spanGroup */ | extern void miFreeSpanGroup(SpanGroup *       /*spanGroup */); | ||||||
|     ); |  | ||||||
| 
 | 
 | ||||||
| /* Rops which must use span groups */ | /* Rops which must use span groups */ | ||||||
| #define miSpansCarefulRop(rop)	(((rop) & 0xc) == 0x8 || ((rop) & 0x3) == 0x2) | #define miSpansCarefulRop(rop)	(((rop) & 0xc) == 0x8 || ((rop) & 0x3) == 0x2) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue