Lines Matching refs:blit
288 skin_blit_init_fill( SkinBlit* blit,
318 blit->x = x;
319 blit->y = y;
320 blit->w = w;
321 blit->h = h;
326 blit->dst_lock = dst->surface;
327 blit->dst_pitch = dst->surface->pitch;
328 blit->dst_line = dst->surface->pixels + y*blit->dst_pitch;
330 blit->src_lock = NULL;
331 blit->src_color = color;
337 skin_blit_init_blit( SkinBlit* blit,
389 blit->x = x;
390 blit->y = y;
391 blit->w = w;
392 blit->h = h;
394 blit->sx = sx;
395 blit->sy = sy;
400 blit->dst_lock = dst->surface;
401 blit->dst_pitch = dst->surface->pitch;
402 blit->dst_line = (uint8_t*) dst->surface->pixels + y*blit->dst_pitch;
409 blit->src_lock = src->surface;
410 blit->src_pitch = src->surface->pitch;
411 blit->src_line = (uint8_t*) src->surface->pixels + sy*blit->src_pitch;
417 skin_blit_done( SkinBlit* blit )
419 if (blit->src_lock)
420 SDL_UnlockSurface( blit->src_lock );
421 if (blit->dst_lock)
422 SDL_UnlockSurface( blit->dst_lock );
507 SkinBlit blit[1];
516 if ( skin_blit_init_fill( blit, dst, rect, argb_premul ) ) {
517 uint8_t* line = blit->dst_line;
518 int pitch = blit->dst_pitch;
519 uint8_t* end = line + pitch*blit->h;
522 fill( (uint32_t*)line + blit->x, argb_premul, blit->w );
592 SkinBlit blit[1];
601 if ( skin_blit_init_blit( blit, dst, dst_pos, src, src_rect ) ) {
602 uint8_t* line = blit->dst_line;
603 uint8_t* sline = blit->src_line;
604 int pitch = blit->dst_pitch;
605 int spitch = blit->src_pitch;
606 uint8_t* end = line + pitch*blit->h;
609 func( (uint32_t*)line + blit->x, (uint32_t*)sline + blit->sx, blit->w );
611 skin_blit_done(blit);