[google_maps_flutter] Fix ios tile overlay not loading when dealing with wide gamut images#6377
Merged
LouiseHsu merged 10 commits intoflutter:mainfrom Mar 27, 2024
Merged
Conversation
…su/packages into fix-wide-gamut-issue-google-maps
hellohuanlin
approved these changes
Mar 27, 2024
...ogle_maps_flutter/google_maps_flutter_ios/example/ios14/ios/Runner.xcodeproj/project.pbxproj
Outdated
Show resolved
Hide resolved
.../google_maps_flutter/google_maps_flutter_ios/example/ios14/ios/RunnerTests/GoogleMapsTests.m
Outdated
Show resolved
Hide resolved
.../google_maps_flutter/google_maps_flutter_ios/example/ios14/ios/RunnerTests/GoogleMapsTests.m
Outdated
Show resolved
Hide resolved
.../google_maps_flutter/google_maps_flutter_ios/example/ios14/ios/RunnerTests/GoogleMapsTests.m
Outdated
Show resolved
Hide resolved
| size_t bitsPerComponent = CGImageGetBitsPerComponent(imageRef); | ||
|
|
||
| XCTAssert(isFloat == false); | ||
| XCTAssert(bitsPerComponent != 16); |
Contributor
There was a problem hiding this comment.
what's the value actually gonna be?
Contributor
Author
There was a problem hiding this comment.
non-wide gamut imgs are 8 bit, changed to test that instead
.../google_maps_flutter/google_maps_flutter_ios/ios/Classes/FLTGoogleMapTileOverlayController.m
Outdated
Show resolved
Hide resolved
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Mar 27, 2024
…ealing with wide gamut images (flutter/packages#6377)
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Mar 27, 2024
…ealing with wide gamut images (flutter/packages#6377)
auto-submit bot
pushed a commit
to flutter/flutter
that referenced
this pull request
Mar 27, 2024
flutter/packages@ab1630b...e6b3e11 2024-03-27 49699333+dependabot[bot]@users.noreply.github.com [camera]: Bump androidx.annotation:annotation from 1.7.0 to 1.7.1 in /packages/camera/camera_android/android (flutter/packages#5707) 2024-03-27 louisehsu@google.com [google_maps_flutter] Fix ios tile overlay not loading when dealing with wide gamut images (flutter/packages#6377) 2024-03-26 goderbauer@google.com [flutter_lints] Updates various links (flutter/packages#6400) 2024-03-26 49699333+dependabot[bot]@users.noreply.github.com Bump github/codeql-action from 3.24.7 to 3.24.9 (flutter/packages#6386) 2024-03-26 engine-flutter-autoroll@skia.org Roll Flutter from 14774b9 to dbdcead (38 revisions) (flutter/packages#6399) 2024-03-26 49699333+dependabot[bot]@users.noreply.github.com [in_app_pur]: Bump org.json:json from 20231013 to 20240303 in /packages/in_app_purchase/in_app_purchase_android/example/android/app (flutter/packages#6255) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC flutter-ecosystem@google.com,rmistry@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
11 tasks
11 tasks
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes flutter/flutter#135252
Google maps does not currently support the use of wide gamut images.
Since engine uses 16 bit floats when dealing with wide gamut images (here), when we detect that an image is using that format, we downsample it.
434666538_7633704776682015_2581174196928191417_n.mp4
Pre-launch Checklist
dart format.)[shared_preferences]pubspec.yamlwith an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.mdto add a description of the change, following repository CHANGELOG style.///).If you need help, consider asking for advice on the #hackers-new channel on Discord.