Changeset 53851 in vbox
- Timestamp:
- Jan 16, 2015 10:03:25 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 97669
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r53847 r53851 16116 16116 <method name="notifyScaleFactorChange"> 16117 16117 <desc> 16118 Obtains the guest screen bitmap parameters.16118 Notify OpenGL HGCM host service about graphics content scaling factor change. 16119 16119 </desc> 16120 16120 <param name="screenId" type="unsigned long" dir="in"/> -
trunk/src/VBox/Main/include/DisplayImpl.h
r53850 r53851 170 170 void i_handleCrVRecScreenshotEnd(uint32_t uScreen, uint64_t u64TimeStamp); 171 171 void i_handleVRecCompletion(); 172 virtual HRESULT notifyScaleFactorChange(ULONG uScreen, ULONG u32ScaleFactorWMultiplied, ULONG u32ScaleFactorHMultiplied);173 172 #endif 174 173 … … 255 254 virtual HRESULT querySourceBitmap(ULONG aScreenId, 256 255 ComPtr<IDisplaySourceBitmap> &aDisplaySourceBitmap); 256 virtual HRESULT notifyScaleFactorChange(ULONG aScreenId, 257 ULONG aScaleFactorWMultiplied, 258 ULONG aScaleFactorHMultiplied); 257 259 258 260 // Wrapped IEventListener properties -
trunk/src/VBox/Main/src-client/DisplayImpl.cpp
r53849 r53851 3400 3400 } 3401 3401 3402 HRESULT Display::notifyScaleFactorChange(ULONG uScreen, ULONG u32ScaleFactorWMultiplied, ULONG u32ScaleFactorHMultiplied)3402 HRESULT Display::notifyScaleFactorChange(ULONG aScreenId, ULONG aScaleFactorWMultiplied, ULONG aScaleFactorHMultiplied) 3403 3403 { 3404 3404 #if defined(VBOX_WITH_HGCM) && defined(VBOX_WITH_CROGL) 3405 3405 HRESULT hr = E_UNEXPECTED; 3406 3406 3407 if ( uScreen>= mcMonitors)3407 if (aScreenId >= mcMonitors) 3408 3408 return E_INVALIDARG; 3409 3409 … … 3424 3424 int rc; 3425 3425 3426 pData->u32Screen = (uint32_t)uScreen;3427 pData->u32ScaleFactorWMultiplied = (uint32_t)u32ScaleFactorWMultiplied;3428 pData->u32ScaleFactorHMultiplied = (uint32_t)u32ScaleFactorHMultiplied;3426 pData->u32Screen = aScreenId; 3427 pData->u32ScaleFactorWMultiplied = aScaleFactorWMultiplied; 3428 pData->u32ScaleFactorHMultiplied = aScaleFactorHMultiplied; 3429 3429 3430 3430 pCtl->Hdr.enmType = VBOXCRCMDCTL_TYPE_HGCM;
Note:
See TracChangeset
for help on using the changeset viewer.