Changeset 24044 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Oct 23, 2009 3:51:41 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 53901
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.cpp
r23951 r24044 3124 3124 { 3125 3125 VBoxVHWASurfaceBase *pSurf = handle2Surface(pCmd->u.in.hSurf); 3126 #ifdef DEBUG_misha 3127 /* for performance reasons we should receive unlock for visible surfaces only 3128 * other surfaces receive unlock only once becoming visible, e.g. on DdFlip 3129 * Ensure this is so*/ 3130 if(pSurf != mDisplay.getPrimary()) 3131 { 3132 const OverlayList & overlays = mDisplay.overlays(); 3133 bool bFound = false; 3134 3135 for (OverlayList::const_iterator it = overlays.begin(); 3136 it != overlays.end(); ++ it) 3137 { 3138 VBoxVHWASurfList * pSurfList = *it; 3139 if(pSurfList->current() == pSurf) 3140 { 3141 bFound = true; 3142 break; 3143 } 3144 } 3145 3146 Assert(bFound); 3147 } 3148 #endif 3126 3149 VBOXQGLLOG_ENTER(("pSurf (0x%x)\n",pSurf)); 3127 3150 if(pCmd->u.in.xUpdatedMemValid)
Note:
See TracChangeset
for help on using the changeset viewer.