| Commit-Queue | +1 |
Hi Gaston, can you please review the changes?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
aura::Window* root_window =
view_->GetNativeView()->GetRootWindow();
if (root_window) {```suggestion
if (aura::Window* root_window =
view_->GetNativeView()->GetRootWindow()) {
```
I think you may be able to at least declare the pointer as `const`.
}
#endif
ctx.AddDebugAnnotation("screen point", screen_point.ToString());
});```suggestion
}
ctx.AddDebugAnnotation("screen point", screen_point.ToString());
#endif
});
```
I think you should only add "screen point" on Windows unless there's a reason to provide the same "interface" or data for all platforms, in which case this is fine.
In other platforms, "screen point" is redundant with "delegated point".
I suspect it's not true that `delegated_ink_point.point()` is the screen point in other platforms.
TRACE_EVENT("delegated_ink_trails",I'm not sure I understand what information this trace would provide.
For each point, how long it takes to set their painted timestamp if they aren't already in the `token_map`?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
aura::Window* root_window =
view_->GetNativeView()->GetRootWindow();
if (root_window) {```suggestion
if (aura::Window* root_window =
view_->GetNativeView()->GetRootWindow()) {
```
I think you may be able to at least declare the pointer as `const`.
It can't be const:
../../content/browser/renderer_host/render_widget_host_impl.cc(2643,29): error: 'this' argument to member function 'GetAcceleratedWidget' has type 'const WindowTreeHost', but function is not marked const
2643 | const HWND hwnd = root_window->GetHost()->GetAcceleratedWidget();
#endif
ctx.AddDebugAnnotation("screen point", screen_point.ToString());
});```suggestion
}
ctx.AddDebugAnnotation("screen point", screen_point.ToString());#endif
});
```
I think you should only add "screen point" on Windows unless there's a reason to provide the same "interface" or data for all platforms, in which case this is fine.In other platforms, "screen point" is redundant with "delegated point".
I suspect it's not true that `delegated_ink_point.point()` is the screen point in other platforms.
Done
I'm not sure I understand what information this trace would provide.
For each point, how long it takes to set their painted timestamp if they aren't already in the `token_map`?
This is called right after commit and indicates when the point is guaranteed to be drawen.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
TRACE_EVENT("delegated_ink_trails",Olga GerchikovI'm not sure I understand what information this trace would provide.
For each point, how long it takes to set their painted timestamp if they aren't already in the `token_map`?
This is called right after commit and indicates when the point is guaranteed to be drawen.
I see, it's not about the duration but reporting which point was painted and having the flow in the ui to track a single point.
I was going to suggest extracting the trace event from the `for`, but I think that this is the better solution.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Hi, can you please review the change? Thanks!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Delegated Ink Trails Tracing Improvements
This change enables end‑to‑end collection of delegated ink traces on the
Windows platform.
Updates include:
- Added the delegated_ink_trails category to ETW events.
- Emitted delegated ink points in screen coordinates from RenderWidgetHostImpl::ForwardDelegatedInkPoint.
- Added tracing immediately after frame commit.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |