comparison Renderer/Engine/viewerFB.h @ 895:bed529c55eda

add alignment of classes in SPU width and height are automatically set in frame buffer API
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 16 Jul 2010 17:23:49 +0900
parents 4f77768d7a7f
children
comparison
equal deleted inserted replaced
894:bfc61d38c004 895:bed529c55eda
1 #ifndef INCLUDED_VIEWER_FB 1 #ifndef INCLUDED_VIEWER_FB
2 #define INCLUDED_VIEWER_FB 2 #define INCLUDED_VIEWER_FB
3 3
4 #include "fb.h"
4 #include "ViewerDevice.h" 5 #include "ViewerDevice.h"
5 6
6 class ViewerFB : public ViewerDevice { 7 class ViewerFB : public ViewerDevice {
7 public: 8 public:
8 ViewerFB(TaskManager *manager) {}; 9 ViewerFB(TaskManager *manager) {};
9 ViewerFB(); 10 ViewerFB();
10 virtual ~ViewerFB(); 11 virtual ~ViewerFB();
12 ScreenInfo screen_info ;
11 13
12 /* override function */ 14 /* override function */
13 Uint32 *video_init(TaskManager *manager, int bpp, int width, int height); 15 Uint32 *video_init(TaskManager *manager, int bpp, int width, int height);
14 void clean_pixels(void); 16 void clean_pixels(void);
15 void clear_screen(); 17 void clear_screen();