Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@jonahwilliams
Copy link
Contributor

@jonahwilliams jonahwilliams commented May 1, 2022

Allow the framework to provide a double for opacity instead of just an alpha. This is implemented as a soft-breaking change, and pushOpacityValue will eventually become pushOpacity

More context: flutter/flutter#102687 and flutter/flutter#102888

@jonahwilliams jonahwilliams marked this pull request as ready for review May 2, 2022 20:04

TEST_F(OpacityLayerTest, Readback) {
auto initial_transform = SkMatrix();
auto layer = std::make_shared<OpacityLayer>(kOpaque_SkAlphaType, SkPoint());
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this was supposed to be SK_AlphaOPAQUE and not kOpaque_SkAlphaType

@jonahwilliams jonahwilliams requested a review from flar May 2, 2022 22:46
@jonahwilliams
Copy link
Contributor Author

Only current failures appear to be a network exception from some android tests, will try re-running in a bit

@flutter-dashboard
Copy link

This pull request executed golden file tests, but it has not been updated in a while (20+ days). Test results from Gold expire after as many days, so this pull request will need to be updated with a fresh commit in order to get results from Gold.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

affects: engine platform-web Code specifically for the web engine

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant