Home | History | Annotate | Download | only in dev

Lines Matching refs:depth

263 	 * Calculate the depth of the screen
270 dm->depth = 1;
272 dm->depth = 16;
274 dm->depth = 8;
276 dm->depth = 4;
278 dm->depth = 2;
280 dm->depth = 1; /* 2 color */
296 dm->size.width = vregs->vd_vert_wrap * 16 / dm->depth;
331 if (dm->depth == 1) {
390 if (v->mode->depth == 2)
462 if (dm->depth == 16) /* direct color, no colormap;
467 ncreg = 1 << dm->depth;
508 falcon_alloc_view(dmode_t *mode, dimen_t *dim, u_char depth)
520 bm = alloc_bitmap(mode->size.width, mode->size.height, mode->depth);
549 alloc_bitmap(u_long width, u_long height, u_char depth)
567 bm_size = m68k_round_page((width * height * depth) / NBBY);
577 bm->bytes_per_row = (width * depth) / NBBY;
579 bm->depth = depth;
580 bm->phys_mappable = (depth * width * height) / NBBY;
607 if (dm->depth == 16) /* direct color, no colormap;
611 nentries = 1 << dm->depth;