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
  • libGLESv2
  • renderer
  • d3d11
  • SwapChain11.cpp
Find file
BlameHistoryPermalink
  • Nicolas Capens's avatar
    Don't allocate unused swap chain buffers · 673e680c
    Nicolas Capens authored May 28, 2014
    According to
    msdn.microsoft.com/en-us/library/windows/desktop/bb173075(v=vs.85).aspx
    the front buffer is the desktop and is not a dedicated part of the swap chain.
    Thus we should only need 1 swap chain buffer instead of the currently allocated
    2. Samples in the DirectX SDK also only allocate just one.
    
    BUG=angle:662
    
    Change-Id: If88eeab1954cbc92b39ac7cf42f924515c4b77f9
    Reviewed-on: https://chromium-review.googlesource.com/201860Tested-by: 's avatarNicolas Capens <nicolascapens@chromium.org>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    673e680c
SwapChain11.cpp 22.7 KB
EditWeb IDE
×

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