Lines Matching refs:pf
165 struct PixelFormat* pf = &s->ds->surface->pf; in goldfish_fb_get_pixel_format() local
168 printf(" bits/pixel: %d\n", pf->bits_per_pixel); in goldfish_fb_get_pixel_format()
169 printf(" bytes/pixel: %d\n", pf->bytes_per_pixel); in goldfish_fb_get_pixel_format()
170 printf(" depth: %d\n", pf->depth); in goldfish_fb_get_pixel_format()
172 pf->rbits, pf->rmask, pf->rshift, pf->rmax); in goldfish_fb_get_pixel_format()
174 pf->gbits, pf->gmask, pf->gshift, pf->gmax); in goldfish_fb_get_pixel_format()
176 pf->bbits, pf->bmask, pf->bshift, pf->bmax); in goldfish_fb_get_pixel_format()
178 pf->abits, pf->amask, pf->ashift, pf->amax); in goldfish_fb_get_pixel_format()
181 s->bytes_per_pixel = pf->bytes_per_pixel; in goldfish_fb_get_pixel_format()
185 if (pf->bits_per_pixel == fbc->bits && in goldfish_fb_get_pixel_format()
186 pf->bytes_per_pixel == fbc->bytes && in goldfish_fb_get_pixel_format()
187 pf->rmask == fbc->rmask && in goldfish_fb_get_pixel_format()
188 pf->gmask == fbc->gmask && in goldfish_fb_get_pixel_format()
189 pf->bmask == fbc->bmask && in goldfish_fb_get_pixel_format()
190 pf->amask == fbc->amask) { in goldfish_fb_get_pixel_format()
198 pf->depth, in goldfish_fb_get_pixel_format()
199 pf->bytes_per_pixel, in goldfish_fb_get_pixel_format()
200 pf->bits_per_pixel); in goldfish_fb_get_pixel_format()
497 fbs.src_pitch = width*s->ds->surface->pf.bytes_per_pixel; in goldfish_fb_update_display()