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