6#ifndef __DRAW_BUFFERS_H__
7#define __DRAW_BUFFERS_H__
12#define TEXTURE_COMPONENTS_RGB 0
13#define TEXTURE_COMPONENTS_RGBA 1
16#define TEXTURE_FUNCTION_MODULATE 0
17#define TEXTURE_FUNCTION_DECAL 1
18#define TEXTURE_FUNCTION_HIGHLIGHT 2
19#define TEXTURE_FUNCTION_HIGHLIGHT2 3
22#define CLUT_STORAGE_MODE1 0
23#define CLUT_STORAGE_MODE2 1
28#define CLUT_LOAD_COPY_CBP0 2
29#define CLUT_LOAD_COPY_CBP1 3
30#define CLUT_COMPARE_CBP0 4
31#define CLUT_COMPARE_CBP1 5
36 unsigned char components;
37 unsigned char function;
66 unsigned int storage_mode;
68 unsigned int load_method;
unsigned char draw_log2(unsigned int x)
qword_t * draw_framebuffer(qword_t *q, int context, framebuffer_t *frame)
qword_t * draw_clut_offset(qword_t *q, int cbw, int u, int v)
qword_t * draw_zbuffer(qword_t *q, int context, zbuffer_t *zbuffer)
qword_t * draw_texturebuffer(qword_t *q, int context, texbuffer_t *texbuffer, clutbuffer_t *clut)
qword_t * draw_clutbuffer(qword_t *q, int context, int psm, clutbuffer_t *clut)