Home
last modified time | relevance | path

Searched refs:vw_draw_area (Results 1 – 6 of 6) sorted by relevance

/freebsd-head/sys/dev/vt/hw/fb/
HDvt_fb.c291 if (y + height > vw->vw_draw_area.tr_end.tp_row) { in vt_fb_bitblt_bitmap()
292 if (y >= vw->vw_draw_area.tr_end.tp_row) in vt_fb_bitblt_bitmap()
294 height = vw->vw_draw_area.tr_end.tp_row - y; in vt_fb_bitblt_bitmap()
296 if (x + width > vw->vw_draw_area.tr_end.tp_col) { in vt_fb_bitblt_bitmap()
297 if (x >= vw->vw_draw_area.tr_end.tp_col) in vt_fb_bitblt_bitmap()
299 width = vw->vw_draw_area.tr_end.tp_col - x; in vt_fb_bitblt_bitmap()
357 if (y + height > vw->vw_draw_area.tr_end.tp_row) { in vt_fb_bitblt_argb()
358 if (y >= vw->vw_draw_area.tr_end.tp_row) in vt_fb_bitblt_argb()
360 height = vw->vw_draw_area.tr_end.tp_row - y; in vt_fb_bitblt_argb()
362 if (x + width > vw->vw_draw_area.tr_end.tp_col) { in vt_fb_bitblt_argb()
[all …]
/freebsd-head/sys/dev/vt/hw/vga/
HDvt_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()
651 i < vw->vw_draw_area.tr_end.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()
697 vw->vw_draw_area.tr_end.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()
733 mx = vd->vd_mx_drawn + vw->vw_draw_area.tr_begin.tp_col; in vga_bitblt_one_text_pixels_block()
[all …]
/freebsd-head/sys/dev/vt/hw/ofwfb/
HDofwfb.c210 l < height && y + l < vw->vw_draw_area.tr_end.tp_row; in ofwfb_bitblt_bitmap()
213 c < width && x + c < vw->vw_draw_area.tr_end.tp_col; in ofwfb_bitblt_bitmap()
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()
303 vd->vd_mx_drawn + vw->vw_draw_area.tr_begin.tp_col, in ofwfb_bitblt_text()
304 vd->vd_my_drawn + vw->vw_draw_area.tr_begin.tp_row, in ofwfb_bitblt_text()
/freebsd-head/sys/dev/vt/
HDvt_core.c711 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()
715 vw->vw_draw_area.tr_end.tp_col = vd->vd_width; in vt_compute_drawable_area()
716 vw->vw_draw_area.tr_end.tp_row = vd->vd_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()
734 vw->vw_draw_area.tr_end.tp_col = vw->vw_draw_area.tr_begin.tp_col + in vt_compute_drawable_area()
736 vw->vw_draw_area.tr_end.tp_row = vw->vw_draw_area.tr_begin.tp_row + in vt_compute_drawable_area()
[all …]
HDvt.h297 term_rect_t vw_draw_area; /* (?) Drawable area. */ member
/freebsd-head/sys/dev/virtio/gpu/
HDvirtio_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()