This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Added wide gamut colors to offscreen buffers#39482
Merged
auto-submit[bot] merged 2 commits intoflutter:mainfrom Feb 15, 2023
Merged
Added wide gamut colors to offscreen buffers#39482auto-submit[bot] merged 2 commits intoflutter:mainfrom
auto-submit[bot] merged 2 commits intoflutter:mainfrom
Conversation
fd23012 to
a2e1384
Compare
a2e1384 to
e6da784
Compare
8 tasks
bdero
approved these changes
Feb 13, 2023
| case PixelFormat::kB10G10R10XR: | ||
| return SafeMTLPixelFormatBGR10_XR(); | ||
| case PixelFormat::kB10G10R10A10XR: | ||
| return SafeMTLPixelFormatBGRA10_XR(); |
Contributor
There was a problem hiding this comment.
Also add reverse conversion to ToMTLBlendFactor below.
Member
Author
There was a problem hiding this comment.
The reverse for this is in FromMTLPixelFormat. I think that's what you were thinking, right?
| switch (format) { | ||
| case PixelFormat::kUnknown: | ||
| case PixelFormat::kB10G10R10XR: | ||
| case PixelFormat::kB10G10R10A10XR: |
Contributor
There was a problem hiding this comment.
Also add reverse conversion to ToPixelFormat below.
Member
Author
There was a problem hiding this comment.
There's no reverse for this yet since it's mapped to vk::Format::eUndefined. I don't think this format will ever be used with vulkan as far as I know.
bdero
reviewed
Feb 13, 2023
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Feb 15, 2023
auto-submit bot
pushed a commit
to flutter/flutter
that referenced
this pull request
Feb 15, 2023
* b59787f Roll Skia from cd19d680b078 to 21627ff455d0 (2 revisions) (flutter/engine#39650) * 9af56b3 [macOS] Set textfield autofill type (flutter/engine#39632) * a8b3d1a Added wide gamut colors to offscreen buffers (flutter/engine#39482)
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
issue: flutter/flutter#117182
integration test: flutter/flutter#120131
I spent some time trying to make BGR10_XR work but I couldn't figure it out, so I punted on it for now. Getting smaller textures is more important for now.
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.