Mercurial > hg > Members > kono > Cerium
comparison Renderer/Engine/viewer.h @ 925:9da903858400
add profile in Redering Engine
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 30 Jul 2010 16:57:17 +0900 |
parents | 655e11f6e437 |
children | 4e6030ddde45 |
comparison
equal
deleted
inserted
replaced
924:ad6903dd6419 | 925:9da903858400 |
---|---|
17 class Application; | 17 class Application; |
18 | 18 |
19 class Viewer : public MainLoop { | 19 class Viewer : public MainLoop { |
20 | 20 |
21 public: | 21 public: |
22 Viewer(){}; | 22 Viewer(){ profile = 0;}; |
23 Viewer(TaskManager *manager, ViewerDevice *dev, int bpp, int width, int height, int spenum); | 23 Viewer(TaskManager *manager, ViewerDevice *dev, int bpp, int width, int height, int spenum); |
24 | 24 |
25 virtual ~Viewer() {} | 25 virtual ~Viewer() {} |
26 BASE_NEW_DELETE(Viewer); | 26 BASE_NEW_DELETE(Viewer); |
27 | 27 |
49 | 49 |
50 Uint32 video_flags; | 50 Uint32 video_flags; |
51 Uint32 *pixels; | 51 Uint32 *pixels; |
52 | 52 |
53 int mem_flag; | 53 int mem_flag; |
54 int profile; | |
54 | 55 |
55 SceneGraphRoot *sgroot; | 56 SceneGraphRoot *sgroot; |
56 | 57 |
57 //Uint32 *video_init(TaskManager *manager, int bpp, int width, int height); | 58 //Uint32 *video_init(TaskManager *manager, int bpp, int width, int height); |
58 void init(); | 59 void init(); |