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

Disallows smaller buffer use for 'sharp' displays and tightens sampling window.

This commit is contained in:
Thomas Harte
2019-06-03 15:57:31 -04:00
parent d80b0cbf90
commit b860ba2ee3
3 changed files with 12 additions and 2 deletions
+6
View File
@@ -238,6 +238,12 @@ class ScanTarget: public Outputs::Display::ScanTarget {
void set_sampling_window(int output_Width, int output_height, Shader &target);
std::string sampling_function() const;
/*!
@returns true if the current display type is a 'soft' one, i.e. one in which
contrast tends to be low, such as a composite colour display.
*/
bool is_soft_display_type();
};
}