Lines Matching defs:resIndex
337 size_t cAdded, resIndex;
339 for (cAdded=0, resIndex=0; resIndex<RT_ELEMENTS(resolutionMatrix) && cAdded<maxModesPerColorDepth; resIndex++)
341 if (resolutionMatrix[resIndex].xRes * resolutionMatrix[resIndex].yRes * bytesPerPixel > (LONG)vramSize)
347 if (yOffset == 0 && resolutionMatrix[resIndex].xRes == 800 && resolutionMatrix[resIndex].yRes == 600)
360 || resolutionMatrix[resIndex].xRes != 1024
361 || resolutionMatrix[resIndex].yRes != 768)
364 !VBoxLikesVideoMode(iDisplay, resolutionMatrix[resIndex].xRes,
365 resolutionMatrix[resIndex].yRes - yOffset, bitsPerPixel))
371 if (!VBoxMPValidateVideoModeParamsGuest(pExt, iDisplay, resolutionMatrix[resIndex].xRes, resolutionMatrix[resIndex].yRes, bitsPerPixel))
384 VBoxFillVidModeInfo(&pModesTable[iMode], resolutionMatrix[resIndex].xRes, resolutionMatrix[resIndex].yRes, bitsPerPixel, iMode+1, yOffset);