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
  • gl_tests
  • MultithreadingTest.cpp
Find file
BlameHistoryPermalink
  • Shahbaz Youssefi's avatar
    Add test for multithreaded shared-context resource · 745999a9
    Shahbaz Youssefi authored Nov 19, 2019
    The test does this:
    
    1. Context 1: Read Texture 1 and draw into Framebuffer 1
    2. Context 2: Read Texture 1 and draw into Framebuffer 2
    3. Context 1: Delete Framebuffer 1
    4. Context 1: Flush
    5. Context 2: Modify Texture 1
    
    Issue is Texture 1's mCurrentReadingNodes contains one node from each
    context's command graph, one of which is deleted at step 4. At step 5, a
    dependency is added from both nodes (one already deleted) to a new node,
    causing use-after-free.
    
    Bug: angleproject:4130
    Change-Id: I06720aec20d0b49114937f1cd9b193a4f1df9d8d
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1924790Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    745999a9
MultithreadingTest.cpp 6.99 KB
EditWeb IDE
×

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