public void UpdateFrame(Frame frame) { if (((this.m_state == RunState.Running) && (this.m_display != null)) && !this.m_display.IsDisposed) { lock (this.m_display) { this.m_display.OutputFrame(ParsedFrame.ParseFrame(frame, this.m_boardLayout.Width, this.m_boardLayout.Height)); } } }
public void UpdateFrame(Frame frame) { this.m_frameBuffer = ParsedFrame.ParseFrame(frame, this.m_boardLayoutWidth, this.m_boardLayoutHeight); }