comparison TaskManager/Test/test_render/spe/DrawSpan.h @ 109:028ffc9c0375 draft

Cerium cvs version
author gongo@gendarme.local
date Wed, 12 Nov 2008 17:39:33 +0900
parents
children 95e2046eb46f
comparison
equal deleted inserted replaced
108:6f3b3dd3c095 109:028ffc9c0375
1 #ifndef INCLUDED_TASK_DRAW_SPAN
2 #define INCLUDED_TASK_DRAW_SPAN
3
4 #ifndef INCLUDED_SCHED_TASK
5 # include "SchedTask.h"
6 #endif
7
8 typedef int8_t Sint8;
9 typedef uint8_t Uint8;
10 typedef int16_t Sint16;
11 typedef uint16_t Uint16;
12 typedef int32_t Sint32;
13 typedef uint32_t Uint32;
14 typedef unsigned short GLushort;
15
16 class DrawSpan : public SchedTask {
17 public:
18 SchedConstructor(DrawSpan);
19
20 int run(void *rbuf, void *wbuf);
21
22 float* zRow_init(int w, int h);
23 void linebuf_init(int *buf, int width, int rgb);
24
25 char* get_pixel(int tx, int ty, void *texture_image);
26 Uint32 get_rgb(int tx, int ty, void *texture);
27 };
28
29 #endif