Changeset 280672 in webkit
- Timestamp:
- Aug 4, 2021, 4:55:13 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Shared/RemoteLayerTree/RemoteLayerBackingStore.mm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r280670 r280672 1 2021-08-04 Tim Horton <timothy_horton@apple.com> 2 3 Bifurcated RemoteLayerBackingStore zooms in every time it repaints 4 https://bugs.webkit.org/show_bug.cgi?id=228798 5 6 Reviewed by Sam Weinig. 7 8 * Shared/RemoteLayerTree/RemoteLayerBackingStore.mm: 9 (WebKit::RemoteLayerBackingStore::display): 10 If applying the scale/flip workaround manually, we need to save the 11 GraphicsContext state, or it leaks between paints. 12 1 13 2021-08-04 Jean-Yves Avenard <jya@apple.com> 2 14 -
trunk/Source/WebKit/Shared/RemoteLayerTree/RemoteLayerBackingStore.mm
r280669 r280672 288 288 // FIXME: Remove this when <rdar://problem/80487697> is fixed. 289 289 static std::optional<bool> needsMissingFlipWorkaround; 290 WebCore::GraphicsContextStateSaver workaroundStateSaver(displayListContext, false); 290 291 if (!needsMissingFlipWorkaround) { 291 292 id defaultValue = [[NSUserDefaults standardUserDefaults] objectForKey:@"WebKitNeedsWorkaroundFor80487697"]; … … 293 294 } 294 295 if (needsMissingFlipWorkaround.value()) { 296 workaroundStateSaver.save(); 295 297 displayListContext.scale(WebCore::FloatSize(m_scale, -m_scale)); 296 298 displayListContext.translate(0, -m_size.height());
Note:
See TracChangeset
for help on using the changeset viewer.