Mercurial > hg > Members > e085722 > Cerium
diff include/Cerium/viewerPS3.h @ 0:04e28d8d3c6f
first commit
author | Daiki KINJYO <e085722@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 08 Nov 2010 01:23:25 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/include/Cerium/viewerPS3.h Mon Nov 08 01:23:25 2010 +0900 @@ -0,0 +1,33 @@ +#ifndef INCLUDED_VIEWER_PS3 +#define INCLUDED_VIEWER_PS3 + +#include "fb.h" +#include "types.h" +#include "ps3fb/cp_vt.h" +#include "ps3fb/cp_fb.h" + +#include "ViewerDevice.h" + +class ViewerPS3 : public ViewerDevice { +public: + ViewerPS3(TaskManager *manager) {}; + ViewerPS3(); + virtual ~ViewerPS3(); + + ScreenInfo screen_info ; + cp_vt vt; + cp_fb fb; + uint32_t frame_ndx; + + ScreenInfo get_fbdev_addr(); + + /* override function */ + uint32_t *video_init(TaskManager *manager, int bpp, int width, int height); + void clean_pixels(void); + void clear_screen(); + void free_device(); + uint32_t* flip_screen(uint32_t *); + +}; + +#endif