-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Skia] Fix hazeSource content changes not updating hazeEffects (#476)
There's two related issues which this PR fixes: - We no longer draw graphics layers in a `Snapshot.withoutReadObservation`. This was done to avoid unwanted invalidations in Haze, but it has the knock-on effect that it breaks internal invalidation in the Skiko GraphicsLayer impl. Fixed by using `withoutReadObservation` more locally around state reads. - We were not observing `HazeArea.contentLayer`. This probably isn't the root cause of this issue, but this is more defensive for the future. Fixes #475
- Loading branch information
1 parent
0bcdb36
commit 4196500
Showing
18 changed files
with
81 additions
and
38 deletions.
There are no files selected for viewing
Binary file added
BIN
+878 KB
...eenshots/android/HazeScreenshotTest.creditCard_sourceContentChange[28]_blue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+860 KB
...reenshots/android/HazeScreenshotTest.creditCard_sourceContentChange[28]_red.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.24 MB
...nshots/android/HazeScreenshotTest.creditCard_sourceContentChange[28]_yellow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.51 MB
...eenshots/android/HazeScreenshotTest.creditCard_sourceContentChange[32]_blue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.25 MB
...reenshots/android/HazeScreenshotTest.creditCard_sourceContentChange[32]_red.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.84 MB
...nshots/android/HazeScreenshotTest.creditCard_sourceContentChange[32]_yellow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.51 MB
.../screenshots/android/HazeScreenshotTest.creditCard_sourceContentChange_blue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.24 MB
haze/screenshots/android/HazeScreenshotTest.creditCard_sourceContentChange_red.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.84 MB
...creenshots/android/HazeScreenshotTest.creditCard_sourceContentChange_yellow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+961 KB
.../screenshots/desktop/HazeScreenshotTest.creditCard_sourceContentChange_blue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+858 KB
haze/screenshots/desktop/HazeScreenshotTest.creditCard_sourceContentChange_red.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1010 KB
...creenshots/desktop/HazeScreenshotTest.creditCard_sourceContentChange_yellow.png
Loading
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
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