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
  • HandleAllocator_unittest.cpp
Find file
BlameHistoryPermalink
  • JiangYizhou's avatar
    Fix invalid heap exception in angle · 338abb46
    JiangYizhou authored Jan 30, 2018
    Running angle deqp test case, an invalid heap exception is thrown in
    angle on both linux and windows platforms.
    If build a nonsequential heap, and then erase any node of the heap,
    the heap is no longer valid. If using std::push_heap or std::pop_heap
    method next, this exception will be thrown out. So we should use
    std::make_heap after modifying the heap.
    
    TEST=angle_deqp_gles2_tests
    TEST=angle_deqp_gles3_tests
    TEST=HandleAllocatorTest.ReserveAfterReleaseBug
    
    BUG=angleproject:2326
    
    Change-Id: I123fc81b3365c93081d0042c69b4e5114956fe0d
    Reviewed-on: https://chromium-review.googlesource.com/892961Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    338abb46
HandleAllocator_unittest.cpp 4.92 KB
EditWeb IDE
×

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