comparison Renderer/Engine/ViewerDevice.h @ 981:a193a851b5e3

add double buffering frame device
author root@henri.cr.ie.u-ryukyu.ac.jp
date Thu, 30 Sep 2010 23:54:08 +0900
parents bed529c55eda
children
comparison
equal deleted inserted replaced
980:4ce73df9ac61 981:a193a851b5e3
15 int height; 15 int height;
16 int bpp; 16 int bpp;
17 17
18 /* override function */ 18 /* override function */
19 virtual Uint32 *video_init(TaskManager *manager, int bpp, int width, int height) = 0; 19 virtual Uint32 *video_init(TaskManager *manager, int bpp, int width, int height) = 0;
20 virtual Uint32 * flip_screen(Uint32 *v) { return v; }
20 virtual void clean_pixels() = 0; 21 virtual void clean_pixels() = 0;
21 virtual void clear_screen() = 0; 22 virtual void clear_screen() = 0;
22 virtual void free_device() = 0; 23 virtual void free_device() = 0;
23 }; 24 };
24 25