Content deleted Content added
m Adding 1 accessdates using Checklinks |
GreenC bot (talk | contribs) Rescued 1 archive link. Wayback Medic 2.5 per WP:URLREQ#anandtech.com |
||
(16 intermediate revisions by 13 users not shown) | |||
Line 1:
{{short description|Series of virtual framebuffers used by computer graphics systems}}
In [[computer graphics (computer science)|computer graphics]], a '''swap chain''' (also '''swapchain''') is a series of virtual [[framebuffer]]s
▲In [[computer graphics (computer science)|computer graphics]], a '''swap chain''' is a series of virtual [[framebuffer]]s utilized by the [[graphics card]] and graphics [[API]] for [[frame rate]] stabilization and several other functions. The swap chain usually exists in [[Video card#Video memory|graphics memory]], but it can exist in system memory as well. The non-utilization of a swap chain may result in stuttering [[real Time rendering|rendering]], but its existence and utilization are required by many graphics APIs. A swap chain with two buffers is a [[double buffer]].
==Function==
[[File:swap chain depiction.svg|thumb|alt=Swap Chain|A graphical depiction of a triple-buffered swap chain.]]
In every swap chain there are at least two buffers. The first framebuffer, the screenbuffer, is the buffer that is [[Rendering (computer graphics)|rendered]] to the output of the [[video card]]. The remaining buffers are known as backbuffers. Each time a new [[Film frame|frame]] is displayed, the first backbuffer in the swap chain takes the place of the screenbuffer, this is called ''presentation'' or ''swapping''. A variety of other actions may be taken on the previous screenbuffer and other backbuffers (if they exist). The screenbuffer may be simply
[[Microsoft]] [[Direct3D]] implements a SwapChain class. Each host device has at least one swap chain assigned to it, and others may be created by the client application.<ref name="msnd 0">
{{cite web
Line 23 ⟶ 19:
| publisher = neXe
| url = http://nexe.gamedev.net/directKnowledge/default.asp?p=Swap%20Chains
| accessdate = 2015-05-16
}}</ref>
Outside the context of Direct3D, [[
{{cite web
| title = Triple Buffering: Why We Love It
| publisher = AnandTech
| url = http://www.anandtech.com/show/2794/4
| archive-url = https://web.archive.org/web/20100407062123/http://www.anandtech.com/show/2794/4
| url-status = dead
| archive-date = April 7, 2010
| accessdate = 27 May 2014
}}</ref>
==
<references/>
[[Category:Computer graphics]]
|