Mercurial > hg > Members > kono > Cerium
comparison TaskManager/Test/test_render/spe/DrawSpan.h @ 391:136ff78c9e74
fix...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 07 Aug 2009 02:24:06 +0900 |
parents | 016d45583994 |
children | dd2ab68e4036 |
comparison
equal
deleted
inserted
replaced
390:588dfa93f726 | 391:136ff78c9e74 |
---|---|
2 #define INCLUDED_TASK_DRAW_SPAN | 2 #define INCLUDED_TASK_DRAW_SPAN |
3 | 3 |
4 #include "SchedTask.h" | 4 #include "SchedTask.h" |
5 #include "Tapestry.h" | 5 #include "Tapestry.h" |
6 #include "SpanPack.h" | 6 #include "SpanPack.h" |
7 #if !USE_MEMHASH | |
8 #include "TileHash.h" | |
9 #endif | |
10 | 7 |
11 class DrawSpan : public SchedTask { | 8 class DrawSpan : public SchedTask { |
12 public: | 9 public: |
13 SchedConstructor(DrawSpan); | 10 SchedConstructor(DrawSpan); |
14 | 11 |
15 int *linebuf; | 12 int *linebuf; |
16 float *zRow; | 13 float *zRow; |
17 #if !USE_MEMHASH | |
18 TileHashPtr hash; | |
19 #endif | |
20 TileListPtr tileList; | 14 TileListPtr tileList; |
21 int doneWrite; | 15 int doneWrite; |
22 | 16 |
23 ~DrawSpan(void); | 17 ~DrawSpan(void); |
24 | 18 |
25 int run(void *rbuf, void *wbuf); | 19 int run(void *rbuf, void *wbuf); |
26 | 20 |
27 int* linebuf_init(int width, int height, int rgb); | 21 int* linebuf_init(int width, int height, int rgb); |
28 float* zRow_init(int width, int height); | 22 float* zRow_init(int width, int height); |
29 TilePtr set_rgb(memaddr addr, int wait_tag); | |
30 uint32 get_rgb(int tx, int ty, TilePtr tile); | 23 uint32 get_rgb(int tx, int ty, TilePtr tile); |
31 TilePtr isAvailableTile(memaddr addr); | |
32 memaddr getTile(int tx, int ty, int tw, memaddr tex_addr_top); | 24 memaddr getTile(int tx, int ty, int tw, memaddr tex_addr_top); |
33 int getTexBlock(int tx, int ty, int twidth); | 25 int getTexBlock(int tx, int ty, int twidth); |
34 void writebuffer(unsigned int display, int width, int height, | 26 void writebuffer(unsigned int display, int width, int height, |
35 int screen_width); | 27 int screen_width); |
36 void updateBuffer(float zpos, int rangex, int x, int y, | 28 void updateBuffer(float zpos, int rangex, int x, int y, |