Lines Matching refs:aScreenId

1542 HRESULT Display::getScreenResolution(ULONG aScreenId, ULONG *aWidth, ULONG *aHeight, ULONG *aBitsPerPixel,
1545 LogRelFlowFunc(("aScreenId=%RU32\n", aScreenId));
1556 if (aScreenId == VBOX_VIDEO_PRIMARY_SCREEN)
1571 else if (aScreenId < mcMonitors)
1573 DISPLAYFBINFO *pFBInfo = &maFramebuffers[aScreenId];
1604 HRESULT Display::attachFramebuffer(ULONG aScreenId, const ComPtr<IFramebuffer> &aFramebuffer, com::Guid &aId)
1606 LogRelFlowFunc(("aScreenId = %d\n", aScreenId));
1610 if (aScreenId >= mcMonitors)
1612 aScreenId, mcMonitors);
1614 DISPLAYFBINFO *pFBInfo = &maFramebuffers[aScreenId];
1617 aScreenId);
1636 i_handleDisplayResize(aScreenId, pFBInfo->u16BitsPerPixel,
1656 data.aParms[0].u.uint32 = aScreenId;
1664 3, this, aScreenId, false);
1667 LogRelFlowFunc(("Attached to %d %RTuuid\n", aScreenId, aId.raw()));
1671 HRESULT Display::detachFramebuffer(ULONG aScreenId, const com::Guid &aId)
1673 LogRelFlowFunc(("aScreenId = %d %RTuuid\n", aScreenId, aId.raw()));
1677 if (aScreenId >= mcMonitors)
1679 aScreenId, mcMonitors);
1681 DISPLAYFBINFO *pFBInfo = &maFramebuffers[aScreenId];
1685 LogRelFlowFunc(("Invalid framebuffer aScreenId = %d, attached %p\n", aScreenId, pFBInfo->framebufferId.raw()));
1706 data.aParms[0].u.uint32 = aScreenId;
1717 HRESULT Display::queryFramebuffer(ULONG aScreenId, ComPtr<IFramebuffer> &aFramebuffer)
1719 LogRelFlowFunc(("aScreenId = %d\n", aScreenId));
1723 if (aScreenId >= mcMonitors)
1725 aScreenId, mcMonitors);
1727 DISPLAYFBINFO *pFBInfo = &maFramebuffers[aScreenId];
1860 BOOL Display::i_displayCheckTakeScreenshotCrOgl(Display *pDisplay, ULONG aScreenId, uint8_t *pu8Data,
1874 pScreenshot->u32Screen = aScreenId;
1907 int Display::i_displayTakeScreenshotEMT(Display *pDisplay, ULONG aScreenId, uint8_t **ppu8Data, size_t *pcbData,
1912 if ( aScreenId == VBOX_VIDEO_PRIMARY_SCREEN
1913 && pDisplay->maFramebuffers[aScreenId].fVBVAEnabled == false) /* A non-VBVA mode. */
1917 else if (aScreenId < pDisplay->mcMonitors)
1919 DISPLAYFBINFO *pFBInfo = &pDisplay->maFramebuffers[aScreenId];
1977 && aScreenId == VBOX_VIDEO_PRIMARY_SCREEN)
2003 static int i_displayTakeScreenshot(PUVM pUVM, Display *pDisplay, struct DRVMAINDISPLAY *pDrv, ULONG aScreenId,
2013 if (Display::i_displayCheckTakeScreenshotCrOgl(pDisplay, aScreenId, (uint8_t*)address, width, height))
2025 pDisplay, aScreenId, &pu8Data, &cbData, &cx, &cy);
2061 if (aScreenId == VBOX_VIDEO_PRIMARY_SCREEN)
2075 HRESULT Display::takeScreenShotWorker(ULONG aScreenId,
2103 int vrc = i_displayTakeScreenshot(ptrVM.rawUVM(), this, mpDrv, aScreenId, aAddress, aWidth, aHeight);
2178 HRESULT Display::takeScreenShot(ULONG aScreenId,
2187 aScreenId, aAddress, aWidth, aHeight, aBitmapFormat));
2190 rc = takeScreenShotWorker(aScreenId, aAddress, aWidth, aHeight, aBitmapFormat, &cbOut);
2197 HRESULT Display::takeScreenShotToArray(ULONG aScreenId,
2206 aScreenId, aWidth, aHeight, aBitmapFormat));
2218 rc = takeScreenShotWorker(aScreenId, &aScreenData.front(), aWidth, aHeight, aBitmapFormat, &cbOut);
2367 int Display::i_drawToScreenEMT(Display *pDisplay, ULONG aScreenId, BYTE *address,
2372 DISPLAYFBINFO *pFBInfo = &pDisplay->maFramebuffers[aScreenId];
2374 if (aScreenId == VBOX_VIDEO_PRIMARY_SCREEN)
2378 else if (aScreenId < pDisplay->mcMonitors)
2463 pDisplay->i_handleDisplayUpdate(aScreenId, x, y, width, height);
2472 pDisplay->mParent->i_consoleVRDPServer()->SendUpdateBitmap(aScreenId, x, y, width, height);
2477 HRESULT Display::drawToScreen(ULONG aScreenId, BYTE *aAddress, ULONG aX, ULONG aY, ULONG aWidth, ULONG aHeight)
2507 this, aScreenId, aAddress, aX, aY, aWidth, aHeight);
2659 HRESULT Display::invalidateAndUpdateScreen(ULONG aScreenId)
2670 3, this, aScreenId, false);
2673 tr("Could not invalidate and update the screen %d (%Rrc)"), aScreenId, rcVBox);
2689 HRESULT Display::viewportChanged(ULONG aScreenId, ULONG aX, ULONG aY, ULONG aWidth, ULONG aHeight)
2691 AssertMsgReturn(aScreenId < mcMonitors, ("aScreendId=%d mcMonitors=%d\n", aScreenId, mcMonitors), E_INVALIDARG);
2696 int rc = i_crViewportNotify(aScreenId, aX, aY, aWidth, aHeight);
2699 DISPLAYFBINFO *pFb = &maFramebuffers[aScreenId];
2712 mpDrv->pUpPort->pfnSetViewPort(mpDrv->pUpPort, aScreenId, aX, aY, aWidth, aHeight);
2718 HRESULT Display::querySourceBitmap(ULONG aScreenId,
2721 LogRelFlowFunc(("aScreenId = %d\n", aScreenId));
2732 if (aScreenId >= mcMonitors)
2734 aScreenId, mcMonitors);
2742 DISPLAYFBINFO *pFBInfo = &maFramebuffers[aScreenId];
2759 hr = obj->init(this, aScreenId, pFBInfo);
2765 if (aScreenId == VBOX_VIDEO_PRIMARY_SCREEN)
2816 3, this, aScreenId, false);
2870 int Display::i_crViewportNotify(ULONG aScreenId, ULONG x, ULONG y, ULONG width, ULONG height)
2883 pData->aParms[0].u.uint32 = aScreenId;
2897 return i_crCtlSubmitSyncIfHasDataForScreen(aScreenId, &pData->Hdr, (uint32_t)cbData);
3514 HRESULT Display::notifyScaleFactorChange(ULONG aScreenId, ULONG aScaleFactorWMultiplied, ULONG aScaleFactorHMultiplied)
3519 if (aScreenId >= mcMonitors)
3538 pData->u32Screen = aScreenId;