@@ -92,7 +92,7 @@ _pixman_region_init_clipped_rectangles(pixman_region16_t * region,
9292 free (boxes );
9393
9494 DEBUGF ("%s: nrects=%d, region=(%d, %d), (%d, %d) x %d\n" ,
95- __FUNCTION__ , num_rects ,
95+ __func__ , num_rects ,
9696 region -> extents .x1 , region -> extents .y1 ,
9797 region -> extents .x2 , region -> extents .y2 , j );
9898 return ret ;
@@ -113,7 +113,7 @@ glamor_composite_rectangles(CARD8 op,
113113 Bool need_free_region = FALSE;
114114
115115 DEBUGF ("%s(op=%d, %08x x %d [(%d, %d)x(%d, %d) ...])\n" ,
116- __FUNCTION__ , op ,
116+ __func__ , op ,
117117 (color -> alpha >> 8 << 24 ) |
118118 (color -> red >> 8 << 16 ) |
119119 (color -> green >> 8 << 8 ) |
@@ -124,7 +124,7 @@ glamor_composite_rectangles(CARD8 op,
124124 return ;
125125
126126 if (RegionNil (dst -> pCompositeClip )) {
127- DEBUGF ("%s: empty clip, skipping\n" , __FUNCTION__ );
127+ DEBUGF ("%s: empty clip, skipping\n" , __func__ );
128128 return ;
129129 }
130130
@@ -180,15 +180,15 @@ glamor_composite_rectangles(CARD8 op,
180180 break ;
181181 }
182182 }
183- DEBUGF ("%s: converted to op %d\n" , __FUNCTION__ , op );
183+ DEBUGF ("%s: converted to op %d\n" , __func__ , op );
184184
185185 if (!_pixman_region_init_clipped_rectangles (& region ,
186186 num_rects , rects ,
187187 dst -> pDrawable -> x ,
188188 dst -> pDrawable -> y ,
189189 & dst -> pCompositeClip -> extents ))
190190 {
191- DEBUGF ("%s: allocation failed for region\n" , __FUNCTION__ );
191+ DEBUGF ("%s: allocation failed for region\n" , __func__ );
192192 return ;
193193 }
194194
@@ -198,14 +198,14 @@ glamor_composite_rectangles(CARD8 op,
198198 if (!GLAMOR_PIXMAP_PRIV_HAS_FBO (priv ))
199199 goto fallback ;
200200 if (dst -> alphaMap ) {
201- DEBUGF ("%s: fallback, dst has an alpha-map\n" , __FUNCTION__ );
201+ DEBUGF ("%s: fallback, dst has an alpha-map\n" , __func__ );
202202 goto fallback ;
203203 }
204204
205205 need_free_region = TRUE;
206206
207207 DEBUGF ("%s: drawable extents (%d, %d),(%d, %d) x %d\n" ,
208- __FUNCTION__ ,
208+ __func__ ,
209209 RegionExtents (& region )-> x1 , RegionExtents (& region )-> y1 ,
210210 RegionExtents (& region )-> x2 , RegionExtents (& region )-> y2 ,
211211 RegionNumRects (& region ));
@@ -214,13 +214,13 @@ glamor_composite_rectangles(CARD8 op,
214214 (!pixman_region_intersect (& region , & region , dst -> pCompositeClip ) ||
215215 RegionNil (& region ))) {
216216 DEBUGF ("%s: zero-intersection between rectangles and clip\n" ,
217- __FUNCTION__ );
217+ __func__ );
218218 pixman_region_fini (& region );
219219 return ;
220220 }
221221
222222 DEBUGF ("%s: clipped extents (%d, %d),(%d, %d) x %d\n" ,
223- __FUNCTION__ ,
223+ __func__ ,
224224 RegionExtents (& region )-> x1 , RegionExtents (& region )-> y1 ,
225225 RegionExtents (& region )-> x2 , RegionExtents (& region )-> y2 ,
226226 RegionNumRects (& region ));
@@ -232,7 +232,7 @@ glamor_composite_rectangles(CARD8 op,
232232 pixman_region_translate (& region , - dst -> pDrawable -> x , - dst -> pDrawable -> y );
233233
234234 DEBUGF ("%s: drawable extents (%d, %d),(%d, %d)\n" ,
235- __FUNCTION__ , dst_x , dst_y ,
235+ __func__ , dst_x , dst_y ,
236236 RegionExtents (& region )-> x1 , RegionExtents (& region )-> y1 ,
237237 RegionExtents (& region )-> x2 , RegionExtents (& region )-> y2 );
238238
0 commit comments