standalone: allow scaler to cut off the letterbox
[pcsx_rearmed.git] / plugins / gpulib / gpu_timing.h
CommitLineData
464eb6c2 1
2// very conservative and wrong
963f4162 3#define gput_fill(w, h) (23 + (4 + (w) / 32u) * (h))
464eb6c2 4#define gput_copy(w, h) ((w) * (h))
5#define gput_poly_base() (23)
6#define gput_poly_base_t() (gput_poly_base() + 90)
7#define gput_poly_base_g() (gput_poly_base() + 144)
8#define gput_poly_base_gt() (gput_poly_base() + 225)
9#define gput_quad_base() gput_poly_base()
10#define gput_quad_base_t() gput_poly_base_t()
11#define gput_quad_base_g() gput_poly_base_g()
12#define gput_quad_base_gt() gput_poly_base_gt()
13#define gput_line(k) (8 + (k))
14#define gput_sprite(w, h) (8 + ((w) / 2u) * (h))
15