78 SetDefaults(
short nWidth,
short nHeight,
short nPsm,
short nZTest,
short nZPsm,
short nClear);
95 void SetDispBuffers(
short nWidth,
short nHeight,
short nPsm,
short nFbp0,
short nFbp1);
162 return mHalves[nHalf];
172 return mHalves[nHalf];
182 unsigned char mReserved260[8];
The display and draw environments of a double-buffered framebuffer.
Definition gsdoublebuffer.h:21
void SetDispBuffers(short nWidth, short nHeight, short nPsm, short nFbp0, short nFbp1)
Build both display environments.
void PutDispBuffer(int nHalf, int bEnableCircuit1)
Write one display environment to the privileged GS registers.
void SetDrawBuffersSmall(short nWidth, short nHeight, short nPsm, short nFbp0, short nFbp1, short nZbp, short nZTest, short nZPsm, short nClear)
Build both draw environments, their GIFtags, and their clears.
DrawHalf & GetHalf(int nHalf)
Report one of the two buffers.
Definition gsdoublebuffer.h:161
void SetBufferPages(short nWidth, short nHeight, short nPsm)
Place buffer 0 at page 0, buffer 1 after it, and the depth buffer after both.
short GetZbp() const
Display environments of the two halves.
Definition gsdoublebuffer.h:151
void SetDefaults(short nWidth, short nHeight, short nPsm, short nZTest, short nZPsm, short nClear)
Fill both halves for a framebuffer and a depth buffer laid out from page 0.
const DrawHalf & GetHalf(int nHalf) const
Report one of the two buffers.
Definition gsdoublebuffer.h:171
void PutDrawBufferSmall(int nHalf, int bClear)
Send one draw environment to the GS through the SDK.
One display environment, 0x40 bytes.
Definition gsdoublebuffer.h:24
sceGsDispEnv mEnv
The SDK environment PutDispBuffer() writes to read circuit 2.
Definition gsdoublebuffer.h:26
unsigned long long mDisplay1
DISPLAY1, the circuit 1 display rectangle.
Definition gsdoublebuffer.h:30
unsigned long long mDispFb1
DISPFB1, the circuit 1 frame buffer.
Definition gsdoublebuffer.h:28
unsigned long long mReserved38
Definition gsdoublebuffer.h:32
One draw environment preceded by its GIFtag and followed by its clear, 0xf0 bytes.
Definition gsdoublebuffer.h:36
sceGifTag mGifTag
A+D tag whose loop count PutDrawBufferSmall() sets to include or exclude the clear.
Definition gsdoublebuffer.h:41
sceGsClear mClear
The register writes that clear the buffer.
Definition gsdoublebuffer.h:45
sceGsDrawEnv1 mDraw
FRAME_1, ZBUF_1, XYOFFSET_1, and the rest of the context 1 registers.
Definition gsdoublebuffer.h:43