vitasdk
Documentation of the vitasdk
sharedfb.h
Go to the documentation of this file.
1
7#ifndef _PSP2_SHAREDFB_H_
8#define _PSP2_SHAREDFB_H_
9
10#include <vitasdk/build_utils.h>
11#include <psp2/types.h>
12#include <psp2common/defs.h>
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18typedef struct SceSharedFbInfo {
19 void *fb_base;
21 void *fb_base2;
22 int unk0[6];
23 int stride;
24 int width;
25 int height;
26 int unk1;
27 int index;
28 int unk2[4];
29 int vsync;
30 int unk3[3];
33
34SceUID _sceSharedFbOpen(int index, int sysver);
39
40static inline
41SceUID sceSharedFbOpen(int index)
42{
44};
45
46#ifdef __cplusplus
47}
48#endif
49
50#endif /* _PSP2_SHAREDFB_H_ */
#define VITASDK_BUILD_ASSERT_EQ(__size__, __name__)
Definition build_utils.h:13
#define PSP2_SDK_VERSION
Definition defs.h:11
int unk3[3]
Definition sharedfb.h:30
int sceSharedFbGetInfo(SceUID fb_id, SceSharedFbInfo *info)
int unk0[6]
Definition sharedfb.h:22
void * fb_base
Definition sharedfb.h:19
int width
Definition sharedfb.h:24
int unk2[4]
Definition sharedfb.h:28
int unk1
Definition sharedfb.h:26
int stride
Definition sharedfb.h:23
int sceSharedFbBegin(SceUID fb_id, SceSharedFbInfo *info)
int vsync
Definition sharedfb.h:29
int height
Definition sharedfb.h:25
int sceSharedFbClose(SceUID fb_id)
void * fb_base2
Definition sharedfb.h:21
int sceSharedFbEnd(SceUID fb_id)
SceUID _sceSharedFbOpen(int index, int sysver)
int index
Definition sharedfb.h:27
int fb_size
Definition sharedfb.h:20
Definition sharedfb.h:18
int SceUID
UIDs are used to describe many different kernel objects.
Definition types.h:90