float sceDisplayGetFramePerSec(void)
Get number of frames per second.
int sceDisplaySetFrameBuf(void *topaddr, int bufferwidth, int pixelformat, int sync)
Display set framebuf.
int sceDisplayGetFrameBuf(void **topaddr, int *bufferwidth, int *pixelformat, int sync)
Get Display Framebuffer information.
int sceDisplayGetAccumulatedHcount(void)
Get accumlated HSYNC count.
int sceDisplayWaitVblankCB(void)
Wait for vertical blank with callback.
PspDisplaySetBufSync
Definition pspdisplay.h:33
@ PSP_DISPLAY_SETBUF_IMMEDIATE
Buffer change effective immediately.
Definition pspdisplay.h:35
@ PSP_DISPLAY_SETBUF_NEXTFRAME
Buffer change effective next frame.
Definition pspdisplay.h:37
int sceDisplaySetMode(int mode, int width, int height)
Set display mode.
int sceDisplayWaitVblankStartCB(void)
Wait for vertical blank start with callback.
int sceDisplayGetCurrentHcount(void)
Get current HSYNC count.
unsigned int sceDisplayGetVcount(void)
Number of vertical blank pulses up to now.
int sceDisplayIsForeground(void)
Get whether or not frame buffer is being displayed.
int sceDisplayWaitVblankStart(void)
Wait for vertical blank start.
PspDisplayPixelFormats
Framebuffer pixel formats.
Definition pspdisplay.h:22
@ PSP_DISPLAY_PIXEL_FORMAT_4444
Definition pspdisplay.h:28
@ PSP_DISPLAY_PIXEL_FORMAT_8888
Definition pspdisplay.h:30
@ PSP_DISPLAY_PIXEL_FORMAT_5551
16-bit RGBA 5:5:5:1.
Definition pspdisplay.h:26
@ PSP_DISPLAY_PIXEL_FORMAT_565
16-bit RGB 5:6:5.
Definition pspdisplay.h:24
int sceDisplayWaitVblank(void)
Wait for vertical blank.
int sceDisplayGetMode(int *pmode, int *pwidth, int *pheight)
Get display mode.
PspDisplayErrorCodes
Definition pspdisplay.h:42
@ SCE_DISPLAY_ERROR_ARGUMENT
Definition pspdisplay.h:45
@ SCE_DISPLAY_ERROR_POINTER
Definition pspdisplay.h:44
@ SCE_DISPLAY_ERROR_OK
Definition pspdisplay.h:43
int sceDisplayIsVblank(void)
Test whether VBLANK is active.
float x
Definition psptypes.h:0