Mercurial > hg > Members > kono > Cerium
view Renderer/Engine/ViewerDevice.h @ 760:24a37fe8419a
first of all commit, not work Rendering/Test/create_task
author | hiroki |
---|---|
date | Thu, 04 Feb 2010 14:46:09 +0900 |
parents | 62d94ad0cef3 |
children | bed529c55eda |
line wrap: on
line source
#ifndef INCLUDED_VIEWER_DEV #define INCLUDED_VIEWER_DEV #include "TaskManager.h" #include "SDL.h" class ViewerDevice { public: ViewerDevice(); virtual ~ViewerDevice(); ViewerDevice(TaskManager *m) {}; /* override function */ virtual Uint32 *video_init(TaskManager *manager, int bpp, int width, int height) = 0; virtual void clean_pixels() = 0; virtual void clear_screen() = 0; virtual void free_device() = 0; }; #endif