diff --git a/Components/9918/9918.cpp b/Components/9918/9918.cpp index 247d87eb3..dcaf8efd6 100644 --- a/Components/9918/9918.cpp +++ b/Components/9918/9918.cpp @@ -51,6 +51,8 @@ struct ReverseTable { Base::Base(Personality p) : personality_(p), crt_(CRTCyclesPerLine, CRTCyclesDivider, Outputs::Display::Type::NTSC60, Outputs::Display::InputDataType::Red8Green8Blue8) { + // Unimaginatively, this class just passes RGB through to the shader. Investigation is needed + // into whether there's a more natural form. It feels unlikely given the diversity of chips modelled. switch(p) { case TI::TMS::TMS9918A: @@ -84,13 +86,6 @@ Base::Base(Personality p) : TMS9918::TMS9918(Personality p): Base(p) { - // Unimaginatively, this class just passes RGB through to the shader. Investigation is needed - // into whether there's a more natural form. -// crt_.set_rgb_sampling_function( -// "vec3 rgb_sample(usampler2D sampler, vec2 coordinate)" -// "{" -// "return texture(sampler, coordinate).rgb / vec3(255.0);" -// "}"); // crt_->set_video_signal(Outputs::Display::VideoSignal::RGB); crt_.set_visible_area(Outputs::Display::Rect(0.055f, 0.025f, 0.9f, 0.9f)); diff --git a/Machines/AppleII/Video.cpp b/Machines/AppleII/Video.cpp index 8da92b058..f54b6a77e 100644 --- a/Machines/AppleII/Video.cpp +++ b/Machines/AppleII/Video.cpp @@ -15,14 +15,6 @@ VideoBase::VideoBase(bool is_iie, std::function &&target) : is_iie_(is_iie), deferrer_(std::move(target)) { - // Set a composite sampling function that assumes one byte per pixel input, and - // accepts any non-zero value as being fully on, zero being fully off. -// crt_->set_composite_sampling_function( -// "float composite_sample(usampler2D sampler, vec2 coordinate, float phase, float amplitude)" -// "{" -// "return clamp(texture(sampler, coordinate).r, 0.0, 0.66);" -// "}"); - // Show only the centre 75% of the TV frame. // crt_->set_video_signal(Outputs::Display::VideoSignal::Composite); crt_.set_visible_area(Outputs::Display::Rect(0.118f, 0.122f, 0.77f, 0.77f)); diff --git a/Machines/ZX8081/Video.cpp b/Machines/ZX8081/Video.cpp index 7e9416cd3..6989f7d1d 100644 --- a/Machines/ZX8081/Video.cpp +++ b/Machines/ZX8081/Video.cpp @@ -25,14 +25,6 @@ const std::size_t StandardAllocationSize = 320; Video::Video() : crt_(207 * 2, 1, Outputs::Display::Type::PAL50, Outputs::Display::InputDataType::Luminance1) { - // Set a composite sampling function that assumes two-level input; either a byte is 0, which is black, - // or it is non-zero, which is white. -// crt_.set_composite_sampling_function( -// "float composite_sample(usampler2D sampler, vec2 coordinate, float phase, float amplitude)" -// "{" -// "return texture(sampler, coordinate).r;" -// "}"); - // Show only the centre 80% of the TV frame. // crt_.set_video_signal(Outputs::Display::VideoSignal::Composite); crt_.set_visible_area(Outputs::Display::Rect(0.1f, 0.1f, 0.8f, 0.8f));