Lines Matching full:depth
8 - } else if (d->depth==16) { /* here 16bpp */
9 + } else if ((d->depth==16) | (d->depth==15)) { /* here 16bpp */
18 if (d->depth==8)
20 - else if (d->depth==16)
21 + else if ((d->depth==16) | (d->depth==15))
23 else if (d->depth==24)
70 + if (s->depth == 15) {
73 + temp=s->depth;
76 - s->buffer=(char *)malloc(((SCREEN_X+7)/8)*SCREEN_Y*s->depth);
85 - s->depth==32?24:s->depth, ZPixmap,
86 + s->depth, ZPixmap,
92 s->depth=DefaultDepth(s->d, DefaultScreen(s->d));
94 - if (s->depth!=8 && s->depth!=16 && s->depth!=24) {
95 - fprintf(stderr, "screen depth not supported (only 8, 16 and 24bpp (which means 32bpp too) hand…
96 + if (s->depth!=8 && s->depth!=15 && s->depth!=16 && s->depth!=24) {
97 + fprintf(stderr, "screen depth not supported (only 8, 15, 16 and 24bpp (which means 32bpp too) …
105 - SCREEN_X, SCREEN_Y, 3, s->depth==32?24:s->depth,
106 + SCREEN_X, SCREEN_Y, 3, s->depth,
109 - HELP_X, HELP_Y, 3, s->depth==32?24:s->depth,
110 + HELP_X, HELP_Y, 3, s->depth,
120 + if (s->depth == 15) {
123 + temp = s->depth;
126 - dw = s->depth/8;
131 - w = w * s->depth;