Sitelet https://github.com/flutter/flutter/pull/192074
Skip to content

Makes snapshots not have mip levels (since they weren't propogated) - #192074

Merged
auto-submit[bot] merged 5 commits into
flutter:masterfrom
gaaclarke:no-mip-snapshot
Sep 24, 2026
Merged

auto-submit[bot] merged 5 commits into
flutter:masterfrom
gaaclarke:no-mip-snapshot

Conversation

@gaaclarke

Copy link
Copy Markdown
Member

Previously snapshots would contain 12 mips layers, but it was seen that the mips layers were never propagated so it's a waste of space best case scenario, a render bug worst case.

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

If this change needs to override an active code freeze, provide a comment explaining why. The code freeze workflow can be overridden by code reviewers. See pinned issues for any active code freezes with guidance.

Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

@flutter-dashboard flutter-dashboard Bot added the CICD Run CI/CD label Aug 31, 2026
@github-actions github-actions Bot added the engine flutter/engine related. See also e: labels. label Aug 31, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request disables mipmap generation when creating raster snapshots in Impeller and adds a unit test to verify that the snapshot's mipmap count is one. The review feedback recommends replacing ASSERT_NE with EXPECT_NE inside the asynchronous task runner lambda to prevent potential deadlocks, and removing an unnecessary reinterpret_cast when upcasting the rasterizer pointer.

Comment thread engine/src/flutter/shell/common/shell_unittests.cc Outdated
Comment thread engine/src/flutter/shell/common/shell_unittests.cc Outdated
gaaclarke and others added 2 commits August 31, 2026 12:33
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@flutter-dashboard

Copy link
Copy Markdown

Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change).

If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review.

For more guidance, visit Writing a golden file test for package:flutter.

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

Changes reported for pull request #192074 at sha 3fa0e33

@flutter-dashboard flutter-dashboard Bot added the will affect goldens Changes to golden files label Aug 31, 2026
@gaaclarke
gaaclarke requested a review from walley892 September 16, 2026 23:21
@gaaclarke gaaclarke added the autosubmit Merge PR when tree becomes green via auto submit App label Sep 22, 2026
@auto-submit auto-submit Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Sep 22, 2026
@auto-submit

auto-submit Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

autosubmit label was removed for flutter/flutter/192074, because - The status or check suite Dashboard Checks has failed. Please fix the issues identified (or deflake) before re-applying this label.

@gaaclarke gaaclarke added the autosubmit Merge PR when tree becomes green via auto submit App label Sep 23, 2026
@auto-submit auto-submit Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Sep 23, 2026
@auto-submit

auto-submit Bot commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

autosubmit label was removed for flutter/flutter/192074, because - The status or check suite Google testing has failed. Please fix the issues identified (or deflake) before re-applying this label.

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

Labels

CICD Run CI/CD engine flutter/engine related. See also e: labels. will affect goldens Changes to golden files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants