Go to the source code of this file.
|
| int | sceDisplaySetMode (int mode, int width, int height) |
| | Set display mode.
|
| |
| int | sceDisplayGetMode (int *pmode, int *pwidth, int *pheight) |
| | Get display mode.
|
| |
| 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.
|
| |
| unsigned int | sceDisplayGetVcount (void) |
| | Number of vertical blank pulses up to now.
|
| |
| int | sceDisplayWaitVblankStart (void) |
| | Wait for vertical blank start.
|
| |
| int | sceDisplayWaitVblankStartCB (void) |
| | Wait for vertical blank start with callback.
|
| |
| int | sceDisplayWaitVblank (void) |
| | Wait for vertical blank.
|
| |
| int | sceDisplayWaitVblankCB (void) |
| | Wait for vertical blank with callback.
|
| |
| int | sceDisplayGetAccumulatedHcount (void) |
| | Get accumlated HSYNC count.
|
| |
| int | sceDisplayGetCurrentHcount (void) |
| | Get current HSYNC count.
|
| |
| float | sceDisplayGetFramePerSec (void) |
| | Get number of frames per second.
|
| |
| int | sceDisplayIsForeground (void) |
| | Get whether or not frame buffer is being displayed.
|
| |
| int | sceDisplayIsVblank (void) |
| | Test whether VBLANK is active.
|
| |
◆ PSP_DISPLAY_SETBUF_IMMEDIATE
Values for retro compatibility.
◆ PSP_DISPLAY_SETBUF_NEXTFRAME
◆ PspDisplayErrorCodes
| Enumerator |
|---|
| SCE_DISPLAY_ERROR_OK | |
| SCE_DISPLAY_ERROR_POINTER | |
| SCE_DISPLAY_ERROR_ARGUMENT | |
◆ PspDisplayMode
| Enumerator |
|---|
| PSP_DISPLAY_MODE_LCD | LCD MAX 480x272 at 59.94005995 Hz.
|
| PSP_DISPLAY_MODE_VESA1A | VESA VGA MAX 640x480 at 59.94047618Hz.
|
| PSP_DISPLAY_MODE_PSEUDO_VGA | PSEUDO VGA MAX 640x480 at 59.94005995Hz.
|
◆ PspDisplayPixelFormats
Framebuffer pixel formats.
| Enumerator |
|---|
| PSP_DISPLAY_PIXEL_FORMAT_565 | 16-bit RGB 5:6:5.
|
| PSP_DISPLAY_PIXEL_FORMAT_5551 | 16-bit RGBA 5:5:5:1.
|
| PSP_DISPLAY_PIXEL_FORMAT_4444 | |
| PSP_DISPLAY_PIXEL_FORMAT_8888 | |
◆ PspDisplaySetBufSync
| Enumerator |
|---|
| PSP_DISPLAY_SETBUF_NEXTHSYNC | Buffer change effective next hsync.
|
| PSP_DISPLAY_SETBUF_NEXTVSYNC | Buffer change effective next vsync.
|
◆ sceDisplayGetAccumulatedHcount()
| int sceDisplayGetAccumulatedHcount |
( |
void | | ) |
|
Get accumlated HSYNC count.
◆ sceDisplayGetCurrentHcount()
| int sceDisplayGetCurrentHcount |
( |
void | | ) |
|
◆ sceDisplayGetFrameBuf()
| int sceDisplayGetFrameBuf |
( |
void ** | topaddr, |
|
|
int * | bufferwidth, |
|
|
int * | pixelformat, |
|
|
int | sync ) |
Get Display Framebuffer information.
- Parameters
-
| topaddr | - pointer to void* to receive address of start of framebuffer |
| bufferwidth | - pointer to int to receive buffer width (must be power of 2) |
| pixelformat | - pointer to int to receive one of PspDisplayPixelFormats. |
| sync | - One of PspDisplaySetBufSync |
- Returns
- 0 on success
Referenced by pspScreenshotSave().
◆ sceDisplayGetFramePerSec()
| float sceDisplayGetFramePerSec |
( |
void | | ) |
|
Get number of frames per second.
◆ sceDisplayGetMode()
| int sceDisplayGetMode |
( |
int * | pmode, |
|
|
int * | pwidth, |
|
|
int * | pheight ) |
Get display mode.
- Parameters
-
| pmode | - Pointer to an integer to receive the current mode. |
| pwidth | - Pointer to an integer to receive the current width. |
| pheight | - Pointer to an integer to receive the current height, |
- Returns
- 0 on success
◆ sceDisplayGetVcount()
| unsigned int sceDisplayGetVcount |
( |
void | | ) |
|
Number of vertical blank pulses up to now.
◆ sceDisplayIsForeground()
| int sceDisplayIsForeground |
( |
void | | ) |
|
Get whether or not frame buffer is being displayed.
◆ sceDisplayIsVblank()
| int sceDisplayIsVblank |
( |
void | | ) |
|
Test whether VBLANK is active.
◆ sceDisplaySetFrameBuf()
| int sceDisplaySetFrameBuf |
( |
void * | topaddr, |
|
|
int | bufferwidth, |
|
|
int | pixelformat, |
|
|
int | sync ) |
◆ sceDisplaySetMode()
| int sceDisplaySetMode |
( |
int | mode, |
|
|
int | width, |
|
|
int | height ) |
Set display mode.
- Example1:
int width = 480;
int height = 272;
@ PSP_DISPLAY_MODE_LCD
LCD MAX 480x272 at 59.94005995 Hz.
Definition pspdisplay.h:47
int sceDisplaySetMode(int mode, int width, int height)
Set display mode.
- Parameters
-
| mode | - One of PspDisplayMode |
| width | - Width of screen in pixels. |
| height | - Height of screen in pixels. |
- Returns
- when error, a negative value is returned.
Referenced by sceGuDispBuffer().
◆ sceDisplayWaitVblank()
| int sceDisplayWaitVblank |
( |
void | | ) |
|
◆ sceDisplayWaitVblankCB()
| int sceDisplayWaitVblankCB |
( |
void | | ) |
|
Wait for vertical blank with callback.
◆ sceDisplayWaitVblankStart()
| int sceDisplayWaitVblankStart |
( |
void | | ) |
|
◆ sceDisplayWaitVblankStartCB()
| int sceDisplayWaitVblankStartCB |
( |
void | | ) |
|
Wait for vertical blank start with callback.