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

[Impeller] Increase minimum size of alpha glyph atlas. #41880

Merged
merged 1 commit into from
May 10, 2023

Conversation

jonahwilliams
Copy link
Contributor

Fixes flutter/flutter#122839
Fixes flutter/flutter#126103

Unlike Skia which starts with 2048x2048, I decreased the size of 1024x1024. Now that we'll never switch this to a color bitmap, the memory impact is dramatically lessened.

@jonahwilliams jonahwilliams requested review from dnfield and bdero May 10, 2023 00:33
@chinmaygarde chinmaygarde changed the title [Impeller] increase minimum size of alpha glyph atlas. [Impeller] Increase minimum size of alpha glyph atlas. May 10, 2023
@jonahwilliams jonahwilliams added the autosubmit Merge PR when tree becomes green via auto submit App label May 10, 2023
@auto-submit auto-submit bot merged commit 905222c into flutter:main May 10, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 10, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 10, 2023
zanderso pushed a commit to engine-flutter-autoroll/flutter that referenced this pull request May 10, 2023
zanderso pushed a commit to flutter/flutter that referenced this pull request May 10, 2023
…sions) (#126455)

Manual roll requested by [email protected]

Cannot build log URL because revision "892f88d2513f" is invalid: Luci
builds of "Linux Fuchsia FEMU" for
892f88d2513f4a60ebd6d1496c4ac272e53c55ba was STARTED

2023-05-10 [email protected] Revert "Move linux fuchsia
engine v2 build to prod." (flutter/engine#41902)
2023-05-10 [email protected] Migrate mac host clang tidy to engine
v2. (flutter/engine#41824)
2023-05-10 [email protected] [Impeller] delete special handling
of RRect. (flutter/engine#41872)
2023-05-10 [email protected] Roll Fuchsia Mac SDK from
JiOACcaGrDphuHIql... to a3rrULFaXlwS8mfjW... (flutter/engine#41898)
2023-05-10 [email protected] Only
register top level window message listener upon registering service
binding (flutter/engine#41733)
2023-05-10 [email protected] Roll Skia from 8c936fb9ba8e to
32f4cfc2460b (27 revisions) (flutter/engine#41891)
2023-05-10 [email protected] [web] dialog a11y fixes
(flutter/engine#41681)
2023-05-10 [email protected] Roll Dart SDK from
2cf089614e1c to 7ad028c26344 (2 revisions) (flutter/engine#41882)
2023-05-10 [email protected] [Impeller] Increase minimum size of
alpha glyph atlas. (flutter/engine#41880)
2023-05-10 [email protected] [Impeller] Use separate atlases and
shaders for color and alpha (flutter/engine#41780)
2023-05-10 [email protected] Move linux fuchsia engine v2 build to
prod. (flutter/engine#41865)

Also rolling transitive DEPS:
  fuchsia/sdk/core/mac-amd64 from JiOACcaGrDph to a3rrULFaXlwS

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 10, 2023
zanderso pushed a commit to flutter/flutter that referenced this pull request May 10, 2023
…126468)

flutter/engine@10ac36c...406b354

2023-05-10 [email protected] [web] Re-enable history tests on Safari
(flutter/engine#41901)
2023-05-10 [email protected] switch from MockCanvas to DisplayListBuilder
in layer unit tests (flutter/engine#41889)
2023-05-10 [email protected] Revert "Move linux fuchsia
engine v2 build to prod." (flutter/engine#41902)
2023-05-10 [email protected] Migrate mac host clang tidy to engine
v2. (flutter/engine#41824)
2023-05-10 [email protected] [Impeller] delete special handling
of RRect. (flutter/engine#41872)
2023-05-10 [email protected] Roll Fuchsia Mac SDK from
JiOACcaGrDphuHIql... to a3rrULFaXlwS8mfjW... (flutter/engine#41898)
2023-05-10 [email protected] Only
register top level window message listener upon registering service
binding (flutter/engine#41733)
2023-05-10 [email protected] Roll Skia from 8c936fb9ba8e to
32f4cfc2460b (27 revisions) (flutter/engine#41891)
2023-05-10 [email protected] [web] dialog a11y fixes
(flutter/engine#41681)
2023-05-10 [email protected] Roll Dart SDK from
2cf089614e1c to 7ad028c26344 (2 revisions) (flutter/engine#41882)
2023-05-10 [email protected] [Impeller] Increase minimum size of
alpha glyph atlas. (flutter/engine#41880)
2023-05-10 [email protected] [Impeller] Use separate atlases and
shaders for color and alpha (flutter/engine#41780)
2023-05-10 [email protected] Move linux fuchsia engine v2 build to
prod. (flutter/engine#41865)

Also rolling transitive DEPS:
  fuchsia/sdk/core/mac-amd64 from JiOACcaGrDph to a3rrULFaXlwS

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
CaseyHillers pushed a commit to CaseyHillers/flutter that referenced this pull request May 24, 2023
…sions) (flutter#126455)

Manual roll requested by [email protected]

Cannot build log URL because revision "892f88d2513f" is invalid: Luci
builds of "Linux Fuchsia FEMU" for
892f88d2513f4a60ebd6d1496c4ac272e53c55ba was STARTED

2023-05-10 [email protected] Revert "Move linux fuchsia
engine v2 build to prod." (flutter/engine#41902)
2023-05-10 [email protected] Migrate mac host clang tidy to engine
v2. (flutter/engine#41824)
2023-05-10 [email protected] [Impeller] delete special handling
of RRect. (flutter/engine#41872)
2023-05-10 [email protected] Roll Fuchsia Mac SDK from
JiOACcaGrDphuHIql... to a3rrULFaXlwS8mfjW... (flutter/engine#41898)
2023-05-10 [email protected] Only
register top level window message listener upon registering service
binding (flutter/engine#41733)
2023-05-10 [email protected] Roll Skia from 8c936fb9ba8e to
32f4cfc2460b (27 revisions) (flutter/engine#41891)
2023-05-10 [email protected] [web] dialog a11y fixes
(flutter/engine#41681)
2023-05-10 [email protected] Roll Dart SDK from
2cf089614e1c to 7ad028c26344 (2 revisions) (flutter/engine#41882)
2023-05-10 [email protected] [Impeller] Increase minimum size of
alpha glyph atlas. (flutter/engine#41880)
2023-05-10 [email protected] [Impeller] Use separate atlases and
shaders for color and alpha (flutter/engine#41780)
2023-05-10 [email protected] Move linux fuchsia engine v2 build to
prod. (flutter/engine#41865)

Also rolling transitive DEPS:
  fuchsia/sdk/core/mac-amd64 from JiOACcaGrDph to a3rrULFaXlwS

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
CaseyHillers pushed a commit to CaseyHillers/flutter that referenced this pull request May 24, 2023
…lutter#126468)

flutter/engine@10ac36c...406b354

2023-05-10 [email protected] [web] Re-enable history tests on Safari
(flutter/engine#41901)
2023-05-10 [email protected] switch from MockCanvas to DisplayListBuilder
in layer unit tests (flutter/engine#41889)
2023-05-10 [email protected] Revert "Move linux fuchsia
engine v2 build to prod." (flutter/engine#41902)
2023-05-10 [email protected] Migrate mac host clang tidy to engine
v2. (flutter/engine#41824)
2023-05-10 [email protected] [Impeller] delete special handling
of RRect. (flutter/engine#41872)
2023-05-10 [email protected] Roll Fuchsia Mac SDK from
JiOACcaGrDphuHIql... to a3rrULFaXlwS8mfjW... (flutter/engine#41898)
2023-05-10 [email protected] Only
register top level window message listener upon registering service
binding (flutter/engine#41733)
2023-05-10 [email protected] Roll Skia from 8c936fb9ba8e to
32f4cfc2460b (27 revisions) (flutter/engine#41891)
2023-05-10 [email protected] [web] dialog a11y fixes
(flutter/engine#41681)
2023-05-10 [email protected] Roll Dart SDK from
2cf089614e1c to 7ad028c26344 (2 revisions) (flutter/engine#41882)
2023-05-10 [email protected] [Impeller] Increase minimum size of
alpha glyph atlas. (flutter/engine#41880)
2023-05-10 [email protected] [Impeller] Use separate atlases and
shaders for color and alpha (flutter/engine#41780)
2023-05-10 [email protected] Move linux fuchsia engine v2 build to
prod. (flutter/engine#41865)

Also rolling transitive DEPS:
  fuchsia/sdk/core/mac-amd64 from JiOACcaGrDph to a3rrULFaXlwS

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App e: impeller
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[Impeller] Increase the size of the glyph atlas [Impeller] Failure in glyph atlas recycling unit test (host_profile, arm64 macOS)
2 participants