Lines Matching refs:screen
29 KdShadowFbAlloc(KdScreenInfo * screen, Bool rotate) in KdShadowFbAlloc() argument
33 int width = rotate ? screen->height : screen->width; in KdShadowFbAlloc()
34 int height = rotate ? screen->width : screen->height; in KdShadowFbAlloc()
35 int bpp = screen->fb.bitsPerPixel; in KdShadowFbAlloc()
42 if (screen->fb.shadow) in KdShadowFbAlloc()
43 free(screen->fb.frameBuffer); in KdShadowFbAlloc()
44 screen->fb.shadow = TRUE; in KdShadowFbAlloc()
45 screen->fb.frameBuffer = buf; in KdShadowFbAlloc()
46 screen->fb.byteStride = paddedWidth; in KdShadowFbAlloc()
47 screen->fb.pixelStride = paddedWidth * 8 / bpp; in KdShadowFbAlloc()
52 KdShadowFbFree(KdScreenInfo * screen) in KdShadowFbFree() argument
54 if (screen->fb.shadow) { in KdShadowFbFree()
55 free(screen->fb.frameBuffer); in KdShadowFbFree()
56 screen->fb.frameBuffer = 0; in KdShadowFbFree()
57 screen->fb.shadow = FALSE; in KdShadowFbFree()
66 KdScreenInfo *screen = pScreenPriv->screen; in KdShadowSet() local
69 if (screen->fb.shadow) { in KdShadowSet()