|
PS2SDK
PS2 Homebrew Libraries
|
Include dependency graph for draw_tests.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | atest_t |
| struct | dtest_t |
| struct | ztest_t |
Macros | |
| #define | ATEST_METHOD_ALLFAIL 0 |
| #define | ATEST_METHOD_ALLPASS 1 |
| #define | ATEST_METHOD_LESS 2 |
| #define | ATEST_METHOD_LESS_EQUAL 3 |
| #define | ATEST_METHOD_EQUAL 4 |
| #define | ATEST_METHOD_GREATER_EQUAL 5 |
| #define | ATEST_METHOD_GREATER 6 |
| #define | ATEST_METHOD_NOTEQUAL 7 |
| #define | ATEST_KEEP_ALL 0 |
| #define | ATEST_KEEP_ZBUFFER 1 |
| #define | ATEST_KEEP_FRAMEBUFFER 2 |
| #define | ATEST_KEEP_ALPHA 3 |
| #define | DTEST_METHOD_PASS_ZERO 0 |
| #define | DTEST_METHOD_PASS_ONE 1 |
| #define | ZTEST_METHOD_ALLFAIL 0 |
| #define | ZTEST_METHOD_ALLPASS 1 |
| #define | ZTEST_METHOD_GREATER_EQUAL 2 |
| #define | ZTEST_METHOD_GREATER 3 |
Functions | |
| qword_t * | draw_scissor_area (qword_t *q, int context, int x0, int x1, int y0, int y1) |
| qword_t * | draw_pixel_test (qword_t *q, int context, atest_t *atest, dtest_t *dtest, ztest_t *ztest) |
| qword_t * | draw_disable_tests (qword_t *q, int context, zbuffer_t *z) |
| qword_t * | draw_enable_tests (qword_t *q, int context, zbuffer_t *z) |
Draw library testing functions
Definition in file draw_tests.h.
| struct atest_t |
Definition at line 37 of file draw_tests.h.
| Data Fields | ||
|---|---|---|
| unsigned char | enable | |
| unsigned char | method | |
| unsigned char | compval | |
| unsigned char | keep | |
| struct dtest_t |
Definition at line 44 of file draw_tests.h.
| Data Fields | ||
|---|---|---|
| unsigned char | enable | |
| unsigned char | pass | |
| struct ztest_t |
Definition at line 49 of file draw_tests.h.
| Data Fields | ||
|---|---|---|
| unsigned char | enable | |
| unsigned char | method | |
| #define DTEST_METHOD_PASS_ZERO 0 |
Destination Alpha Testing
Definition at line 28 of file draw_tests.h.
| #define ZTEST_METHOD_ALLFAIL 0 |
Depth Test
Definition at line 32 of file draw_tests.h.
| qword_t* draw_scissor_area | ( | qword_t * | q, |
| int | context, | ||
| int | x0, | ||
| int | x1, | ||
| int | y0, | ||
| int | y1 | ||
| ) |
Scissoring pixel test area
Definition at line 273 of file draw_environment.c.
| qword_t* draw_pixel_test | ( | qword_t * | q, |
| int | context, | ||
| atest_t * | atest, | ||
| dtest_t * | dtest, | ||
| ztest_t * | ztest | ||
| ) |
Pixel Testing
Definition at line 286 of file draw_environment.c.
| qword_t* draw_disable_tests | ( | qword_t * | q, |
| int | context, | ||
| zbuffer_t * | z | ||
| ) |