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

Conversation

@jonahwilliams
Copy link
Contributor

@jonahwilliams jonahwilliams commented May 14, 2024

Alternative to #52746

Work towards flutter/flutter#138798

If possible, use a render pass to clear texture to transparent black. The goal is to reduce the CPU cost for larger atlases.

@jonahwilliams jonahwilliams changed the title clear texture with render pass. [Impeller] use render pass to clear glyph atlas texture to transparent black. May 14, 2024
data.external_format, // external format
data.type, // type
tex_data // data
nullptr // data
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is correctly initialized below, but needs to be nullptr, or the driver may read out of bounds if we're only updating a subregion.

@jonahwilliams jonahwilliams added the autosubmit Merge PR when tree becomes green via auto submit App label May 14, 2024
@auto-submit auto-submit bot merged commit fd668af into flutter:main May 14, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 14, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request May 14, 2024
…148299)

flutter/engine@0de6701...b4b798d

2024-05-14 [email protected] Roll Skia from 19153175a79b to 7045b90f1ef8 (3 revisions) (flutter/engine#52801)
2024-05-14 [email protected] [Impeller] use render pass to clear glyph atlas texture to transparent black. (flutter/engine#52791)

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://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
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

None yet

Development

Successfully merging this pull request may close these issues.

2 participants