66 const uint32_t instruction[4];
75 void Test(
const std::string &name, uint32_t blend_function, uint32_t src_factor, uint32_t dst_factor);
78 void DrawAlphaStack(uint32_t blend_function, uint32_t src_factor, uint32_t dst_factor);
81 void DrawColorStack(uint32_t blend_function, uint32_t src_factor, uint32_t dst_factor);
84 void DrawColorAndAlphaStack(uint32_t blend_function, uint32_t src_factor, uint32_t dst_factor);
86 void DrawCheckerboardBackground()
const;
89 void DrawQuad(
float left,
float top,
float right,
float bottom, uint32_t color, uint32_t func, uint32_t sfactor,
90 uint32_t dfactor,
bool blend_rgb,
bool blend_alpha)
const;
92 void RenderToTextureStart(uint32_t stage, uint32_t texture_pitch)
const;
93 void RenderToTextureEnd()
const;