Changeset 269599 in webkit
- Timestamp:
- Nov 9, 2020 1:28:52 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r269594 r269599 1 2020-11-09 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 [TextureMapper] backdrop-filter should use the identity transform to render the root layer 4 https://bugs.webkit.org/show_bug.cgi?id=218699 5 6 Reviewed by Don Olmstead. 7 8 * platform/glib/TestExpectations: Unmarked 9 css3/filters/backdrop/{backdrop-filter-with-reflection-add-backdrop.html, 10 backdrop-filter-with-reflection-value-change.html,backdrop-filter-with-reflection.html} 11 1 12 2020-11-09 Aditya Keerthi <akeerthi@apple.com> 2 13 -
trunk/LayoutTests/platform/glib/TestExpectations
r269578 r269599 279 279 webkit.org/b/169988 css3/filters/backdrop/backdrop-filter-with-border-radius-value-change.html [ ImageOnlyFailure ] 280 280 webkit.org/b/169988 css3/filters/backdrop/backdrop-filter-with-border-radius.html [ ImageOnlyFailure ] 281 webkit.org/b/169988 css3/filters/backdrop/backdrop-filter-with-reflection-add-backdrop.html [ ImageOnlyFailure ]282 webkit.org/b/169988 css3/filters/backdrop/backdrop-filter-with-reflection-value-change.html [ ImageOnlyFailure ]283 webkit.org/b/169988 css3/filters/backdrop/backdrop-filter-with-reflection.html [ ImageOnlyFailure ]284 281 webkit.org/b/169988 css3/filters/backdrop/effect-hw.html [ ImageOnlyFailure ] 285 282 -
trunk/Source/WebCore/ChangeLog
r269593 r269599 1 2020-11-09 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 [TextureMapper] backdrop-filter should use the identity transform to render the root layer 4 https://bugs.webkit.org/show_bug.cgi?id=218699 5 6 Reviewed by Don Olmstead. 7 8 Even thouth CSS reflections mirror the content, backdrop-filter in 9 the reflection doesn't. It sees through the background. 10 css3/filters/backdrop/backdrop-filter-with-reflection.html is the 11 test case. 12 13 * platform/graphics/texmap/TextureMapperLayer.cpp: 14 (WebCore::TextureMapperLayer::paintSelfAndChildrenWithReplica): 15 (WebCore::TextureMapperLayer::paintIntoSurface): 16 (WebCore::TextureMapperLayer::paintWithIntermediateSurface): 17 Removed TextureMapperPaintOptions::isReplica. 18 1 19 2020-11-09 Per Arne Vollan <pvollan@apple.com> 2 20 -
trunk/Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp
r269588 r269599 40 40 IntSize offset; 41 41 TextureMapperLayer* backdropLayer { nullptr }; 42 bool isReplica { false };43 42 }; 44 43 … … 300 299 if (m_state.replicaLayer) { 301 300 TextureMapperPaintOptions replicaOptions(options); 302 replicaOptions.isReplica = true; 303 replicaOptions.transform 304 .multiply(m_state.replicaLayer->m_layerTransforms.combined) 305 .multiply(m_layerTransforms.combined.inverse().valueOr(TransformationMatrix())); 301 replicaOptions.transform.multiply(replicaTransform()); 306 302 paintSelfAndChildren(replicaOptions); 307 303 } … … 438 434 if (m_isBackdrop) { 439 435 TextureMapperPaintOptions paintOptions(options); 436 paintOptions.transform = TransformationMatrix(); 440 437 paintOptions.backdropLayer = this; 441 438 rootLayer().paintSelfAndChildren(paintOptions); … … 463 460 paintOptions.opacity = 1; 464 461 if (m_state.replicaLayer) { 465 paintOptions.isReplica = true;466 462 paintOptions.transform.multiply(replicaTransform()); 467 463 paintIntoSurface(paintOptions); 468 paintOptions.isReplica = false;469 464 paintOptions.transform = options.transform; 470 465 if (m_state.replicaLayer->m_state.maskLayer) 471 466 m_state.replicaLayer->m_state.maskLayer->applyMask(paintOptions); 472 467 } 473 474 if (m_isBackdrop && m_effectTarget->m_state.replicaLayer && options.isReplica)475 paintOptions.transform = m_effectTarget->replicaTransform();476 468 477 469 paintIntoSurface(paintOptions);
Note: See TracChangeset
for help on using the changeset viewer.