VirtualBox

Ignore:
Timestamp:
Jul 3, 2007 9:47:13 AM (17 years ago)
Author:
vboxsync
Message:

more logging

File:
1 edited

Legend:

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

    r3378 r3382  
    6262
    6363    /* Setup the HAL driver caps. */
    64     memset(pHalInfo, 0, sizeof(DD_HALINFO));
    6564    pHalInfo->dwSize    = sizeof(DD_HALINFO);
    6665    pHalInfo->dwFlags   = 0;
     
    7776        pHalInfo->vmiData.ddpfDisplay.dwFlags       = DDPF_RGB;
    7877        pHalInfo->vmiData.ddpfDisplay.dwRGBBitCount = pDev->ulBitCount;
     78        DISPDBG((0, "pvPrimary                      %x\n", pHalInfo->vmiData.pvPrimary));
     79        DISPDBG((0, "fpPrimary                      %x\n", pHalInfo->vmiData.fpPrimary));
     80        DISPDBG((0, "dwDisplayWidth                 %x\n", pHalInfo->vmiData.dwDisplayWidth));
     81        DISPDBG((0, "dwDisplayHeight                %x\n", pHalInfo->vmiData.dwDisplayHeigth));
     82        DISPDBG((0, "lDisplayPitch                  %x\n", pHalInfo->vmiData.lDisplayPitch));
     83        DISPDBG((0, "dwRGBBitCount                  %x\n", pHalInfo->vmiData.ddpfDisplay.dwRGBBitCount));
    7984
    8085        if (pDev->ulBitmapType == BMF_8BPP)
     86        {
    8187            pHalInfo->vmiData.ddpfDisplay.dwFlags |= DDPF_PALETTEINDEXED8;
     88            DISPDBG((0, "DDPF_PALETTEINDEXED8\n"));
     89        }
    8290
    8391        pHalInfo->vmiData.ddpfDisplay.dwRBitMask    = pDev->flRed;
     
    104112#endif
    105113
    106     /** @todo video memory heap */
     114    /* No 3D capabilities */
     115#if 0
     116    if (pHalInfo->lpD3DGlobalDriverData)
     117    {
     118        LPD3DHAL_GLOBALDRIVERDATA lpD3DGlobalDriverData = (LPD3DHAL_GLOBALDRIVERDATA)pHalInfo->lpD3DGlobalDriverData;
     119        lpD3DGlobalDriverData->dwSize = sizeof(D3DHAL_GLOBALDRIVERDATA);
     120    }
     121#endif
     122   
    107123    return TRUE;
    108124}
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