mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
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:
parent
12e586914e
commit
a0e9bfe3d4
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user