annotate TaskManager/Test/simple_render/spe/CreatePolygonPack.h @ 106:c9efdb17e8d2

*** empty log message ***
author gongo
date Tue, 04 Mar 2008 15:33:23 +0900
parents 3e331f7576a1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
83
9b0b11bf4085 *** empty log message ***
gongo
parents:
diff changeset
1 #ifndef INCLUDED_TASK_CREATE_POLYGON_PACK
9b0b11bf4085 *** empty log message ***
gongo
parents:
diff changeset
2 #define INCLUDED_TASK_CREATE_POLYGON_PACK
9b0b11bf4085 *** empty log message ***
gongo
parents:
diff changeset
3
9b0b11bf4085 *** empty log message ***
gongo
parents:
diff changeset
4 #ifndef INCLUDED_SCHED_TASK
9b0b11bf4085 *** empty log message ***
gongo
parents:
diff changeset
5 # include "SchedTask.h"
9b0b11bf4085 *** empty log message ***
gongo
parents:
diff changeset
6 #endif
9b0b11bf4085 *** empty log message ***
gongo
parents:
diff changeset
7
9b0b11bf4085 *** empty log message ***
gongo
parents:
diff changeset
8 class CreatePolygonPack : public SchedTask {
9b0b11bf4085 *** empty log message ***
gongo
parents:
diff changeset
9 public:
9b0b11bf4085 *** empty log message ***
gongo
parents:
diff changeset
10 CreatePolygonPack(TaskListPtr _tlist, TaskPtr _task,
9b0b11bf4085 *** empty log message ***
gongo
parents:
diff changeset
11 void* _rbuf, void* _wbuf, DmaManager* _con)
9b0b11bf4085 *** empty log message ***
gongo
parents:
diff changeset
12 :SchedTask(_tlist, _task, _rbuf, _wbuf, _con) {}
88
504899860e66 *** empty log message ***
gongo
parents: 85
diff changeset
13 void read(void);
83
9b0b11bf4085 *** empty log message ***
gongo
parents:
diff changeset
14 int run(void *readbuf, void *writebuf);
105
3e331f7576a1 *** empty log message ***
gongo
parents: 88
diff changeset
15 void write(void);
85
9b96b190cb73 *** empty log message ***
gongo
parents: 83
diff changeset
16
83
9b0b11bf4085 *** empty log message ***
gongo
parents:
diff changeset
17 private:
9b0b11bf4085 *** empty log message ***
gongo
parents:
diff changeset
18 void rotate(float *xyz, float *matrix);
85
9b96b190cb73 *** empty log message ***
gongo
parents: 83
diff changeset
19 inline float sum_across_float4(vector float v);
83
9b0b11bf4085 *** empty log message ***
gongo
parents:
diff changeset
20 };
9b0b11bf4085 *** empty log message ***
gongo
parents:
diff changeset
21
9b0b11bf4085 *** empty log message ***
gongo
parents:
diff changeset
22 #endif