VirtualBox

Changeset 22099 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Aug 7, 2009 10:49:23 PM (15 years ago)
Author:
vboxsync
Message:

video hw accel: YUY2 format support debugged, bugfixes

File:
1 edited

Legend:

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

    r22028 r22099  
    4848static DECLCALLBACK(void) vboxVHWASurfBltCompletion(PPDEV ppdev, VBOXVHWACMD * pCmd, void * pContext);
    4949static DECLCALLBACK(void) vboxVHWASurfFlipCompletion(PPDEV ppdev, VBOXVHWACMD * pCmd, void * pContext);
     50
     51//#define DBG_DDSTUBS 1
    5052#endif
    5153
     
    10031005    if(pDev->vhwaInfo.bVHWAEnabled)
    10041006    {
     1007#ifndef DBG_DDSTUBS
    10051008        DD_SURFACE_GLOBAL*  lpSurfaceGlobal = lpSurfaceLocal->lpGbl;
    10061009        PVBOXVHWASURFDESC pDesc = (PVBOXVHWASURFDESC)lpSurfaceGlobal->dwReserved1;
     
    10971100            }
    10981101        }
     1102#else
     1103        lpLock->ddRVal = DD_OK;
     1104#endif
    10991105        return DDHAL_DRIVER_NOTHANDLED;
    11001106    }
     
    11551161    if (pDev->vhwaInfo.bVHWAEnabled)
    11561162    {
     1163#ifndef DBG_DDSTUBS
    11571164        DD_SURFACE_LOCAL*   lpSurfaceLocal = lpUnlock->lpDDSurface;
    11581165        DD_SURFACE_GLOBAL*  lpSurfaceGlobal = lpSurfaceLocal->lpGbl;
     
    12091216            }
    12101217        }
     1218#else
     1219        lpUnlock->ddRVal = DD_OK;
     1220#endif
    12111221
    12121222        return DDHAL_DRIVER_NOTHANDLED;
     
    14091419
    14101420#ifdef VBOX_WITH_VIDEOHWACCEL
    1411 #if 1
     1421#ifndef DBG_DDSTUBS
    14121422DWORD APIENTRY DdSetColorKey(PDD_SETCOLORKEYDATA  lpSetColorKey)
    14131423{
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