Mercurial > hg > Members > kono > Cerium
view TaskManager/Test/test_render/spe/DrawSpan.h @ 109:5c194c71eca8
Cerium cvs version
author | gongo@gendarme.local |
---|---|
date | Wed, 12 Nov 2008 17:39:33 +0900 |
parents | |
children | 776eca0daa02 |
line wrap: on
line source
#ifndef INCLUDED_TASK_DRAW_SPAN #define INCLUDED_TASK_DRAW_SPAN #ifndef INCLUDED_SCHED_TASK # include "SchedTask.h" #endif typedef int8_t Sint8; typedef uint8_t Uint8; typedef int16_t Sint16; typedef uint16_t Uint16; typedef int32_t Sint32; typedef uint32_t Uint32; typedef unsigned short GLushort; class DrawSpan : public SchedTask { public: SchedConstructor(DrawSpan); int run(void *rbuf, void *wbuf); float* zRow_init(int w, int h); void linebuf_init(int *buf, int width, int rgb); char* get_pixel(int tx, int ty, void *texture_image); Uint32 get_rgb(int tx, int ty, void *texture); }; #endif