Differentiate two EncodeCommandsInReactor with the same name (flutter/engine#42992)

*Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.*

*List which issues are fixed by this PR. You must list at least one issue.*

*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
This commit is contained in:
fzyzcjy 2023-06-21 01:24:09 +08:00 committed by GitHub
parent 12e586914e
commit a0e9bfe3d4
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ void BlitPassGLES::OnSetLabel(std::string label) {
const ReactorGLES& reactor,
const std::vector<std::unique_ptr<BlitEncodeGLES>>& commands,
const std::string& label) {
TRACE_EVENT0("impeller", __FUNCTION__);
TRACE_EVENT0("impeller", "BlitPassGLES::EncodeCommandsInReactor");
if (commands.empty()) {
return true;

View File

@ -142,7 +142,7 @@ struct RenderPassData {
const std::shared_ptr<Allocator>& transients_allocator,
const ReactorGLES& reactor,
const std::vector<Command>& commands) {
TRACE_EVENT0("impeller", __FUNCTION__);
TRACE_EVENT0("impeller", "RenderPassGLES::EncodeCommandsInReactor");
if (commands.empty()) {
return true;