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
  • ResourceManager_unittest.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Fix ResourceManager create-on-bind reallocations. · bdd419f9
    Jamie Madill authored Mar 20, 2015
    *re-land with build fix for Clang*
    
    We had a funny bug where the Handle Allocator would re-allocate
    reserved handles after the app layer creates one with Bind rather
    than using Gen. This affects Textures, Buffers and Renderbuffers.
    
    Fix this by using a different allocation scheme. It should still
    be fast on the "good" case (using Gen) and use tree lookups on the
    bind case. Also add some unit tests.
    
    BUG=angleproject:942
    
    Change-Id: I63ce608fcd6a11f92e2b5421f090551934e729ed
    Reviewed-on: https://chromium-review.googlesource.com/261591Tested-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    bdd419f9
ResourceManager_unittest.cpp 1.77 KB
EditWeb IDE
×

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