view TaskManager/Test/test_render/task/CreateSpan.h @ 180:e3b7776b1420 draft

いろいろ fix 。詳しくは TaskManager/Changelog、test_render/Changelog を
author gongo@localhost.localdomain
date Mon, 22 Dec 2008 16:09:57 +0900
parents be90197f90d4
children e75f9eb97180
line wrap: on
line source

#ifndef INCLUDED_CREATE_SPAN
#define INCLUDED_CREATE_SPAN

#ifndef INCLUDED_SCHED_TASK
#  include "SchedTask.h"
#endif

#ifndef INCLUDED_POLYGON_PACK
#  include "polygon_pack.h"
#endif

#ifndef INCLUDED_SPAN_PACK
#  include "SpanPack.h"
#endif

class CreateSpan : public SchedTask {
public:
    SchedConstructor(CreateSpan);
    
    int run(void *rbuf, void *wbuf);
    void half_triangle(SpanPackPtr *spackList,
		       int charge_y_top, int charge_y_end,
		       uint32 *tex_addr, int tex_width, int tex_height,
		       int tex_scale_max,
		       VertexPack *vMin,VertexPack *vMid,VertexPack *vMid1,
		       int length_y, float tex_y_len);
#if 0
    void setTileInfoList(SpanPtr span);
    void setTileInfo(TileInfoPtr tile, int xpos, int ypos,
		     int tex_width, uint32* tex_addr_top);
#endif
};

#endif