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
  • renderer
  • d3d
  • d3d11
  • Buffer11.h
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Buffer11: Refactor constant buffer range getter. · 3ae14613
    Jamie Madill authored Nov 16, 2016
    This getter will now return the offset to bind along with the
    ID3D11Buffer pointer. This encapsulates the logic of the emulation
    so that we only actually check the capabilities of the driver in
    a single place. This solves the issue of needing to edit the code
    in multiple places when trying to force the caps for debugging,
    and also encapsulates the offset calculation in the Buffer11 class.
    
    BUG=chromium:593024
    
    Change-Id: Idb09d560868ae12b98bcaf4ea031c4e0b6c82b4a
    Reviewed-on: https://chromium-review.googlesource.com/411918Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Reviewed-by: 's avatarZhenyao Mo <zmo@chromium.org>
    Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    3ae14613
Buffer11.h 5.71 KB
EditWeb IDE
×

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