Searched refs:cDisplays (Results 1 - 14 of 14) sorted by relevance

/vbox/src/VBox/Additions/common/VBoxVideo/
H A DModesetting.cpp42 uint32_t cDisplays = 0; local
43 VBoxQueryConfHGSMI(pCtx, VBOX_VBVA_CONF32_MONITOR_COUNT, &cDisplays);
44 LogFunc(("cDisplays = %d\n", cDisplays));
45 if (cDisplays == 0 || cDisplays > VBOX_VIDEO_MAX_SCREENS)
47 cDisplays = 1;
48 return cDisplays;
/vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/xpdm/
H A DVBoxMPInternal.cpp54 ULONG ulSize = ulAvailable / pCommon->cDisplays;
58 LOG(("cbVRAM = 0x%08X, cDisplays = %d, ulSize = 0x%08X, ulSize * cDisplays = 0x%08X, slack = 0x%08X",
59 pCommon->cbVRAM, pCommon->cDisplays,
60 ulSize, ulSize * pCommon->cDisplays,
61 ulAvailable - ulSize * pCommon->cDisplays));
102 if (i == VBoxCommonFromDeviceExt(pPrimaryExt)->cDisplays && pExt == NULL)
123 ULONG iDisplay, cDisplays; local
125 cDisplays = pCommon->cDisplays;
424 uint32_t cDisplays = (uint32_t)pCommon->cDisplays; local
[all...]
H A DVBoxMPDriver.cpp442 if (*pChildIndex>0 && *pChildIndex<=(ULONG)VBoxCommonFromDeviceExt(pExt)->cDisplays)
625 if ((int)ChildEnumInfo->ChildIndex <= VBoxCommonFromDeviceExt(pExt)->cDisplays)
/vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/common/
H A DVBoxMPHGSMI.cpp67 pCommon->cDisplays = 1;
158 pCommon->cDisplays = VBoxHGSMIGetMonitorCount(&pCommon->guestCtx);
H A DVBoxMPDevExt.h42 int cDisplays; /* Number of displays. */ member in struct:VBOXMP_COMMON
H A DVBoxMPVidModes.cpp146 for (iMode=0; iMode<VBoxCommonFromDeviceExt(pExt)->cDisplays; ++iMode)
279 vramSize /= pExt->u.primary.commonInfo.cDisplays;
606 vramSize /= pExt->u.primary.commonInfo.cDisplays;
/vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/
H A DVBoxMPVModes.cpp222 vramSize /= pExt->u.primary.commonInfo.cDisplays;
403 vboxWddmVModesInit(pModes, VBoxCommonFromDeviceExt(pExt)->cDisplays);
407 for (int i = 0; i < VBoxCommonFromDeviceExt(pExt)->cDisplays; ++i)
422 if (u32Target >= (uint32_t)VBoxCommonFromDeviceExt(pExt)->cDisplays)
447 Assert(iChild < (UINT)VBoxCommonFromDeviceExt(pDevExt)->cDisplays);
521 for (D3DDDI_VIDEO_PRESENT_TARGET_ID iChild = 0; iChild < (UINT)VBoxCommonFromDeviceExt(pDevExt)->cDisplays; ++iChild)
651 Assert(iChild < (uint32_t)VBoxCommonFromDeviceExt(pDevExt)->cDisplays);
H A DVBoxMPVhwa.cpp361 Assert(srcId < (D3DDDI_VIDEO_PRESENT_SOURCE_ID)VBoxCommonFromDeviceExt(pDevExt)->cDisplays);
426 for (int i = 0; i < VBoxCommonFromDeviceExt(pDevExt)->cDisplays; ++i)
436 for (int i = 0; i < VBoxCommonFromDeviceExt(pDevExt)->cDisplays; ++i)
694 for (int i = 0; i < VBoxCommonFromDeviceExt(pDevExt)->cDisplays; ++i)
734 Assert(VidPnSourceId < (D3DDDI_VIDEO_PRESENT_SOURCE_ID)VBoxCommonFromDeviceExt(pDevExt)->cDisplays);
735 if (VidPnSourceId >= (D3DDDI_VIDEO_PRESENT_SOURCE_ID)VBoxCommonFromDeviceExt(pDevExt)->cDisplays)
780 Assert(VidPnSourceId < (D3DDDI_VIDEO_PRESENT_SOURCE_ID)VBoxCommonFromDeviceExt(pDevExt)->cDisplays);
781 if (VidPnSourceId >= (D3DDDI_VIDEO_PRESENT_SOURCE_ID)VBoxCommonFromDeviceExt(pDevExt)->cDisplays)
H A DVBoxMPWddm.cpp262 pView->u32ViewSize = vboxWddmVramCpuVisibleSegmentSize(pDevExt)/VBoxCommonFromDeviceExt(pDevExt)->cDisplays;
471 VBoxVidPnStTIterInit(pSource, pDevExt->aTargets, VBoxCommonFromDeviceExt(pDevExt)->cDisplays, &Iter);
502 VBoxVidPnStTIterInit(pSource, pDevExt->aTargets, VBoxCommonFromDeviceExt(pDevExt)->cDisplays, &Iter);
546 for (int i = 0; i < VBoxCommonFromDeviceExt(pDevExt)->cDisplays; ++i)
552 Assert(pTarget->VidPnSourceId < (D3DDDI_VIDEO_PRESENT_SOURCE_ID)VBoxCommonFromDeviceExt(pDevExt)->cDisplays);
575 for (int i = 0; i < VBoxCommonFromDeviceExt(pDevExt)->cDisplays; ++i)
580 Assert(pTarget->VidPnSourceId < (D3DDDI_VIDEO_PRESENT_SOURCE_ID)VBoxCommonFromDeviceExt(pDevExt)->cDisplays);
597 for (int i = 0; i < VBoxCommonFromDeviceExt(pDevExt)->cDisplays; ++i)
603 Assert(pTarget->VidPnSourceId < (D3DDDI_VIDEO_PRESENT_SOURCE_ID)VBoxCommonFromDeviceExt(pDevExt)->cDisplays);
640 for (int i = 0; i < VBoxCommonFromDeviceExt(pDevExt)->cDisplays;
[all...]
H A DVBoxMPVidPn.cpp1265 if (u32TargetId >= (uint32_t)VBoxCommonFromDeviceExt(pDevExt)->cDisplays)
1312 for (uint32_t i = 0; i < (uint32_t)VBoxCommonFromDeviceExt(pDevExt)->cDisplays; ++i)
1318 if (iSource >= VBoxCommonFromDeviceExt(pDevExt)->cDisplays)
1894 for (uint32_t i = 0; i < (uint32_t)VBoxCommonFromDeviceExt(pDevExt)->cDisplays; ++i)
2221 if (VidPnSourceId < (UINT)VBoxCommonFromDeviceExt(pDevExt)->cDisplays)
2224 WARN(("invalid srcId (%d), cSources(%d)", VidPnSourceId, VBoxCommonFromDeviceExt(pDevExt)->cDisplays));
2241 Assert(cTgtPaths <= (SIZE_T)VBoxCommonFromDeviceExt(pDevExt)->cDisplays);
2258 VBoxVidPnStSourceTargetAdd(pInfo->paSources, VBoxCommonFromDeviceExt(pDevExt)->cDisplays, pSource, pTarget);
2285 VBoxVidPnStTIterInit(pSource, paTargets, (uint32_t)VBoxCommonFromDeviceExt(pDevExt)->cDisplays, &Iter);
2296 VBoxVidPnStSourceCleanup(paSources, VidPnSourceId, paTargets, (uint32_t)VBoxCommonFromDeviceExt(pDevExt)->cDisplays);
[all...]
H A DVBoxMPMisc.cpp1948 Assert((UINT)VBoxCommonFromDeviceExt(pDevExt)->cDisplays > pGetScanLine->VidPnTargetId);
1999 for (UINT i = 0; i < (UINT)VBoxCommonFromDeviceExt(pDevExt)->cDisplays; ++i)
2106 offVram /= VBoxCommonFromDeviceExt(pDevExt)->cDisplays;
H A DVBoxMPVdma.cpp1202 if (srcId >= (D3DDDI_VIDEO_PRESENT_SOURCE_ID)VBoxCommonFromDeviceExt(pDevExt)->cDisplays)
/vbox/src/VBox/Additions/WINNT/VBoxTray/
H A DVBoxDispIf.cpp196 int cDisplays = -1; local
200 if (cDisplays < (int)(DispCfg.pPathInfoArray[iter].sourceInfo.id))
201 cDisplays = (int)(DispCfg.pPathInfoArray[iter].sourceInfo.id);
204 cDisplays++;
206 g_cVBoxDispIfWddmDisplays = cDisplays;
404 UINT32 cDisplays = 0; local
408 DWORD winEr = vboxDispIfWddmDcQueryNumDisplays(&cDisplays);
415 DISPLAYCONFIG_PATH_INFO *pPathInfoArray = (DISPLAYCONFIG_PATH_INFO *)malloc(cDisplays * sizeof(DISPLAYCONFIG_PATH_INFO));
422 for (UINT i = 0; i < cDisplays; ++i)
513 pCfg->cPathInfoArray = cDisplays;
[all...]
/vbox/src/VBox/HostServices/SharedOpenGL/crserverlib/presenter/
H A Dserver_presenter.cpp1982 uint32_t cDisplays = pFbInfo->pDpComposite->getDisplayCount(); local
1983 if (cDisplays <= 1)
1985 Assert(cDisplays == 1);
2846 int cDisplays = 0, i; local
2851 ++cDisplays;
2854 rc = SSMR3PutS32(pSSM, cDisplays);
2857 if (!cDisplays)
2995 int cDisplays, screenCount, i; local
2997 rc = SSMR3GetS32(pSSM, &cDisplays);
3000 if (!cDisplays)
[all...]

Completed in 214 milliseconds