vitasdk
Documentation of the vitasdk
display.h
Go to the documentation of this file.
1 
7 #ifndef _PSP2_DISPLAY_H_
8 #define _PSP2_DISPLAY_H_
9 
10 #include <vitasdk/build_utils.h>
11 #include <psp2common/display.h>
12 #include <psp2/types.h>
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
28 
40 
45 
54 int sceDisplayGetRefreshRate(float *pFps);
55 
64 int sceDisplayGetMaximumFrameBufResolution(int *width, int *height);
65 
70 
76 int sceDisplayGetVcountInternal(int display);
77 
82 
87 
93 int sceDisplayWaitVblankStartMulti(unsigned int vcount);
94 
100 int sceDisplayWaitVblankStartMultiCB(unsigned int vcount);
101 
106 
111 
118 int sceDisplayWaitSetFrameBufMulti(unsigned int vcount);
119 
126 int sceDisplayWaitSetFrameBufMultiCB(unsigned int vcount);
127 
134 
141 
142 #ifdef __cplusplus
143 }
144 #endif
145 
146 #endif /* _PSP2_DISPLAY_H_ */
147 
SceDisplaySetBufSync
Definition: display.h:39
Structure used with ksceDisplaySetFrameBuf to set/update framebuffer.
Definition: display.h:56
int sceDisplayGetRefreshRate(float *pFps)
Get current number of fps for the current screen mode.
int sceDisplayWaitSetFrameBufMultiCB(unsigned int vcount)
Wait for vertical blank start with callback after specified number of vertical periods since last upd...
int sceDisplayWaitSetFrameBufMulti(unsigned int vcount)
Wait for vertical blank start after specified number of vertical periods since last update of framebu...
int sceDisplayGetVcount(void)
Number of vertical blank pulses up to now.
int sceDisplayWaitVblankStartCB(void)
Wait for vertical blank start with callback.
int sceDisplayGetMaximumFrameBufResolution(int *width, int *height)
Get maximum framebuffer resolution.
int sceDisplayWaitSetFrameBufCB(void)
Wait for vertical blank start with callback since last update of framebuffer.
int sceDisplayGetPrimaryHead(void)
Primary display index.
int sceDisplayUnregisterVblankStartCallback(SceUID uid)
Unregister callback used at each vertical blank start.
int sceDisplayWaitVblankStartMulti(unsigned int vcount)
Wait for vertical blank start after specified number of vertical periods.
int sceDisplayWaitVblankStart(void)
Wait for vertical blank start.
int sceDisplayWaitVblankStartMultiCB(unsigned int vcount)
Wait for vertical blank start with callback after specified number of vertical periods.
int sceDisplayWaitSetFrameBuf(void)
Wait for vertical blank start since last update of framebuffer.
int sceDisplaySetFrameBuf(const SceDisplayFrameBuf *pParam, SceDisplaySetBufSync sync)
Set/Update framebuffer parameters.
int sceDisplayRegisterVblankStartCallback(SceUID uid)
Register callback to be used at each vertical blank start.
int sceDisplayGetVcountInternal(int display)
Number of vertical blank pulses up to now for a display.
int sceDisplayGetFrameBuf(SceDisplayFrameBuf *pParam, SceDisplaySetBufSync sync)
Get current framebuffer parameters.
int SceUID
UIDs are used to describe many different kernel objects.
Definition: types.h:90