Searched refs:pRect (Results 1 - 25 of 85) sorted by relevance

1234

/vbox/src/VBox/Frontends/VirtualBox/src/runtime/scale/
H A DUIMachineWindowScale.cpp191 RECT *pRect = reinterpret_cast<RECT*>(pMessage->lParam); local
197 pRect->bottom = pRect->top + (double)(pRect->right - pRect->left) / dAspectRatio;
203 pRect->right = pRect->left + (double)(pRect->bottom - pRect->top) * dAspectRatio;
209 pRect
[all...]
/vbox/src/VBox/GuestHost/OpenGL/include/
H A Dcr_vreg.h56 DECLINLINE(void) VBoxRectScale(PRTRECT pRect, float xScale, float yScale) argument
58 pRect->xLeft = CR_FLOAT_RCAST(int32_t, pRect->xLeft * xScale);
59 pRect->yTop = CR_FLOAT_RCAST(int32_t, pRect->yTop * yScale);
60 pRect->xRight = CR_FLOAT_RCAST(int32_t, pRect->xRight * xScale);
61 pRect->yBottom = CR_FLOAT_RCAST(int32_t, pRect->yBottom * yScale);
64 DECLINLINE(void) VBoxRectScaled(PCRTRECT pRect, floa argument
70 VBoxRectUnscale(PRTRECT pRect, float xScale, float yScale) argument
78 VBoxRectUnscaled(PCRTRECT pRect, float xScale, float yScale, PRTRECT pResult) argument
106 VBoxRectTranslate(PRTRECT pRect, int32_t x, int32_t y) argument
114 VBoxRectTranslated(PCRTRECT pRect, int32_t x, int32_t y, PRTRECT pResult) argument
120 VBoxRectInvertY(PRTRECT pRect) argument
127 VBoxRectInvertedY(PCRTRECT pRect, PRTRECT pResult) argument
133 VBoxRectMove(PRTRECT pRect, int32_t x, int32_t y) argument
143 VBoxRectMoved(PCRTRECT pRect, int32_t x, int32_t y, PRTRECT pResult) argument
149 VBoxRectCovers(PCRTRECT pRect, PCRTRECT pCovered) argument
164 VBoxRectIsZero(PCRTRECT pRect) argument
247 PCRTRECT pRect = &PVBOXVR_REG_FROM_ENTRY(pNextEntry)->Rect; local
[all...]
H A Dcr_compositor.h77 DECLINLINE(void) CrVrScrCompositorEntryInit(PVBOXVR_SCR_COMPOSITOR_ENTRY pEntry, PCRTRECT pRect, CR_TEXDATA *pTex, argument
82 pEntry->Rect = *pRect;
137 PCRTRECT pRect);
184 VBOXVREGDECL(void) CrVrScrCompositorInit(PVBOXVR_SCR_COMPOSITOR pCompositor, PCRTRECT pRect);
185 VBOXVREGDECL(int) CrVrScrCompositorRectSet(PVBOXVR_SCR_COMPOSITOR pCompositor, PCRTRECT pRect, bool *pfChanged);
/vbox/src/VBox/Additions/WINNT/Graphics/Video/common/
H A DVBoxVideoTools.h165 DECLINLINE(bool) vboxWddmRectIsCoveres(const RECT *pRect, const RECT *pCovered) argument
167 Assert(pRect);
169 if (pRect->left > pCovered->left)
171 if (pRect->top > pCovered->top)
173 if (pRect->right < pCovered->right)
175 if (pRect->bottom < pCovered->bottom)
180 DECLINLINE(bool) vboxWddmRectIsEmpty(const RECT * pRect) argument
182 return pRect->left == pRect->right-1 && pRect
201 vboxWddmRectTranslate(RECT * pRect, int x, int y) argument
209 vboxWddmRectMove(RECT * pRect, int x, int y) argument
219 vboxWddmRectTranslated(RECT *pDst, const RECT * pRect, int x, int y) argument
225 vboxWddmRectMoved(RECT *pDst, const RECT * pRect, int x, int y) argument
330 vboxWddmDirtyRegionAddRect(PVBOXWDDM_DIRTYREGION pInfo, const RECT *pRect) argument
[all...]
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/
H A Dddstream.idl73 [in] const RECT *pRect,
92 [out] RECT * pRect);
95 [in] const RECT * pRect);
/vbox/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/
H A DVBoxDispDbg.cpp166 const RECT *pRect; member in struct:VBOXVDBG_DUMP_INFO
177 if (pInfo->pRect)
179 pInfo->pRect->left, pInfo->pRect->top,
180 pInfo->pRect->right, pInfo->pRect->bottom);
228 const RECT *pRect = pInfo->pRect; local
250 if (pRect)
252 Assert(pRect
270 vboxVDbgDoDumpAllocRect(const char * pPrefix, PVBOXWDDMDISP_ALLOCATION pAlloc, RECT *pRect, const char* pSuffix, DWORD fFlags) argument
284 const RECT *pRect = pInfo->pRect; local
326 vboxVDbgDoDumpRcRect(const char * pPrefix, PVBOXWDDMDISP_ALLOCATION pAlloc, IDirect3DResource9 *pD3DRc, RECT *pRect, const char * pSuffix, DWORD fFlags) argument
428 const RECT *pRect = pInfo->pRect; local
466 const RECT *pRect; local
652 vboxVDbgDoPrintRect(const char * pPrefix, const RECT *pRect, const char * pSuffix) argument
[all...]
H A DVBoxD3DIf.cpp216 void VBoxD3DIfLockUnlockMemSynch(PVBOXWDDMDISP_ALLOCATION pAlloc, D3DLOCKED_RECT *pLockInfo, RECT *pRect, bool bToLockInfo) argument
221 if (!pRect)
266 uint32_t offAllocMemStart = vboxWddmCalcOffXYrd(pRect->left, pRect->top, pAlloc->SurfDesc.pitch, pAlloc->SurfDesc.format);
284 if (pRect->right - pRect->left == pAlloc->SurfDesc.width && srcPitch == dstPitch)
286 uint32_t cbSize = vboxWddmCalcSize(pAlloc->SurfDesc.pitch, pRect->bottom - pRect->top, pAlloc->SurfDesc.format);
292 uint32_t cbCopyLine = vboxWddmCalcRowSize(pRect->left, pRect
305 VBoxD3DIfLockRect(PVBOXWDDMDISP_RESOURCE pRc, UINT iAlloc, D3DLOCKED_RECT * pLockedRect, CONST RECT *pRect, DWORD fLockFlags) argument
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/
H A Dddstream.idl73 [in] const RECT *pRect,
92 [out] RECT * pRect);
95 [in] const RECT * pRect);
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/
H A Dmispritest.h116 #define ORGRECT_OVERLAP(pCbox,xorg,yorg,pRect) \
117 ORG_OVERLAP((pCbox),(xorg),(yorg),(pRect)->x,(pRect)->y, \
118 (int)((pRect)->width), (int)((pRect)->height))
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.4.2/
H A Dmispritest.h116 #define ORGRECT_OVERLAP(pCbox,xorg,yorg,pRect) \
117 ORG_OVERLAP((pCbox),(xorg),(yorg),(pRect)->x,(pRect)->y, \
118 (int)((pRect)->width), (int)((pRect)->height))
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.5.3/
H A Dmispritest.h113 #define ORGRECT_OVERLAP(pCbox,xorg,yorg,pRect) \
114 ORG_OVERLAP((pCbox),(xorg),(yorg),(pRect)->x,(pRect)->y, \
115 (int)((pRect)->width), (int)((pRect)->height))
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.6.5/
H A Dmispritest.h111 #define ORGRECT_OVERLAP(pCbox,xorg,yorg,pRect) \
112 ORG_OVERLAP((pCbox),(xorg),(yorg),(pRect)->x,(pRect)->y, \
113 (int)((pRect)->width), (int)((pRect)->height))
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.1.0/
H A Dmispritest.h118 #define ORGRECT_OVERLAP(pCbox,xorg,yorg,pRect) \
119 ORG_OVERLAP((pCbox),(xorg),(yorg),(pRect)->x,(pRect)->y, \
120 (int)((pRect)->width), (int)((pRect)->height))
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.0.1/
H A Dmispritest.h118 #define ORGRECT_OVERLAP(pCbox,xorg,yorg,pRect) \
119 ORG_OVERLAP((pCbox),(xorg),(yorg),(pRect)->x,(pRect)->y, \
120 (int)((pRect)->width), (int)((pRect)->height))
/vbox/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/
H A DVBoxDispVHWA.h84 bool VBoxDispVHWARectIsEmpty(RECTL * pRect);
87 bool VBoxDispVHWARegionIntersects(PVBOXVHWAREGION pReg, RECTL * pRect);
88 bool VBoxDispVHWARegionIncludes(PVBOXVHWAREGION pReg, RECTL * pRect);
89 bool VBoxDispVHWARegionIncluded(PVBOXVHWAREGION pReg, RECTL * pRect);
90 void VBoxDispVHWARegionSet(PVBOXVHWAREGION pReg, RECTL * pRect);
91 void VBoxDispVHWARegionAdd(PVBOXVHWAREGION pReg, RECTL * pRect);
95 void VBoxDispVHWARegionTrySubstitute(PVBOXVHWAREGION pReg, const RECTL *pRect);
H A DVBoxDispVHWA.cpp777 bool VBoxDispVHWARectIsEmpty(RECTL * pRect)
779 return pRect->left == pRect->right-1 && pRect->top == pRect->bottom-1;
797 bool VBoxDispVHWARegionIntersects(PVBOXVHWAREGION pReg, RECTL * pRect)
801 return VBoxDispVHWARectIntersect(&pReg->Rect, pRect);
804 bool VBoxDispVHWARegionIncludes(PVBOXVHWAREGION pReg, RECTL * pRect)
808 return VBoxDispVHWARectInclude(&pReg->Rect, pRect);
811 bool VBoxDispVHWARegionIncluded(PVBOXVHWAREGION pReg, RECTL * pRect)
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/d3d8/
H A Dsurface.c225 static HRESULT WINAPI IDirect3DSurface8Impl_LockRect(LPDIRECT3DSURFACE8 iface, D3DLOCKED_RECT *pLockedRect, CONST RECT *pRect, DWORD Flags) { argument
229 TRACE("iface %p, locked_rect %p, rect %p, flags %#x.\n", iface, pLockedRect, pRect, Flags);
232 if (pRect) {
236 if ((pRect->left < 0)
237 || (pRect->top < 0)
238 || (pRect->left >= pRect->right)
239 || (pRect->top >= pRect->bottom)
240 || (pRect
[all...]
/vbox/src/VBox/Additions/x11/VBoxClient/
H A Dseamless-x11.cpp466 RTRECT *pRect; local
468 pRect = RectListPushBack(pRects);
469 if (!pRect)
471 pRect->xLeft = pInfo->mX
473 pRect->yBottom = pInfo->mY
476 pRect->xRight = pInfo->mX
479 pRect->yTop = pInfo->mY
485 RTRECT *pRect; local
487 pRect = RectListPushBack(pRects);
488 if (!pRect)
[all...]
/vbox/src/VBox/HostServices/SharedOpenGL/crserverlib/presenter/
H A Ddisplay_window.cpp192 const RTRECT* pRect = getRect(); local
193 int rc = mpWindow->SetPosition(pRect->xLeft - pViewportRect->xLeft, pRect->yTop - pViewportRect->yTop);
437 const RTRECT* pRect = getRect(); local
449 rc = mpWindow->SetPosition(pRect->xLeft - mViewportRect.xLeft, pRect->yTop - mViewportRect.yTop);
458 rc = mpWindow->SetSize((uint32_t)(pRect->xRight - pRect->xLeft), (uint32_t)(pRect->yBottom - pRect
[all...]
/vbox/include/VBox/RemoteDesktop/
H A DVRDEImage.h72 #define VRDE_IMAGE_F_CREATE_WINDOW 0x00000004 /* pRect parameter is the image update area. */
109 * @param pRect If VRDE_IMAGE_F_CREATE_WINDOW is set, this is the area of expected updates.
122 const RTRECT *pRect,
152 * @param pRect New area rectangle in the screen coordinates.
157 const RTRECT *pRect));
/vbox/src/VBox/Devices/Graphics/
H A DDevVGA-SVGA3d.h63 int vmsvga3dSurfaceBlitToScreen(PVGASTATE pThis, uint32_t dest, SVGASignedRect destRect, SVGA3dSurfaceImageId src, SVGASignedRect srcRect, uint32_t cRects, SVGASignedRect *pRect);
78 int vmsvga3dSetViewPort(PVGASTATE pThis, uint32_t cid, SVGA3dRect *pRect);
80 int vmsvga3dCommandClear(PVGASTATE pThis, uint32_t cid, SVGA3dClearFlag clearFlag, uint32_t color, float depth, uint32_t stencil, uint32_t cRects, SVGA3dRect *pRect);
81 int vmsvga3dCommandPresent(PVGASTATE pThis, uint32_t sid, uint32_t cRects, SVGA3dCopyRect *pRect);
83 int vmsvga3dSetScissorRect(PVGASTATE pThis, uint32_t cid, SVGA3dRect *pRect);
H A DDevVGA-SVGA3d-ogl.cpp3729 int vmsvga3dSurfaceBlitToScreen(PVGASTATE pThis, uint32_t dest, SVGASignedRect destRect, SVGA3dSurfaceImageId src, SVGASignedRect srcRect, uint32_t cRects, SVGASignedRect *pRect) argument
3735 Log(("vmsvga3dSurfaceBlitToScreen: clipping rect %d (%d,%d)(%d,%d)\n", i, pRect[i].left, pRect[i].top, pRect[i].right, pRect[i].bottom));
3787 box.srcx = srcRect.left + pRect[i].left;
3788 box.srcy = srcRect.top + pRect[i].top;
3790 box.x = pRect[i].left + destRect.left;
3791 box.y = pRect[i].top + destRect.top;
3793 box.w = pRect[
3879 vmsvga3dCommandPresent(PVGASTATE pThis, uint32_t sid, uint32_t cRects, SVGA3dCopyRect *pRect) argument
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/
H A DVBoxMPVbva.h224 DECLINLINE(void) VBoxCVDdiPackRect(VBOXCMDVBVA_RECT *pVbvaRect, const RECT *pRect) argument
226 pVbvaRect->xLeft = (int16_t)pRect->left;
227 pVbvaRect->yTop = (int16_t)pRect->top;
228 pVbvaRect->xRight = (int16_t)pRect->right;
229 pVbvaRect->yBottom = (int16_t)pRect->bottom;
H A DVBoxMPVhwa.h75 void vboxVhwaHlpOverlayDstRectUnion(PVBOXMP_DEVEXT pDevExt, D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId, RECT *pRect);
76 void vboxVhwaHlpOverlayDstRectGet(PVBOXMP_DEVEXT pDevExt, PVBOXWDDM_OVERLAY pOverlay, RECT *pRect);
/vbox/src/VBox/HostServices/SharedOpenGL/render/
H A Drenderspu_cocoa_helper.m830 - (NSRect)safeConvertRectToBacking:(NSRect *)pRect;
833 - (NSRect)safeConvertToScreen:(NSRect *)pRect;
1700 - (NSRect)safeConvertRectToBacking:(NSRect *)pRect
1717 [pInvocation setArgument:pRect atIndex:2];
1722 (int)pRect ->origin.x, (int)pRect ->origin.y, (int)pRect ->size.width, (int)pRect ->size.width,
1734 resultingRect = *pRect;
1737 (int)pRect
[all...]

Completed in 2098 milliseconds

1234