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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
1 #ifndef INCLUDED_TASK_DRAW_SPAN
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
2 #define INCLUDED_TASK_DRAW_SPAN
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
3
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
4 #ifndef INCLUDED_SCHED_TASK
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
5 # include "SchedTask.h"
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
6 #endif
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
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
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
12 typedef int8_t Sint8;
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
13 typedef uint8_t Uint8;
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
14 typedef int16_t Sint16;
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
15 typedef uint16_t Uint16;
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
16 typedef int32_t Sint32;
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
17 typedef uint32_t Uint32;
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
18 typedef unsigned short GLushort;
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
19
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
20 class DrawSpan : public SchedTask {
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
21 public:
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
22 SchedConstructor(DrawSpan);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
23
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
24 int run(void *rbuf, void *wbuf);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
25
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
26 float* zRow_init(int w, int h);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
27 void linebuf_init(int *buf, int width, int rgb);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
28
166
gongo@localhost.localdomain
parents: 156
diff changeset
29 char* get_pixel(int tx, int ty, uint32 *texture_image);
gongo@localhost.localdomain
parents: 156
diff changeset
30 Uint32 get_rgb(int tx, int ty, uint32 *addr);
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
31 };
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
32
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
33 #endif