~ubuntu-branches/ubuntu/precise/primrose/precise

« back to all changes in this revision

Viewing changes to minorGems/graphics/swapBuffers.h

  • Committer: Bazaar Package Importer
  • Author(s): Paul Wise
  • Date: 2009-04-06 19:26:56 UTC
  • Revision ID: james.westby@ubuntu.com-20090406192656-cri7503gebyvfl8t
Tags: upstream-5+dfsg1
ImportĀ upstreamĀ versionĀ 5+dfsg1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "GraphicBuffer.h"
 
2
 
 
3
// function that swaps bufferB to the screen  (32 bit version)
 
4
// returns new back buffer
 
5
//unsigned long *swapBuffers32( unsigned long *bufferPtrB, short bufferHigh, short bufferWide);
 
6
 
 
7
// now replaces "buffer" in bufferB with the new double buffer after swap
 
8
// no need to pass back the new buffer
 
9
void swapBuffers32( GraphicBuffer &bufferB );
 
10
 
 
11
 
 
12
 
 
13
 
 
14
// swap bufferB to the screen  (8 bit version)
 
15
// returns new back buffer
 
16
unsigned char *swapBuffers8( unsigned char *bufferPtrB, short bufferHigh, short bufferWide );
 
17
 
 
18
 
 
19
 
 
20
 
 
21
 
 
22
// NOTE:  the bodies of these functions must occur in the body of the main DDraw code file
 
23
//                      i.e., in the file where all the directDraw objects are instantiated.
 
24
//                      these functions assume the ddraw ojects are declared globally
 
 
b'\\ No newline at end of file'