Lines Matching refs:displayMode
34 displayMode = 0; in Direct3D9()
46 displayMode = new DEVMODE[numDisplayModes]; in Direct3D9()
51 displayMode[i].dmSize = sizeof(DEVMODE); in Direct3D9()
52 EnumDisplaySettings(0, i, &displayMode[i]); in Direct3D9()
144 delete[] displayMode; in ~Direct3D9()
145 displayMode = 0; in ~Direct3D9()
961 if(displayMode[i].dmBitsPerPel == bpp) in EnumAdapterModes()
965 mode->Width = displayMode[i].dmPelsWidth; in EnumAdapterModes()
966 mode->Height = displayMode[i].dmPelsHeight; in EnumAdapterModes()
967 mode->RefreshRate = displayMode[i].dmDisplayFrequency; in EnumAdapterModes()
1153 if(displayMode[i].dmBitsPerPel == 32) modeCount++; in GetAdapterModeCount()
1156 case D3DFMT_X8R8G8B8: if(displayMode[i].dmBitsPerPel == 32) modeCount++; break; in GetAdapterModeCount()
1161 if(displayMode[i].dmBitsPerPel == 32) modeCount++; in GetAdapterModeCount()
1165 case D3DFMT_R5G6B5: if(displayMode[i].dmBitsPerPel == 16) modeCount++; break; in GetAdapterModeCount()