VirtualBox

Ignore:
Timestamp:
Nov 28, 2010 9:58:28 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
68212
Message:

Additions/WINNT/Graphics: white space adjustments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/drv.c

    r34438 r34439  
    101101}
    102102
    103 #define VBVA_OPERATION(__psoDest, __fn, __a) do {                      \
    104     if (bIsScreenSurface(__psoDest))                                   \
    105     {                                                                  \
    106         PPDEV ppdev = (PPDEV)__psoDest->dhpdev;                        \
    107                                                                        \
    108         if (   ppdev->bHGSMISupported                                  \
     103#define VBVA_OPERATION(__psoDest, __fn, __a) do {                            \
     104    if (bIsScreenSurface(__psoDest))                                         \
     105    {                                                                        \
     106        PPDEV ppdev = (PPDEV)__psoDest->dhpdev;                              \
     107                                                                             \
     108        if (   ppdev->bHGSMISupported                                        \
    109109            && VBoxVBVABufferBeginUpdate(&ppdev->vbvaCtx, &ppdev->guestCtx)) \
    110         {                                                              \
    111             vbva##__fn __a;                                            \
    112                                                                        \
    113             if (  ppdev->vbvaCtx.pVBVA->hostFlags.u32HostEvents                \
    114                 & VBOX_VIDEO_INFO_HOST_EVENTS_F_VRDP_RESET)            \
    115             {                                                          \
    116                 vrdpReset (ppdev);                                     \
    117                                                                        \
    118                 ppdev->vbvaCtx.pVBVA->hostFlags.u32HostEvents &=               \
    119                           ~VBOX_VIDEO_INFO_HOST_EVENTS_F_VRDP_RESET;   \
    120             }                                                          \
    121                                                                        \
    122             if (ppdev->vbvaCtx.pVBVA->hostFlags.u32HostEvents                  \
    123                 & VBVA_F_MODE_VRDP)                                    \
    124             {                                                          \
    125                 vrdp##__fn __a;                                        \
    126             }                                                          \
    127                                                                        \
    128             VBoxVBVABufferEndUpdate(&ppdev->vbvaCtx);                             \
    129         }                                                              \
    130     }                                                                  \
     110        {                                                                    \
     111            vbva##__fn __a;                                                  \
     112                                                                             \
     113            if (  ppdev->vbvaCtx.pVBVA->hostFlags.u32HostEvents              \
     114                & VBOX_VIDEO_INFO_HOST_EVENTS_F_VRDP_RESET)                  \
     115            {                                                                \
     116                vrdpReset (ppdev);                                           \
     117                                                                             \
     118                ppdev->vbvaCtx.pVBVA->hostFlags.u32HostEvents &=             \
     119                          ~VBOX_VIDEO_INFO_HOST_EVENTS_F_VRDP_RESET;         \
     120            }                                                                \
     121                                                                             \
     122            if (ppdev->vbvaCtx.pVBVA->hostFlags.u32HostEvents                \
     123                & VBVA_F_MODE_VRDP)                                          \
     124            {                                                                \
     125                vrdp##__fn __a;                                              \
     126            }                                                                \
     127                                                                             \
     128            VBoxVBVABufferEndUpdate(&ppdev->vbvaCtx);                        \
     129        }                                                                    \
     130    }                                                                        \
    131131} while (0)
    132132
Note: See TracChangeset for help on using the changeset viewer.

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