Lines Matching defs:g_CustomVideoModes
33 static VIDEO_MODE_INFORMATION g_CustomVideoModes[VBOX_VIDEO_MAX_SCREENS] = { 0 };
139 VBoxFillVidModeInfo(&g_CustomVideoModes[0], 800, 600, 32, 0, 0);
140 for (iMode=1; iMode<RT_ELEMENTS(g_CustomVideoModes); ++iMode)
142 g_CustomVideoModes[iMode] = g_CustomVideoModes[0];
180 CustomXRes = g_CustomVideoModes[iMode].VisScreenWidth;
184 CustomYRes = g_CustomVideoModes[iMode].VisScreenHeight;
188 CustomBPP = g_CustomVideoModes[iMode].BitsPerPlane;
193 VBoxFillVidModeInfo(&g_CustomVideoModes[iMode], CustomXRes, CustomYRes, CustomBPP, 0, 0);
205 return (ulIndex<RT_ELEMENTS(g_CustomVideoModes)) ? &g_CustomVideoModes[ulIndex] : NULL;
549 xres = xres ? xres:g_CustomVideoModes[iDisplay].VisScreenWidth;
550 yres = yres ? yres:g_CustomVideoModes[iDisplay].VisScreenHeight;
551 bpp = bpp ? bpp :g_CustomVideoModes[iDisplay].BitsPerPlane;
662 if (display >= RT_ELEMENTS(g_CustomVideoModes))
664 /*display = RT_ELEMENTS(g_CustomVideoModes) - 1;*/
762 memcpy(&pExt->aVideoModes[iSpecialMode], &g_CustomVideoModes[pExt->iDevice], sizeof(VIDEO_MODE_INFORMATION));
851 memcpy(&g_CustomVideoModes[pExt->iDevice], &specialMode, sizeof(VIDEO_MODE_INFORMATION));