• ccameron's avatar
    Mac: Add more trace events for CAOpenGLLayers · 7ecbfa31
    ccameron authored
    There exists lots of tracing for the old CAOpenGLLayer path in
    ui::IOSurfaceLayerHelper. The new path doesn't have this tracing.
    
    This adds tracing for the swap state (this is the pseudo-thread
    counter corresponding to PendingSwapAck in ui::IOSurfaceLayerHelper,
    along with trace events for the important functions related to swaps
    on Mac.
    
    BUG=487882
    
    Review URL: https://codereview.chromium.org/1137093003
    
    Cr-Commit-Position: refs/heads/master@{#329878}
    7ecbfa31
io_surface_layer.mm 8.97 KB