Searched defs:pRect2 (Results 1 - 4 of 4) sorted by relevance

/vbox/src/VBox/GuestHost/OpenGL/include/
H A Dcr_vreg.h48 DECLINLINE(int) VBoxRectCmp(PCRTRECT pRect1, PCRTRECT pRect2) argument
50 return memcmp(pRect1, pRect2, sizeof(*pRect1));
86 DECLINLINE(void) VBoxRectIntersect(PRTRECT pRect1, PCRTRECT pRect2) argument
89 Assert(pRect2);
90 pRect1->xLeft = RT_MAX(pRect1->xLeft, pRect2->xLeft);
91 pRect1->yTop = RT_MAX(pRect1->yTop, pRect2->yTop);
92 pRect1->xRight = RT_MIN(pRect1->xRight, pRect2->xRight);
93 pRect1->yBottom = RT_MIN(pRect1->yBottom, pRect2->yBottom);
99 DECLINLINE(void) VBoxRectIntersected(PCRTRECT pRect1, PCRTRECT pRect2, PRTRECT pResult) argument
102 VBoxRectIntersect(pResult, pRect2);
169 VBoxRectIsIntersect(PCRTRECT pRect1, PCRTRECT pRect2) argument
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Video/common/
H A DVBoxVideoTools.h150 DECLINLINE(bool) vboxWddmRectIsEqual(const RECT *pRect1, const RECT *pRect2) argument
153 Assert(pRect2);
154 if (pRect1->left != pRect2->left)
156 if (pRect1->top != pRect2->top)
158 if (pRect1->right != pRect2->right)
160 if (pRect1->bottom != pRect2->bottom)
185 DECLINLINE(bool) vboxWddmRectIsIntersect(const RECT * pRect1, const RECT * pRect2) argument
187 return !((pRect1->left < pRect2->left && pRect1->right <= pRect2->left)
188 || (pRect2
193 vboxWddmRectUnited(RECT * pDst, const RECT * pRect1, const RECT * pRect2) argument
[all...]
/vbox/src/VBox/GuestHost/OpenGL/util/
H A Dvreg.cpp221 static DECLCALLBACK(int) vboxVrRegNonintersectedComparator(PCRTRECT pRect1, PCRTRECT pRect2) argument
223 Assert(!VBoxRectIsIntersect(pRect1, pRect2));
224 if (pRect1->yTop != pRect2->yTop)
225 return pRect1->yTop - pRect2->yTop;
226 return pRect1->xLeft - pRect2->xLeft;
311 static int vboxVrListRegIntersectSubstNoJoin(PVBOXVR_LIST pList1, PVBOXVR_REG pReg1, PCRTRECT pRect2) argument
321 Assert(!VBoxRectIsZero(pRect2));
325 Assert(VBoxRectIsIntersect(&pReg1->Rect, pRect2));
327 if (pReg1->Rect.yTop < pRect2->yTop)
329 Assert(pRect2
417 PCRTRECT pRect2 = &aRects[i]; local
453 PCRTRECT pRect2 = &aRects[i]; local
624 vboxVrListSubstNoJoinCb(PVBOXVR_LIST pList, PVBOXVR_REG pReg1, PCRTRECT pRect2, void *pvContext, PRTLISTNODE *ppNext) argument
762 vboxVrListIntersectNoJoinIntersectedCb(PVBOXVR_LIST pList1, PVBOXVR_REG pReg1, PCRTRECT pRect2, void *pvContext, PPRTLISTNODE ppNext) argument
815 PCRTRECT pRect2 = &pReg2->Rect; local
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/
H A DVBoxMPVdma.cpp245 const RECT * pRect2 = &paRects2[j]; local
246 if (vboxWddmRectIntersection(pRect1, pRect2, &tmpRect))

Completed in 57 milliseconds