Mercurial > hg > Members > kono > Cerium
comparison TaskManager/Test/simple_render/SpanPackList.h @ 109:5c194c71eca8
Cerium cvs version
author | gongo@gendarme.local |
---|---|
date | Wed, 12 Nov 2008 17:39:33 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
108:6f3b3dd3c095 | 109:5c194c71eca8 |
---|---|
1 #ifndef INCLUDED_SPAN_PACK_LIST | |
2 #define INCLUDED_SPAN_PACK_LIST | |
3 | |
4 #ifndef INCLUDED_VIEWER_TYPES | |
5 # include "viewer_types.h" | |
6 #endif | |
7 | |
8 #ifndef INCLUDED_SPAN_PACK | |
9 #include "SpanPack.h" | |
10 #endif | |
11 | |
12 // if window_height = 480 (480/8/6 = 10) | |
13 // if window_height = 1080 (1080/8/6 = 22.5 => 23) | |
14 #define MAX_SIZE_SPAN_PACK \ | |
15 ((MAX_HEIGHT / TEXTURE_SPLIT_PIXEL / SPE_NUM_MAX) + 1) | |
16 | |
17 class SpanPackList { | |
18 public: | |
19 SpanPack packs[MAX_SIZE_SPAN_PACK]; | |
20 int length; | |
21 SpanPackList *next; | |
22 }; | |
23 | |
24 | |
25 #endif |