6#ifndef __DRAW_TESTS_H__
7#define __DRAW_TESTS_H__
13#define ATEST_METHOD_ALLFAIL 0
14#define ATEST_METHOD_ALLPASS 1
15#define ATEST_METHOD_LESS 2
16#define ATEST_METHOD_LESS_EQUAL 3
17#define ATEST_METHOD_EQUAL 4
18#define ATEST_METHOD_GREATER_EQUAL 5
19#define ATEST_METHOD_GREATER 6
20#define ATEST_METHOD_NOTEQUAL 7
22#define ATEST_KEEP_ALL 0
23#define ATEST_KEEP_ZBUFFER 1
24#define ATEST_KEEP_FRAMEBUFFER 2
25#define ATEST_KEEP_ALPHA 3
28#define DTEST_METHOD_PASS_ZERO 0
29#define DTEST_METHOD_PASS_ONE 1
32#define ZTEST_METHOD_ALLFAIL 0
33#define ZTEST_METHOD_ALLPASS 1
34#define ZTEST_METHOD_GREATER_EQUAL 2
35#define ZTEST_METHOD_GREATER 3
40 unsigned char compval;
59qword_t *
draw_scissor_area(qword_t *q,
int context,
int x0,
int x1,
int y0,
int y1);
qword_t * draw_enable_tests(qword_t *q, int context, zbuffer_t *z)
qword_t * draw_scissor_area(qword_t *q, int context, int x0, int x1, int y0, int y1)
qword_t * draw_disable_tests(qword_t *q, int context, zbuffer_t *z)
qword_t * draw_pixel_test(qword_t *q, int context, atest_t *atest, dtest_t *dtest, ztest_t *ztest)