- Timestamp:
- Jan 28, 2014 2:19:18 PM (11 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/DisplayImpl.h
r50178 r50260 92 92 #ifdef VBOX_WITH_HGSMI 93 93 bool fVBVAEnabled; 94 bool fVBVAForceResize; 94 95 uint32_t cVBVASkipUpdate; 95 96 struct -
trunk/src/VBox/Main/src-client/DisplayImpl.cpp
r50251 r50260 493 493 #ifdef VBOX_WITH_HGSMI 494 494 maFramebuffers[ul].fVBVAEnabled = false; 495 maFramebuffers[ul].fVBVAForceResize = false; 495 496 maFramebuffers[ul].cVBVASkipUpdate = 0; 496 497 RT_ZERO(maFramebuffers[ul].vbvaSkippedRect); … … 4153 4154 pThis->maFramebuffers[uScreenId].fVBVAEnabled = true; 4154 4155 pThis->maFramebuffers[uScreenId].pVBVAHostFlags = pHostFlags; 4156 pThis->maFramebuffers[uScreenId].fVBVAForceResize = true; 4155 4157 4156 4158 vbvaSetMemoryFlagsHGSMI(uScreenId, pThis->mfu32SupportedOrders, pThis->mfVideoAccelVRDP, &pThis->maFramebuffers[uScreenId]); … … 4185 4187 4186 4188 pFBInfo->fVBVAEnabled = false; 4189 pFBInfo->fVBVAForceResize = false; 4187 4190 4188 4191 vbvaSetMemoryFlagsHGSMI(uScreenId, 0, false, pFBInfo); … … 4389 4392 " pFBInfo->pendingResize.flags 0x%04X\n" 4390 4393 " pFBInfo->fVBVAEnabled %d\n" 4394 " pFBInfo->fVBVAForceResize %d\n" 4391 4395 " pFBInfo->cVBVASkipUpdate %d\n" 4392 4396 " pFBInfo->vbvaSkippedRect %d-%d %d-%d\n" … … 4435 4439 pFBInfo->pendingResize.flags, 4436 4440 pFBInfo->fVBVAEnabled, 4441 pFBInfo->fVBVAForceResize, 4437 4442 pFBInfo->cVBVASkipUpdate, 4438 4443 pFBInfo->vbvaSkippedRect.xLeft, … … 4480 4485 */ 4481 4486 bool fResize = pFBInfo->fDisabled || pFBInfo->pFramebuffer.isNull(); 4487 4488 if (pFBInfo->fVBVAForceResize) 4489 { 4490 /* VBVA was just enabled. Do the resize. */ 4491 fResize = true; 4492 pFBInfo->fVBVAForceResize = false; 4493 } 4482 4494 4483 4495 /* Check if this is a real resize or a notification about the screen origin.
Note:
See TracChangeset
for help on using the changeset viewer.