-
Notifications
You must be signed in to change notification settings - Fork 6k
Discard the resubmitted layer tree of the wrong size instead of rendering it #28474
Discard the resubmitted layer tree of the wrong size instead of rendering it #28474
Conversation
chinmaygarde
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a minor nit about the naming convention but otherwise LGTM.
shell/common/rasterizer.cc
Outdated
| [weak_this = weak_factory_.GetWeakPtr(), pipeline, | ||
| resubmit_recorder = std::move(resubmit_recorder)]() mutable { | ||
| resubmit_recorder = std::move(resubmit_recorder), | ||
| discardCallback = std::move(discardCallback)]() mutable { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Here and elsewhere, can we underscore case this before landing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
shell/common/shell_unittests.cc
Outdated
| raster_thread_merger_ref = raster_thread_merger; | ||
| } | ||
| if (should_merge_thread) { | ||
| // TODO(cyanglaz): This test used external_view_embedder so we need to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think comment is related.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
* 1720dda Roll Fuchsia Mac SDK from 5hlfN-425... to crjfjPXZN... (flutter/engine#28540) * 7135100 Roll Dart SDK from c1f80cf5fde6 to 5171a2583ace (1 revision) (flutter/engine#28541) * 825c409 Discard the resubmitted layer tree of the wrong size instead of rendering it (flutter/engine#28474)
Discard the resubmitted layer tree of the wrong size instead of rendering it.
This is a tiny patch for this PR: #21179
Pre-launch Checklist
writing and running engine tests.
///).