Mercurial > hg > Game > Cerium
view Renderer/Engine/viewerFB.h @ 895:b662e9dd26b0 draft
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 | c7afc21e448d |
children |
line wrap: on
line source
#ifndef INCLUDED_VIEWER_FB #define INCLUDED_VIEWER_FB #include "fb.h" #include "ViewerDevice.h" class ViewerFB : public ViewerDevice { public: ViewerFB(TaskManager *manager) {}; ViewerFB(); virtual ~ViewerFB(); ScreenInfo screen_info ; /* override function */ Uint32 *video_init(TaskManager *manager, int bpp, int width, int height); void clean_pixels(void); void clear_screen(); void free_device(); }; #endif