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
  • common
  • MemoryBuffer.h
Find file
BlameHistoryPermalink
  • Geoff Lang's avatar
    Share scratch buffers between contexts. · aa6dd50d
    Geoff Lang authored Feb 03, 2020
    The Display now owns scratch buffers and loans them out to contexts
    while they are current.  This allows us to to only allocate one scratch
    buffer in a single-threaded use case.
    
    Tick the scratch buffers every time a new context is made current.
    
    Lower the lifetime from 1000 to 64 to ensure that in the worst case,
    the buffers are cleared after not being used for ~1 second.
    
    BUG=chromium:1030835
    BUG=angleproject:4363
    
    Change-Id: I83552424e2beac62b9e41152876b04fc84f53692
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2031698
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarZhenyao Mo <zmo@chromium.org>
    aa6dd50d
MemoryBuffer.h 2.31 KB
EditWeb IDE
×

Replace MemoryBuffer.h

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.