mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-13 01:54:52 +08:00
This CL improves the visualization of the Frames timeline such that frames are now demarcated with BeginFrame events instead of DrawFrame and DroppedFrame events. After this change, all visualized frames (both presented and dropped) are VSync-aligned and their durations are always multiples of 1/refresh rate. This new Frames timeline behaviour requires updates of some web tests, which were temporarily disabled by https://crrev.com/c/3197870 to allow the current CL to land. Design doc: https://docs.google.com/document/d/1XjOp05FoShB7bAGoovD4bCBL8L4E8vsEqsPfBKO8ko0/edit?usp=sharing Bug: 1192637 Change-Id: I98778bdc9e41502ed7705c5083c1dc681c27a7bb Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3083645 Commit-Queue: Mingjing Zhang <mjzhang@chromium.org> Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Paul Lewis <aerotwist@chromium.org>