Changeset 55834 in vbox
- Timestamp:
- May 12, 2015 6:36:22 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.cpp
r55814 r55834 301 301 static void drawImageRect(QPainter &painter, const QImage &image, const QRect &rect, 302 302 int iContentsShiftX, int iContentsShiftY, 303 ScalingOptimizationType enmScalingOptimizationType,304 303 bool fUseUnscaledHiDPIOutput, 305 304 HiDPIOptimizationType hiDPIOptimizationType, … … 1370 1369 drawImageRect(painter, sourceImage, paintRect, 1371 1370 m_pMachineView->contentsX(), m_pMachineView->contentsY(), 1372 scalingOptimizationType(), useUnscaledHiDPIOutput(), 1373 hiDPIOptimizationType(), backingScaleFactor()); 1371 useUnscaledHiDPIOutput(), hiDPIOptimizationType(), backingScaleFactor()); 1374 1372 } 1375 1373 … … 1438 1436 drawImageRect(painter, sourceImage, paintRect, 1439 1437 m_pMachineView->contentsX(), m_pMachineView->contentsY(), 1440 scalingOptimizationType(), useUnscaledHiDPIOutput(), 1441 hiDPIOptimizationType(), backingScaleFactor()); 1438 useUnscaledHiDPIOutput(), hiDPIOptimizationType(), backingScaleFactor()); 1442 1439 } 1443 1440 … … 1502 1499 void UIFrameBufferPrivate::drawImageRect(QPainter &painter, const QImage &image, const QRect &rect, 1503 1500 int iContentsShiftX, int iContentsShiftY, 1504 ScalingOptimizationType enmScalingOptimizationType,1505 1501 bool fUseUnscaledHiDPIOutput, 1506 1502 HiDPIOptimizationType hiDPIOptimizationType, 1507 1503 double dBackingScaleFactor) 1508 1504 { 1509 NOREF(enmScalingOptimizationType);1510 1511 1505 /* Calculate offset: */ 1512 1506 size_t offset = (rect.x() + iContentsShiftX) * image.depth() / 8 +
Note:
See TracChangeset
for help on using the changeset viewer.