PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
draw.h
Go to the documentation of this file.
1
6#ifndef __DRAW_H__
7#define __DRAW_H__
8
9#include <tamtypes.h>
10
11#include <draw_blending.h>
12#include <draw_buffers.h>
13#include <draw_dithering.h>
14#include <draw_fog.h>
15#include <draw_masking.h>
16#include <draw_primitives.h>
17#include <draw_sampling.h>
18#include <draw_tests.h>
19#include <draw_types.h>
20
21#include <draw2d.h>
22#include <draw3d.h>
23
24#define DRAW_DISABLE 0
25#define DRAW_ENABLE 1
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
32qword_t *draw_setup_environment(qword_t *q, int context, framebuffer_t *frame, zbuffer_t *z);
33
35qword_t *draw_clear(qword_t *q, int context, float x, float y, float width, float height, int r, int g, int b);
36
38qword_t *draw_finish(qword_t *q);
39
41void draw_wait_finish(void);
42
44qword_t *draw_texture_transfer(qword_t *q, void *src, int width, int height, int psm, int dest, int dest_width);
45
47qword_t *draw_texture_flush(qword_t *q);
48
49#ifdef __cplusplus
50}
51#endif
52
53#endif /* __DRAW_H__ */
void draw_wait_finish(void)
Definition draw.c:201
qword_t * draw_finish(qword_t *q)
Definition draw.c:189
qword_t * draw_clear(qword_t *q, int context, float x, float y, float width, float height, int r, int g, int b)
Definition draw.c:149
qword_t * draw_setup_environment(qword_t *q, int context, framebuffer_t *frame, zbuffer_t *z)
Definition draw.c:11
qword_t * draw_texture_flush(qword_t *q)
Definition draw.c:209
qword_t * draw_texture_transfer(qword_t *q, void *src, int width, int height, int psm, int dest, int dest_width)
Definition draw.c:224