Lines Matching defs:gc
392 rfb_send_rect(struct rfb_softc *rc, int cfd, struct bhyvegc_image *gc,
418 for (p = &gc->data[y * gc->width + x]; y < h; y++) {
435 p += gc->width;
454 for (p = &gc->data[y * gc->width + x]; y < h; y++) {
458 p += gc->width;
473 rfb_send_all(struct rfb_softc *rc, int cfd, struct bhyvegc_image *gc)
497 srect_hdr.width = htons(gc->width);
498 srect_hdr.height = htons(gc->height);
500 rc->zstream.next_in = (Bytef *)gc->data;
501 rc->zstream.avail_in = gc->width * gc->height *
539 nwrite = stream_write(cfd, gc->data,
540 gc->width * gc->height * sizeof(uint32_t));