summaryrefslogtreecommitdiff
path: root/include/user/display.h
blob: 645f7b9fc274b29e0b5dfb76865bb253e5c5b18c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
	Vita Development Suite Libraries
*/

#ifndef _VDSUITE_USER_DISPLAY_H
#define _VDSUITE_USER_DISPLAY_H

#include_next <display.h>

#ifdef __cplusplus
extern "C" {
#endif

/**
 * Primary display index
 */
int sceDisplayGetPrimaryHead(void);

/**
 * Get maximum framebuffer resolution
 *
 * @param[out] width - Maximum width
 * @param[out] height - Maximum height
 *
 * @return 0 on success, < 0 on error.
*/
int sceDisplayGetMaximumFrameBufResolution(int *width, int *height);

/**
 * Number of vertical blank pulses up to now for a display
 *
 * @param[in] display - Display index
 */
int sceDisplayGetVcountInternal(int display);

#ifdef __cplusplus
}
#endif

#endif /* _VDSUITE_USER_DISPLAY_H */