7 #ifndef _PSP2KERN_DISPLAY_H_
8 #define _PSP2KERN_DISPLAY_H_
int ksceDisplayGetMaximumFrameBufResolution(int *width, int *height)
Get maximum framebuffer resolution.
int ksceDisplayGetProcFrameBufInternal(SceUID pid, int head, int index, SceDisplayFrameBufInfo *info)
Get the configured framebuffer information of a head and its framebuffer index for a PID.
int ksceDisplayWaitSetFrameBufMultiCB(unsigned int vcount)
Wait for vertical blank start with callback after specified number of vertical periods since last upd...
int ksceDisplaySetFrameBufInternal(int head, int index, const SceDisplayFrameBuf *pParam, int sync)
Set/Update framebuffer parameters for display.
int ksceDisplayUnregisterVblankStartCallback(SceUID uid)
Unregister callback used at each vertical blank start.
int ksceDisplayGetPrimaryHead(void)
Primary display index.
int ksceDisplayRegisterVblankStartCallbackInternal(int display, SceUID uid)
Register callback to be used at each vertical blank start for a display.
int ksceDisplayUnregisterVblankStartCallbackInternal(int display, SceUID uid)
Unregister callback used at each vertical blank start for a display.
int ksceDisplayWaitVblankStartMultiCBInternal(int display, unsigned int vcount)
Wait for vertical blank start with callback after specified number of vertical periods for display.
int ksceDisplayGetFrameBuf(SceDisplayFrameBuf *pParam, int sync)
Get current framebuffer parameters.
uintptr_t paddr
Physical address.
Definition: display.h:25
unsigned int vblankcount
Amount of VBlanks this framebuffer has been displayed.
Definition: display.h:24
unsigned int resolution
Resolution.
Definition: display.h:27
int ksceDisplayWaitSetFrameBuf(void)
Wait for vertical blank start since last update of framebuffer.
int ksceDisplayWaitVblankStartMulti(unsigned int vcount)
Wait for vertical blank start after specified number of vertical periods.
int ksceDisplayWaitVblankStartCB(void)
Wait for vertical blank start with callback.
SceUID pid
PID of the process owning this framebuffer.
Definition: display.h:23
int ksceDisplaySetOwner(int head, int index, SceUID pid)
Set display plane owner.
int ksceDisplayWaitVblankStartInternal(int display)
Wait for vertical blank start for display.
int ksceDisplayWaitVblankStartMultiInternal(int display, unsigned int vcount)
Wait for vertical blank start after specified number of vertical periods for display.
int ksceDisplayWaitSetFrameBufMulti(unsigned int vcount)
Wait for vertical blank start after specified number of vertical periods since last update of framebu...
int ksceDisplayWaitVblankStartCBInternal(int display)
Wait for vertical blank start with callback for display.
VITASDK_BUILD_ASSERT_EQ(4, SceDisplayErrorCode)
int ksceDisplayRegisterFrameBufCallback(SceUID uid)
Register callback to be used when the framebuffer changes.
int ksceDisplaySetInvertColors(int display, int enable)
Enable/disable color inversion for a display.
SceDisplayFrameBuf framebuf
SceDisplayFrameBuf information.
Definition: display.h:26
int ksceDisplaySetFrameBuf(const SceDisplayFrameBuf *pParam, int sync)
Set/Update framebuffer parameters.
int ksceDisplayWaitVblankStartMultiCB(unsigned int vcount)
Wait for vertical blank start with callback after specified number of vertical periods.
SceSize size
sizeof(SceDisplayFrameBufInfo)
Definition: display.h:22
int ksceDisplayRegisterVblankStartCallback(SceUID uid)
Register callback to be used at each vertical blank start.
int ksceDisplayWaitSetFrameBufCB(void)
Wait for vertical blank start with callback since last update of framebuffer.
int ksceDisplayGetVcountInternal(int display)
Number of vertical blank pulses up to now for a display.
int ksceDisplayWaitVblankStart(void)
Wait for vertical blank start.
int ksceDisplayRegisterFrameBufCallbackInternal(int display, SceUID uid)
Register callback to be used when the framebuffer changes for a display.
Structure used with ksceDisplaySetFrameBuf to set/update framebuffer.
Definition: display.h:56
Extended framebuffer information.
Definition: display.h:21
SceUID pid
Definition: debug.h:1
unsigned int SceSize
Definition: types.h:56
int SceUID
UIDs are used to describe many different kernel objects.
Definition: types.h:90