vitasdk
Documentation of the vitasdk
display.h File Reference
#include <vitasdk/build_utils.h>
#include <psp2common/display.h>
#include <psp2/types.h>

Go to the source code of this file.

Functions

int sceDisplaySetFrameBuf (const SceDisplayFrameBuf *pParam, SceDisplaySetBufSync sync)
 Set/Update framebuffer parameters. More...
 
int sceDisplayGetFrameBuf (SceDisplayFrameBuf *pParam, SceDisplaySetBufSync sync)
 Get current framebuffer parameters. More...
 
int sceDisplayGetPrimaryHead (void)
 Primary display index. More...
 
int sceDisplayGetRefreshRate (float *pFps)
 Get current number of fps for the current screen mode. More...
 
int sceDisplayGetMaximumFrameBufResolution (int *width, int *height)
 Get maximum framebuffer resolution. More...
 
int sceDisplayGetVcount (void)
 Number of vertical blank pulses up to now. More...
 
int sceDisplayGetVcountInternal (int display)
 Number of vertical blank pulses up to now for a display. More...
 
int sceDisplayWaitVblankStart (void)
 Wait for vertical blank start. More...
 
int sceDisplayWaitVblankStartCB (void)
 Wait for vertical blank start with callback. More...
 
int sceDisplayWaitVblankStartMulti (unsigned int vcount)
 Wait for vertical blank start after specified number of vertical periods. More...
 
int sceDisplayWaitVblankStartMultiCB (unsigned int vcount)
 Wait for vertical blank start with callback after specified number of vertical periods. More...
 
int sceDisplayWaitSetFrameBuf (void)
 Wait for vertical blank start since last update of framebuffer. More...
 
int sceDisplayWaitSetFrameBufCB (void)
 Wait for vertical blank start with callback since last update of framebuffer. More...
 
int sceDisplayWaitSetFrameBufMulti (unsigned int vcount)
 Wait for vertical blank start after specified number of vertical periods since last update of framebuffer. More...
 
int sceDisplayWaitSetFrameBufMultiCB (unsigned int vcount)
 Wait for vertical blank start with callback after specified number of vertical periods since last update of framebuffer. More...
 
int sceDisplayRegisterVblankStartCallback (SceUID uid)
 Register callback to be used at each vertical blank start. More...
 
int sceDisplayUnregisterVblankStartCallback (SceUID uid)
 Unregister callback used at each vertical blank start. More...