Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/xserver/render/
H A Dpicture.c135 DepthPtr pDepth; in visualDepth() local
138 pDepth = &pScreen->allowedDepths[d]; in visualDepth()
139 for (v = 0; v < pDepth->numVids; v++) in visualDepth()
140 if (pDepth->vids[v] == pVisual->vid) in visualDepth()
141 return pDepth->depth; in visualDepth()
180 DepthPtr pDepth; in PictureCreateDefaultFormats() local
261 pDepth = &pScreen->allowedDepths[d]; in PictureCreateDefaultFormats()
262 bpp = BitsPerPixel(pDepth->depth); in PictureCreateDefaultFormats()
267 if (pDepth->depth >= 12) { in PictureCreateDefaultFormats()
268 addFormat(formats, &nformats, PICT_x4r4g4b4, pDepth->depth); in PictureCreateDefaultFormats()
[all …]
H A Drender.c317 DepthPtr pDepth; in ProcRenderQueryPictFormats() local
345 pDepth = pScreen->allowedDepths + d; in ProcRenderQueryPictFormats()
348 for (v = 0; v < pDepth->numVids; v++) { in ProcRenderQueryPictFormats()
349 pVisual = findVisual(pScreen, pDepth->vids[v]); in ProcRenderQueryPictFormats()
351 PictureMatchVisual(pScreen, pDepth->depth, pVisual)) in ProcRenderQueryPictFormats()
429 pDepth = pScreen->allowedDepths + d; in ProcRenderQueryPictFormats()
432 for (v = 0; v < pDepth->numVids; v++) { in ProcRenderQueryPictFormats()
433 pVisual = findVisual(pScreen, pDepth->vids[v]); in ProcRenderQueryPictFormats()
435 pDepth->depth, in ProcRenderQueryPictFormats()
447 pictDepth->depth = pDepth->depth; in ProcRenderQueryPictFormats()
/OK3568_Linux_fs/external/xserver/dbe/
H A Dmidbe.c81 DepthPtr pDepth; in miDbeGetVisualInfo() local
97 pDepth = &pScreen->allowedDepths[i]; in miDbeGetVisualInfo()
99 for (j = 0; j < pDepth->numVids; j++) { in miDbeGetVisualInfo()
105 visInfo[k].visual = pDepth->vids[j]; in miDbeGetVisualInfo()
106 visInfo[k].depth = pDepth->depth; in miDbeGetVisualInfo()
/OK3568_Linux_fs/external/xserver/dix/
H A Ddispatch.c600 DepthPtr pDepth; in CreateConnectionBlock() local
624 pDepth = pScreen->allowedDepths; in CreateConnectionBlock()
625 for (j = 0; j < pScreen->numDepths; j++, pDepth++) { in CreateConnectionBlock()
627 (pDepth->numVids * sizeof(xVisualType)); in CreateConnectionBlock()
635 depth.depth = pDepth->depth; in CreateConnectionBlock()
636 depth.nVisuals = pDepth->numVids; in CreateConnectionBlock()
640 for (k = 0; k < pDepth->numVids; k++) { in CreateConnectionBlock()
641 vid = pDepth->vids[k]; in CreateConnectionBlock()
1399 DepthPtr pDepth; in ProcCreatePixmap() local
1432 pDepth = pDraw->pScreen->allowedDepths; in ProcCreatePixmap()
[all …]
H A Dgc.c839 DepthPtr pDepth; in CreateGCperDepth() local
851 pDepth = pScreen->allowedDepths; in CreateGCperDepth()
852 for (i = 0; i < pScreen->numDepths; i++, pDepth++) { in CreateGCperDepth()
853 if (!(ppGC[i + 1] = CreateScratchGC(pScreen, pDepth->depth))) { in CreateGCperDepth()
H A Dwindow.c771 DepthPtr pDepth; in CreateWindow() local
808 pDepth = (DepthPtr) &pScreen->allowedDepths[idepth]; in CreateWindow()
809 if ((depth == pDepth->depth) || (depth == 0)) { in CreateWindow()
810 for (ivisual = 0; ivisual < pDepth->numVids; ivisual++) { in CreateWindow()
811 if (visual == pDepth->vids[ivisual]) { in CreateWindow()
/OK3568_Linux_fs/external/xserver/Xext/
H A Dshm.c928 DepthPtr pDepth; in ProcPanoramiXShmCreatePixmap() local
960 pDepth = pDraw->pScreen->allowedDepths; in ProcPanoramiXShmCreatePixmap()
961 for (i = 0; i < pDraw->pScreen->numDepths; i++, pDepth++) in ProcPanoramiXShmCreatePixmap()
962 if (pDepth->depth == stuff->depth) in ProcPanoramiXShmCreatePixmap()
1061 DepthPtr pDepth; in ProcShmCreatePixmap() local
1093 pDepth = pDraw->pScreen->allowedDepths; in ProcShmCreatePixmap()
1094 for (i = 0; i < pDraw->pScreen->numDepths; i++, pDepth++) in ProcShmCreatePixmap()
1095 if (pDepth->depth == stuff->depth) in ProcShmCreatePixmap()
H A DpanoramiX.c729 PanoramiXMaybeAddDepth(DepthPtr pDepth) in PanoramiXMaybeAddDepth() argument
738 if (pScreen->allowedDepths[k].depth == pDepth->depth) { in PanoramiXMaybeAddDepth()
752 PanoramiXDepths[j].depth = pDepth->depth; in PanoramiXMaybeAddDepth()
811 DepthPtr pDepth = pScreen->allowedDepths; in PanoramiXConsolidate() local
818 PanoramiXMaybeAddDepth(pDepth++); in PanoramiXConsolidate()
H A Dsaver.c741 DepthPtr pDepth; in ScreenSaverSetAttributes() local
814 pDepth = (DepthPtr) &pScreen->allowedDepths[idepth]; in ScreenSaverSetAttributes()
815 if ((depth == pDepth->depth) || (depth == 0)) { in ScreenSaverSetAttributes()
816 for (ivisual = 0; ivisual < pDepth->numVids; ivisual++) { in ScreenSaverSetAttributes()
817 if (visual == pDepth->vids[ivisual]) { in ScreenSaverSetAttributes()
/OK3568_Linux_fs/external/xserver/
H A DChangeLog4843 PanoramiXMaybeAddDepth() allocates an array size 240 (pDepth->numVisuals)