view Renderer/Engine/viewerFB.h @ 1079:7823233584da draft

single cpu run on Mac OS X
author one@zeus.cr.ie.u-ryukyu.ac.jp
date Sat, 18 Dec 2010 11:04:58 +0900
parents b662e9dd26b0
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