1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-26 03:29:40 +00:00

Reintroduces respect of each machine's nominated visible area.

This commit is contained in:
Thomas Harte
2018-11-22 13:22:04 -05:00
parent 43ee540233
commit bfe9704829
3 changed files with 21 additions and 21 deletions
+2
View File
@@ -94,6 +94,7 @@ class ScanTarget: public Outputs::Display::ScanTarget {
};
struct LineMetadata {
bool is_first_in_frame;
bool previous_frame_was_complete;
};
std::array<Line, LineBufferHeight> line_buffer_;
std::array<LineMetadata, LineBufferHeight> line_metadata_buffer_;
@@ -113,6 +114,7 @@ class ScanTarget: public Outputs::Display::ScanTarget {
Line *active_line_ = nullptr;
int provided_scans_ = 0;
bool is_first_in_frame_ = true;
bool frame_was_complete_ = true;
// OpenGL storage handles for buffer data.
GLuint scan_buffer_name_ = 0, scan_vertex_array_ = 0;