Lines Matching defs:rinfo
279 ri = &scr->rinfo;
642 rinfo,
647 rinfo->ri_flg = descr->flags | RI_ENABLE_ALPHA;
648 rinfo->ri_depth = descr->depth;
649 rinfo->ri_width = geom->panel_width;
650 rinfo->ri_height = geom->panel_height;
651 rinfo->ri_stride = rinfo->ri_width * rinfo->ri_depth / 8;
653 rinfo->ri_wsfcookie = -1; /* XXX */
658 rinfo->ri_rnum = 5;
659 rinfo->ri_rpos = 11;
660 rinfo->ri_gnum = 6;
661 rinfo->ri_gpos = 5;
662 rinfo->ri_bnum = 5;
663 rinfo->ri_bpos = 0;
668 rasops_init(rinfo, 100, 100);
670 rasops_init(rinfo, descr->c.nrows, descr->c.ncols);
673 descr->c.nrows = rinfo->ri_rows;
674 descr->c.ncols = rinfo->ri_cols;
675 descr->c.capabilities = rinfo->ri_caps;
676 descr->c.textops = &rinfo->ri_ops;
733 struct rasops_info rinfo;
735 memset(&rinfo, 0, sizeof rinfo);
743 wsfont_lock(cookie, &rinfo.ri_font))
751 rinfo.ri_flg = RI_ENABLE_ALPHA;
752 rinfo.ri_depth = descr->depth;
753 rinfo.ri_bits = NULL;
754 rinfo.ri_width = width;
755 rinfo.ri_height = height;
756 rinfo.ri_stride = width * rinfo.ri_depth / 8;
758 if (rinfo.ri_depth > 16)
759 rinfo.ri_stride = width * 4;
761 rinfo.ri_wsfcookie = cookie;
763 rasops_init(&rinfo, 100, 100);
765 descr->c.nrows = rinfo.ri_rows;
766 descr->c.ncols = rinfo.ri_cols;
767 descr->c.capabilities = rinfo.ri_caps;
809 scr->rinfo.ri_flg = RI_ENABLE_ALPHA;
810 scr->rinfo.ri_depth = type->depth;
811 scr->rinfo.ri_bits = scr->buf_va;
812 scr->rinfo.ri_width = sc->geometry->panel_width;
813 scr->rinfo.ri_height = sc->geometry->panel_height;
814 scr->rinfo.ri_stride = scr->rinfo.ri_width * scr->rinfo.ri_depth / 8;
816 if (scr->rinfo.ri_depth > 16)
817 scr->rinfo.ri_stride = scr->rinfo.ri_width * 4;
819 scr->rinfo.ri_wsfcookie = -1; /* XXX */
821 rasops_init(&scr->rinfo, type->c.nrows, type->c.ncols);
823 (*scr->rinfo.ri_ops.allocattr)(&scr->rinfo, 0, 0, 0, attrp);
879 *(u_int *)data = scr->rinfo.ri_stride;
923 offset >= scr->rinfo.ri_stride * scr->rinfo.ri_height)
937 (*scr->rinfo.ri_ops.cursor)(&scr->rinfo, on, row, col);
945 return (*scr->rinfo.ri_ops.mapchar)(&scr->rinfo, c, cp);
953 (*scr->rinfo.ri_ops.putchar)(&scr->rinfo, row, col, uc, attr);
961 (*scr->rinfo.ri_ops.copycols)(&scr->rinfo, row, src, dst, num);
969 (*scr->rinfo.ri_ops.erasecols)(&scr->rinfo, row, col, num, attr);
977 (*scr->rinfo.ri_ops.copyrows)(&scr->rinfo, src, dst, num);
985 (*scr->rinfo.ri_ops.eraserows)(&scr->rinfo, row, num, attr);
993 return (*scr->rinfo.ri_ops.allocattr)(&scr->rinfo, fg, bg, flg, attr);