-
Notifications
You must be signed in to change notification settings - Fork 30.6k
[Impeller] saveLayer ignores opacity of paint with blend mode lighten. #126532
Copy link
Copy link
Closed
flutter-team-archive/engine
#41972Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: renderingUI glitches reported at the engine/skia or impeller rendering levelUI glitches reported at the engine/skia or impeller rendering levele: impellerImpeller rendering backend issues and features requestsImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.found in release: 3.10Found to occur in 3.10Found to occur in 3.10found in release: 3.11Found to occur in 3.11Found to occur in 3.11has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
Description
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: renderingUI glitches reported at the engine/skia or impeller rendering levelUI glitches reported at the engine/skia or impeller rendering levele: impellerImpeller rendering backend issues and features requestsImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.found in release: 3.10Found to occur in 3.10Found to occur in 3.10found in release: 3.11Found to occur in 3.11Found to occur in 3.11has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
Type
Fields
Give feedbackNo fields configured for issues without a type.
Is there an existing issue for this?
Steps to reproduce
When using
canvas.saveLayerwith a paint that hasBlendMode.lightenand a color with opacity, the opacity is ignored.Expected results
Looks the same as without impeller. See screenshot.
Actual results
Opacity is ignored. See screenshot.
Code sample
Code sample
Screenshots or Video
Screenshots
Expected (without Impeller):

Actual (Impeller):

Logs
No response
Flutter Doctor output
Doctor output
Flutter (Channel unknown, 3.10.0, on macOS 13.3.1 22E772610a darwin-arm64, locale en-NL)