-
-
Notifications
You must be signed in to change notification settings - Fork 341
Fix transparency canvas bug #2645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix transparency canvas bug #2645
Conversation
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (2)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including You can disable this status message by setting the WalkthroughThe changes refactor how background color is handled and cleared in the rendering pipeline. The Changes
Sequence Diagram(s)sequenceDiagram
participant App
participant Background
participant RenderPipeline
App->>Background: Set solidColor
App->>RenderPipeline: Trigger render
RenderPipeline->>Background: Get solidColor
RenderPipeline->>RenderPipeline: Convert color to linear space
RenderPipeline->>RenderPipeline: Premultiply RGB by alpha
RenderPipeline->>RenderPipeline: Clear render target with premultiplied linear color
Poem
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev/1.5 #2645 +/- ##
========================================
Coverage 68.72% 68.73%
========================================
Files 970 970
Lines 101982 101979 -3
Branches 8785 8779 -6
========================================
Hits 70092 70092
+ Misses 31625 31622 -3
Partials 265 265
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
color
not premultiply alpha bug
color
not premultiply alpha bug
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Other information: