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
  • libANGLE
  • renderer
  • vulkan
  • CommandProcessor.cpp
Find file
BlameHistoryPermalink
  • Courtney Goeltzenleuchter's avatar
    Allow single threaded CommandProcessor · 6bc362c4
    Courtney Goeltzenleuchter authored Oct 18, 2020
    In replacing the legacy CommandQueue code with the threading
    capable CommandProcessor it would be good to be able to run the
    CommandProcessor in a single-thread environment. This CL changes the
    meaning of the feature flags for the commandProcessor and
    asynchronousCommandProcessing so that enabling commandProcess only
    changes the code paths to use the command processor but work it still
    done as part of the submitting thread (e.g. ContextVk).
    Enabling asynchronousCommandProcessing will cause a separate worker
    thread to be spawned which will asynchronously process the commands.
    This allows us to switch to the CommandProcessor without threading and
    then enable threading once performance issues are resolved.
    
    Bug: b/161912801
    Bug: b/170329600
    Change-Id: I534862b109a7e7708108190b7c3e894071d4c2ed
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2483580Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
    Commit-Queue: Courtney Goeltzenleuchter <courtneygo@google.com>
    6bc362c4
CommandProcessor.cpp 34.2 KB
EditWeb IDE
×

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