DescriptionRefactor device scale factor on Mac and fix CoreAnimation bug
Rename some functions to be more meaningful:
- RWHVMac::scale_factor -> RWHVMac::ViewScaleFactor
- RWHVCocoa::deviceScaleFactor_ -> RWHVMac::backing_store_scale_factor
- ::ScaleFactor(NSView*) -> ScaleFactorForView(NSView*)
Move code to update the scale factor of the backing store from
being in RWHVCocoa::updateTabBackingStoreScaleFactor to be
in RWHVMac::UpdateBackingStoreScaleFactor.
Work around a bug where updating the contentsScale of a
CAOpenGLLayer that dynamically changes its isAsynchronous
property results in corruption by re-creating the CAOpenGLLayer
when a change in scale factor is detected.
BUG=245900
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251982
Patch Set 1 #Patch Set 2 : Clean up #
Total comments: 1
Messages
Total messages: 6 (0 generated)
|