Lines Matching refs:pHalInfo
22 static void VBoxDispGetDDHalInfo(PVBOXDISPDEV pDev, DD_HALINFO *pHalInfo)
24 memset(pHalInfo, 0, sizeof(DD_HALINFO));
25 pHalInfo->dwSize = sizeof(DD_HALINFO);
29 pHalInfo->vmiData.fpPrimary = pDev->layout.offFramebuffer;
30 /*pHalInfo->vmiData.dwFlags /*unused*/
31 pHalInfo->vmiData.dwDisplayWidth = pDev->mode.ulWidth;
32 pHalInfo->vmiData.dwDisplayHeight = pDev->mode.ulHeight;
33 pHalInfo->vmiData.lDisplayPitch = pDev->mode.lScanlineStride;
35 pHalInfo->vmiData.ddpfDisplay.dwSize = sizeof(DDPIXELFORMAT);
36 pHalInfo->vmiData.ddpfDisplay.dwFlags = DDPF_RGB;
39 pHalInfo->vmiData.ddpfDisplay.dwFlags |= DDPF_PALETTEINDEXED8;
41 pHalInfo->vmiData.ddpfDisplay.dwRGBBitCount = pDev->mode.ulBitsPerPel;
42 pHalInfo->vmiData.ddpfDisplay.dwRBitMask = pDev->mode.flMaskR;
43 pHalInfo->vmiData.ddpfDisplay.dwGBitMask = pDev->mode.flMaskG;
44 pHalInfo->vmiData.ddpfDisplay.dwBBitMask = pDev->mode.flMaskB;
46 pHalInfo->vmiData.dwOffscreenAlign = 4;
47 pHalInfo->vmiData.dwTextureAlign = 4;
48 pHalInfo->vmiData.dwZBufferAlign = 4;
49 pHalInfo->vmiData.dwOverlayAlign = 4;
51 pHalInfo->vmiData.pvPrimary = pDev->memInfo.FrameBufferBase;
55 pHalInfo->ddCaps.dwSize = sizeof(DDNTCORECAPS);
56 pHalInfo->ddCaps.dwCaps2 = DDCAPS2_WIDESURFACES;
57 pHalInfo->ddCaps.dwVidMemTotal = pDev->layout.cbDDrawHeap;
58 pHalInfo->ddCaps.dwVidMemFree = pDev->layout.cbDDrawHeap;
59 pHalInfo->ddCaps.ddsCaps.dwCaps = DDSCAPS_PRIMARYSURFACE;
65 VBoxDispDrvGetDirectDrawInfo(DHPDEV dhpdev, DD_HALINFO *pHalInfo, DWORD *pdwNumHeaps,
71 VBoxDispGetDDHalInfo(pDev, pHalInfo);
84 rc = VBoxDispVHWAUpdateDDHalInfo(pDev, pHalInfo);
132 pHalInfo->GetDriverInfo = VBoxDispDDGetDriverInfo;
133 pHalInfo->dwFlags |= DDHALINFO_GETDRIVERINFOSET;