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
  • Vulkan
  • VkDescriptorUpdateTemplate.cpp
Find file
BlameHistoryPermalink
  • Alexis Hetu's avatar
    Memory leak fix for SamplingRoutine cache · 6448bd66
    Alexis Hetu authored Jun 11, 2019
    - The SamplingRoutine cache is now owned by the Device and
      has the same lifetime as the device, which means it gets
      released when the device gets released.
    - Added a utility class, SamplingRoutineCache, to contain
      the cache and release all routine entries upon destruction.
    - Added a pointer to the current device in the sampler object
      in order to retrieve it during sampling, in order to access
      the routine cache
    - The cache is now internally an LRUCache, so it can't cache
      a large quantity of routines and take up a lot of memory.
    
    Bug b/129523279 b/137649247 b/137524292 chromium:971325
    
    Change-Id: If4ff1fbc87962355d0a281b9d0acace4316a02b8
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/32688Tested-by: 's avatarAlexis Hétu <sugoi@google.com>
    Presubmit-Ready: Alexis Hétu <sugoi@google.com>
    Reviewed-by: 's avatarChris Forbes <chrisforbes@google.com>
    Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
    6448bd66
VkDescriptorUpdateTemplate.cpp 1.82 KB
EditWeb IDE
×

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