Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • tests
  • perf_tests
  • TracePerfTest.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Clean up overlay RenderPass count reporting. · 6de7ee52
    Jamie Madill authored May 25, 2020
    This fixes the trace perf test to accurately report how many
    RPs in each frame. Instead of counting the RPs on a flush we now
    count only on a swap call. This won't work for offscreen surfaces
    which is fine - the overlay doesn't really have the same use for
    offscreen rendering. Also ignores the first frame in graph data so
    we can ignore the first setup frame in the trace tests.
    
    Also skips the redundant extra "flush" call that would generate an
    empty space in the RP graph.
    
    Gives a cleaner measurement for optimizing the XFB RP count.
    
    Bug: angleproject:4622
    Change-Id: I5762c500cdb216700247095984ae62b4f8741602
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2215309Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    6de7ee52
TracePerfTest.cpp 11 KB
EditWeb IDE
×

Replace TracePerfTest.cpp

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.