annotate Renderer/test_render/task/CreateSpan.h @ 283:55ea4465b1a2

fix test_render
author e065746@localhost.localdomain
date Fri, 05 Jun 2009 16:49:12 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
283
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
1 #ifndef INCLUDED_CREATE_SPAN
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
2 #define INCLUDED_CREATE_SPAN
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
3
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
4 #ifndef INCLUDED_SCHED_TASK
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
5 # include "SchedTask.h"
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
6 #endif
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
7
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
8 #ifndef INCLUDED_POLYGON_PACK
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
9 # include "polygon_pack.h"
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
10 #endif
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
11
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
12 #ifndef INCLUDED_SPAN_PACK
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
13 # include "SpanPack.h"
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
14 #endif
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
15
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
16 class CreateSpan : public SchedTask {
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
17 public:
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
18 SchedConstructor(CreateSpan);
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
19
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
20 int run(void *rbuf, void *wbuf);
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
21 void half_triangle(SpanPackPtr *spackList,
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
22 int charge_y_top, int charge_y_end,
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
23 TriangleTexInfoPtr tex_info,
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
24 VertexPack *vMin,VertexPack *vMid,VertexPack *vMid1,
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
25 int length_y, float tex_y_len);
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
26 };
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
27
55ea4465b1a2 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
28 #endif