Mercurial > hg > Members > kono > Cerium
annotate TaskManager/Test/test_render/spe/DrawSpan.h @ 266:5c9dbd54cd51
merge
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 04 Jun 2009 00:00:09 +0900 |
parents | e742053c4c87 |
children | 907bda4a1a14 |
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 | |
177 | 26 void linebuf_init(int *buf, int width, int rgb); |
166 | 27 Uint32 get_rgb(int tx, int ty, uint32 *addr); |
109 | 28 }; |
29 | |
30 #endif |