Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r269837 - [TextureMapper] The edges of blur backdrop-filter loo…
…k gradient tranparent https://bugs.webkit.org/show_bug.cgi?id=218645 <rdar://problem/71356999> Reviewed by Carlos Garcia Campos. Source/WebCore: The blur backdrop-filter needs a larger input image than an output image. However, it's not easy to get a larger input image in the edges of the windows. Cocoa port is doing extrapolation by duplicating edges pixels of the input image which has the same size with the output image (Bug 146215). Take the same approach. * platform/graphics/texmap/TextureMapperLayer.cpp: (WebCore::TextureMapperLayer::computeOverlapRegions): Don't inflate the local bounding rect by the outsets for backdrop layers. * platform/graphics/texmap/TextureMapperShaderProgram.cpp: (sampleColorAtRadius): Don't clamp 'coord'. LayoutTests: * platform/glib/css3/filters/backdrop/blur-input-bounds-expected.png: Added.
- Loading branch information
1 parent
01a0849
commit 531ac65
Showing
5 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+5.65 KB
LayoutTests/platform/glib/css3/filters/backdrop/blur-input-bounds-expected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters