Home
last modified time | relevance | path

Searched refs:depthToBpp (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/external/xserver/hw/kdrive/src/
H A Dkdrive.c852 CARD8 depthToBpp[33]; /* depth -> bpp map */ in KdSetPixmapFormats() local
860 depthToBpp[i] = 0; in KdSetPixmapFormats()
873 if (!depthToBpp[screen->fb.depth]) in KdSetPixmapFormats()
874 depthToBpp[screen->fb.depth] = bpp; in KdSetPixmapFormats()
875 else if (depthToBpp[screen->fb.depth] != bpp) in KdSetPixmapFormats()
884 if (!depthToBpp[kdDepths[i].depth]) in KdSetPixmapFormats()
885 depthToBpp[kdDepths[i].depth] = kdDepths[i].bpp; in KdSetPixmapFormats()
895 if (depthToBpp[i]) { in KdSetPixmapFormats()
898 format->bitsPerPixel = depthToBpp[i]; in KdSetPixmapFormats()