63 const uint32_t instruction[4];
73 void TestDetailed(
const std::string &name, uint32_t blend_function, uint32_t src_factor, uint32_t dst_factor);
77 void TestSpot(
const std::string &name, uint32_t blend_function, uint32_t src_factor);
80 void DrawAlphaStack(uint32_t blend_function, uint32_t src_factor, uint32_t dst_factor,
float left = 0.f,
81 float top = 0.f,
float quad_size = 256.f,
float increment = 24.f);
84 void DrawColorStack(uint32_t blend_function, uint32_t src_factor, uint32_t dst_factor,
float left = 0.f,
85 float top = 0.f,
float color_swatch_size = 64.f);
88 void DrawColorAndAlphaStack(uint32_t blend_function, uint32_t src_factor, uint32_t dst_factor,
float left = 0.f,
89 float top = 0.f,
float color_swatch_size = 64.f);
91 void DrawCheckerboardBackground(
bool use_small_checkers =
false)
const;
95 void DrawQuad(
float left,
float top,
float right,
float bottom, uint32_t color, uint32_t func, uint32_t sfactor,
96 uint32_t dfactor,
bool blend_rgb,
bool blend_alpha)
const;
98 void RenderToTextureStart(uint32_t stage, uint32_t texture_pitch)
const;
99 void RenderToTextureEnd()
const;