• Fady Samuel's avatar
    Surface Synchronization: Implement SurfaceId flows · c76cc200
    Fady Samuel authored
    This CL implements two types of tracing flows:
    
    1. Embed Flow: The flow from allocating a LocalSurfaceId to embedding it in
    a SurfaceLayer and SurfaceLayerImpl for the first time until a reference is
    added for the first time to a parent CompositorFrame.
    
    2. Submission Flow: The flow from allocating a LocalSurfaceId to passing it
    to the child to use to submit CompositorFrames.
    
    These flows let us debug surface synchronization performance regressions and
    lets one visually see the parallelism achieved with surface synchronization.
    
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;master.tryserver.blink:linux_trusty_blink_rel
    Change-Id: I02b7baec283e60528faa24dffdca74b641135d2e
    Bug: 672962
    Reviewed-on: https://chromium-review.googlesource.com/1124976
    Commit-Queue: Fady Samuel <fsamuel@chromium.org>
    Reviewed-by: default avatarSaman Sami <samans@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#572429}
    c76cc200
surface_manager.cc 22.8 KB