Changeset 23766 in vbox for trunk/src/VBox/Frontends/VirtualBox/include/VBoxFBOverlay.h
- Timestamp:
- Oct 14, 2009 3:06:33 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxFBOverlay.h
r23746 r23766 373 373 bool performDisplay(VBoxVHWASurfaceBase *pPrimary, bool bForce); 374 374 375 void setRects(VBoxVHWASurfaceBase *pPrimary, const QRect & aTargRect, const QRect & aSrcRect, const QRect & aVisibleTargRect, bool bForceReinit); 376 void setTargRectPosition(VBoxVHWASurfaceBase *pPrimary, const QPoint & aPoint, const QRect & aVisibleTargRect); 377 void updateVisibleTargRect(VBoxVHWASurfaceBase *pPrimary, const QRect & aVisibleTargRect); 375 void setRects (const QRect & aTargRect, const QRect & aSrcRect); 376 void setTargRectPosition (const QPoint & aPoint); 377 void setVisibilityReinitFlag() { mNeedVisibilityReinit = true; } 378 void updateVisibility (VBoxVHWASurfaceBase *pPrimary, const QRect & aVisibleTargRect, bool bForce); 378 379 379 380 static ulong calcBytesPerPixel(GLenum format, GLenum type); … … 514 515 const VBoxVHWADirtyRect & getDirtyRect() { return mUpdateMem2TexRect; } 515 516 private: 516 void doSetRectValuesInternal(const QRect & aTargRect, const QRect & aSrcRect, const QRect & aVisTargRect); 517 void setRectValues (const QRect & aTargRect, const QRect & aSrcRect); 518 void setVisibleRectValues (const QRect & aVisTargRect); 517 519 518 520 void setComplexList(VBoxVHWASurfList *aComplexList) { mComplexList = aComplexList; } … … 542 544 543 545 bool mVisibleDisplayInitialized; 546 bool mNeedVisibilityReinit; 544 547 545 548 uchar * mAddress; … … 1020 1023 mpfnOp = NULL; 1021 1024 } 1025 VBOXQGLLOG(("paintGL\n")); 1022 1026 // else 1023 1027 // { … … 1188 1192 mNeedOverlayRepaint = false; 1189 1193 performDisplayOverlay(); 1194 } 1195 if(mNeedSetVisible) 1196 { 1197 mNeedSetVisible = false; 1198 mpOverlayWidget->setVisible(true); 1190 1199 } 1191 1200 } … … 1248 1257 bool mProcessingCommands; 1249 1258 bool mNeedOverlayRepaint; 1259 bool mNeedSetVisible; 1250 1260 QRect mOverlayViewport; 1251 1261 VBoxVHWADirtyRect mMainDirtyRect;
Note:
See TracChangeset
for help on using the changeset viewer.