VirtualBox

Changeset 53851 in vbox


Ignore:
Timestamp:
Jan 16, 2015 10:03:25 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
97669
Message:

Host 3D & Main: coding style update.

Location:
trunk/src/VBox/Main
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r53847 r53851  
    1611616116    <method name="notifyScaleFactorChange">
    1611716117      <desc>
    16118          Obtains the guest screen bitmap parameters.
     16118         Notify OpenGL HGCM host service about graphics content scaling factor change.
    1611916119      </desc>
    1612016120      <param name="screenId" type="unsigned long" dir="in"/>
  • trunk/src/VBox/Main/include/DisplayImpl.h

    r53850 r53851  
    170170    void i_handleCrVRecScreenshotEnd(uint32_t uScreen, uint64_t u64TimeStamp);
    171171    void i_handleVRecCompletion();
    172     virtual HRESULT notifyScaleFactorChange(ULONG uScreen, ULONG u32ScaleFactorWMultiplied, ULONG u32ScaleFactorHMultiplied);
    173172#endif
    174173
     
    255254    virtual HRESULT querySourceBitmap(ULONG aScreenId,
    256255                                      ComPtr<IDisplaySourceBitmap> &aDisplaySourceBitmap);
     256    virtual HRESULT notifyScaleFactorChange(ULONG aScreenId,
     257                                            ULONG aScaleFactorWMultiplied,
     258                                            ULONG aScaleFactorHMultiplied);
    257259
    258260    // Wrapped IEventListener properties
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r53849 r53851  
    34003400}
    34013401
    3402 HRESULT Display::notifyScaleFactorChange(ULONG uScreen, ULONG u32ScaleFactorWMultiplied, ULONG u32ScaleFactorHMultiplied)
     3402HRESULT Display::notifyScaleFactorChange(ULONG aScreenId, ULONG aScaleFactorWMultiplied, ULONG aScaleFactorHMultiplied)
    34033403{
    34043404#if defined(VBOX_WITH_HGCM) && defined(VBOX_WITH_CROGL)
    34053405    HRESULT hr = E_UNEXPECTED;
    34063406
    3407     if (uScreen >= mcMonitors)
     3407    if (aScreenId >= mcMonitors)
    34083408        return E_INVALIDARG;
    34093409
     
    34243424                    int rc;
    34253425
    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;
    34293429
    34303430                    pCtl->Hdr.enmType              = VBOXCRCMDCTL_TYPE_HGCM;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette