Lines Matching defs:shadow
580 short *shadow ;
585 shadow = (short *) ( (u_char *)infop + infop->cm_shadowofs ) ;
586 shadow += index ;
587 for(n=count, op=red, ip=shadow ; --n >= 0 ; *op++ = *ip++>>8 ) ;
588 shadow += infop->cm_reallen ;
589 for(n=count, op=green, ip=shadow ; --n >= 0 ; *op++ = *ip++>>8 ) ;
590 shadow += infop->cm_reallen ;
591 for(n=count, op=blue, ip=shadow ; --n >= 0 ; *op++ = *ip++>>8 ) ;
619 short *shadow ;
638 /* copy to shared memory shadow of grabbed color map */
641 shadow = (short *) ( (u_char *)infop + infop->cm_shadowofs ) ;
642 shadow += index ;
643 for(n=count, ip=red, op=shadow ; --n >= 0 ; *op++, *ip++)
645 shadow += infop->cm_reallen ;
646 for(n=count, ip=green, op=shadow ; --n >= 0 ; *op++, *ip++)
648 shadow += infop->cm_reallen ;
649 for(n=count, ip=blue, op=shadow ; --n >= 0 ; *op++, *ip++)
657 /* We no longer need the hw shadow cmap but have to keep
663 /* copy to shared memory shadow of hardware color map */
823 short *shadow ;
844 /* copy to shared memory shadow of grabbed color map */
847 shadow = (short *) ( (u_char *)infop + infop->cm_shadowofs ) ;
848 shadow += index ;
849 for(n=count, ip=red, op=shadow ; --n >= 0 ; *op++, *ip++)
851 shadow += infop->cm_reallen ;
852 for(n=count, ip=green, op=shadow ; --n >= 0 ; *op++, *ip++)
854 shadow += infop->cm_reallen ;
855 for(n=count, ip=blue, op=shadow ; --n >= 0 ; *op++, *ip++)
866 /* copy to shared memory shadow of hardware color map */