0
|
1 #ifndef INCLUDED_VIEWER_PS3
|
|
2 #define INCLUDED_VIEWER_PS3
|
|
3
|
|
4 #include "fb.h"
|
|
5 #include "types.h"
|
|
6 #include "ps3fb/cp_vt.h"
|
|
7 #include "ps3fb/cp_fb.h"
|
|
8
|
|
9 #include "ViewerDevice.h"
|
|
10
|
|
11 class ViewerPS3 : public ViewerDevice {
|
|
12 public:
|
|
13 ViewerPS3(TaskManager *manager) {};
|
|
14 ViewerPS3();
|
|
15 virtual ~ViewerPS3();
|
|
16
|
|
17 ScreenInfo screen_info ;
|
|
18 cp_vt vt;
|
|
19 cp_fb fb;
|
|
20 uint32_t frame_ndx;
|
|
21
|
|
22 ScreenInfo get_fbdev_addr();
|
|
23
|
|
24 /* override function */
|
|
25 uint32_t *video_init(TaskManager *manager, int bpp, int width, int height);
|
|
26 void clean_pixels(void);
|
|
27 void clear_screen();
|
|
28 void free_device();
|
|
29 uint32_t* flip_screen(uint32_t *);
|
|
30
|
|
31 };
|
|
32
|
|
33 #endif
|