Conversation
|
This patch is breaking rendering in impeller. Need to look into this some more. |
|
I suspect flutter/impeller#143 broke rendering, but had to revert flutter/impeller#145 to verify so it could be either or some combination of both. @bdero fyi |
|
These were added in https://github.com/flutter/engine/pull/3282/files#diff-c5ad14ed18025fdd922d2c53c4f7709642981eac478b0b44057466de136310a9R22 and seem to never have been used for anything. My best guess is that it was missed in reviewing a relatively large patch. |
|
@dnfield is this still needed? |
chinmaygarde
left a comment
There was a problem hiding this comment.
Not sure what this fixes but invoking a callback from a destructor with a reference to itself as an argument is pretty sus. LGTM.
|
This was causing a crash when impeller was doing something broken at one point. I still think we should remove it for the reasons Chinmay says, and because all implementations of the callback simply early return false when they get called this way. |
|
This pull request is not suitable for automatic merging in its current state.
|
|
Cirrus got confused because I closed this PR at one point - rerun here, not sure if it'll update in the UI: https://cirrus-ci.com/task/5227988034781184 |
|
This fixes a crash that happens whenever something in Impeller decides to fail a frame render (by returning |
In all implementations except the impeller implementation, there is an early return when the
SkCanvasis null.In impeller, it doesn't necessarily make sense to check the canvas since it's an SkCanvas (even though it's just an implementation of SkCanvas rather than a real Skia implementation).
Fixes flutter/flutter#102516
However, with this patch, impeller is also not rendering anything in new gallery for me locally...