Lines Matching refs:list

23 //	list - list of rectangles
25 void SCREEN_TO_SCREEN_BLIT_DMA(engine_token *et, blit_params *list, uint32 count)
47 for( ; sub_count > 0; --sub_count, ++list ) {
48 *buffer++ = (list->src_left << 16) | list->src_top;
49 *buffer++ = (list->dest_left << 16) | list->dest_top;
50 *buffer++ = ((list->width + 1) << 16) | (list->height + 1);
62 void SCREEN_TO_SCREEN_BLIT_PIO(engine_token *et, blit_params *list, uint32 count)
81 for( ; count > 0; --count, ++list ) {
86 xdir = ((list->src_left < list->dest_left) && (list->src_top == list->dest_top)) ? -1 : 1;
87 ydir = (list->src_top < list->dest_top) ? -1 : 1;
89 if (xdir < 0) list->src_left += list->width , list->dest_left += list->width ;
90 if (ydir < 0) list->src_top += list->height , list->dest_top += list->height ;
96 OUTREG( ai->regs, RADEON_SRC_Y_X, (list->src_top << 16 ) | list->src_left);
97 OUTREG( ai->regs, RADEON_DST_Y_X, (list->dest_top << 16 ) | list->dest_left);
100 OUTREG( ai->regs, RADEON_DST_HEIGHT_WIDTH, ((list->height + 1) << 16 ) | (list->width + 1));
113 // list - list of rectangles
116 fill_rect_params *list, uint32 count)
138 for( ; sub_count > 0; --sub_count, ++list ) {
139 *buffer++ = (list->left << 16) | list->top;
141 ((list->right - list->left + 1) << 16) |
142 (list->bottom - list->top + 1);
155 // list - list of rectangles
159 void FILL_RECTANGLE_PIO(engine_token *et, uint32 colorIndex, fill_rect_params *list, uint32 count)
174 for( ; count > 0; --count, ++list )
178 OUTREG(ai->regs, RADEON_DST_Y_X, (list->top << 16) | list->left);
179 OUTREG(ai->regs, RADEON_DST_WIDTH_HEIGHT, ((list->right - list->left + 1) << 16) | (list->bottom - list->top + 1));
190 // list - list of rectangles
192 void INVERT_RECTANGLE_DMA(engine_token *et, fill_rect_params *list, uint32 count)
214 for( ; sub_count > 0; --sub_count, ++list ) {
215 *buffer++ = (list->left << 16) | list->top;
217 ((list->right - list->left + 1) << 16) |
218 (list->bottom - list->top + 1);
242 void INVERT_RECTANGLE_PIO(engine_token *et, fill_rect_params *list, uint32 count)
257 for( ; count > 0; --count, ++list )
261 OUTREG(ai->regs, RADEON_DST_Y_X, (list->top << 16) | list->left);
262 OUTREG(ai->regs, RADEON_DST_WIDTH_HEIGHT, ((list->right - list->left + 1) << 16) | (list->bottom - list->top + 1));
273 // list - list of spans
275 void FILL_SPAN_DMA(engine_token *et, uint32 colorIndex, uint16 *list, uint32 count)
300 y = *list++;
301 x = *list++;
302 width = *list++ - x + 1;
318 // list - list of spans
320 void FILL_SPAN_PIO(engine_token *et, uint32 colorIndex, uint16 *list, uint32 count)
348 y = *list++;
349 x = *list++;
350 width = *list++ - x + 1;
362 void SCREEN_TO_SCREEN_BLIT(engine_token *et, blit_params *list, uint32 count)
365 SCREEN_TO_SCREEN_BLIT_DMA(et,list,count);
367 SCREEN_TO_SCREEN_BLIT_PIO(et,list,count);
370 void FILL_RECTANGLE(engine_token *et, uint32 color, fill_rect_params *list, uint32 count)
373 FILL_RECTANGLE_DMA(et, color, list, count);
375 FILL_RECTANGLE_PIO(et, color, list, count);
378 void INVERT_RECTANGLE(engine_token *et, fill_rect_params *list, uint32 count)
381 INVERT_RECTANGLE_DMA(et, list, count);
383 INVERT_RECTANGLE_PIO(et, list, count);
386 void FILL_SPAN(engine_token *et, uint32 color, uint16 *list, uint32 count)
389 FILL_SPAN_DMA(et, color, list, count);
391 FILL_SPAN_PIO(et, color, list, count);