Lines Matching defs:phdr
105 static void vbvaRgnDirtyRect(VBVADIRTYREGION *prgn, unsigned uScreenId, VBVACMDHDR *phdr)
108 phdr->x, phdr->y, phdr->w, phdr->h));
117 if (phdr->w == 0 || phdr->h == 0)
123 int32_t xRight = phdr->x + phdr->w;
124 int32_t yBottom = phdr->y + phdr->h;
132 pDirtyRect->xLeft = phdr->x;
133 pDirtyRect->yTop = phdr->y;
140 if (pDirtyRect->xLeft > phdr->x)
142 pDirtyRect->xLeft = phdr->x;
145 if (pDirtyRect->yTop > phdr->y)
147 pDirtyRect->yTop = phdr->y;
164 prgn->pPort->pfnUpdateDisplayRect(prgn->pPort, phdr->x, phdr->y, phdr->w, phdr->h);
165 prgn->pDisplay->i_handleDisplayUpdate(uScreenId, phdr->x, phdr->y, phdr->w, phdr->h);
679 VBVACMDHDR *phdr = NULL;
683 if (!i_vbvaFetchCmd(pVideoAccel, &phdr, &cbCmd))
703 cbCmd, phdr->x, phdr->y, phdr->w, phdr->h));
706 VBVACMDHDR hdrSaved = *phdr;
708 int x = phdr->x;
709 int y = phdr->y;
710 int w = phdr->w;
711 int h = phdr->h;
715 phdr->x = (int16_t)x;
716 phdr->y = (int16_t)y;
717 phdr->w = (uint16_t)w;
718 phdr->h = (uint16_t)h;
735 vbvaRgnDirtyRect(&rgn, uScreenId, phdr);
738 mParent->i_consoleVRDPServer()->SendUpdate(uScreenId, phdr, cbCmd);
740 *phdr = hdrSaved;
743 i_vbvaReleaseCmd(pVideoAccel, phdr, cbCmd);