Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
S
swiftshader
  • 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
  • swiftshader
  • Repository

Switch branch/tag
  • swiftshader
  • src
  • Common
  • Resource.cpp
Find file
BlameHistoryPermalink
  • Nicolas Capens's avatar
    Fix stencil buffer memory leak. · 810f3db8
    Nicolas Capens authored Sep 29, 2018
    Locking stencil buffers with a NULL format resulted in nullptr being
    returned without acquiring the resource lock, while unlocking did
    release the lock.
    
    Instead of not releasing it on unlock, we must acquire it on lock
    because otherwise the object could get destroyed before draw operations
    end and attempt to unlock.
    
    Bug b/116876483
    
    Change-Id: Ie883115a1d6df3b40eb7c1feb5dcfde7316ec970
    Reviewed-on: https://swiftshader-review.googlesource.com/21148Reviewed-by: 's avatarKrzysztof Kosiński <krzysio@google.com>
    Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
    Tested-by: 's avatarKrzysztof Kosiński <krzysio@google.com>
    Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
    810f3db8
Resource.cpp 2.69 KB
EditWeb IDE
×

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