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
  • DrawCallPerf.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    perf_tests: Work around stalls in gl_null test teardown. · cd1b1226
    Jamie Madill authored Jun 16, 2016
    The Clear command in the draw call benchmark was not being properly
    no-op'ed. This would cause the driver to get a huge queue of GL
    command, which it would only flush when the test was torn down. This
    manifested as a 5+ second stall on test teardown.
    
    Looking at the clear command, it does some work with binding
    and then calling GL functions, so properly filtering out the driver
    commands would be a bit more complicated. For now, we can hack in a
    workaround for the draw call test (the only one that uses the GL
    NULL renderer at the moment) to not call clear when it would give
    us problems.
    
    BUG=620687
    
    Change-Id: I64a2ed1883e8d3bf0d4c423c8bce0902ae9bf8df
    Reviewed-on: https://chromium-review.googlesource.com/352828Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    cd1b1226
DrawCallPerf.cpp 6.74 KB
EditWeb IDE
×

Replace DrawCallPerf.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.