diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-02-20 19:09:37 +0100 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-02-20 19:09:37 +0100 |
commit | 0bee64f4bc7581de7ab28ca438581d215e85c610 (patch) | |
tree | 0144ade1edf46ff1b5322f20fa4501919260defa /src/i830_accel.c | |
parent | 2212baa8454abb4c7948c3f2e20e337f831d1b86 (diff) |
Add support for triple buffering using a third static buffer.
Need to bump the DRI DDX version minor for the added SAREA fields.
Diffstat (limited to 'src/i830_accel.c')
-rw-r--r-- | src/i830_accel.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/i830_accel.c b/src/i830_accel.c index db3168a8..c76c7483 100644 --- a/src/i830_accel.c +++ b/src/i830_accel.c @@ -228,6 +228,9 @@ I830SelectBuffer(ScrnInfoPtr pScrn, int buffer) case I830_SELECT_BACK: pI830->bufferOffset = pI830->BackBuffer.Start; break; + case I830_SELECT_THIRD: + pI830->bufferOffset = pI830->ThirdBuffer.Start; + break; case I830_SELECT_DEPTH: pI830->bufferOffset = pI830->DepthBuffer.Start; break; |