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
  • aligned_memory.h
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    common: Add aligned memory allocator. · 2cc2a727
    Jamie Madill authored Jan 09, 2018
    This will be useful for the Vulkan pipeline state cache. This cache
    wants to pack the pipeline description very carefully into a specific
    number of bits, using the "alignas" keyword. Using this keyword
    requires an aligned allocator, which we can lift from Chromium's
    base/memory submodule.
    
    Also includes a unittest copied from Chrome.
    
    Bug: angleproject:2163
    Change-Id: I25976be4610636db3f43552bba23d823f5a49a24
    Reviewed-on: https://chromium-review.googlesource.com/837944Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Reviewed-by: 's avatarFrank Henigman <fjhenigman@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    2cc2a727
aligned_memory.h 589 Bytes
EditWeb IDE
×

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