Home
last modified time | relevance | path

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

/freebsd/sys/dev/syscons/
H A Dscterm-teken.c578 if (r->tr_begin.tp_col == 0 && r->tr_end.tp_col == scp->xsize) { in scteken_fill()
580 sc_vtb_erase(&scp->vtb, r->tr_begin.tp_row * scp->xsize, in scteken_fill()
581 (r->tr_end.tp_row - r->tr_begin.tp_row) * scp->xsize, in scteken_fill()
585 width = r->tr_end.tp_col - r->tr_begin.tp_col; in scteken_fill()
587 for (row = r->tr_begin.tp_row; row < r->tr_end.tp_row; row++) { in scteken_fill()
588 sc_vtb_erase(&scp->vtb, r->tr_begin.tp_row * in scteken_fill()
589 scp->xsize + r->tr_begin.tp_col, in scteken_fill()
596 r->tr_begin.tp_row * scp->xsize + r->tr_begin.tp_col); in scteken_fill()
616 r->tr_begin.tp_col == 0 && r->tr_end.tp_col == scp->xsize && in scteken_copy()
617 r->tr_begin.tp_row == p->tp_row + 1) { in scteken_copy()
[all …]
/freebsd/sys/teken/demo/
H A Dteken_demo.c158 for (p.tp_row = r->tr_begin.tp_row; p.tp_row < r->tr_end.tp_row; p.tp_row++) in test_fill()
159 for (p.tp_col = r->tr_begin.tp_col; p.tp_col < r->tr_end.tp_col; p.tp_col++) in test_fill()
174 nrow = r->tr_end.tp_row - r->tr_begin.tp_row; in test_copy()
175 ncol = r->tr_end.tp_col - r->tr_begin.tp_col; in test_copy()
177 if (p->tp_row < r->tr_begin.tp_row) { in test_copy()
179 if (p->tp_col < r->tr_begin.tp_col) { in test_copy()
186 buffer[r->tr_begin.tp_col + x][r->tr_begin.tp_row + y]; in test_copy()
197 buffer[r->tr_begin.tp_col + x][r->tr_begin.tp_row + y]; in test_copy()
204 if (p->tp_col < r->tr_begin.tp_col) { in test_copy()
211 buffer[r->tr_begin.tp_col + x][r->tr_begin.tp_row + y]; in test_copy()
[all …]
/freebsd/sys/dev/vt/
H A Dvt_buf.c270 if (vb->vb_dirtyrect.tr_begin.tp_row > area->tr_begin.tp_row) in vtbuf_dirty()
271 vb->vb_dirtyrect.tr_begin.tp_row = area->tr_begin.tp_row; in vtbuf_dirty()
272 if (vb->vb_dirtyrect.tr_begin.tp_col > area->tr_begin.tp_col) in vtbuf_dirty()
273 vb->vb_dirtyrect.tr_begin.tp_col = area->tr_begin.tp_col; in vtbuf_dirty()
285 area.tr_begin = *p; in vtbuf_dirty_cell()
295 vb->vb_dirtyrect.tr_begin = vb->vb_scr_size; in vtbuf_make_undirty()
310 const term_pos_t *p1 = &r->tr_begin; in vtbuf_copy()
315 KASSERT(r->tr_begin.tp_row < vb->vb_scr_size.tp_row, in vtbuf_copy()
317 r->tr_begin.tp_row, vb->vb_scr_size.tp_row)); in vtbuf_copy()
318 KASSERT(r->tr_begin.tp_col < vb->vb_scr_size.tp_col, in vtbuf_copy()
[all …]
H A Dvt_core.c666 rect->tr_begin.tp_row = rect->tr_begin.tp_col = 0; in vt_termrect()
668 rect->tr_begin.tp_row = vt_logo_sprite_height; in vt_termrect()
674 rect->tr_begin.tp_row = in vt_termrect()
675 howmany(rect->tr_begin.tp_row, vf->vf_height); in vt_termrect()
711 vw->vw_draw_area.tr_begin.tp_col = 0; in vt_compute_drawable_area()
712 vw->vw_draw_area.tr_begin.tp_row = 0; in vt_compute_drawable_area()
714 vw->vw_draw_area.tr_begin.tp_row = vt_logo_sprite_height; in vt_compute_drawable_area()
730 vw->vw_draw_area.tr_begin.tp_col = (vd->vd_width % vf->vf_width) / 2; in vt_compute_drawable_area()
731 vw->vw_draw_area.tr_begin.tp_row = (height % vf->vf_height) / 2; in vt_compute_drawable_area()
733 vw->vw_draw_area.tr_begin.tp_row += vt_logo_sprite_height; in vt_compute_drawable_area()
[all …]
/freebsd/sys/teken/
H A Dteken_subr.h104 tr.tr_begin.tp_row = t->t_scrollreg.ts_begin + amount; in teken_subr_do_scroll()
105 tr.tr_begin.tp_col = 0; in teken_subr_do_scroll()
112 tr.tr_begin.tp_row = t->t_scrollreg.ts_end - amount; in teken_subr_do_scroll()
114 tr.tr_begin.tp_row = t->t_scrollreg.ts_begin; in teken_subr_do_scroll()
118 tr.tr_begin.tp_col = 0; in teken_subr_do_scroll()
128 tr.tr_begin.tp_row = t->t_scrollreg.ts_begin; in teken_subr_do_scroll()
129 tr.tr_begin.tp_col = 0; in teken_subr_do_scroll()
142 tr.tr_begin.tp_row = t->t_scrollreg.ts_begin; in teken_subr_do_scroll()
143 tr.tr_begin.tp_col = 0; in teken_subr_do_scroll()
195 tr.tr_begin.tp_row = 0; in teken_subr_alignment_test()
[all …]
H A Dteken.c115 teken_assert(r->tr_end.tp_row > r->tr_begin.tp_row); in teken_funcs_fill()
117 teken_assert(r->tr_end.tp_col > r->tr_begin.tp_col); in teken_funcs_fill()
128 teken_assert(r->tr_end.tp_row > r->tr_begin.tp_row); in teken_funcs_copy()
130 teken_assert(r->tr_end.tp_col > r->tr_begin.tp_col); in teken_funcs_copy()
132 teken_assert(p->tp_row + (r->tr_end.tp_row - r->tr_begin.tp_row) <= t->t_winsize.tp_row); in teken_funcs_copy()
133 teken_assert(p->tp_col + (r->tr_end.tp_col - r->tr_begin.tp_col) <= t->t_winsize.tp_col); in teken_funcs_copy()
H A Dteken.h67 teken_pos_t tr_begin; member
/freebsd/sys/dev/vt/hw/fb/
H A Dvt_fb.c395 for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) { in vt_fb_bitblt_text()
396 for (col = area->tr_begin.tp_col; col < area->tr_end.tp_col; in vt_fb_bitblt_text()
399 vw->vw_draw_area.tr_begin.tp_col; in vt_fb_bitblt_text()
401 vw->vw_draw_area.tr_begin.tp_row; in vt_fb_bitblt_text()
436 drawn_area.tr_begin.tp_col = area->tr_begin.tp_col * vf->vf_width; in vt_fb_postswitch()
437 drawn_area.tr_begin.tp_row = area->tr_begin.tp_row * vf->vf_height; in vt_fb_postswitch()
445 vd->vd_mx_drawn + vw->vw_draw_area.tr_begin.tp_col, in vt_fb_init_colors()
446 vd->vd_my_drawn + vw->vw_draw_area.tr_begin in vt_fb_init_colors()
[all...]
/freebsd/sys/dev/vt/hw/vga/
H A Dvt_vga.c641 if (i < vw->vw_draw_area.tr_begin.tp_col) { in vga_bitblt_one_text_pixels_block()
647 i = vw->vw_draw_area.tr_begin.tp_col; in vga_bitblt_one_text_pixels_block()
659 col = (i - vw->vw_draw_area.tr_begin.tp_col) / vf->vf_width; in vga_bitblt_one_text_pixels_block()
660 row = (y - vw->vw_draw_area.tr_begin.tp_row) / vf->vf_height; in vga_bitblt_one_text_pixels_block()
692 (col * vf->vf_width + vw->vw_draw_area.tr_begin.tp_col); in vga_bitblt_one_text_pixels_block()
695 vw->vw_draw_area.tr_begin.tp_col, in vga_bitblt_one_text_pixels_block()
699 vw->vw_draw_area.tr_begin.tp_col; in vga_bitblt_one_text_pixels_block()
723 drawn_area.tr_begin.tp_col = x; in vga_bitblt_one_text_pixels_block()
724 drawn_area.tr_begin.tp_row = y; in vga_bitblt_one_text_pixels_block()
733 mx = vd->vd_mx_drawn + vw->vw_draw_area.tr_begin in vga_bitblt_one_text_pixels_block()
[all...]
/freebsd/sys/dev/vt/hw/ofwfb/
H A Dofwfb.c269 for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) { in ofwfb_bitblt_text()
270 for (col = area->tr_begin.tp_col; col < area->tr_end.tp_col; in ofwfb_bitblt_text()
273 vw->vw_draw_area.tr_begin.tp_col; in ofwfb_bitblt_text()
275 vw->vw_draw_area.tr_begin.tp_row; in ofwfb_bitblt_text()
294 drawn_area.tr_begin.tp_col = area->tr_begin.tp_col * vf->vf_width; in ofwfb_bitblt_text()
295 drawn_area.tr_begin.tp_row = area->tr_begin.tp_row * vf->vf_height; in ofwfb_bitblt_text()
303 vd->vd_mx_drawn + vw->vw_draw_area.tr_begin.tp_col,
304 vd->vd_my_drawn + vw->vw_draw_area.tr_begin
[all...]
/freebsd/stand/i386/libi386/
H A Dvidconsole.c111 for (p.tp_row = r->tr_begin.tp_row; in term_image_display()
113 for (p.tp_col = r->tr_begin.tp_col; in term_image_display()
368 for (p.tp_row = r->tr_begin.tp_row; p.tp_row < r->tr_end.tp_row; in vidc_text_fill()
370 for (p.tp_col = r->tr_begin.tp_col; in vidc_text_fill()
390 nrow = r->tr_end.tp_row - r->tr_begin.tp_row; in vidc_text_copy()
391 ncol = r->tr_end.tp_col - r->tr_begin.tp_col; in vidc_text_copy()
395 if (p->tp_row < r->tr_begin.tp_row) { in vidc_text_copy()
399 s.tp_row = r->tr_begin.tp_row + y; in vidc_text_copy()
404 s.tp_col = r->tr_begin.tp_col + x; in vidc_text_copy()
417 if (p->tp_col < r->tr_begin.tp_col) { in vidc_text_copy()
[all …]
/freebsd/stand/efi/libefi/
H A Defi_console.c152 for (p.tp_row = r->tr_begin.tp_row; in term_image_display()
154 for (p.tp_col = r->tr_begin.tp_col; in term_image_display()
264 for (p.tp_row = r->tr_begin.tp_row; p.tp_row < r->tr_end.tp_row; in efi_text_fill()
266 for (p.tp_col = r->tr_begin.tp_col; in efi_text_fill()
322 nrow = r->tr_end.tp_row - r->tr_begin.tp_row; in efi_text_copy()
323 ncol = r->tr_end.tp_col - r->tr_begin.tp_col; in efi_text_copy()
332 soffset = r->tr_begin.tp_col + r->tr_begin.tp_row * state->tg_tp.tp_col; in efi_text_copy()
343 s = r->tr_begin; in efi_text_copy()
346 s.tp_row = r->tr_begin in efi_text_copy()
[all...]
/freebsd/sys/dev/virtio/gpu/
H A Dvirtio_gpu.c158 x = area->tr_begin.tp_col * vw->vw_font->vf_width + vw->vw_draw_area.tr_begin.tp_col; in vtgpu_fb_bitblt_text()
159 y = area->tr_begin.tp_row * vw->vw_font->vf_height + vw->vw_draw_area.tr_begin.tp_row; in vtgpu_fb_bitblt_text()
160 width = area->tr_end.tp_col * vw->vw_font->vf_width + vw->vw_draw_area.tr_begin.tp_col - x; in vtgpu_fb_bitblt_text()
161 height = area->tr_end.tp_row * vw->vw_font->vf_height + vw->vw_draw_area.tr_begin.tp_row - y; in vtgpu_fb_bitblt_text()
/freebsd/stand/common/
H A Dgfx_fb.c1011 for (p.tp_row = r->tr_begin.tp_row; p.tp_row < r->tr_end.tp_row; in gfx_fb_fill()
1014 for (p.tp_col = r->tr_begin.tp_col; in gfx_fb_fill()
1129 sx = s->tr_begin.tp_col * width; in gfx_fb_copy_area()
1130 sy = s->tr_begin.tp_row * height; in gfx_fb_copy_area()
1134 width *= (s->tr_end.tp_col - s->tr_begin.tp_col + 1); in gfx_fb_copy_area()
1208 sr.tr_begin.tp_col = s->tp_col + x; in gfx_fb_copy_line()
1209 sr.tr_begin.tp_row = s->tp_row; in gfx_fb_copy_line()
1235 nrow = r->tr_end.tp_row - r->tr_begin.tp_row; in gfx_fb_copy()
1236 ncol = r->tr_end.tp_col - r->tr_begin.tp_col; in gfx_fb_copy()
1242 soffset = r->tr_begin.tp_col + r->tr_begin.tp_row * state->tg_tp.tp_col; in gfx_fb_copy()
[all …]
/freebsd/sys/kern/
H A Dsubr_terminal.c258 r.tr_begin.tp_row = r.tr_begin.tp_col = 0; in terminal_set_winsize_blank()