Skip to content

Impeller issues with SnapshotWidget / toImageSync #115580

@zanderso

Description

@zanderso

I'm seeing a couple of issues with SnapshotWidget and/or toImageSync under Impeller.

First, text is sometimes mangled in the image coming from toImageSync:

43716E77-A97B-4BFD-A61A-8073191B9A76

I've only been able to repro this on iOS hardware.

Second, using the result of toImageSync, specifically in the SnapshotWidget, as a sampler in a shader, gives all black.

Sorry for the large repro, but here is my fork of flutter/gallery.

https://github.com/zanderso/gallery/commits/impeller-tis-issue

The live implementation of snapshotPainter in there just draws the provided image to the canvas. The commented out code in snapshotPainter uses the custom shader.

@jonahwilliams @bdero @dnfield

Metadata

Metadata

Assignees

No one assigned

    Labels

    e: impellerImpeller rendering backend issues and features requests

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions