1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-26 19:17:52 +00:00

Gives the shader builders freer rein over what to use as inputs, and turns angles into a varying.

All dropping out during the never-ending diagnosis at play here.
This commit is contained in:
Thomas Harte
2019-01-22 22:20:12 -05:00
parent 727f2e2ba0
commit a8acadbe13
3 changed files with 39 additions and 39 deletions
+2 -2
View File
@@ -182,12 +182,12 @@ class ScanTarget: public Outputs::Display::ScanTarget {
normalising the data into one of four forms: RGB, 8-bit luminance,
phase-linked luminance or luminance+phase offset.
*/
static std::unique_ptr<Shader> composition_shader(InputDataType input_data_type);
std::unique_ptr<Shader> composition_shader() const;
/*!
Produces a shader that reads from a composition buffer and converts to host
output RGB, decoding composite or S-Video as necessary.
*/
static std::unique_ptr<Shader> conversion_shader(InputDataType input_data_type, DisplayType display_type, ColourSpace colour_space, float gamma_ratio, float brightness);
std::unique_ptr<Shader> conversion_shader() const;
};
}