Mercurial > hg > Game > Cerium
view Renderer/Engine/viewerFB.h @ 1710:d32d5659695a draft
run gpu example
author | Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Oct 2013 18:05:11 +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