109
|
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
|