11
struct rdp_poly_state;
25
bool Blend2Cycle(UINT32* fr, UINT32* fg, UINT32* fb, int dith, int adseed, int partialreject, int bsel0, int bsel1);
26
bool Blend1Cycle(UINT32* fr, UINT32* fg, UINT32* fb, int dith, int adseed, int partialreject, int special_bsel);
20
bool Blend2Cycle(UINT32* fr, UINT32* fg, UINT32* fb, int dith, int adseed, int partialreject, int bsel0, int bsel1, rdp_span_aux *userdata, const rdp_poly_state& object);
21
bool Blend1Cycle(UINT32* fr, UINT32* fg, UINT32* fb, int dith, int adseed, int partialreject, int special_bsel, rdp_span_aux *userdata, const rdp_poly_state& object);
28
23
void SetMachine(running_machine& machine) { m_machine = &machine; }
29
void SetProcessor(Processor* rdp) { m_rdp = rdp; }
24
void SetProcessor(n64_rdp* rdp) { m_rdp = rdp; }
31
26
running_machine &machine() const { assert(m_machine != NULL); return *m_machine; }
38
29
running_machine* m_machine;
41
void BlendEquationCycle0(INT32* r, INT32* g, INT32* b, int bsel_special);
42
void BlendEquationCycle1(INT32* r, INT32* g, INT32* b, int bsel_special);
44
bool AlphaCompare(UINT8 alpha);
32
void BlendEquationCycle0(INT32* r, INT32* g, INT32* b, int bsel_special, rdp_span_aux *userdata, const rdp_poly_state& object);
33
void BlendEquationCycle1(INT32* r, INT32* g, INT32* b, int bsel_special, rdp_span_aux *userdata, const rdp_poly_state& object);
35
bool AlphaCompare(UINT8 alpha, const rdp_span_aux *userdata, const rdp_poly_state& object);
46
37
void DitherRGB(INT32* r, INT32* g, INT32* b, int dith);
47
38
void DitherA(UINT8* a, int dith);
54
41
#endif // _VIDEO_RDPBLEND_H_