Mercurial > hg > Members > kono > Cerium
annotate TaskManager/Test/test_render/spe/DrawSpan.h @ 167:c8b868871dce
DrawSpan で使う Tile の Hash の扱いは class TileHash を生成する事に。
author | gongo@localhost.localdomain |
---|---|
date | Tue, 09 Dec 2008 15:07:31 +0900 |
parents | e297ecaf2b4d |
children | cf2aa37d2fe7 |
rev | line source |
---|---|
109 | 1 #ifndef INCLUDED_TASK_DRAW_SPAN |
2 #define INCLUDED_TASK_DRAW_SPAN | |
3 | |
4 #ifndef INCLUDED_SCHED_TASK | |
5 # include "SchedTask.h" | |
6 #endif | |
7 | |
167
c8b868871dce
DrawSpan で使う Tile の Hash の扱いは class TileHash を生成する事に。
gongo@localhost.localdomain
parents:
166
diff
changeset
|
8 #ifndef INCLUDED_TAPESTRY |
c8b868871dce
DrawSpan で使う Tile の Hash の扱いは class TileHash を生成する事に。
gongo@localhost.localdomain
parents:
166
diff
changeset
|
9 # include "Tapestry.h" |
c8b868871dce
DrawSpan で使う Tile の Hash の扱いは class TileHash を生成する事に。
gongo@localhost.localdomain
parents:
166
diff
changeset
|
10 #endif |
c8b868871dce
DrawSpan で使う Tile の Hash の扱いは class TileHash を生成する事に。
gongo@localhost.localdomain
parents:
166
diff
changeset
|
11 |
109 | 12 typedef int8_t Sint8; |
13 typedef uint8_t Uint8; | |
14 typedef int16_t Sint16; | |
15 typedef uint16_t Uint16; | |
16 typedef int32_t Sint32; | |
17 typedef uint32_t Uint32; | |
18 typedef unsigned short GLushort; | |
19 | |
20 class DrawSpan : public SchedTask { | |
21 public: | |
22 SchedConstructor(DrawSpan); | |
23 | |
24 int run(void *rbuf, void *wbuf); | |
25 | |
26 float* zRow_init(int w, int h); | |
27 void linebuf_init(int *buf, int width, int rgb); | |
28 | |
166 | 29 char* get_pixel(int tx, int ty, uint32 *texture_image); |
30 Uint32 get_rgb(int tx, int ty, uint32 *addr); | |
109 | 31 }; |
32 | |
33 #endif |