Searched refs:rect (Results 1 – 2 of 2) sorted by relevance
768 rfb_rect_hdr_t rect; in rfb_send_resize_update_msg() local775 rect.rr_x = htons(0); in rfb_send_resize_update_msg()776 rect.rr_y = htons(0); in rfb_send_resize_update_msg()777 rect.rr_width = htons(c->rc_width); in rfb_send_resize_update_msg()778 rect.rr_height = htons(c->rc_height); in rfb_send_resize_update_msg()779 rect.rr_encoding = htonl(RFBP_ENCODING_RESIZE); in rfb_send_resize_update_msg()781 (void) stream_write(c->rc_fd, &rect, sizeof (rect)); in rfb_send_resize_update_msg()787 rfb_rect_hdr_t rect; in rfb_send_extended_keyevent_update_msg() local793 rect.rr_x = htons(0); in rfb_send_extended_keyevent_update_msg()794 rect.rr_y = htons(0); in rfb_send_extended_keyevent_update_msg()[all …]
490 boot_fb_blit(struct vis_consdisplay *rect) in boot_fb_blit() argument497 if (rect->col >= fb_info.screen.x || in boot_fb_blit()498 rect->row >= fb_info.screen.y || in boot_fb_blit()499 rect->col + rect->width >= fb_info.screen.x || in boot_fb_blit()500 rect->row + rect->height >= fb_info.screen.y) in boot_fb_blit()503 size = rect->width * fb_info.bpp; in boot_fb_blit()504 offset = rect->col * fb_info.bpp + rect->row * fb_info.pitch; in boot_fb_blit()510 for (i = 0; i < rect->height; i++) { in boot_fb_blit()512 uint8_t *src = rect->data + i * size; in boot_fb_blit()